Hello ,
This is the first time to put a question on sr-users mailing list and i
hope to help me to solve my issue...i'm following this post
http://saevolgo.blogspot.com/2013/08/rtpproxy-revisited-kamailio-40.html to
setup RTP Proxy for kamailio 4 but it's NOT working as predicted and i'm
receiving this error message on asterisk...
[2013-10-16 05:20:04] ERROR[3216][C-0000002c]: netsock2.c:269
ast_sockaddr_resolve: getaddrinfo("192.168.1.80192.168.1.80",
"(null)",
...): Name or service not known
[2013-10-16 05:20:04] WARNING[3216][C-0000002c]: chan_sip.c:10873
process_sdp_c: Unable to lookup RTP Audio host in c= line, 'IN IP4
192.168.1.80192.168.1.80'
[2013-10-16 05:20:04] WARNING[3216][C-0000002c]: chan_sip.c:10464
process_sdp: Insufficient information in SDP (c=)...
The problem is NOT at the asterisk side but at the proxy side...when
kamailio rewrites the SDP message it adds the public IP twice in the "C"
filed of the SDP message instead of only one time like this 'IN IP4
192.168.1.80192.168.1.80' this is because the scripte is calling
rtpproxy_manage() in the routes TOASTERISK /FROMASTERISK and in
MANAGE_BRANCH / NATMANAGE. It should be either or,not both....but i don't
know how to do this since i don't have any scripting skills so if anyone
can modify the config file in the attachment i will be thankful...
Best Regards'
Mahmoud Ramadan Ali