<div dir="ltr">Please do not reply to the digest-emails.<div>You must subscribe to the full list to participate in conversations.</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Dec 15, 2014 at 7:01 PM, Ahmed Habiba <span dir="ltr">&lt;<a href="mailto:ahabiba@gmail.com" target="_blank">ahabiba@gmail.com</a>&gt;</span> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div>Thanks you really Michael.</div><div><br></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>sip:2020@71.233.135.12</a>&gt;</div><div><br></div><div>2-and when I run answer application, FS send invite to A number with TO as below:</div><div>To: &lt;<a>sip:2020@71.233.135.12</a>&gt;</div><div><br></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>:<font color="#371a94"><b>505</b></font></u><a href="mailto:2020@71.233.135.12" target="_blank">2020@71.233.135.12</a>&gt;</div><div><br></div><div>is this possible, by editing sip header, and if so how can I do so?</div><div><br></div><div>Your kind usual support will be appreciated.</div><div><br><blockquote type="cite"><div><br><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;margin:0px"><span style="font-family:-webkit-system-font,&#39;Helvetica Neue&#39;,Helvetica,sans-serif;color:rgb(127,127,127)"><b>From:<span> </span></b></span><span style="font-family:-webkit-system-font,&#39;Helvetica Neue&#39;,Helvetica,sans-serif">Michael Jerris &lt;<a href="mailto:mike@jerris.com" style="color:purple;text-decoration:underline" target="_blank">mike@jerris.com</a>&gt;<br></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;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;margin:0px"><span style="font-family:-webkit-system-font,&#39;Helvetica Neue&#39;,Helvetica,sans-serif;color:rgb(127,127,127)"><b>To:<span> </span></b></span><span style="font-family:-webkit-system-font,&#39;Helvetica Neue&#39;,Helvetica,sans-serif">FreeSWITCH Users Help &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org" style="color:purple;text-decoration:underline" target="_blank">freeswitch-users@lists.freeswitch.org</a>&gt;<br></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;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;margin:0px"><span style="font-family:-webkit-system-font,&#39;Helvetica Neue&#39;,Helvetica,sans-serif;color:rgb(127,127,127)"><b>Date:<span> </span></b></span><span style="font-family:-webkit-system-font,&#39;Helvetica Neue&#39;,Helvetica,sans-serif">December 13, 2014 at 12:37:42 AM GMT+3<br></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;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;margin:0px"><span style="font-family:-webkit-system-font,&#39;Helvetica Neue&#39;,Helvetica,sans-serif;color:rgb(127,127,127)"><b>Reply-To:<span> </span></b></span><span style="font-family:-webkit-system-font,&#39;Helvetica Neue&#39;,Helvetica,sans-serif">FreeSWITCH Users Help &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org" style="color:purple;text-decoration:underline" target="_blank">freeswitch-users@lists.freeswitch.org</a>&gt;<br></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;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;margin:0px"><span style="font-family:-webkit-system-font,&#39;Helvetica Neue&#39;,Helvetica,sans-serif;color:rgb(127,127,127)"><b>Subject:<span> </span></b></span><span style="font-family:-webkit-system-font,&#39;Helvetica Neue&#39;,Helvetica,sans-serif"><b>Re: [Freeswitch-users] SIP Header Modification / Manipulation</b><br></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;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">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;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><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;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">On Dec 12, 2014, at 2:39 PM, Ahmed Habiba &lt;<a href="mailto:ahabiba@gmail.com" style="color:purple;text-decoration:underline" target="_blank">ahabiba@gmail.com</a>&gt; wrote:<br><br>Dears,<br><br>Kindly help me on how can I modify the SIP header in the re-invite in the below scenario:<br><br><br>[A Number] &lt;———&gt;[FreeSWitch]&lt;———&gt;[B Number]<br><br><br>1-A Number Call B Number (Sip Invite sent from A number)<br>2-B number is not registered.<br>3-Call logic let FreeSwitch answer the call( Freeswitch send re-invite to A number)<br><br>in the part number 3 I like to do modification on the SIP headers, by for example changing the From or To.<br><br><br>Your help will be appreciated.<br><br></blockquote><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"></div></blockquote></div><br></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Anthony Minessale II       ♬ @anthmfs  ♬ @FreeSWITCH  ♬<div><br><div>☞ <a href="http://freeswitch.org/" target="_blank">http://freeswitch.org/</a>  ☞ <a href="http://cluecon.com/" target="_blank">http://cluecon.com/</a>  ☞ <a href="http://twitter.com/FreeSWITCH" target="_blank">http://twitter.com/FreeSWITCH</a></div><div><div>☞ <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch ☞ <u><a href="http://freeswitch.org/g+" target="_blank">http://freeswitch.org/g+</a></u><br><br></div><div>ClueCon Weekly Development Call <br></div><div>☎ <a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a>  ☎ +19193869900 </div><div><br></div></div></div></div></div>
</div>