[Freeswitch-users] How to preserve To: header between two legs of the call

Sergey Safarov s.safarov at gmail.com
Fri May 20 19:54:25 MSD 2016


Look for https://wiki.freeswitch.org/wiki/Variable_sip_invite_to_uri

Send from mobile phone.

On Fri, May 20, 2016, 18:47 Victor Chukalovskiy <
victor.chukalovskiy at gmail.com> wrote:

> Good day,
>
> The scenario is that FS receives INVITE with:
>  From = A, To = B, request line = C
>
> FS on an outgoing leg will change it so that To header inherits the
> value from the request line (essentially, destination number):
>  From = A, To = C, request line = C
>
> What should I do in the dial-plan to prevent FS from putting destination
> number "C" in the To header, and instead retain the value "B" from the
> incoming leg?
>
> Thank you!
> -Victor
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160520/95ec27f9/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list