Hi all, I have a rtpengine with opensips, when I use rtpengine without setid_avp all works like a charm
modparam("rtpengine", "rtpengine_sock", "udp:10.13.0.129:12221") *When I want use setid_avp:* modparam("rtpengine", "setid_avp", "$avp(setid)") modparam("rtpengine", "rtpengine_sock", "1 == udp:10.13.0.129:12221") *I call manage function in initial INVITE:* $avp(setid) = 1; create_dialog(); xlog("L_INFO","setid: $avp(setid)\n"); if(rtpengine_manage("ICE=remove")) { xlog("L_INFO","SDP Offer: $ci for INVITE\n"); } for an reply $avp(setid) is populate, and rtpengine works. *but for BYE and CANCEL I have an issue:* you can see the setid variable isn't populate for this CANCEL, but it is populate for 487 reply ! I have this error log: ERROR:rtpengine:select_rtpe_node: script error -no valid set selected / ERROR:rtpengine:rtpe_function_call: no available proxies When I force the setid to 1 for BYE and CANCEL, there isn't issue. However, the module documentation explains : *IMPORTANT: if you use multiple sets, take care and use the same set for both rtpengine_offer()/rtpengine_answer() and rtpengine_delete()!! * *If the set was selected using setid_avp, the avp needs to be set only once before rtpengine_offer() or rtpengine_manage() call. * Can you help me please ? thanks in advance PS: same issue with BYE method Nov 19 16:53:41 am-scr1-test /usr/local/sbin/opensips[22531]: ################################################################################ Nov 19 16:53:41 am-scr1-test /usr/local/sbin/opensips[22531]: CANCEL END OF CALL : call-id 1def6e7f-66b6-1237-7b9d-0050569229dc Nov 19 16:53:41 am-scr1-test /usr/local/sbin/opensips[22531]: ################################################################################ Nov 19 16:53:41 am-scr1-test /usr/local/sbin/opensips[22531]: setid: <null> Nov 19 16:53:41 am-scr1-test /usr/local/sbin/opensips[22531]: *ERROR:rtpengine:select_rtpe_node: script error -no valid set selected* Nov 19 16:53:41 am-scr1-test /usr/local/sbin/opensips[22531]: *ERROR:rtpengine:rtpe_function_call: no available proxies* 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 Nov 19 16:53:41 am-scr1-test /usr/local/sbin/opensips[22521]: setid: 1 if (is_method("CANCEL")) { xlog("L_INFO","################################################################################ \n"); xlog("L_INFO","CANCEL END OF CALL : call-id $ci \n"); xlog("L_INFO","################################################################################ \n"); xlog("L_INFO","setid: $avp(setid)\n"); if(rtpengine_manage("ICE=remove")) { xlog("L_INFO","SDP Offer: $ci for CANCEL\n"); } .............
_______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users