A follow up to this issue: I resolved this issue by setting the ext-sip-ip and ext-rtp-ip to <a href="http://10.0.1.252">10.0.1.252</a>.<br>in the vars.xml as this freeswitch is going nowhere to the internet. So basically this one way audio issue is the NAT issue, the typical SIP issue. now the sip default profile looks like this:<br>
<br>freeswitch@callcenter&gt; sofia status profile default<br>API CALL [sofia(status profile default)] output:<br>=================================================================================================<br>Name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; default<br>
Domain Name&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://10.0.1.252">10.0.1.252</a><br>DBName&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sofia_reg_default<br>Dialplan&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; XML<br>RTP-IP&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://10.0.1.252">10.0.1.252</a><br>Ext-RTP-IP&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://10.0.1.252">10.0.1.252</a><br>
SIP-IP&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://10.0.1.252">10.0.1.252</a><br>Ext-SIP-IP&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://10.0.1.252">10.0.1.252</a><br>URL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://sip:mod_sofia@10.0.1.252:5060">sip:mod_sofia@10.0.1.252:5060</a><br>
BIND-URL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sip:mod_sofia@10.0.1.252:5060;maddr=<a href="http://10.0.1.252">10.0.1.252</a><br>HOLD-MUSIC&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; local_stream://moh<br>CODECS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; G722,PCMU,PCMA,GSM,H263-1998<br>TEL-EVENT&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 101<br>CNG&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 13<br>
SESSION-TO&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0<br>MAX-DIALOG&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0<br><br>Registrations:<br>=================================================================================================<br>Call-ID&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Zjg0YTVjMmU0NzRhN2NhZjA1MmNiOTEyZWExN2M4YTY.<br>
User&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="mailto:1000@10.0.1.252">1000@10.0.1.252</a><br>Contact&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;1000&quot; &lt;sip:1000@10.0.1.253:36784;rinstance=6f9ee3cff586843a&gt;<br>Agent&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Bria release 2.2 stamp 45414<br>Status&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Registered(unknown) EXP(2008-04-11 00:15:24)<br>
<br>Call-ID&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="mailto:1858798975-5064-1@10.0.1.160">1858798975-5064-1@10.0.1.160</a><br>User&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="mailto:1006@10.0.1.252">1006@10.0.1.252</a><br>Contact&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;user&quot; &lt;<a href="http://sip:1006@10.0.1.160:5064">sip:1006@10.0.1.160:5064</a>&gt;<br>
Agent&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Grandstream GXW-4004&nbsp; V1.1A <a href="http://1.0.0.67">1.0.0.67</a><br>Status&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Registered(unknown) EXP(2008-04-11 00:20:37)<br><br>Call-ID&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="mailto:1412946610-5066-1@10.0.1.160">1412946610-5066-1@10.0.1.160</a><br>
User&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="mailto:1007@10.0.1.252">1007@10.0.1.252</a><br>Contact&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;user&quot; &lt;<a href="http://sip:1007@10.0.1.160:5066">sip:1007@10.0.1.160:5066</a>&gt;<br>Agent&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Grandstream GXW-4004&nbsp; V1.1A <a href="http://1.0.0.67">1.0.0.67</a><br>
Status&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Registered(unknown) EXP(2008-04-11 00:20:37)<br><br>Call-ID&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="mailto:51e43082-5491ec6d@10.0.1.251">51e43082-5491ec6d@10.0.1.251</a><br>User&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="mailto:1010@10.0.1.252">1010@10.0.1.252</a><br>
Contact&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1010 &lt;<a href="http://sip:1010@10.0.1.251:5060">sip:1010@10.0.1.251:5060</a>&gt;<br>Agent&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Linksys/PAP2-3.1.12(LS)<br>Status&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Registered(unknown) EXP(2008-04-11 00:21:11)<br><br>Call-ID&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="mailto:f37727a1-518ac7da@10.0.1.251">f37727a1-518ac7da@10.0.1.251</a><br>
User&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="mailto:1011@10.0.1.252">1011@10.0.1.252</a><br>Contact&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1011 &lt;<a href="http://sip:1011@10.0.1.251:5061">sip:1011@10.0.1.251:5061</a>&gt;<br>Agent&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Linksys/PAP2-3.1.12(LS)<br>Status&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Registered(unknown) EXP(2008-04-11 00:21:11)<br>
<br>Call-ID&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="mailto:445786933-5060-1@10.0.1.160">445786933-5060-1@10.0.1.160</a><br>User&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="mailto:1004@10.0.1.252">1004@10.0.1.252</a><br>Contact&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;user&quot; &lt;<a href="http://sip:1004@10.0.1.160:5060">sip:1004@10.0.1.160:5060</a>&gt;<br>
Agent&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Grandstream GXW-4004&nbsp; V1.1A <a href="http://1.0.0.67">1.0.0.67</a><br>Status&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Registered(unknown) EXP(2008-04-11 00:21:21)<br><br>Call-ID&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="mailto:1697459759-5062-1@10.0.1.160">1697459759-5062-1@10.0.1.160</a><br>
User&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="mailto:1005@10.0.1.252">1005@10.0.1.252</a><br>Contact&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;user&quot; &lt;<a href="http://sip:1005@10.0.1.160:5062">sip:1005@10.0.1.160:5062</a>&gt;<br>Agent&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Grandstream GXW-4004&nbsp; V1.1A <a href="http://1.0.0.67">1.0.0.67</a><br>
Status&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Registered(unknown) EXP(2008-04-11 00:21:21)<br><br>=================================================================================================<br><br>I really appreciate your valuable advice to me for the happy freeswitch journey.<br>
Lots of good stuffs to be explored further.<br><br>Thanks,<br><br>Chris<br><br><br><br><br><div class="gmail_quote">On Thu, Apr 10, 2008 at 3:16 PM, Nicolas Brenner &lt;<a href="mailto:nicolas@medularis.com">nicolas@medularis.com</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi Chris,<br>
<br>
Your problem seems a lot like what&#39;s happening to me, although I&#39;m<br>
only using xlite softphones on extensions 1000 and 1001. The phones<br>
are able to register and make calls (well two calls at least, before<br>
FS stops responding), but the media is not getting through. I&#39;m also<br>
using CentOS 5, but the server and softphone computers are on public<br>
IPs connected directly to the Internet, and there&#39;s no firewall<br>
running.<br>
<br>
I made a test of registering with extension 1000 and calling the<br>
number 9998 2 times, the first I can hear 3 secs of the tetris sound,<br>
and hanging up on the softphone ends the call, but on the second call<br>
I get no audio at all, and when I hang up on the softphone, the call<br>
is not ended on FS, so it stays open for a while until it times out<br>
and FS starts deperately trying to send BYE messages to the softphone.<br>
<br>
Here are my logs and sip trace (user/pass: freeswitch/mailing):<br>
- <a href="http://www.medularis.com/fs/freeswitch.log" target="_blank">http://www.medularis.com/fs/freeswitch.log</a><br>
- <a href="http://www.medularis.com/fs/consolelog.txt" target="_blank">http://www.medularis.com/fs/consolelog.txt</a><br>
- <a href="http://www.medularis.com/fs/siptrace.log" target="_blank">http://www.medularis.com/fs/siptrace.log</a><br>
<br>
I guess I&#39;m not being very useful to you in solving the problem, but I<br>
thought the issues could be related, so maybe we could be able to get<br>
the same help.<br>
<div><div></div><div class="Wj3C7c"><br>
On 4/10/08, Chris Chen &lt;<a href="mailto:chris.chen2004@gmail.com">chris.chen2004@gmail.com</a>&gt; wrote:<br>
&gt; Firewall is disabled on the centos 5 as this is purely LAN environment to<br>
&gt; start with. I believe there is no signaling issue here as every SIP endpoint<br>
&gt; is able to be registered and with presence information. The issue is about<br>
&gt; the media can be heard but not able to be sent out.<br>
&gt; &nbsp;on the sip endpoints.<br>
&gt;<br>
&gt; Thanks<br>
&gt;<br>
&gt; Chris<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Thu, Apr 10, 2008 at 2:49 PM, Chris Danielson &lt;<a href="mailto:chris@maxpowersoft.com">chris@maxpowersoft.com</a>&gt;<br>
&gt; wrote:<br>
&gt; &gt;<br>
&gt; &gt; Just tossing this out there. &nbsp;Are iptables running?<br>
&gt; &gt; as root run: &nbsp;`iptables -L`<br>
&gt; &gt;<br>
&gt; &gt; Make sure that ports 5060-5080 (tcp and udp) are not being blocked.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; Chris Danielson<br>
&gt; &gt; <a href="mailto:chris@maxpowersoft.com">chris@maxpowersoft.com</a><br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; Chris Chen wrote:<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; Without the change, the domain name and rtp-ip sip-ip would be <a href="http://127.0.0.1" target="_blank">127.0.0.1</a><br>
&gt; which is the loopback IP address &nbsp;of the freeswitch server. After those<br>
&gt; changes, at least I had all sip end-points registered and I heard dialtones<br>
&gt; when off the hook.<br>
&gt; &gt; Thanks<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; On Thu, Apr 10, 2008 at 2:31 PM, Brian West &lt;<a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a>&gt; wrote:<br>
&gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Can you elaborate on why you did this change?<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; /b<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; On Apr 10, 2008, at 1:25 PM, Chris Chen wrote:<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; I am using the default profile, with the SIP-IP and RTP-IP changed to<br>
&gt; <a href="http://10.0.1.252" target="_blank">10.0.1.252</a><br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Brian West<br>
&gt; &gt; &gt; <a href="mailto:sip%3Abrian@freeswitch.org">sip:brian@freeswitch.org</a><br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; _______________________________________________<br>
&gt; &gt; &gt; Freeswitch-users mailing list<br>
&gt; &gt; &gt; <a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
&gt; &gt; &gt;<br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; &gt; &gt;<br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; &gt; &gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; ________________________________<br>
&gt;<br>
&gt; &gt; _______________________________________________<br>
&gt; &gt; Freeswitch-users mailing list<br>
&gt; &gt; <a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
&gt; &gt;<br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; &gt;<br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; &gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; _______________________________________________<br>
&gt; &gt; Freeswitch-users mailing list<br>
&gt; &gt; <a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
&gt; &gt;<br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; &gt;<br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; &gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; &nbsp;Freeswitch-users mailing list<br>
&gt; &nbsp;<a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; &nbsp;<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
&gt;<br>
<br>
<br>
</div></div>Regards,<br>
<font color="#888888"><br>
--<br>
Nicolás Brenner<br>
</font><div><div></div><div class="Wj3C7c"><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>
</div></div></blockquote></div><br>