Check out the examples provided in the code: http://git.sip-router.org/cgi-bin/gitweb.cgi?p=sip-router;a=blob_plain;f=mod... http://git.sip-router.org/cgi-bin/gitweb.cgi?p=sip-router;a=blob_plain;f=mod...
Regards, Ovidiu Sas
On Fri, Oct 15, 2010 at 8:40 AM, Anders vaerge@gmail.com wrote:
I've been looking around for documentation to understand rtp proxy with Kamailio better, but with no luck (or I might be quite thick-headed!).
Anyone know of example configurations with rtp proxy and Kamailio, so I can start seeing what is wrong with my config (below)?
Thanks!
//Anders
On Wed, Oct 13, 2010 at 2:20 PM, Anders vaerge@gmail.com wrote:
Sorry, I didn't understand that. Is it good or bad that it is asymmetrical? And if not, what should it be? As far as I understand from my config, it first checks if NAT is set, and if so, it goes to force_rtp_proxy if it's INVITE and unforce_rtp_proxy if it's a BYE. Is that not correct?
On Wed, Oct 13, 2010 at 1:51 PM, Alex Balashov abalashov@evaristesys.com wrote:
This suggests asymmetrical invocation of rtpproxy, for example in 200 OK but not corresponding INVITE.
-- Alex Balashov - Principal Evariste Systems LLC 1170 Peachtree Street 12th Floor, Suite 1200 Atlanta, GA 30309 Tel: +1-678-954-0670 Fax: +1-404-961-1892 Web: http://www.evaristesys.com/
On Oct 13, 2010, at 1:33 PM, Anders vaerge@gmail.com wrote:
Hi,
I'm trying to get the RTP proxy to work with Kamailio (1.5), but right now I am getting this error here:
Oct 13 16:54:44 vn1031 /usr/local/sbin/kamailio[13622]: ERROR:nathelper:force_rtp_proxy: incorrect port 0 in reply from rtp proxy
There is probably something wrong in my cfg - for the use of force_rtp_proxy that part of my config is here below. See anything odd that could lead to the error above?
route { ...... route(4); ...... }
route[4]{ force_rport(); if (nat_uac_test("19")) { if (method=="REGISTER") { fix_nated_register(); } else { fix_nated_contact(); } setflag(5); } return; }
route[5] { if (is_method("BYE")) { unforce_rtp_proxy(); } else if (is_method("INVITE")){ force_rtp_proxy(); } if (!has_totag()) add_rr_param(";nat=yes"); return; }
onreply_route[1] { xdbg("incoming reply\n");
if (!(status =~ "183" || status =~ "200")) exit; #fix_nated_contact(); force_rtp_proxy(); }
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users