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@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@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org