<div dir="ltr">I am getting the error "Cannot handle call"</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 11 Apr 2024 at 16:16, Prathibha B <<a href="mailto:prathibhab.tvm@gmail.com">prathibhab.tvm@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">I changed the message_queue uri in cc_flows table to <a href="mailto:sip%3A112@bp.erss.in" target="_blank">sip:112@bp.erss.in</a>. Now getting the following errors in syslog:<div><br></div><div> ERROR:nathelper:fix_nated_contact_f: SCRIPT BUG - second attempt to change URI Contact<br>ERROR:nathelper:fix_nated_contact_f: SCRIPT BUG - second attempt to change URI Contact<br>ERROR:tm:_reply_light: failed to generate 408 reply when a final 407 was sent out<br>ERROR:b2b_entities:_b2b_send_reply: failed to send reply with tm<br>ERROR:b2b_logic:_b2b_handle_reply: Sending reply failed - 408, [B2B.394.162.1712831164.913185781]<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 11 Apr 2024 at 15:33, Prathibha B <<a href="mailto:prathibhab.tvm@gmail.com" target="_blank">prathibhab.tvm@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>when I run  opensips-cli -x mi cc_list_agents</div>{<br>    "Agents": [<br>        {<br>            "id": "101002",<br>            "Ref": 0,<br>            "Loged in": "NO"<br>        },<br>        {<br>            "id": "101001",<br>            "Ref": 0,<br>            "Loged in": "NO"<br>        }<br>    ]<br>}<br><div><br></div><div>I've logged in 101001 and 101002 in the browser. But the Loged in status is No for both users.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 11 Apr 2024 at 15:10, Prathibha B <<a href="mailto:prathibhab.tvm@gmail.com" target="_blank">prathibhab.tvm@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Cahnged it to $tU, Still getting error.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 11 Apr 2024 at 15:09, Alain Bieuzent <<a href="mailto:alain.bieuzent@free.fr" target="_blank">alain.bieuzent@free.fr</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div lang="FR"><div><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif">Hi,<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif">Something wrong about that part for me :</span><span lang="EN-US"> ($(tU) == "112")<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">Should be : </span>($tU == "112")<span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif"><u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif">Regards<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif"><u></u> <u></u></span></p><div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(181,196,223);padding:3pt 0cm 0cm"><p class="MsoNormal"><b><span style="font-family:Calibri,sans-serif;color:black">De : </span></b><span style="font-family:Calibri,sans-serif;color:black">Users <<a href="mailto:users-bounces@lists.opensips.org" target="_blank">users-bounces@lists.opensips.org</a>> au nom de Prathibha B <<a href="mailto:prathibhab.tvm@gmail.com" target="_blank">prathibhab.tvm@gmail.com</a>><br><b>Répondre à : </b>OpenSIPS users mailling list <<a href="mailto:users@lists.opensips.org" target="_blank">users@lists.opensips.org</a>><br><b>Date : </b>jeudi 11 avril 2024 à 11:03<br><b>À : </b>OpenSIPS users mailling list <<a href="mailto:users@lists.opensips.org" target="_blank">users@lists.opensips.org</a>><br><b>Objet : </b>Re: [OpenSIPS-Users] Call Center error<u></u><u></u></span></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal"><a href="http://bp.erss.in" target="_blank">bp.erss.in</a> - asterisk<u></u><u></u></p><div><p class="MsoNormal"><a href="http://bp.erss.in:1443" target="_blank">bp.erss.in:1443</a> - opensips<u></u><u></u></p></div></div><p class="MsoNormal"><u></u> <u></u></p><div><div><p class="MsoNormal">On Thu, 11 Apr 2024 at 14:29, Prathibha B <<a href="mailto:prathibhab.tvm@gmail.com" target="_blank">prathibhab.tvm@gmail.com</a>> wrote:<u></u><u></u></p></div><blockquote style="border-top:none;border-right:none;border-bottom:none;border-left:1pt solid rgb(204,204,204);padding:0cm 0cm 0cm 6pt;margin-left:4.8pt;margin-right:0cm"><div><p class="MsoNormal"><b>I've created the entries in cc_agents and cc_flows table.</b><u></u><u></u></p><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal"><b>cc_agents table</b><u></u><u></u></p></div><div><p class="MsoNormal">+----+---------+----------------------------+----------+---------------+-------------------+---------+-----------------+-------------+<br>| id | agentid | location                   | logstate | msrp_location | msrp_max_sessions | skills  | wrapup_end_time | wrapup_time |<br>+----+---------+----------------------------+----------+---------------+-------------------+---------+-----------------+-------------+<br>|  8 | 101001  | <a href="http://sip:101001@bp.erss.in:1443" target="_blank">sip:101001@bp.erss.in:1443</a> |        0 | NULL          |                 4 | support |               0 |           0 |<br>|  9 | 101002  | <a href="http://sip:101002@bp.erss.in:1443" target="_blank">sip:101002@bp.erss.in:1443</a> |        0 | NULL          |                 4 | support |               0 |           0 |<br>+----+---------+----------------------------+----------+---------------+-------------------+---------+-----------------+-------------+<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal"><b>cc_flows table</b><u></u><u></u></p></div><div><p class="MsoNormal">+----+---------+----------+---------+------------+-----------------+-------------------+----------------------+-------------------+---------------------+-----------------+----------------+--------------------+-----------------+<br>| 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 |<br>+----+---------+----------+---------+------------+-----------------+-------------------+----------------------+-------------------+---------------------+-----------------+----------------+--------------------+-----------------+<br>|  1 | support |      256 | support | NULL       |               0 |                 0 |                    0 |                 0 |                   0 |                 | <a href="mailto:112@bp.erss.in" target="_blank">112@bp.erss.in</a> | NULL               | NULL            |<br>+----+---------+----------+---------+------------+-----------------+-------------------+----------------------+-------------------+---------------------+-----------------+----------------+--------------------+-----------------+<u></u><u></u></p></div></div><p class="MsoNormal"><u></u> <u></u></p><div><div><p class="MsoNormal">On Thu, 11 Apr 2024 at 14:27, Prathibha B <<a href="mailto:prathibhab.tvm@gmail.com" target="_blank">prathibhab.tvm@gmail.com</a>> wrote:<u></u><u></u></p></div><blockquote style="border-top:none;border-right:none;border-bottom:none;border-left:1pt solid rgb(204,204,204);padding:0cm 0cm 0cm 6pt;margin-left:4.8pt;margin-right:0cm"><div><p class="MsoNormal">Getting the following error in call center module<u></u><u></u></p><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">ERROR:call_center:set_call_leg: failed to init new b2bua call (empty ID received)<br>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<br clear="all"><u></u><u></u></p><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Call center code in opensips.cfg:<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">if (is_method("INVITE") and !has_totag() and ($(tU) == "112") ) {<br>        if (!cc_handle_call("support")) {<br>                send_reply(403,"Cannot handle call");<br>                exit;<br>        }<u></u><u></u></p></div><div><p class="MsoNormal">}<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><p class="MsoNormal"><span>-- </span><u></u><u></u></p><div><div><div><p class="MsoNormal">Regards,<u></u><u></u></p></div><div><p class="MsoNormal">B.Prathibha<u></u><u></u></p></div></div></div></div></div></blockquote></div><p class="MsoNormal"><br clear="all"><u></u><u></u></p><div><p class="MsoNormal"><u></u> <u></u></p></div><p class="MsoNormal"><span>-- </span><u></u><u></u></p><div><div><div><p class="MsoNormal">Regards,<u></u><u></u></p></div><div><p class="MsoNormal">B.Prathibha<u></u><u></u></p></div></div></div></blockquote></div><p class="MsoNormal"><br clear="all"><u></u><u></u></p><div><p class="MsoNormal"><u></u> <u></u></p></div><p class="MsoNormal"><span>-- </span><u></u><u></u></p><div><div><div><p class="MsoNormal">Regards,<u></u><u></u></p></div><div><p class="MsoNormal">B.Prathibha<u></u><u></u></p></div></div></div><p class="MsoNormal">_______________________________________________ Users mailing list <a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a> <u></u><u></u></p></div></div>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</div></blockquote></div><br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>Regards,</div><div>B.Prathibha<br></div></div></div>
</blockquote></div><br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>Regards,</div><div>B.Prathibha<br></div></div></div>
</blockquote></div><br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>Regards,</div><div>B.Prathibha<br></div></div></div>
</blockquote></div><br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>Regards,</div><div>B.Prathibha<br></div></div></div>