<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div>Thanks you really Michael.</div><div><br class=""></div><div>My point is as below:</div><div>1-when FS get Invite from A number the TO is as below:</div><div>To: &lt;<a href="sip:2020@71.233.135.12" class="">sip:2020@71.233.135.12</a>&gt;</div><div><br class=""></div><div>2-and when I run answer application, FS send invite to A number with TO as below:</div><div>To: &lt;<a href="sip:2020@71.233.135.12" class="">sip:2020@71.233.135.12</a>&gt;</div><div><br class=""></div><div>3-I want when I run answer application to edit the TO header and to add some prefix like 505 as below:</div><div>To: &lt;sip<u class="">:<font color="#371a94" class=""><b class="">505</b></font></u><a href="mailto:2020@71.233.135.12" class="">2020@71.233.135.12</a>&gt;</div><div><br class=""></div><div>is this possible, by editing sip header, and if so how can I do so?</div><div><br class=""></div><div>Your kind usual support will be appreciated.</div><div><br class=""><blockquote type="cite" class=""><div class=""><br class=""><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; margin: 0px;" class=""><span style="font-family: -webkit-system-font, 'Helvetica Neue', Helvetica, sans-serif; color: rgb(127, 127, 127);" class=""><b class="">From:<span class="Apple-converted-space">&nbsp;</span></b></span><span style="font-family: -webkit-system-font, 'Helvetica Neue', Helvetica, sans-serif;" class="">Michael Jerris &lt;<a href="mailto:mike@jerris.com" style="color: purple; text-decoration: underline;" class="">mike@jerris.com</a>&gt;<br class=""></span></div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; margin: 0px;" class=""><span style="font-family: -webkit-system-font, 'Helvetica Neue', Helvetica, sans-serif; color: rgb(127, 127, 127);" class=""><b class="">To:<span class="Apple-converted-space">&nbsp;</span></b></span><span style="font-family: -webkit-system-font, 'Helvetica Neue', Helvetica, sans-serif;" class="">FreeSWITCH Users Help &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org" style="color: purple; text-decoration: underline;" class="">freeswitch-users@lists.freeswitch.org</a>&gt;<br class=""></span></div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; margin: 0px;" class=""><span style="font-family: -webkit-system-font, 'Helvetica Neue', Helvetica, sans-serif; color: rgb(127, 127, 127);" class=""><b class="">Date:<span class="Apple-converted-space">&nbsp;</span></b></span><span style="font-family: -webkit-system-font, 'Helvetica Neue', Helvetica, sans-serif;" class="">December 13, 2014 at 12:37:42 AM GMT+3<br class=""></span></div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; margin: 0px;" class=""><span style="font-family: -webkit-system-font, 'Helvetica Neue', Helvetica, sans-serif; color: rgb(127, 127, 127);" class=""><b class="">Reply-To:<span class="Apple-converted-space">&nbsp;</span></b></span><span style="font-family: -webkit-system-font, 'Helvetica Neue', Helvetica, sans-serif;" class="">FreeSWITCH Users Help &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org" style="color: purple; text-decoration: underline;" class="">freeswitch-users@lists.freeswitch.org</a>&gt;<br class=""></span></div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; margin: 0px;" class=""><span style="font-family: -webkit-system-font, 'Helvetica Neue', Helvetica, sans-serif; color: rgb(127, 127, 127);" class=""><b class="">Subject:<span class="Apple-converted-space">&nbsp;</span></b></span><span style="font-family: -webkit-system-font, 'Helvetica Neue', Helvetica, sans-serif;" class=""><b class="">Re: [Freeswitch-users] SIP Header Modification / Manipulation</b><br class=""></span></div><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">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.</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><blockquote type="cite" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">On Dec 12, 2014, at 2:39 PM, Ahmed Habiba &lt;<a href="mailto:ahabiba@gmail.com" style="color: purple; text-decoration: underline;" class="">ahabiba@gmail.com</a>&gt; wrote:<br class=""><br class="">Dears,<br class=""><br class="">Kindly help me on how can I modify the SIP header in the re-invite in the below scenario:<br class=""><br class=""><br class="">[A Number] &lt;———&gt;[FreeSWitch]&lt;———&gt;[B Number]<br class=""><br class=""><br class="">1-A Number Call B Number (Sip Invite sent from A number)<br class="">2-B number is not registered.<br class="">3-Call logic let FreeSwitch answer the call( Freeswitch send re-invite to A number)<br class=""><br class="">in the part number 3 I like to do modification on the SIP headers, by for example changing the From or To.<br class=""><br class=""><br class="">Your help will be appreciated.<br class=""><br class=""></blockquote><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""></div></blockquote></div><br class=""></body></html>