[OpenSER-Users] In 1.3 how to use set_rtp_proxy_set

Robert Dyck rob.dyck at telus.net
Fri Nov 23 23:50:05 CET 2007


If I have only one rtp proxy should I use set_rtp_proxy_set("0")? I think openser should be smart enough to figure it out if there is only one rtp proxy.

It looks like there is a cut and paste error in the 1.3 nathelper wiki.

1.6.3. set_rtp_proxy_set()
 Sets the Id of the rtpproxy set to be used for the next [un]force_rtp_proxy() command. 
 This function can be used from REQUEST_ROUTE, ONREPLY_ROUTE, BRANCH_ROUTE. 
Example 1-17. fix_nated_contact usage
...
set_rtp_proxy_set("2");
force_rtp_proxy();

Rob
...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kamailio.org/pipermail/users/attachments/20071123/8f5bba02/attachment.htm 


More information about the Users mailing list