<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hi all,</div><div>I have a rtpengine with opensips, when I use rtpengine without setid_avp all works like a charm</div><div><span style="font-family:monospace,monospace"><br></span></div><div><span style="font-family:monospace,monospace">modparam("rtpengine", "rtpengine_sock", "udp:<a href="http://10.13.0.129:12221">10.13.0.129:12221</a>")</span></div><div><br></div><div><u>When I want use setid_avp:</u></div><div><br></div><div><span style="font-family:monospace,monospace">modparam("rtpengine", "setid_avp", "$avp(setid)")<br></span></div><div><span style="font-family:monospace,monospace">modparam("rtpengine", "rtpengine_sock", "1 == udp:<a href="http://10.13.0.129:12221">10.13.0.129:12221</a>")</span></div><div><br></div><div><u>I call manage function in initial INVITE:</u></div><div><br></div><div><span style="font-family:monospace,monospace">$avp(setid) = 1;<br>create_dialog();</span></div><div><span style="font-family:monospace,monospace">xlog("L_INFO","setid: $avp(setid)\n");<br>if(rtpengine_manage("ICE=remove"))<br>{<br> xlog("L_INFO","SDP Offer: $ci for INVITE\n");</span><br>}</div><div><br></div><div>for an reply $avp(setid) is populate, and rtpengine works.</div><div><br></div><div><u>but for BYE and CANCEL I have an issue:</u></div><div><u><br></u></div><div>you can see the setid variable isn't populate for this CANCEL, but it is populate for 487 reply !<br></div><div>I have this error log: <span style="font-family:monospace,monospace">ERROR:rtpengine:select_rtpe_node: script error -no valid set selected / <span style="font-family:monospace,monospace">ERROR:rtpengine:rtpe_function_call: no available proxies</span></span></div><div><span style="font-family:monospace,monospace"><span style="font-family:monospace,monospace"><br></span></span></div><div><span style="font-family:monospace,monospace"><span style="font-family:monospace,monospace"><font face="arial,helvetica,sans-serif">When I force the setid to 1 for BYE and CANCEL, there isn't issue.</font></span></span></div><div><span style="font-family:monospace,monospace"><span style="font-family:monospace,monospace"><font face="arial,helvetica,sans-serif"><br></font></span></span></div><div><span style="font-family:monospace,monospace"><span style="font-family:monospace,monospace"><font face="arial,helvetica,sans-serif">However, the module documentation explains :<br></font></span></span></div><div><i><span style="font-family:monospace,monospace"><span style="font-family:monospace,monospace"><font face="arial,helvetica,sans-serif">IMPORTANT: if you use multiple sets, take care and use the same set for
both rtpengine_offer()/rtpengine_answer() and rtpengine_delete()!! <br></font></span></span></i></div><div><i><span style="font-family:monospace,monospace"><span style="font-family:monospace,monospace"><font face="arial,helvetica,sans-serif">If the set was selected using setid_avp, the avp needs to be
set only once before rtpengine_offer() or rtpengine_manage() call.
</font></span></span></i></div><div><span style="font-family:monospace,monospace"><span style="font-family:monospace,monospace"><font face="arial,helvetica,sans-serif"><br></font></span></span></div><div><span style="font-family:monospace,monospace"><span style="font-family:monospace,monospace"><font face="arial,helvetica,sans-serif">Can you help me please ?</font></span></span></div><div><span style="font-family:monospace,monospace"><span style="font-family:monospace,monospace"><font face="arial,helvetica,sans-serif"><br></font></span></span></div><div><span style="font-family:monospace,monospace"><span style="font-family:monospace,monospace"><font face="arial,helvetica,sans-serif">thanks in advance</font><br></span></span></div><div><span style="font-family:monospace,monospace"><span style="font-family:monospace,monospace"><br></span></span></div><div>PS: same issue with BYE method<span style="font-family:monospace,monospace"><span style="font-family:monospace,monospace"><br></span></span></div><div><u></u></div><div><br></div><div><u></u></div><div><span style="font-family:monospace,monospace"><br></span></div><div><span style="font-family:monospace,monospace">Nov 19 16:53:41 am-scr1-test /usr/local/sbin/opensips[22531]: ################################################################################<br>Nov 19 16:53:41 am-scr1-test /usr/local/sbin/opensips[22531]: CANCEL END OF CALL : call-id 1def6e7f-66b6-1237-7b9d-0050569229dc<br>Nov 19 16:53:41 am-scr1-test /usr/local/sbin/opensips[22531]: ################################################################################<br>Nov 19 16:53:41 am-scr1-test /usr/local/sbin/opensips[22531]: setid: <null><br>Nov 19 16:53:41 am-scr1-test /usr/local/sbin/opensips[22531]: <b>ERROR:rtpengine:select_rtpe_node: script error -no valid set selected</b><br>Nov 19 16:53:41 am-scr1-test /usr/local/sbin/opensips[22531]: <b>ERROR:rtpengine:rtpe_function_call: no available proxies</b><br>Nov 19 16:53:41 am-scr1-test /usr/local/sbin/opensips[22521]: 1def6e7f-66b6-1237-7b9d-0050569229dc In ONREPLY ROUTE 2 - fu : sip:+******@am-isbc1-******** , ru : <null> , si : 10.13.0.80, status : 487<br>Nov 19 16:53:41 am-scr1-test /usr/local/sbin/opensips[22521]: setid: 1</span></div><div><br><span style="font-family:monospace,monospace"></span></div><div><span style="font-family:monospace,monospace">if (is_method("CANCEL"))<br> {<br> xlog("L_INFO","################################################################################ \n");<br> xlog("L_INFO","CANCEL END OF CALL : call-id $ci \n");<br> xlog("L_INFO","################################################################################ \n");<br> xlog("L_INFO","setid: $avp(setid)\n");<br> if(rtpengine_manage("ICE=remove"))<br> {<br> xlog("L_INFO","SDP Offer: $ci for CANCEL\n");<br> }<br></span></div><div>.............<br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div></div></div></div></div></div></div></div></div></div>