[Freeswitch-users] Question about DTMF duration

Grant Bagdasarian GB at cm.nl
Tue Sep 16 14:13:35 MSD 2014


Hello, I'm having a small issue with DTMF, but it's not related to Freeswitch but the endpoint where the DTMF is coming from.

I hope someone could clear this out for me.

The first debug example of DTMF received by Freeswitch seems too short, and also the application which is running on FS doesn't recognize it.
The second debug example is much larger in output and also its duration. The application on FS does recognize it.

The first example is coming from a machine which receives the call from ISDN and bridges the call to a SIP network.
The second example is pure SIP all the way.

Does this mean the DTMF conversion between ISDN and VOIP is broken or misconfigured?

Example 1 (Bad):
2014-09-16 12:01:59.766110 [DEBUG] switch_rtp.c:2798 Send start packet for [1] ts=2098368502 dur=160/160/800 seq=47884 lw=2098368502
2014-09-16 12:01:59.786012 [DEBUG] switch_rtp.c:2698 Send middle packet for [1] ts=2098368502 dur=320/320/800 seq=47885 lw=161
2014-09-16 12:01:59.806003 [DEBUG] switch_rtp.c:2698 Send middle packet for [1] ts=2098368502 dur=480/480/800 seq=47886 lw=321
2014-09-16 12:01:59.826107 [DEBUG] switch_rtp.c:2698 Send middle packet for [1] ts=2098368502 dur=640/640/800 seq=47887 lw=161
2014-09-16 12:01:59.846100 [DEBUG] switch_rtp.c:2698 Send end packet for [1] ts=2098368502 dur=800/800/800 seq=47888 lw=1
2014-09-16 12:01:59.846100 [DEBUG] switch_rtp.c:2698 Send end packet for [1] ts=2098368502 dur=800/800/800 seq=47889 lw=1
2014-09-16 12:01:59.846100 [DEBUG] switch_rtp.c:2698 Send end packet for [1] ts=2098368502 dur=800/800/800 seq=47890 lw=1
2014-09-16 12:01:59.846100 [DEBUG] switch_rtp.c:2651 Queue digit delay of 40ms

Example 2 (Good):
2014-09-16 12:06:56.566019 [DEBUG] switch_rtp.c:2798 Send start packet for [1] ts=2128118524 dur=160/160/2400 seq=23409 lw=2128118524
2014-09-16 12:06:56.566019 [DEBUG] switch_rtp.c:2698 Send middle packet for [1] ts=2128118524 dur=320/320/2400 seq=23410 lw=2128118684
2014-09-16 12:06:56.586046 [DEBUG] switch_rtp.c:2698 Send middle packet for [1] ts=2128118524 dur=480/480/2400 seq=23411 lw=2128118844
2014-09-16 12:06:56.586046 [DEBUG] switch_rtp.c:2698 Send middle packet for [1] ts=2128118524 dur=640/640/2400 seq=23412 lw=2128119004
2014-09-16 12:06:56.606023 [DEBUG] switch_rtp.c:2698 Send middle packet for [1] ts=2128118524 dur=800/800/2400 seq=23413 lw=161
2014-09-16 12:06:56.606023 [DEBUG] switch_rtp.c:2698 Send middle packet for [1] ts=2128118524 dur=960/960/2400 seq=23414 lw=321
2014-09-16 12:06:56.626017 [DEBUG] switch_rtp.c:2698 Send middle packet for [1] ts=2128118524 dur=1120/1120/2400 seq=23415 lw=481
2014-09-16 12:06:56.626017 [DEBUG] switch_rtp.c:2698 Send middle packet for [1] ts=2128118524 dur=1280/1280/2400 seq=23416 lw=641
2014-09-16 12:06:56.646020 [DEBUG] switch_rtp.c:2698 Send middle packet for [1] ts=2128118524 dur=1440/1440/2400 seq=23417 lw=161
2014-09-16 12:06:56.646020 [DEBUG] switch_rtp.c:2698 Send middle packet for [1] ts=2128118524 dur=1600/1600/2400 seq=23418 lw=321
2014-09-16 12:06:56.666019 [DEBUG] switch_rtp.c:2698 Send middle packet for [1] ts=2128118524 dur=1760/1760/2400 seq=23419 lw=161
2014-09-16 12:06:56.666019 [DEBUG] switch_rtp.c:2698 Send middle packet for [1] ts=2128118524 dur=1920/1920/2400 seq=23420 lw=321
2014-09-16 12:06:56.686032 [DEBUG] switch_rtp.c:2698 Send middle packet for [1] ts=2128118524 dur=2080/2080/2400 seq=23421 lw=161
2014-09-16 12:06:56.686032 [DEBUG] switch_rtp.c:2698 Send middle packet for [1] ts=2128118524 dur=2240/2240/2400 seq=23422 lw=321
2014-09-16 12:06:56.706023 [DEBUG] switch_rtp.c:2698 Send end packet for [1] ts=2128118524 dur=2400/2400/2400 seq=23423 lw=1
2014-09-16 12:06:56.706023 [DEBUG] switch_rtp.c:2698 Send end packet for [1] ts=2128118524 dur=2400/2400/2400 seq=23424 lw=1
2014-09-16 12:06:56.706023 [DEBUG] switch_rtp.c:2698 Send end packet for [1] ts=2128118524 dur=2400/2400/2400 seq=23425 lw=1
2014-09-16 12:06:56.706023 [DEBUG] switch_rtp.c:2651 Queue digit delay of 40ms
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140916/c3598e09/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list