Hi, Muhammad!

The add_path() function should only be called on REGISTER messages, and it adds a Path header (not a Via). Do you see this header in your REGISTER message?
For sequential requests, you should use the record_route() mechanism.

Best regards,

Răzvan Crainea
OpenSIPS Solutions
www.opensips-solutions.com

On 12/14/2016 06:39 PM, Muhammad Naseer Bhatti wrote:

I am using dispatcher to distribute calls to multiple media servers, but also want the reply to go through OpenSIPS. So far I have tried add_path() function which add the Via header but FreeSWITCH sends the call directly to the gateway not sending the call back through OpenSIPS. I am not sure if I am doing something wrong, how can I achieve that?


--

Sent with Airmail


_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to