[Asterisk-video] dtmf passthrough problem in h324m

Klaus Darilion klaus.mailinglists at pernau.at
Fri Sep 14 10:47:20 CDT 2007


This is how I handle it:

[frompstn]
exten => 1117,1,h324m_gw(menu at demo)

[demo]
exten => menu,1,h324m_gw_answer()
exten => menu,2,Wait(1)
exten => menu,3,mp4play(/export/videos/demo.3gp)
exten => menu,4,Goto(3)
exten => 1,1,Goto(marriage|video|1)
exten => 2,1,Goto(murder|video|1)
exten => 3,1,Goto(naked-soccer|video|1)
[marriage]
exten => video,1,Wait(1)
exten => video,2,mp4play(/export/videos/marriage.3gp)
exten => video,3,Goto(demo|menu|2)
exten => _X,1,Goto(demo|menu|2)
[murder]
exten => video,1,Wait(1)
exten => video,2,mp4play(/export/videos/murder.3gp)
exten => video,3,Goto(demo|menu|2)
exten => _X,1,Goto(demo|menu|2)
[naked-soccer]
exten => video,1,Wait(1)
exten => video,2,mp4play(/export/videos/naked-soccer.3gp)
exten => video,3,Goto(demo|menu|2)
exten => _X,1,Goto(demo|menu|2)


mp4play searches for an extension which is named like the pressed key.

regards
klaus


Tom De Wispelaere schrieb:
> Hello,
> 
> i installed a recent asterisk 14.11 instead of the old patched up
> asterisk i used until now but i now encounter the problem that DTMF
> recognition with mp4play does not work anymore ...
> 
> First i thought this might have something to do with the 3G phone i
> used but i have the same problem with samsung phones etc...
> 
> In the logs i see asterisk does detect the tones correctly :
> [2007-09-14 17:01:48] DTMF[8503]: channel.c:2408 __ast_read: DTMF
> begin '2' received on Local/s at video
>                                                           o-48d7,2
> [2007-09-14 17:01:48] DTMF[8503]: channel.c:2418 __ast_read: DTMF
> begin passthrough '2' on Local/s at vi
>                                                           ideo-48d7,2
> Received SRP_SRP_COMMAND [29]
> Sending NSRP [29]
> Received SRP_SRP_COMMAND [29]
> Sending NSRP [29]
>     -- User entered nothing.
> 
> But these are not processed in the dialplan or agi scripts for some
> reason ...am i overlooking something obvious ?
> 
> I used several simple dialplans for testing :
> 
> [videocall]
> exten => s,1,h324m_gw(s at video)
> 
> 
> [video]
> exten => s,1,NoOp() ;
> exten => s,2,Answer()
> exten => s,n,mp4play(/var/video3G/test.mp4)
> exten => s,n,Read(NUMBER,,2)
> exten => s,n,SayDigits(${NUMBER})
> exten => s,n,HangUp
> 
> and
> 
> [video]
> exten => s,1,NoOp() ;
> exten => s,2,Answer()
> exten => s,3,mp4play(/var/video3G/test.mp4)
> exten => s,4,mp4play(/var/video3G/test2.mp4)
> exten => s,n,Goto(s,4)
> exten => 1,1,mp4play(/var/video3G/test3.mp4)
> exten => 1,2,Goto(s,4)
> exten => 2,1,mp4play(/var/video3G/test4.mp4)
> exten => 2,2,Goto(s,4)
> 
> Any advice very much appreciated...
> 
> Tom
> 
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
> 
> asterisk-video mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-video



More information about the asterisk-video mailing list