<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
after enabling this, now fs send our gateway username but we need to send a phone number. how can we override&nbsp;Contact: &lt;<a href="sip:1-F2la9@10.126.200.6:5060;transport=udp;gw=level3">sip:1-F2la9@10.126.200.6:5060;transport=udp;gw=level3</a>&gt; and make it to:&nbsp;Contact:
 &lt;<a href="sip:207.67.30.226@10.126.200.6:5060;transport=udp;gw=level3">sip:&#43;14142211800@207.67.30.226:5060;transport=udp;gw=level3</a>&gt;
<div><br>
</div>
<div>gateway config is:</div>
<div><br>
</div>
<div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 9.5px/normal Consolas; color: rgb(178, 34, 33); ">
<span style="color: #2c26f9">&lt;</span>include<span style="color: #2c26f9">&gt;</span></div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 9.5px/normal Consolas; color: rgb(44, 38, 249); ">
&nbsp; &lt;<span style="color: #b22221">gateway</span> <span style="color: #ff1b18">name</span>=<span style="color: #000000">&quot;</span>level3<span style="color: #000000">&quot;</span>&gt;</div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 9.5px/normal Consolas; color: rgb(44, 38, 249); ">
&nbsp; &nbsp; &lt;<span style="color: #b22221">param</span> <span style="color: #ff1b18">name</span>=<span style="color: #000000">&quot;</span>username<span style="color: #000000">&quot;</span>
<span style="color: #ff1b18">value</span>=<span style="color: #000000">&quot;</span>1-F2la9<span style="color: #000000">&quot;</span>/&gt;</div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 9.5px/normal Consolas; color: rgb(44, 38, 249); ">
&nbsp; &nbsp; &lt;<span style="color: #b22221">param</span> <span style="color: #ff1b18">name</span>=<span style="color: #000000">&quot;</span>password<span style="color: #000000">&quot;</span>
<span style="color: #ff1b18">value</span>=<span style="color: #000000">&quot;</span>password<span style="color: #000000">&quot;</span>/&gt;</div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 9.5px/normal Consolas; color: rgb(44, 38, 249); ">
&nbsp; &nbsp; &lt;<span style="color: #b22221">param</span> <span style="color: #ff1b18">name</span>=<span style="color: #000000">&quot;</span>proxy<span style="color: #000000">&quot;</span>
<span style="color: #ff1b18">value</span>=<span style="color: #000000">&quot;</span>4.55.35.60:5070<span style="color: #000000">&quot;</span>/&gt;</div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 9.5px/normal Consolas; color: rgb(44, 38, 249); ">
&nbsp; &nbsp; &lt;<span style="color: #b22221">param</span> <span style="color: #ff1b18">name</span>=<span style="color: #000000">&quot;</span>expire-seconds<span style="color: #000000">&quot;</span>
<span style="color: #ff1b18">value</span>=<span style="color: #000000">&quot;</span>3600<span style="color: #000000">&quot;</span>/&gt;</div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 9.5px/normal Consolas; color: rgb(44, 38, 249); ">
&nbsp; &nbsp; &lt;<span style="color: #b22221">param</span> <span style="color: #ff1b18">name</span>=<span style="color: #000000">&quot;</span>register-transport<span style="color: #000000">&quot;</span>
<span style="color: #ff1b18">value</span>=<span style="color: #000000">&quot;</span>udp<span style="color: #000000">&quot;</span>/&gt;</div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 9.5px/normal Consolas; color: rgb(44, 38, 249); ">
&nbsp; &nbsp; &lt;<span style="color: #b22221">param</span> <span style="color: #ff1b18">name</span>=<span style="color: #000000">&quot;</span>register<span style="color: #000000">&quot;</span>
<span style="color: #ff1b18">value</span>=<span style="color: #000000">&quot;</span>false<span style="color: #000000">&quot;</span>/&gt;</div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 9.5px/normal Consolas; color: rgb(44, 38, 249); ">
&nbsp; &nbsp; &lt;<span style="color: #b22221">param</span> <span style="color: #ff1b18">name</span>=<span style="color: #000000">&quot;</span>dtmf-type<span style="color: #000000">&quot;</span>
<span style="color: #ff1b18">value</span>=<span style="color: #000000">&quot;</span>rfc2833<span style="color: #000000">&quot;</span>/&gt;</div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 9.5px/normal Consolas; color: rgb(44, 38, 249); ">
&nbsp; &nbsp; &lt;<span style="color: #b22221">param</span> <span style="color: #ff1b18">name</span>=<span style="color: #000000">&quot;</span>extension-in-contact<span style="color: #000000">&quot;</span>
<span style="color: #ff1b18">value</span>=<span style="color: #000000">&quot;</span>true<span style="color: #000000">&quot;</span>/&gt;</div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 9.5px/normal Consolas; color: rgb(178, 34, 33); ">
<span style="color: #2c26f9">&nbsp; &lt;/</span>gateway<span style="color: #2c26f9">&gt;</span></div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 9.5px/normal Consolas; color: rgb(178, 34, 33); ">
<span style="color: #2c26f9">&lt;/</span>include<span style="color: #2c26f9">&gt;</span></div>
<div><span style="color: #2c26f9"><br>
</span></div>
<div><span style="color: #2c26f9"><br>
</span></div>
<div><br>
<div>
<div>On Sep 19, 2011, at 1:22 PM, DJB International wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">Check the wiki page <a href="http://wiki.freeswitch.org/wiki/Sofia_Configuration_Files">
http://wiki.freeswitch.org/wiki/Sofia_Configuration_Files</a> on -djbinter<br>
<br>
<div class="gmail_quote">On Mon, Sep 19, 2011 at 10:59 AM, Chad Vogel <span dir="ltr">
&lt;<a href="mailto:cvogel@lyonl.com">cvogel@lyonl.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div style="word-wrap:break-word">hello,
<div><br>
</div>
<div>I was wondering how can modify the sip from and contact headers? I need to pass the phone number in the username not &quot;<a>1-F2la9</a>&quot; to level 3. also i need to do the same with the contact header the username needs to the phone number not &nbsp;&quot;<a>gw&#43;level3</a>&quot;.
 also why is fs switch send our internal ip address and not our external ip address in the contact field, do i not have something setup correctly?</div>
<div><br>
</div>
<div>Request URI:&nbsp;<a>sip:&#43;15618911806@4.55.35.60:5070</a><br>
From: &quot;<a href="tel:%2B15745844329" value="&#43;15745844329" target="_blank">&#43;15745844329</a>&quot; &lt;<a>sip:1-F2la9@4.55.35.60:5070;transport=udp</a>&gt;;tag=69eUt3Fm7pyNg<br>
To: &lt;<a>sip:&#43;15618911806@4.55.35.60:5070</a>&gt;<br>
Call-ID: a3db0f98-5d82-122f-c3a5-9595615a4f01<br>
CSeq: 17889518 INVITE<br>
Contact: &lt;<a>sip:gw&#43;level3@10.126.200.6:5060;transport=udp;gw=level3</a>&gt;</div>
<div><br>
</div>
<font color="#888888">
<div><br>
</div>
<div>Chad</div>
</font></div>
<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>
<br>
</blockquote>
</div>
<br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br>
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>
http://www.freeswitch.org<br>
</blockquote>
</div>
<br>
</div>
</div>
</body>
</html>