<div dir="ltr">A non stop music is getting played but the call is not getting redirected to the call center agent. </div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, 20 Apr 2024 at 14:17, 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 am getting 401 Unauthorized error. How to resolve this issue?</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 19 Apr 2024 at 19:13, 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>
<div dir="auto">Ok.</div>
<div id="m_-8916299616271544172m_3831833439648625881ms-outlook-mobile-signature" dir="auto">
<div><br>
</div>
Sent from <a href="https://aka.ms/AAb9ysg" target="_blank">Outlook for Android</a></div>
<hr style="display:inline-block;width:98%">
<div id="m_-8916299616271544172m_3831833439648625881divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Users <<a href="mailto:users-bounces@lists.opensips.org" target="_blank">users-bounces@lists.opensips.org</a>> on behalf of Brett Nemeroff <<a href="mailto:brett@nemeroff.com" target="_blank">brett@nemeroff.com</a>><br>
<b>Sent:</b> Friday, April 19, 2024 7:08:51 PM<br>
<b>To:</b> OpenSIPS users mailling list <<a href="mailto:users@lists.opensips.org" target="_blank">users@lists.opensips.org</a>><br>
<b>Subject:</b> Re: [OpenSIPS-Users] Call Center error</font>
<div> </div>
</div>
<div>
<div dir="auto">I don’t know the details, but I’d guess that because you have no agents logged in your handle call isn’t properly rewriting the URI. It may be useful to check the return status and log it from cc_handle_call. That may give you some insight on
at least this stage of the call processing. </div>
<div dir="auto"><br>
</div>
<div dir="auto">-Brett</div>
<div dir="auto"><br>
</div>
<div><br>
<div>
<div dir="ltr">On Fri, Apr 19, 2024 at 6:09 AM Prathibha B <<a href="mailto:prathibhab.tvm@gmail.com" target="_blank">prathibhab.tvm@gmail.com</a>> wrote:<br>
</div>
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">or freeswitch as the media server.</div>
<br>
<div>
<div dir="ltr">On Fri, 19 Apr 2024 at 14:45, Prathibha B <<a href="mailto:prathibhab.tvm@gmail.com" target="_blank">prathibhab.tvm@gmail.com</a>> wrote:<br>
</div>
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">Can someone in this group help me with setting up a call center using opensips as the proxy server and asterisk as media server?</div>
<br>
<div>
<div dir="ltr">On Fri, 19 Apr 2024 at 10:04, Prathibha B <<a href="mailto:prathibhab.tvm@gmail.com" target="_blank">prathibhab.tvm@gmail.com</a>> wrote:<br>
</div>
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">I am getting the error "Cannot handle call"</div>
<br>
<div>
<div dir="ltr">On Thu, 11 Apr 2024 at 16:16, Prathibha B <<a href="mailto:prathibhab.tvm@gmail.com" target="_blank">prathibhab.tvm@gmail.com</a>> wrote:<br>
</div>
<blockquote 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>
<div dir="ltr">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 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>
<div dir="ltr">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 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>
<div dir="ltr">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 style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<div lang="FR">
<div>
<p><span style="font-size:11pt;font-family:Calibri,sans-serif">Hi,<u style="font-family:Calibri,sans-serif"></u><u style="font-family:Calibri,sans-serif"></u></span></p>
<p><span style="font-size:11pt;font-family:Calibri,sans-serif"><u style="font-family:Calibri,sans-serif"></u> <u style="font-family:Calibri,sans-serif"></u></span></p>
<p><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><span lang="EN-US">Should be : </span>($tU == "112")<span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif"><u style="font-family:Calibri,sans-serif"></u><u style="font-family:Calibri,sans-serif"></u></span></p>
<p><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif"><u style="font-family:Calibri,sans-serif"></u> <u style="font-family:Calibri,sans-serif"></u></span></p>
<p><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif">Regards<u style="font-family:Calibri,sans-serif"></u><u style="font-family:Calibri,sans-serif"></u></span></p>
<p><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif"><u style="font-family:Calibri,sans-serif"></u> <u style="font-family:Calibri,sans-serif"></u></span></p>
<div style="border-width:1pt medium medium;border-style:solid none none;padding:3pt 0cm 0cm;border-color:rgb(181,196,223) currentcolor currentcolor">
<p><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" style="font-family:Calibri,sans-serif" target="_blank">users-bounces@lists.opensips.org</a>> au nom de Prathibha B <<a href="mailto:prathibhab.tvm@gmail.com" style="font-family:Calibri,sans-serif" target="_blank">prathibhab.tvm@gmail.com</a>><br>
<b style="font-family:Calibri,sans-serif">Répondre à : </b>OpenSIPS users mailling list <<a href="mailto:users@lists.opensips.org" style="font-family:Calibri,sans-serif" target="_blank">users@lists.opensips.org</a>><br>
<b style="font-family:Calibri,sans-serif">Date : </b>jeudi 11 avril 2024 à 11:03<br>
<b style="font-family:Calibri,sans-serif">À : </b>OpenSIPS users mailling list <<a href="mailto:users@lists.opensips.org" style="font-family:Calibri,sans-serif" target="_blank">users@lists.opensips.org</a>><br>
<b style="font-family:Calibri,sans-serif">Objet : </b>Re: [OpenSIPS-Users] Call Center error<u style="font-family:Calibri,sans-serif"></u><u style="font-family:Calibri,sans-serif"></u></span></p>
</div>
<div>
<p><u></u> <u></u></p>
</div>
<div>
<p><a href="http://bp.erss.in" target="_blank">bp.erss.in</a> - asterisk<u></u><u></u></p>
<div>
<p><a href="http://bp.erss.in:1443" target="_blank">bp.erss.in:1443</a> - opensips<u></u><u></u></p>
</div>
</div>
<p><u></u> <u></u></p>
<div>
<div>
<p>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-width:medium medium medium 1pt;border-style:none none none solid;padding:0cm 0cm 0cm 6pt;margin-left:4.8pt;margin-right:0cm;border-color:currentcolor currentcolor currentcolor rgb(204,204,204)">
<div>
<p><b>I've created the entries in cc_agents and cc_flows table.</b><u></u><u></u></p>
<div>
<p><u></u> <u></u></p>
</div>
<div>
<p><b>cc_agents table</b><u></u><u></u></p>
</div>
<div>
<p>+----+---------+----------------------------+----------+---------------+-------------------+---------+-----------------+-------------+<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><u></u> <u></u></p>
</div>
<div>
<p><b>cc_flows table</b><u></u><u></u></p>
</div>
<div>
<p>+----+---------+----------+---------+------------+-----------------+-------------------+----------------------+-------------------+---------------------+-----------------+----------------+--------------------+-----------------+<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><u></u> <u></u></p>
<div>
<div>
<p>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-width:medium medium medium 1pt;border-style:none none none solid;padding:0cm 0cm 0cm 6pt;margin-left:4.8pt;margin-right:0cm;border-color:currentcolor currentcolor currentcolor rgb(204,204,204)">
<div>
<p>Getting the following error in call center module<u></u><u></u></p>
<div>
<p><u></u> <u></u></p>
</div>
<div>
<p>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><u></u> <u></u></p>
</div>
<div>
<p>Call center code in opensips.cfg:<u></u><u></u></p>
</div>
<div>
<p><u></u> <u></u></p>
</div>
<div>
<p>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>}<u></u><u></u></p>
</div>
<div>
<p><u></u> <u></u></p>
</div>
<p><span>-- </span><u></u><u></u></p>
<div>
<div>
<div>
<p>Regards,<u></u><u></u></p>
</div>
<div>
<p>B.Prathibha<u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<p><br clear="all">
<u></u><u></u></p>
<div>
<p><u></u> <u></u></p>
</div>
<p><span>-- </span><u></u><u></u></p>
<div>
<div>
<div>
<p>Regards,<u></u><u></u></p>
</div>
<div>
<p>B.Prathibha<u></u><u></u></p>
</div>
</div>
</div>
</blockquote>
</div>
<p><br clear="all">
<u></u><u></u></p>
<div>
<p><u></u> <u></u></p>
</div>
<p><span>-- </span><u></u><u></u></p>
<div>
<div>
<div>
<p>Regards,<u></u><u></u></p>
</div>
<div>
<p>B.Prathibha<u></u><u></u></p>
</div>
</div>
</div>
<p>_______________________________________________ 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>-- </span><br>
<div dir="ltr">
<div dir="ltr">
<div>Regards,</div>
<div>B.Prathibha<br>
</div>
</div>
</div>
</blockquote>
</div>
<br clear="all">
<div><br>
</div>
<span>-- </span><br>
<div dir="ltr">
<div dir="ltr">
<div>Regards,</div>
<div>B.Prathibha<br>
</div>
</div>
</div>
</blockquote>
</div>
<br clear="all">
<div><br>
</div>
<span>-- </span><br>
<div dir="ltr">
<div dir="ltr">
<div>Regards,</div>
<div>B.Prathibha<br>
</div>
</div>
</div>
</blockquote>
</div>
<br clear="all">
<div><br>
</div>
<span>-- </span><br>
<div dir="ltr">
<div dir="ltr">
<div>Regards,</div>
<div>B.Prathibha<br>
</div>
</div>
</div>
</blockquote>
</div>
<br clear="all">
<div><br>
</div>
<span>-- </span><br>
<div dir="ltr">
<div dir="ltr">
<div>Regards,</div>
<div>B.Prathibha<br>
</div>
</div>
</div>
</blockquote>
</div>
<br clear="all">
<div><br>
</div>
<span>-- </span><br>
<div dir="ltr">
<div dir="ltr">
<div>Regards,</div>
<div>B.Prathibha<br>
</div>
</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>
</blockquote>
</div>
</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>