Try to dump with tcpdump or ngrep and analyse using wireshark.<br><br><div class="gmail_quote">2012/1/19 Ryan How <span dir="ltr"><<a href="mailto:rhow@exemail.com.au">rhow@exemail.com.au</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Yes. Both the server and client are behind a NAT. I haven't tried 2 clients behind the same NAT.<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
On 19/01/2012, at 5:48 AM, "Alexis de BRUYN [Mailinglists]" <<a href="mailto:alexis.mailinglist@de-bruyn.fr">alexis.mailinglist@de-bruyn.fr</a>> wrote:<br>
<br>
> Hi Ryan,<br>
><br>
> Thank you for your answer, your server is behind NAT and your client too ?<br>
><br>
> Regards,<br>
><br>
> On 18.01.2012 05:06, Ryan How wrote:<br>
>> Hi,<br>
>><br>
>> I set mine up for the external phones to log into the internal profile<br>
>> and it just worked (port 5060). But it might depend on the type of NAT<br>
>> or something, I'm by no means an expert on the subject.<br>
>><br>
>> Probably worth securing it better than the default config once you get<br>
>> it going if it works on the internal profile.<br>
>><br>
>> Ryan<br>
>><br>
>><br>
>> On 18/01/2012 5:04 AM, Alexis de BRUYN [Mailinglists] wrote:<br>
>>> Hi Everybody,<br>
>>><br>
>>> I am trying to get a conversation between two natted clients and a<br>
>>> natted freeswitch server. I am playing with a fresh install, the<br>
>>> external profile and default directory (1000& 1001 users).<br>
>>><br>
>>> I can see that my clients are registered on the server logs (on the 5080<br>
>>> port). All others needed ports are opened too.<br>
>>><br>
>>> I have followed the instructions from the wiki to get a double nat<br>
>>> configuration, but my client phone are not ringing (and I cannot hear<br>
>>> anything).<br>
>>><br>
>>> All is working fine with defaults in a non nat configuration (with<br>
>>> internal profile).<br>
>>><br>
>>> Is there anything special to set up in the directory / user configuration ?<br>
>>><br>
>>> Can anyone give me some hints with his natted configuration ? I am stuck.<br>
>>><br>
>>> Thanks for your help.<br>
>>><br>
>>> Regards,<br>
>>><br>
>>> -------- Original Message --------<br>
>>> Subject: [Freeswitch-users] USER_NOT_REGISTERED with external profile<br>
>>> Date: Mon, 16 Jan 2012 23:37:20 +0100<br>
>>> From: Alexis de BRUYN [Mailinglists]<<a href="mailto:alexis.mailinglist@de-bruyn.fr">alexis.mailinglist@de-bruyn.fr</a>><br>
>>> Reply-To: FreeSWITCH Users Help<<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>><br>
>>> To: <a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><br>
>>><br>
>>> Hi Everybody,<br>
>>><br>
>>> I am trying to use FreeSwitch in a (double) NAT Configuration from a<br>
>>> fresh snapshot install (Debian Squeeze, server outside from my client<br>
>>> LAN) with default directory for users.<br>
>>><br>
>>> When I call 1001 from 1000 (or 1000 from 1001) , I cannot hear the<br>
>>> callee, the phone doesn't ring and automatically hangup, I see in the<br>
>>> console :<br>
>>><br>
>>> 2012-01-16 22:59:37.691663 [ERR] switch_ivr_originate.c:2447 Cannot<br>
>>> create outgoing channel of type [error] cause: [USER_NOT_REGISTERED]<br>
>>> 2012-01-16 22:59:37.691663 [ERR] switch_ivr_originate.c:2447 Cannot<br>
>>> create outgoing channel of type [user] cause: [USER_NOT_REGISTERED]<br>
>>><br>
>>> However, 1000 and 1001 are registered (from the same LAN) :<br>
>>><br>
>>> sofia status profile external<br>
>>><br>
>>> =================================================================================================<br>
>>> Name external<br>
>>> Domain Name N/A<br>
>>> Auto-NAT false<br>
>>> DBName sofia_reg_external<br>
>>> Pres Hosts<br>
>>> Dialplan XML<br>
>>> Context public<br>
>>> Challenge Realm auto_to<br>
>>> RTP-IP 192.168.1.6<br>
>>> SIP-IP 192.168.1.6<br>
>>> URL <a href="http://sip:mod_sofia@192.168.1.6:5080" target="_blank">sip:mod_sofia@192.168.1.6:5080</a><br>
>>> BIND-URL <a href="http://sip:mod_sofia@192.168.1.6:5080" target="_blank">sip:mod_sofia@192.168.1.6:5080</a><br>
>>> HOLD-MUSIC local_stream://moh<br>
>>> OUTBOUND-PROXY N/A<br>
>>> CODECS IN G7221@32000h,G7221@16000h,G722,PCMU,PCMA,GSM<br>
>>> CODECS OUT PCMU,PCMA,GSM<br>
>>> TEL-EVENT 101<br>
>>> DTMF-MODE rfc2833<br>
>>> CNG 13<br>
>>> SESSION-TO 0<br>
>>> MAX-DIALOG 0<br>
>>> NOMEDIA false<br>
>>> LATE-NEG false<br>
>>> PROXY-MEDIA false<br>
>>> AGGRESSIVENAT false<br>
>>> STUN-ENABLED true<br>
>>> STUN-AUTO-DISABLE false<br>
>>> CALLS-IN 3<br>
>>> FAILED-CALLS-IN 0<br>
>>> CALLS-OUT 0<br>
>>> FAILED-CALLS-OUT 0<br>
>>><br>
>>> Registrations:<br>
>>> =================================================================================================<br>
>>> Call-ID: aU.1ZlEZkW7nlHpwp9ig1lt7A3weNnwm<br>
>>> User: 1001@X.Y.Z.T<br>
>>> Contact: "Freeswitch"<sip:1001@A.B.C.D:50193><br>
>>> Agent: Bria iOS 2.0.0<br>
>>> Status: Registered(UDP)(unknown) EXP(2012-01-16 23:16:00) EXPSECS(934)<br>
>>> Host: phone<br>
>>> IP: A.B.C.D<br>
>>> Port: 50193<br>
>>> Auth-User: 1001<br>
>>> Auth-Realm: X.Y.Z.T<br>
>>> MWI-Account: 1001@X.Y.Z.T<br>
>>><br>
>>> Call-ID: 3c27b7424837-bsfi877ujb2n<br>
>>> User: 1000@X.Y.Z.T<br>
>>> Contact: "freeswitch"<sip:1000@192.168.0.69:2048;line=skgk4hug><br>
>>> Agent: snom300/8.4.32<br>
>>> Status: Registered(UDP)(unknown) EXP(2012-01-17 00:01:24) EXPSECS(3658)<br>
>>> Host: phone<br>
>>> IP: A.B.C.D<br>
>>> Port: 62061<br>
>>> Auth-User: 1000<br>
>>> Auth-Realm: X.Y.Z.T<br>
>>> MWI-Account: 1000@X.Y.Z.T<br>
>>><br>
>>> Total items returned: 2<br>
>>> =================================================================================================<br>
>>><br>
>>> All necessary ports are opened/forwarded on the server.<br>
>>><br>
>>> I See on the 1000 configuration that this is the local ip address which<br>
>>> is set as contact. Is there any other setups to do in the directory ?<br>
>>> Or other parameters in the external profile ?<br>
>>><br>
>>> Thanks for your help !<br>
>>><br>
>>> Regards,<br>
>>><br>
>>> --<br>
>>> Alexis de BRUYN<br>
>>> Mail : <a href="mailto:alexis.mailinglist@de-bruyn.fr">alexis.mailinglist@de-bruyn.fr</a><br>
>>><br>
>>> _________________________________________________________________________<br>
>>> Professional FreeSWITCH Consulting Services:<br>
>>> <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
>>> <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
>>><br>
>>> FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
>>> <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
>>><br>
>>> Official FreeSWITCH Sites<br>
>>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>>> <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
>>> <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</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>
>> Professional FreeSWITCH Consulting Services:<br>
>> <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
>> <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
>><br>
>> FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
>> <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
>><br>
>> Official FreeSWITCH Sites<br>
>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>> <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
>> <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</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>
> Alexis de BRUYN<br>
> Mail : <a href="mailto:alexis.mailinglist@de-bruyn.fr">alexis.mailinglist@de-bruyn.fr</a><br>
><br>
> _________________________________________________________________________<br>
> Professional FreeSWITCH Consulting Services:<br>
> <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
> <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
><br>
> FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
> <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
><br>
> Official FreeSWITCH Sites<br>
> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
> <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
> <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</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>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</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>
</div></div></blockquote></div><br>