[Asterisk-video] dtmf passthrough problem in h324m

Tom De Wispelaere tom at besite.be
Tue Sep 18 09:51:57 CDT 2007


Thanks for the advice,

i have tested with both xlite and xmeeting sip video clients (using
the exact same ivr menus as for the phone except for the h324m gw line
of course) and apparently i dont have the dtmf problem there...
I don't get it : asterisk correctly receives the dtmf as you
said...and i have the problem both with n70 and samsung phone. Do you
have suggestions on how i could start to debug this....?



Received SRP_SRP_COMMAND [46]
Sending NSRP [46]
-OnControlPDU [indication]
-OnH245Indication
[2007-09-18 16:45:26] DTMF[25230]: channel.c:2408 __ast_read: DTMF
begin '1' received on Local/menu at videook-8584,2
[2007-09-18 16:45:26] DTMF[25230]: channel.c:2418 __ast_read: DTMF
begin passthrough '1' on Local/menu at videook-8584,2
Received SRP_SRP_COMMAND [46]
Sending NSRP [46]
Received SRP_SRP_COMMAND [46]
Sending NSRP [46]
Received SRP_SRP_COMMAND [47]
Sending NSRP [47]
-OnControlPDU [request]
-OnH245Request
H245 Started round trip delay-WriteControlPDU [response]


My flow now looks like this btw:

[fromisdn]
exten => s,1,h324m_gw(menu at videook)

[videook]
exten => menu,1,h324m_gw_answer()
exten => menu,2,Wait(1)
exten => menu,3,mp4play(/var/video3G/test.mp4)
exten => menu,4,Goto(3)
exten => 1,1,Goto(video1|video|1)
exten => 2,1,Goto(video2|video|1)
exten => 3,1,Goto(video3|video|1)

[video1]
exten => video,1,Wait(1)
exten => video,2,mp4play(/var/video3G/test2.mp4)
exten => video,3,Goto(video|menu|3)

[video2]
exten => video,1,Wait(1)
exten => video,2,mp4play(/var/video3G/test.mp4)
exten => video,3,Goto(video|menu|3)

[video3]
exten => video,1,Wait(1)
exten => video,2,mp4play(/var/video3G/test4.mp4)
exten => video,3,Goto(video|menu|3)

I am using zaptel-1.4.5.1 and asterisk-1.4.11.

Best regards,

Tom




On 9/14/07, Klaus Darilion <klaus.mailinglists at pernau.at> wrote:
> 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
>
> _______________________________________________
> --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