DTMF on BLeg not recognized by Cisco Gateway
I have Freeswicth with a trunk to a Cisco SIP-ISDN gateway and am making a call from a SIP device to an IVR out on the PSTN, i.e. SIP -> FREESWITCH -> CISCO ->PSTN. The Codec is PCMU throughout and while the call succeeds and Freeswitch recognizes the DTMF and appears to generate tones in the Bleg but they do not seem to be acceptable to the Cisco Gateway. The same call without freeswitch in the middle i.e SIP -> CISCO -> PSTN works absolutely fine. I have already tried <action application="set" data="rtp_manual_rtp_bugs=cisco_skip_mark_bit_2833"/> to no avail A freeswitch log and wireshark trace are attached. Can anyone spot why this is the case ? I already admit that this is Freeswitch version 1.0.6 (rather old) and the reason for that is that SIP Notify for MWI indication doesn't work with an Avaya 9630 on anything later but do not have time to fix that right now. Thanks in advance. Murph
Cisco is problematic with DTMF. Try using INFO instead of RFC-2833. You even might need different encoding in each direction... I tried finding the right config with Cisco's support and failed. I had to replace the Cisco gateway with Audiocodes. _Yehavi: 2012/4/25 Bernard Murphy <bernard.david.murphy@gmail.com>
I have Freeswicth with a trunk to a Cisco SIP-ISDN gateway and am making a call from a SIP device to an IVR out on the PSTN, i.e. SIP -> FREESWITCH -> CISCO ->PSTN. The Codec is PCMU throughout and while the call succeeds and Freeswitch recognizes the DTMF and appears to generate tones in the Bleg but they do not seem to be acceptable to the Cisco Gateway. The same call without freeswitch in the middle i.e SIP -> CISCO -> PSTN works absolutely fine.
I have already tried <action application="set" data="rtp_manual_rtp_bugs=cisco_skip_mark_bit_2833"/> to no avail
A freeswitch log and wireshark trace are attached. Can anyone spot why this is the case ?
I already admit that this is Freeswitch version 1.0.6 (rather old) and the reason for that is that SIP Notify for MWI indication doesn't work with an Avaya 9630 on anything later but do not have time to fix that right now.
Thanks in advance. Murph
_________________________________________________________________________ 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
Info does work on outbound leg as you suggest but cisco will not generate info for an inbound leg as it considers it an obselete standard. So it would have to be different encoding in and out which is just messy. 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 08:24:36 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
On the other way you'll have to use RFC-2833... I'll look later for backup configs I've made for my Cisco gateway and send the relevant parts. __Yehavi: 2012/4/26 <bernard.david.murphy@gmail.com>
Info does work on outbound leg as you suggest but cisco will not generate info for an inbound leg as it considers it an obselete standard. So it would have to be different encoding in and out which is just messy. 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 08:24:36 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
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
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
participants (3)
-
Bernard Murphy
-
bernard.david.murphy@gmail.com
-
Yehavi Bourvine