Thanks you really Michael.
My point is as below:
1-when FS get Invite from A number the TO is as below:
2-and when I run answer application, FS send invite to A number with TO as below:
3-I want when I run answer application to edit the TO header and to add some prefix like 505 as below:
is this possible, by editing sip header, and if so how can I do so?
Your kind usual support will be appreciated.
Date: December 13, 2014 at 12:37:42 AM GMT+3
Subject: Re: [Freeswitch-users] SIP Header Modification / Manipulation
if you are looking to update the display of the number that is being called on the caller phone, you want to be looking at display udpates, and callee_id_name and callee_id_number params.On Dec 12, 2014, at 2:39 PM, Ahmed Habiba <ahabiba@gmail.com> wrote:
Dears,
Kindly help me on how can I modify the SIP header in the re-invite in the below scenario:
[A Number] <———>[FreeSWitch]<———>[B Number]
1-A Number Call B Number (Sip Invite sent from A number)
2-B number is not registered.
3-Call logic let FreeSwitch answer the call( Freeswitch send re-invite to A number)
in the part number 3 I like to do modification on the SIP headers, by for example changing the From or To.
Your help will be appreciated.