<meta http-equiv="content-type" content="text/html; charset=utf-8"><span class="Apple-style-span" style="border-collapse: collapse; color: rgb(68, 68, 68); font-family: arial, sans-serif; font-size: 13px; ">From what I am seeing, <span class="il" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(199, 202, 204); color: rgb(34, 34, 34); background-position: initial initial; background-repeat: initial initial; ">freeswitch</span> is not honoring the ext-*-ip variables in the invite messages. Using the following command entered on fs_cli: originate {origination_caller_id_name=&#39;Something.com&#39;,origination_caller_id_number=5555551212,userid=7,rowid=ROWID,phonenumber=5555551212,initial=2,prompt=0,thankyou=0,whattosay=&#39;&#39;,ignore_early_media=true}sofia/gateway/didforsale/15555551212 &amp;javascript(somejavascript.js), the invite message is below. Shouldn&#39;t the instances of 10.0.10.144 be replaced with the ext-*-ip of 204.111.*.*? This is causing the rtp packets to be sent to the incorrect location, and resulting in 1-way audio.<div>

<br></div><div><br><div><div>send 1089 bytes to udp/[209.216.*.*]:5060 at 05:56:00.276988:</div><div>   ------------------------------------------------------------------------</div><div>   INVITE sip:<a href="tel:13044150838" value="+13044150838" target="_blank" style="color: rgb(34, 34, 34); ">13044150838</a><a href="https://www.google.com/voice/m/caller?number=+13044150838" target="_blank" title="Call (304) 415-0838 with Google Voice" style="color: rgb(34, 34, 34); margin-left: 0.25em; "><img src="chrome-extension://gkifjgbannffbicibhcbfjmcbalmkefa/icon48.png" style="width: 1em; height: 1em; "></a>@209.216.*.* SIP/2.0</div>

<div>   Via: SIP/2.0/UDP 10.0.10.144:5080;rport;branch=z9hG4bKH0e2DU1Bc2KgD</div><div>   Max-Forwards: 69</div><div>   From: &quot;SomeName&quot; &lt;sip:bryan_bryanlemon_com@209.216.*.*;transport=udp&gt;;tag=HpU27XSQHmX1g</div>

<div>   To: &lt;sip:15555551212@209.216.*.*&gt;</div><div>   Call-ID: 425293d9-426f-122f-8fb5-f04da2846e9a</div><div>   CSeq: 16401016 INVITE</div><div>   Contact: &lt;sip:gw+didforsale@204.111.*.*:5080;transport=udp;gw=didforsale&gt;</div>

<div>   User-Agent: <span class="il" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(199, 202, 204); color: rgb(34, 34, 34); background-position: initial initial; background-repeat: initial initial; ">FreeSWITCH</span>-mod_sofia/1.0.head-git-decfdbb 2011-08-11 14-15-26 -0500</div>

<div>   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY</div><div>   Supported: timer, precondition, path, replaces</div><div>   Allow-Events: talk, hold, refer</div><div>   Content-Type: application/sdp</div>

<div>   Content-Disposition: session</div><div>   Content-Length: 203</div><div>   X-FS-Support: update_display</div><div>   Remote-Party-ID: &quot;SomeName&quot; &lt;<a href="mailto:sip%3A15555551212@10.0.10.144" target="_blank" style="color: rgb(34, 34, 34); ">sip:15555551212@10.0.10.144</a>&gt;;party=calling;screen=yes;privacy=off</div>

<div>   </div><div>   v=0</div><div>   o=<span class="il" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(199, 202, 204); color: rgb(34, 34, 34); background-position: initial initial; background-repeat: initial initial; ">FreeSWITCH</span> 1313441448 1313441449 IN IP4 10.0.10.144</div>

<div>   s=<span class="il" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(199, 202, 204); color: rgb(34, 34, 34); background-position: initial initial; background-repeat: initial initial; ">FreeSWITCH</span></div>

<div>   c=IN IP4 10.0.10.144</div><div>   t=0 0</div><div>   m=audio 32712 RTP/AVP 8 0 3 101 13</div><div>   a=rtpmap:101 telephone-event/8000</div><div>   a=fmtp:101 0-16</div><div>   a=ptime:20</div><div><br></div><div>

