Thanks Brian, sorry should have pre-empted that one as I've issue before. start_dtmf is in the dialplan and occurs at the start of every call.
 
On closer inspection however it appears that only part of the nat setup is taking place.
 
sofia status gives:
 
Name          Type                               Data     State
=================================================================================================
                 internal       profile       sip:mod_sofia@10.10.0.2:5080     RUNNING (0)
                 external       profile       sip:mod_sofia@10.10.0.2:5060     RUNNING (0)
                  default         alias                           internal     ALIASED
                10.10.0.2         alias                           internal     ALIASED
=================================================================================================
2 profiles 2 aliases
 
sofia status profile external gives (the external ip addresses are correct):

API CALL [sofia(status profile external)] output:
=================================================================================================
Name                    external
Domain Name             N/A
DBName                  sofia_reg_external
Pres Hosts
Dialplan                XML,enum
Context                 default
Challenge Realm         auto_to
RTP-IP                  10.10.0.2
Ext-RTP-IP              82.5.159.138
SIP-IP                  10.10.0.2
Ext-SIP-IP              82.5.159.138
URL                     sip:mod_sofia@10.10.0.2:5060
BIND-URL                sip:mod_sofia@10.10.0.2:5060
HOLD-MUSIC              N/A
OUTBOUND-PROXY          N/A
CODECS                  PCMU,PCMA,GSM
TEL-EVENT               101
DTMF-MODE               rfc2833
CNG                     13
SESSION-TO              0
MAX-DIALOG              0
NOMEDIA                 false
LATE-NEG                false
PROXY-MEDIA             false
AGGRESSIVENAT           false
STUN-ENABLED            true
STUN-AUTO-DISABLE       false
CALLS-IN                0
FAILED-CALLS-IN         0
CALLS-OUT               0
FAILED-CALLS-OUT        0
 
BUT......
 
nat_map status, gives:

API CALL [nat_map(status)] output:
false
And there is no mention of nat detection in the startup log.
 
Is this because I'm using port 5060 externally?
 
Cheers
Andy 

From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian West
Sent: 07 October 2009 15:22
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] NAT problems - sorry

Bet you its inband dtmf and you need to start the dtmf detector.

/b

On Oct 7, 2009, at 8:11 AM, Andy wrote:

I can hear the IVR message played down the phone line so outgoing audio is ok.