<div dir="ltr"><div><br></div><div>gateway->register_from = switch_core_sprintf(gateway->pool, "<sip:%s@%s>", from_user, !zstr(from_domain) ? from_domain : proxy); </div><div><p class="">This is how the from is built in the code. Do you have a use case that Requires it? I can't think of a reason it would matter.<br></p><p class=""><span class=""><br></span></p><p class=""><span class=""><br></span></p></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 6, 2015 at 4:59 PM, George F. Phelps <span dir="ltr"><<a href="mailto:GeorgePhelps@gfphelps.com" target="_blank">GeorgePhelps@gfphelps.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">My current gateway REGISTER packet has a certain FROM header, as shown below:<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:"Verdana","sans-serif""><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-family:Consolas"> REGISTER sip:66.33.147.150;transport=udp SIP/2.0<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:Consolas"> Via: SIP/2.0/UDP 54.174.255.168:5080;rport;branch=z9hG4bKKQayX8pZ5yctp<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:Consolas"> Max-Forwards: 70<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:Consolas;color:blue"> From: <<a href="mailto:sip%3A%2B1404XXXXXXX@66.33.147.150" target="_blank">sip:+1404XXXXXXX@66.33.147.150</a>>;tag=FQag8jSNpac9c<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:Consolas"> To: <<a href="mailto:sip%3A%2B1404XXXXXXX@66.33.147.150" target="_blank">sip:+1404XXXXXXX@66.33.147.150</a>><u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:Consolas"> Call-ID: d3cd81b1-c9e2-4401-8126-f4e545e3ebce<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:Consolas"> CSeq: 69955649 REGISTER<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:Consolas"> Contact: <sip:gw+switch2voip.us@54.174.255.168:5080;transport=udp;gw=<a href="http://switch2voip.us" target="_blank">switch2voip.us</a>><u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:Consolas"> . . .<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:"Verdana","sans-serif""><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">What do I set/change in my gateway configuration to add a character string “1404XXXXXXX” to the FROM header? As shown in <span style="color:red">red</span> below:<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:"Verdana","sans-serif""><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-family:Consolas"> REGISTER sip:66.33.147.150;transport=udp SIP/2.0<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:Consolas"> Via: SIP/2.0/UDP 54.174.255.168:5080;rport;branch=z9hG4bKKQayX8pZ5yctp<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:Consolas"> Max-Forwards: 70<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:Consolas"> <span style="color:blue">From: </span><span style="color:red">“1404XXXXXXX”</span><span style="color:blue"> <<a href="mailto:sip%3A%2B1404XXXXXXX@66.33.147.150" target="_blank">sip:+1404XXXXXXX@66.33.147.150</a>>;tag=FQag8jSNpac9c<u></u><u></u></span></span></p><p class="MsoNormal"><span style="font-family:Consolas"> To: <<a href="mailto:sip%3A%2B1404XXXXXXX@66.33.147.150" target="_blank">sip:+1404XXXXXXX@66.33.147.150</a>><u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:Consolas"> Call-ID: d3cd81b1-c9e2-4401-8126-f4e545e3ebce<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:Consolas"> CSeq: 69955649 REGISTER<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:Consolas"> Contact: <sip:gw+switch2voip.us@54.174.255.168:5080;transport=udp;gw=<a href="http://switch2voip.us" target="_blank">switch2voip.us</a>><u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:Consolas"> . . .<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:"Verdana","sans-serif""><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">I am already setting the following values (in my gateway definition):<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:"Verdana","sans-serif""><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-family:Consolas"> <param name="from-user" value="1404XXXXXXX"/><u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:Consolas"> <param name="caller-id-in-from" value="true"/><u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:Consolas"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">Thanks,<span class="HOEnZb"><font color="#888888"><u></u><u></u></font></span></span></p><span class="HOEnZb"><font color="#888888"><p class="MsoNormal"><span style="font-family:"Verdana","sans-serif""><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">George<u></u><u></u></span></p><p class="MsoNormal"><u></u> <u></u></p></font></span></div></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><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">
<p><font face="courier new, monospace"><b><i><font size="4">Brian West</font></i></b><br><span style="font-size:x-small"><a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a></span></font></p>
<p><font size="1" face="courier new, monospace"><img src="http://billing.freeswitch.org/templates/default/img/whmcslogo.png"><br></font></p><p><font face="courier new, monospace"><b><i>Twitter: @FreeSWITCH , @briankwest</i></b><br><a href="http://www.freeswitchbook.com" target="_blank">http://www.freeswitchbook.com</a><br><a href="http://www.freeswitchcookbook.com" target="_blank">http://www.freeswitchcookbook.com</a></font></p>
<p><font face="courier new, monospace"><b>T:</b>+19184209001 | <b>F:</b>+19184209002 | <b>M:</b>+1918424WEST (9378)<br><b>iNUM:</b>+883 5100 1420 9001 | <b>ISN:</b>410*543 | <b>Skype:</b>briankwest</font></p></div></div>
</div>