<br></div><div><br></div><div><br></div><div><div>sofia status profile internal</div><div>=================================================================================================</div><div>Name             <span style="white-space: pre-wrap; ">        </span>internal</div>

<div>Domain Name      <span style="white-space: pre-wrap; ">        </span>N/A</div><div>Auto-NAT         <span style="white-space: pre-wrap; ">        </span>true</div><div>DBName           <span style="white-space: pre-wrap; ">        </span>sofia_reg_internal</div>

<div>Pres Hosts       <span style="white-space: pre-wrap; ">        </span>10.0.10.144,10.0.10.144</div><div>Dialplan         <span style="white-space: pre-wrap; ">        </span>XML</div><div>Context          <span style="white-space: pre-wrap; ">        </span>public</div>

<div>Challenge Realm  <span style="white-space: pre-wrap; ">        </span>auto_from</div><div>RTP-IP           <span style="white-space: pre-wrap; ">        </span>10.0.10.144</div><div>Ext-RTP-IP       <span style="white-space: pre-wrap; ">        </span>204.111.*.*</div>

<div>SIP-IP           <span style="white-space: pre-wrap; ">        </span>10.0.10.144</div><div>Ext-SIP-IP       <span style="white-space: pre-wrap; ">        </span>204.111.*.*</div><div>URL              <span style="white-space: pre-wrap; ">        </span><a href="http://sip:mod_sofia@10.0.10.144:5060/" target="_blank" style="color: rgb(34, 34, 34); ">sip:mod_sofia@10.0.10.144:5060</a></div>

<div>BIND-URL         <span style="white-space: pre-wrap; ">        </span><a href="http://sip:mod_sofia@10.0.10.144:5060/" target="_blank" style="color: rgb(34, 34, 34); ">sip:mod_sofia@10.0.10.144:5060</a></div><div><br></div>

<div><br></div><div><div><span class="il" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(199, 202, 204); color: rgb(34, 34, 34); background-position: initial initial; background-repeat: initial initial; ">freeswitch</span>@internal&gt; sofia status profile external</div>

<div>=================================================================================================</div><div>Name             <span style="white-space: pre-wrap; ">        </span>external</div><div>Domain Name      <span style="white-space: pre-wrap; ">        </span>N/A</div>

<div>Auto-NAT         <span style="white-space: pre-wrap; ">        </span>true</div><div>DBName           <span style="white-space: pre-wrap; ">        </span>sofia_reg_external</div><div>Pres Hosts       <span style="white-space: pre-wrap; ">        </span></div>

<div>Dialplan         <span style="white-space: pre-wrap; ">        </span>XML</div><div>Context          <span style="white-space: pre-wrap; ">        </span>public</div><div>Challenge Realm  <span style="white-space: pre-wrap; ">        </span>auto_to</div>

<div>RTP-IP           <span style="white-space: pre-wrap; ">        </span>10.0.10.144</div><div>Ext-RTP-IP       <span style="white-space: pre-wrap; ">        </span>204.111.*.*</div><div>SIP-IP           <span style="white-space: pre-wrap; ">        </span>10.0.10.144</div>

<div>Ext-SIP-IP       <span style="white-space: pre-wrap; ">        </span>204.111.*.*</div><div>URL              <span style="white-space: pre-wrap; ">        </span><a href="http://sip:mod_sofia@10.0.10.144:5080/" target="_blank" style="color: rgb(34, 34, 34); ">sip:mod_sofia@10.0.10.144:5080</a></div>

<div>BIND-URL         <span style="white-space: pre-wrap; ">        </span><a href="http://sip:mod_sofia@10.0.10.144:5080/" target="_blank" style="color: rgb(34, 34, 34); ">sip:mod_sofia@10.0.10.144:5080</a></div></div><div><br>

</div><br>Thank you,<br><font color="#888888">Bryan Lemon<br><a href="tel:%28302%29%20648-2747" value="+13026482747" target="_blank" style="color: rgb(34, 34, 34); ">(302) 648-2747</a><a href="https://www.google.com/voice/m/caller?number=+13026482747" target="_blank" title="Call (302) 648-2747 with Google Voice" style="color: rgb(34, 34, 34); margin-left: 0.25em; "><img src="chrome-extension://gkifjgbannffbicibhcbfjmcbalmkefa/icon48.png" style="width: 1em; height: 1em; "></a><br>

</font></div></div></div></span>