Hi, Grant!
For the reply, you have to select _the same_ set. You don't really have
to add the same decision logic for reply, you can store the set used for
requests in the AVP and use that AVP on the reply.
Best regards,
Răzvan Crainea
OpenSIPS Solutions
www.opensips-solutions.com
On 10/27/2014 11:07 AM, Grant Bagdasarian wrote:
Hello,
I have the following RTPproxy configuration:
modparam("nathelper", "rtpproxy_sock", "1 == udp:127.0.0.1:12221")
modparam("nathelper", "rtpproxy_sock", "2 == udp:127.0.0.1:12222")
In the main route I decide which instance to select for each INVITE
containing SDP:
if($ru=~"1.1.1.10") {
set_rtp_proxy_set("1");
xlog("L_INFO", "USE RTP PROXY 01 \r\n");
} else if($ru=~"2.2.2.10") {
set_rtp_proxy_set("2");
xlog("L_INFO", "USE RTP PROXY 02 \r\n");
} else {
t_reply("404", "Not Found");
exit;
}
rtpproxy_offer();
I’m getting the following error for a 200 OK:
ERROR:nathelper:select_rtpp_node: script error -no valid set selected
ERROR:nathelper:force_rtp_proxy_body: no available proxies
Do I need to do the same decision for 200 OK messages, and call
rtpproxy_answer()?
Regards,
Grant
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users