<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 Contact: <<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>> and make it to: Contact:
<<a href="sip:207.67.30.226@10.126.200.6:5060;transport=udp;gw=level3">sip:+14142211800@207.67.30.226:5060;transport=udp;gw=level3</a>>
<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"><</span>include<span style="color: #2c26f9">></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); ">
<<span style="color: #b22221">gateway</span> <span style="color: #ff1b18">name</span>=<span style="color: #000000">"</span>level3<span style="color: #000000">"</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); ">
<<span style="color: #b22221">param</span> <span style="color: #ff1b18">name</span>=<span style="color: #000000">"</span>username<span style="color: #000000">"</span>
<span style="color: #ff1b18">value</span>=<span style="color: #000000">"</span>1-F2la9<span style="color: #000000">"</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); ">
<<span style="color: #b22221">param</span> <span style="color: #ff1b18">name</span>=<span style="color: #000000">"</span>password<span style="color: #000000">"</span>
<span style="color: #ff1b18">value</span>=<span style="color: #000000">"</span>password<span style="color: #000000">"</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); ">
<<span style="color: #b22221">param</span> <span style="color: #ff1b18">name</span>=<span style="color: #000000">"</span>proxy<span style="color: #000000">"</span>
<span style="color: #ff1b18">value</span>=<span style="color: #000000">"</span>4.55.35.60:5070<span style="color: #000000">"</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); ">
<<span style="color: #b22221">param</span> <span style="color: #ff1b18">name</span>=<span style="color: #000000">"</span>expire-seconds<span style="color: #000000">"</span>
<span style="color: #ff1b18">value</span>=<span style="color: #000000">"</span>3600<span style="color: #000000">"</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); ">
<<span style="color: #b22221">param</span> <span style="color: #ff1b18">name</span>=<span style="color: #000000">"</span>register-transport<span style="color: #000000">"</span>
<span style="color: #ff1b18">value</span>=<span style="color: #000000">"</span>udp<span style="color: #000000">"</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); ">
<<span style="color: #b22221">param</span> <span style="color: #ff1b18">name</span>=<span style="color: #000000">"</span>register<span style="color: #000000">"</span>
<span style="color: #ff1b18">value</span>=<span style="color: #000000">"</span>false<span style="color: #000000">"</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); ">
<<span style="color: #b22221">param</span> <span style="color: #ff1b18">name</span>=<span style="color: #000000">"</span>dtmf-type<span style="color: #000000">"</span>
<span style="color: #ff1b18">value</span>=<span style="color: #000000">"</span>rfc2833<span style="color: #000000">"</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); ">
<<span style="color: #b22221">param</span> <span style="color: #ff1b18">name</span>=<span style="color: #000000">"</span>extension-in-contact<span style="color: #000000">"</span>
<span style="color: #ff1b18">value</span>=<span style="color: #000000">"</span>true<span style="color: #000000">"</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"> </</span>gateway<span style="color: #2c26f9">></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"></</span>include<span style="color: #2c26f9">></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">
<<a href="mailto:cvogel@lyonl.com">cvogel@lyonl.com</a>></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 "<a>1-F2la9</a>" to level 3. also i need to do the same with the contact header the username needs to the phone number not "<a>gw+level3</a>".
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: <a>sip:+15618911806@4.55.35.60:5070</a><br>
From: "<a href="tel:%2B15745844329" value="+15745844329" target="_blank">+15745844329</a>" <<a>sip:1-F2la9@4.55.35.60:5070;transport=udp</a>>;tag=69eUt3Fm7pyNg<br>
To: <<a>sip:+15618911806@4.55.35.60:5070</a>><br>
Call-ID: a3db0f98-5d82-122f-c3a5-9595615a4f01<br>
CSeq: 17889518 INVITE<br>
Contact: <<a>sip:gw+level3@10.126.200.6:5060;transport=udp;gw=level3</a>></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>