Hello,
I like to thank u for the reply and also i want to tell u that i'm good at Linux but scripting is NOT my domain so i will send this issue to the mailing list hoping that someone will modify the script and make the required changes...by any way thank u so much and i will message u if i have any issue...

Best Regards,
Mahmoud Ramadan Ali


On Tue, Oct 29, 2013 at 2:17 AM, Daniel-Constantin Mierla <miconda@gmail.com> wrote:
Hello,

you can use vim, nano or other editor to remove rtpproxy_manage() from the config file -- I would recommend to keep the one from branch_routes and be sure those branch routes are executed even for communication with asterisk. Asking someone from the community to do file editing is rather weird and very likely not to happen, at least not from the developers.

On the other hand, if you cannot perform such easy task of editing a file, would be hard to get things working properly. You should spend some time to get a bit of knowledge to operate on a Linux system, editing files, etc. If you are in a hurry, might be an option to look for a consultant, see the Business Directory from kamailio.org as starting point.

Cheers,
Daniel


On 10/25/13 6:45 PM, Mahmoud Ramadan Ali wrote:
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



_______________________________________________
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

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Trainings - Berlin, Nov 25-28
  - more details about Kamailio trainings at http://www.asipto.com -

_______________________________________________
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