<div><profile name="external"></div><div> <gateways></div><div> <X-PRE-PROCESS cmd="include" data="external/*.xml"/></div><div> </gateways></div><div><br></div><div>
<aliases></div><div> <!-- </div><div> <alias name="outbound"/> </div>
<div> <alias name="nat"/> </div><div> --></div><div> </aliases></div>
<div><br></div><div> <domains></div><div> <domain name="all" alias="false" parse="true"/></div><div> </domains></div><div><br></div><div> <settings></div><div> <param name="debug" value="0"/></div>
<div> <param name="sip-trace" value="no"/></div><div> <param name="rfc2833-pt" value="101"/></div><div> <param name="sip-port" value="$${external_sip_port}"/></div>
<div> <param name="dialplan" value="XML"/></div><div> <param name="context" value="public"/></div><div> <param name="dtmf-duration" value="2000"/></div>
<div> <param name="inbound-codec-prefs" value="$${global_codec_prefs}"/></div><div> <param name="outbound-codec-prefs" value="$${outbound_codec_prefs}"/></div><div>
<param name="hold-music" value="$${hold_music}"/></div><div> <param name="rtp-timer-name" value="soft"/></div><div> <param name="local-network-acl" value="localnet.auto"/></div>
<div> <param name="manage-presence" value="false"/></div><div> <!--<param name="aggressive-nat-detection" value="true"/>--></div><div> <param name="inbound-codec-negotiation" value="generous"/></div>
<div> <param name="nonce-ttl" value="60"/></div><div> <param name="auth-calls" value="false"/></div><div> <param name="rtp-ip" value="$${local_ip_v4}"/></div>
<div> <param name="sip-ip" value="$${local_ip_v4}"/></div><div> <param name="ext-rtp-ip" value="auto-nat"/></div><div> <param name="ext-sip-ip" value="auto-nat"/></div>
<div> <param name="rtp-timeout-sec" value="300"/></div><div> <param name="rtp-hold-timeout-sec" value="1800"/></div><div> <param name="tls" value="$${external_ssl_enable}"/></div>
<div> <param name="tls-bind-params" value="transport=tls"/></div><div> <param name="tls-sip-port" value="$${external_tls_port}"/></div><div> <param name="tls-cert-dir" value="$${external_ssl_dir}"/></div>
<div> <param name="tls-version" value="$${sip_tls_version}"/></div><div><br></div><div> </settings></div><div></profile></div><div><br></div><br>Thank you,<br>Bryan Lemon<br>(302) 648-2747<br>
<br>
<br><br><div class="gmail_quote">On Tue, Aug 16, 2011 at 13:03, Brian West <span dir="ltr"><<a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Bryan,<br>
Can you provide the sofia profile xml?<br>
<br>
/b<br>
<div class="im"><br>
On Aug 16, 2011, at 8:46 AM, Bryan Lemon wrote:<br>
<br>
>> From what I am seeing, freeswitch is not honoring the ext-*-ip variables in<br>
> the invite messages. Using the following command entered on<br>
> fs_cli: originate<br>
> {origination_caller_id_name='Something.com',origination_caller_id_number=5555551212,userid=7,rowid=ROWID,phonenumber=5555551212,initial=2,prompt=0,thankyou=0,whattosay='',ignore_early_media=true}sofia/gateway/didforsale/15555551212<br>
> &javascript(somejavascript.js), the invite message is below. Shouldn't the<br>
> instances of 10.0.10.144 be replaced with the ext-*-ip of 204.111.*.*? This<br>
> is causing the rtp packets to be sent to the incorrect location, and<br>
> resulting in 1-way audio.<br>
><br>
><br>
> send 1089 bytes to udp/[209.216.*.*]:5060 at 05:56:00.276988:<br>
> ------------------------------------------------------------------------<br>
</div>> INVITE sip:<a href="tel:13044150838" value="+13044150838">13044150838</a><<a href="https://www.google.com/voice/m/caller?number=+13044150838" target="_blank">https://www.google.com/voice/m/caller?number=+13044150838</a>>@209.216.*.*<br>
<div><div></div><div class="h5">> SIP/2.0<br>
> Via: SIP/2.0/UDP 10.0.10.144:5080;rport;branch=z9hG4bKH0e2DU1Bc2KgD<br>
> Max-Forwards: 69<br>
> From: "SomeName" <sip:bryan_bryanlemon_com@209.216.<br>
> *.*;transport=udp>;tag=HpU27XSQHmX1g<br>
> To: <sip:15555551212@209.216.*.*><br>
> Call-ID: 425293d9-426f-122f-8fb5-f04da2846e9a<br>
> CSeq: 16401016 INVITE<br>
> Contact: <sip:gw+didforsale@204.111.*.*:5080;transport=udp;gw=didforsale><br>
> User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-decfdbb 2011-08-11 14-15-26<br>
> -0500<br>
> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO,<br>
> REGISTER, REFER, NOTIFY<br>
> Supported: timer, precondition, path, replaces<br>
> Allow-Events: talk, hold, refer<br>
> Content-Type: application/sdp<br>
> Content-Disposition: session<br>
> Content-Length: 203<br>
> X-FS-Support: update_display<br>
> Remote-Party-ID: "SomeName" <<a href="mailto:sip%3A15555551212@10.0.10.144">sip:15555551212@10.0.10.144</a><br>
>> ;party=calling;screen=yes;privacy=off<br>
><br>
> v=0<br>
> o=FreeSWITCH 1313441448 1313441449 IN IP4 10.0.10.144<br>
> s=FreeSWITCH<br>
> c=IN IP4 10.0.10.144<br>
> t=0 0<br>
> m=audio 32712 RTP/AVP 8 0 3 101 13<br>
> a=rtpmap:101 telephone-event/8000<br>
> a=fmtp:101 0-16<br>
> a=ptime:20<br>
><br>
><br>
><br>
><br>
> sofia status profile internal<br>
> =================================================================================================<br>
> Name internal<br>
> Domain Name N/A<br>
> Auto-NAT true<br>
> DBName sofia_reg_internal<br>
> Pres Hosts 10.0.10.144,10.0.10.144<br>
> Dialplan XML<br>
> Context public<br>
> Challenge Realm auto_from<br>
> RTP-IP 10.0.10.144<br>
> Ext-RTP-IP 204.111.*.*<br>
> SIP-IP 10.0.10.144<br>
> Ext-SIP-IP 204.111.*.*<br>
> URL <a href="http://sip:mod_sofia@10.0.10.144:5060" target="_blank">sip:mod_sofia@10.0.10.144:5060</a><br>
> BIND-URL <a href="http://sip:mod_sofia@10.0.10.144:5060" target="_blank">sip:mod_sofia@10.0.10.144:5060</a><br>
><br>
><br>
> freeswitch@internal> sofia status profile external<br>
> =================================================================================================<br>
> Name external<br>
> Domain Name N/A<br>
> Auto-NAT true<br>
> DBName sofia_reg_external<br>
> Pres Hosts<br>
> Dialplan XML<br>
> Context public<br>
> Challenge Realm auto_to<br>
> RTP-IP 10.0.10.144<br>
> Ext-RTP-IP 204.111.*.*<br>
> SIP-IP 10.0.10.144<br>
> Ext-SIP-IP 204.111.*.*<br>
> URL <a href="http://sip:mod_sofia@10.0.10.144:5080" target="_blank">sip:mod_sofia@10.0.10.144:5080</a><br>
> BIND-URL <a href="http://sip:mod_sofia@10.0.10.144:5080" target="_blank">sip:mod_sofia@10.0.10.144:5080</a><br>
><br>
><br>
> Thank you,<br>
> Bryan Lemon<br>
</div></div>> <a href="tel:%28302%29%20648-2747" value="+13026482747">(302) 648-2747</a> <<a href="https://www.google.com/voice/m/caller?number=+13026482747" target="_blank">https://www.google.com/voice/m/caller?number=+13026482747</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>
<br>
<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>