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

Victor Chukalovskiy victor.chukalovskiy at gmail.com
Fri May 20 19:46:06 MSD 2016


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



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