Re: [SR-Users] How to use the ip parameter in rtpproxy_manage()

2014-08-29 Thread Daniel-Constantin Mierla
Hello, should be in request_route or reply_route (from core) only, before creating the transaction and not after doing record_route() for requests. Cheers, Daniel On 29/08/14 16:18, Sebastian Damm wrote: Hi, okay, so I really misunderstood the IP parameter. Thanks for your solution, from t

Re: [SR-Users] How to use the ip parameter in rtpproxy_manage()

2014-08-29 Thread Sebastian Damm
Hi, okay, so I really misunderstood the IP parameter. Thanks for your solution, from the first look it does work. Is there anything I should consider or watch specifically when using msg_apply_changes() in the middle of processing the request? Best Regards, Sebastian On Fri, Aug 29, 2014 at 1:5

Re: [SR-Users] How to use the ip parameter in rtpproxy_manage()

2014-08-29 Thread Daniel-Constantin Mierla
Hello, the second parameter is to give the IP to appear in sdp, instead of the rtpproxy ip. What you can try is to update the sdp with fix_natted_sdp() with the source IP as seen by the LB, then do msg_apply_changes() and pass the flag to trust the ip in sdp -- not sure it is going to work,