Hi,
 
  Yes, you need two profiles - one for incoming and one for outgoing. I enclose here the relevant fragments from my old config:
 
voice service voip
 qsig decode
 dtmf-interworking rtp-nte
    (RFC-2833)
 srtp fallback
 allow-connections sip to sip
 fax protocol t38 ls-redundancy 4 hs-redundancy 2 fallback cisco
Not sure this is relevant:
 
interface Serial0/0/0:15
 no ip address
 encapsulation hdlc
 isdn switch-type primary-qsig
 isdn overlap-receiving
 isdn not-end-to-end 64
 isdn incoming-voice voice
 isdn supp-service name calling profile Network-Extension operation-value-tag local
 isdn negotiate-bchan
 isdn outgoing ie facility
 isdn outgoing ie notify-indicator
 isdn outgoing display-ie
 isdn outgoing ie caller-number
 isdn outgoing ie called-number
 no cdp enable
This is for calls from PSTN to VoIP:

dial-peer voice 201 voip
 destination-pattern 40.....
 progress_ind setup enable 1
 progress_ind progress enable 8
 session protocol sipv2
 session target ipv4:10.1.1.1:5070
  Note the special port - it lands on a different profile
 session transport udp
 dtmf-relay sip-notify
          Use INFO/NOTIFY instead of RFC-2833
 codec g711alaw
 fax-relay sg3-to-g3
 fax protocol t38 ls-redundancy 4 hs-redundancy 2 fallback cisco
 no vad

The VoIP to PSTN has nothing special:
dial-peer voice 1 pots
 destination-pattern 8T
 progress_ind setup enable 3
 progress_ind progress enable 8
 no digit-strip
 direct-inward-dial
 port 0/0/0:15
 
                   Regards, __Yehavi:
 
2012/4/26 <bernard.david.murphy@gmail.com>
To do that I'd have to have another sip profile for inbound call legs on a different port I suppose ?

Sent from my BlackBerry® wireless device

-----Original Message-----
From: Yehavi Bourvine <yehavi.bourvine@gmail.com>
Sender: freeswitch-users-bounces@lists.freeswitch.org
Date: Thu, 26 Apr 2012 12:20:56
To: FreeSWITCH Users Help<freeswitch-users@lists.freeswitch.org>
Reply-To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org>
Subject: Re: [Freeswitch-users] DTMF on BLeg not recognized by Cisco Gateway

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org