[Freeswitch-users] NAT Confusion

Bob Smith gb10hkzo-freeswitch at yahoo.co.uk
Mon Jan 9 22:38:34 MSK 2012


Hi,

Newbie here (again !) .... 

Hope someone here can help.

I'm having a few NAT related issues and the sparse, sometimes out-of-date wikis on the freeswitch site are not helping.... ;-(

My layout is as follows ...


Freewitch Server       .....**INTERNET**........[FIREWALL].....[BRIA 3 SOFTPHONE]
(Public IP, No NAT)  .......................................NAT..............Internal IP

Firewall traversal method in Bria is set to "none" as I've no ICE/STUN/TURN server.

Freeswitch is started with the -nonat -nonatmap options because it is on a public IP with no NAT.

(1) Outbound Calls

I can dial out.
I can hear the remote end.
The remote end cannot hear me.

(2) Inbound Calls

These do not work at all.

Console output (excluding debug level messages, and with IP and Phone Numbers changed to protect the innocent)

2012-01-09 19:22:14.076501 [NOTICE] switch_channel.c:924 New Channel sofia/internal/02079460949 at 10.0.0.134 [3c4ec25c-3af7-11e1-96ae-155d65675ea5]
2012-01-09 19:22:14.076501 [INFO] mod_dialplan_xml.c:481 Processing 02079460949 <02079460949>->01174960949 in context public
2012-01-09 19:22:14.096468 [NOTICE] switch_ivr.c:1717 Transfer sofia/internal/02079460949 at 10.0.0.134 to XML[1000 at default]
2012-01-09 19:22:14.096468 [INFO] mod_dialplan_xml.c:481 Processing 02079460949 <02079460949>->1000 in context default
2012-01-09 19:22:14.096468 [NOTICE] switch_channel.c:924 New Channel sofia/internal/sip:1000 at 10.14.2.2:48101 [3c4f8cb4-3af7-11e1-96b5-155d65675ea5]
2012-01-09 19:22:14.096468 [INFO] switch_nat.c:590 NAT port mapping disabled
2012-01-09 19:22:14.096468 [INFO] switch_nat.c:590 NAT port mapping disabled
2012-01-09 19:22:14.156503 [NOTICE] sofia.c:6246 Hangup sofia/internal/sip:1000 at 10.14.2.2:48101 [CS_CONSUME_MEDIA] [SERVICE_NOT_IMPLEMENTED]
2012-01-09 19:22:14.156503 [NOTICE] switch_ivr_originate.c:2459 Cannot create outgoing channel of type [user] cause: [SERVICE_NOT_IMPLEMENTED]
2012-01-09 19:22:14.156503 [INFO] mod_dptools.c:2900 Originate Failed.  Cause: SERVICE_NOT_IMPLEMENTED
2012-01-09 19:22:14.156503 [NOTICE] switch_core_session.c:1398 Session 27 (sofia/internal/sip:1000 at 10.14.2.2:48101) Ended
2012-01-09 19:22:14.156503 [NOTICE] switch_core_session.c:1400 Close Channel sofia/internal/sip:1000 at 10.14.2.2:48101 [CS_DESTROY]
2012-01-09 19:22:14.156503 [NOTICE] mod_dptools.c:3019 Hangup sofia/internal/02079460949 at 10.0.0.134 [CS_EXECUTE] [SERVICE_NOT_IMPLEMENTED]
2012-01-09 19:22:14.176780 [NOTICE] switch_core_session.c:1398 Session 26 (sofia/internal/02079460949 at 10.0.0.134) Ended
2012-01-09 19:22:14.176780 [NOTICE] switch_core_session.c:1400 Close Channel sofia/internal/02079460949 at 10.0.0.134 [CS_DESTROY]


The above would suggest I need to boot Freeswitch with NAT turned on ?  But I'm confused as to why ?  Because Freeswitch has no need to discover its public IP address.

Thanks

Bob



Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list