[Freeswitch-users] Cisco media gateway and DTMF

Michael Jerris mike at jerris.com
Wed Jan 13 12:41:51 PST 2010


What are you doing with these digits on the freeswitch side, what is it thinking is passed, and do you see anything in debug logs.  You also could uncomment the #define DEBUG_2833  from switch_rtp.c for more info.

Mike

On Jan 13, 2010, at 3:12 PM, Dan wrote:

> Thanks for your reply,
> 
> Wireshark shows all of the digits coming through cleanly, in the case below (also on pastebin)  its 0951*72789, freeswitch does not seem to be processing one or more of the rtp events.  Is there some specific debugging I should turn on that might give me some more info on why freeswitch is not processing some of these events?
> 
> http://pastebin.freeswitch.org/11780
> 
>     449 12.280148   192.168.3.21          192.168.6.130         RTP EVENT Payload type=RTP Event, DTMF Zero 0
>     450 12.285108   192.168.3.21          192.168.6.130         RTP EVENT Payload type=RTP Event, DTMF Zero 0
>     451 12.290082   192.168.3.21          192.168.6.130         RTP EVENT Payload type=RTP Event, DTMF Zero 0
>     452 12.335129   192.168.3.21          192.168.6.130         RTP EVENT Payload type=RTP Event, DTMF Zero 0 (end)
>     453 12.340124   192.168.3.21          192.168.6.130         RTP EVENT Payload type=RTP Event, DTMF Zero 0 (end)
>     454 12.345124   192.168.3.21          192.168.6.130         RTP EVENT Payload type=RTP Event, DTMF Zero 0 (end)
>     455 12.365162   192.168.3.21          192.168.6.130         RTP      PT=ITU-T G.711 PCMU, SSRC=0x1D050315, Seq=21862, Time=359229277, Mark 
>     456 12.380167   192.168.3.21          192.168.6.130         RTP      PT=ITU-T G.711 PCMU, SSRC=0x1D050315, Seq=21863, Time=359229605 
>     461 12.385248   192.168.3.21          192.168.6.130         RTP EVENT Payload type=RTP Event, DTMF Nine 9
>     462 12.385253   192.168.3.21          192.168.6.130         RTP EVENT Payload type=RTP Event, DTMF Nine 9
>     465 12.390163   192.168.3.21          192.168.6.130         RTP EVENT Payload type=RTP Event, DTMF Nine 9
>     466 12.435211   192.168.3.21          192.168.6.130         RTP EVENT Payload type=RTP Event, DTMF Nine 9 (end)
>     467 12.440201   192.168.3.21          192.168.6.130         RTP EVENT Payload type=RTP Event, DTMF Nine 9 (end)
>     468 12.445205   192.168.3.21          192.168.6.130         RTP EVENT Payload type=RTP Event, DTMF Nine 9 (end)
>     469 12.480251   192.168.3.21          192.168.6.130         RTP      PT=ITU-T G.711 PCMU, SSRC=0x1D050315, Seq=21870, Time=359230405 
>     470 12.485275   192.168.3.21          192.168.6.130         RTP EVENT Payload type=RTP Event, DTMF Five 5
>     471 12.485284   192.168.3.21          192.168.6.130         RTP EVENT Payload type=RTP Event, DTMF Five 5
>     472 12.490251   192.168.3.21          192.168.6.130         RTP EVENT Payload type=RTP Event, DTMF Five 5
>     475 12.535277   192.168.3.21          192.168.6.130         RTP EVENT Payload type=RTP Event, DTMF Five 5 (end)
>     476 12.540287   192.168.3.21          192.168.6.130         RTP EVENT Payload type=RTP Event, DTMF Five 5 (end)
>     477 12.545287   192.168.3.21          192.168.6.130         RTP EVENT Payload type=RTP Event, DTMF Five 5 (end)
>     478 12.580337   192.168.3.21          192.168.6.130         RTP      PT=ITU-T G.711 PCMU, SSRC=0x1D050315, Seq=21877, Time=359231197 
>     484 12.585337   192.168.3.21          192.168.6.130         RTP EVENT Payload type=RTP Event, DTMF One 1
>     485 12.585343   192.168.3.21          192.168.6.130         RTP EVENT Payload type=RTP Event, DTMF One 1
>     486 12.590362   192.168.3.21          192.168.6.130         RTP EVENT Payload type=RTP Event, DTMF One 1
>     492 12.635393   192.168.3.21          192.168.6.130         RTP EVENT Payload type=RTP Event, DTMF One 1 (end)
>     493 12.640368   192.168.3.21          192.168.6.130         RTP EVENT Payload type=RTP Event, DTMF One 1 (end)
>     494 12.645369   192.168.3.21          192.168.6.130         RTP EVENT Payload type=RTP Event, DTMF One 1 (end)
>     495 12.665406   192.168.3.21          192.168.6.130         RTP      PT=ITU-T G.711 PCMU, SSRC=0x1D050315, Seq=21884, Time=359231677, Mark 
>     496 12.680431   192.168.3.21          192.168.6.130         RTP      PT=ITU-T G.711 PCMU, SSRC=0x1D050315, Seq=21885, Time=359232005 
>     497 12.680438   192.168.3.21          192.168.6.130         RTP EVENT Payload type=RTP Event, DTMF Star *
>     502 12.685408   192.168.3.21          192.168.6.130         RTP EVENT Payload type=RTP Event, DTMF Star *
>     506 12.690412   192.168.3.21          192.168.6.130         RTP EVENT Payload type=RTP Event, DTMF Star *
>     507 12.735450   192.168.3.21          192.168.6.130         RTP EVENT Payload type=RTP Event, DTMF Star * (end)
>     508 12.740453   192.168.3.21          192.168.6.130         RTP EVENT Payload type=RTP Event, DTMF Star * (end)
>     509 12.745469   192.168.3.21          192.168.6.130         RTP EVENT Payload type=RTP Event, DTMF Star * (end)
>     511 12.780526   192.168.3.21          192.168.6.130         RTP      PT=ITU-T G.711 PCMU, SSRC=0x1D050315, Seq=21892, Time=359232805 
>     512 12.780534   192.168.3.21          192.168.6.130         RTP EVENT Payload type=RTP Event, DTMF Seven 7
>     513 12.785502   192.168.3.21          192.168.6.130         RTP EVENT Payload type=RTP Event, DTMF Seven 7
>     514 12.790492   192.168.3.21          192.168.6.130         RTP EVENT Payload type=RTP Event, DTMF Seven 7
>     515 12.835544   192.168.3.21          192.168.6.130         RTP EVENT Payload type=RTP Event, DTMF Seven 7 (end)
>     516 12.840537   192.168.3.21          192.168.6.130         RTP EVENT Payload type=RTP Event, DTMF Seven 7 (end)
>     517 12.845537   192.168.3.21          192.168.6.130         RTP EVENT Payload type=RTP Event, DTMF Seven 7 (end)
>     523 12.880582   192.168.3.21          192.168.6.130         RTP      PT=ITU-T G.711 PCMU, SSRC=0x1D050315, Seq=21899, Time=359233605 
>     524 12.885593   192.168.3.21          192.168.6.130         RTP EVENT Payload type=RTP Event, DTMF Two 2
>     525 12.885599   192.168.3.21          192.168.6.130         RTP EVENT Payload type=RTP Event, DTMF Two 2
>     526 12.890580   192.168.3.21          192.168.6.130         RTP EVENT Payload type=RTP Event, DTMF Two 2
>     528 12.935618   192.168.3.21          192.168.6.130         RTP EVENT Payload type=RTP Event, DTMF Two 2 (end)
>     529 12.940618   192.168.3.21          192.168.6.130         RTP EVENT Payload type=RTP Event, DTMF Two 2 (end)
>     530 12.945618   192.168.3.21          192.168.6.130         RTP EVENT Payload type=RTP Event, DTMF Two 2 (end)
>     531 12.965656   192.168.3.21          192.168.6.130         RTP      PT=ITU-T G.711 PCMU, SSRC=0x1D050315, Seq=21906, Time=359234077, Mark 
>     532 12.980659   192.168.3.21          192.168.6.130         RTP      PT=ITU-T G.711 PCMU, SSRC=0x1D050315, Seq=21907, Time=359234413 
>     538 12.985690   192.168.3.21          192.168.6.130         RTP EVENT Payload type=RTP Event, DTMF Seven 7
>     539 12.985695   192.168.3.21          192.168.6.130         RTP EVENT Payload type=RTP Event, DTMF Seven 7
>     540 12.990657   192.168.3.21          192.168.6.130         RTP EVENT Payload type=RTP Event, DTMF Seven 7
>     541 13.035703   192.168.3.21          192.168.6.130         RTP EVENT Payload type=RTP Event, DTMF Seven 7 (end)
>     542 13.040701   192.168.3.21          192.168.6.130         RTP EVENT Payload type=RTP Event, DTMF Seven 7 (end)
>     543 13.045700   192.168.3.21          192.168.6.130         RTP EVENT Payload type=RTP Event, DTMF Seven 7 (end)
>     544 13.080762   192.168.3.21          192.168.6.130         RTP      PT=ITU-T G.711 PCMU, SSRC=0x1D050315, Seq=21914, Time=359235205 
>     545 13.080768   192.168.3.21          192.168.6.130         RTP EVENT Payload type=RTP Event, DTMF Eight 8
>     546 13.085736   192.168.3.21          192.168.6.130         RTP EVENT Payload type=RTP Event, DTMF Eight 8
>     547 13.090798   192.168.3.21          192.168.6.130         RTP EVENT Payload type=RTP Event, DTMF Eight 8
>     549 13.135809   192.168.3.21          192.168.6.130         RTP EVENT Payload type=RTP Event, DTMF Eight 8 (end)
>     550 13.140780   192.168.3.21          192.168.6.130         RTP EVENT Payload type=RTP Event, DTMF Eight 8 (end)
>     551 13.145793   192.168.3.21          192.168.6.130         RTP EVENT Payload type=RTP Event, DTMF Eight 8 (end)
>     554 13.180827   192.168.3.21          192.168.6.130         RTP      PT=ITU-T G.711 PCMU, SSRC=0x1D050315, Seq=21921, Time=359236005 
>     558 13.185847   192.168.3.21          192.168.6.130         RTP EVENT Payload type=RTP Event, DTMF Nine 9
>     559 13.185854   192.168.3.21          192.168.6.130         RTP EVENT Payload type=RTP Event, DTMF Nine 9
>     560 13.190821   192.168.3.21          192.168.6.130         RTP EVENT Payload type=RTP Event, DTMF Nine 9
>     566 13.235872   192.168.3.21          192.168.6.130         RTP EVENT Payload type=RTP Event, DTMF Nine 9 (end)
>     567 13.240864   192.168.3.21          192.168.6.130         RTP EVENT Payload type=RTP Event, DTMF Nine 9 (end)
>     568 13.245872   192.168.3.21          192.168.6.130         RTP EVENT Payload type=RTP Event, DTMF Nine 9 (end)
> ----- Original Message -----
> From: "Brian West" <brian at freeswitch.org>
> To: freeswitch-users at lists.freeswitch.org
> Sent: Wednesday, January 13, 2010 12:39:52 PM
> Subject: Re: [Freeswitch-users] Cisco media gateway and DTMF
> 
> Cisco gateways can detect DTMF at random if you have kids screaming or loud noises in the background... very unreliable.
> 
> /b
> 
> On Jan 13, 2010, at 1:36 PM, Dan wrote:
> 
> Sorry, I should have made that more clear, this is using 2833.  As I mentioned tcpdump shows all the digits coming through as DTMF events on the RTP stream (and all the correct DTMF digits are coming through).  
> 
> 
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100113/d1fe0b48/attachment-0002.html 


More information about the FreeSWITCH-users mailing list