[OpenSIPS-Users] Call Center error

Prathibha B prathibhab.tvm at gmail.com
Thu Apr 11 08:59:41 UTC 2024


*I've created the entries in cc_agents and cc_flows table.*

*cc_agents table*
+----+---------+----------------------------+----------+---------------+-------------------+---------+-----------------+-------------+
| id | agentid | location                   | logstate | msrp_location |
msrp_max_sessions | skills  | wrapup_end_time | wrapup_time |
+----+---------+----------------------------+----------+---------------+-------------------+---------+-----------------+-------------+
|  8 | 101001  | sip:101001 at bp.erss.in:1443 |        0 | NULL          |
              4 | support |               0 |           0 |
|  9 | 101002  | sip:101002 at bp.erss.in:1443 |        0 | NULL          |
              4 | support |               0 |           0 |
+----+---------+----------------------------+----------+---------------+-------------------+---------+-----------------+-------------+

*cc_flows table*
+----+---------+----------+---------+------------+-----------------+-------------------+----------------------+-------------------+---------------------+-----------------+----------------+--------------------+-----------------+
| id | flowid  | priority | skill   | prependcid | max_wrapup_time |
dissuading_hangup | dissuading_onhold_th | dissuading_ewt_th |
dissuading_qsize_th | message_welcome | message_queue  | message_dissuading
| message_flow_id |
+----+---------+----------+---------+------------+-----------------+-------------------+----------------------+-------------------+---------------------+-----------------+----------------+--------------------+-----------------+
|  1 | support |      256 | support | NULL       |               0 |
          0 |                    0 |                 0 |
0 |                 | 112 at bp.erss.in | NULL               | NULL
 |
+----+---------+----------+---------+------------+-----------------+-------------------+----------------------+-------------------+---------------------+-----------------+----------------+--------------------+-----------------+

On Thu, 11 Apr 2024 at 14:27, Prathibha B <prathibhab.tvm at gmail.com> wrote:

> Getting the following error in call center module
>
> ERROR:call_center:set_call_leg: failed to init new b2bua call (empty ID
> received)
> Apr 11 14:06:28 etg-virtual-machine /usr/sbin/opensips[1249949]:
> ERROR:call_center:w_handle_call: failed to set new destination for call
>
> Call center code in opensips.cfg:
>
> if (is_method("INVITE") and !has_totag() and ($(tU) == "112") ) {
>         if (!cc_handle_call("support")) {
>                 send_reply(403,"Cannot handle call");
>                 exit;
>         }
> }
>
> --
> Regards,
> B.Prathibha
>


-- 
Regards,
B.Prathibha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20240411/732fb768/attachment.html>


More information about the Users mailing list