[asterisk-users] Swift application and DTMF

srinivas Antarvedi srinivas.antarvedi at gmail.com
Wed Aug 26 10:07:55 CDT 2009


Hello users,

i have successfully installed the cepstral voice and in the text only mode
its working fine

when i swift applicaiton in dtmf mode like

exten =>111,1,Swift(hello user| 5000|1)
exten =>111,n,NoOp(dtmf is ${SWIFT_DTMF})
exten => 111,n,Hangup()

case1:
when i am listening to the hello user prompt if i press any key
1,2,3,4,5,6,7,8,9,0,*,#
i am getting the ${SWIFT_DTMF } value as
1xxxxxx  <-- if i press 1
2xxxxxx  <-- if i press 2

and this is the same for all other digits including 0,#,* keys
and the prompt stops

i am getting following in my asterisk CLI


app_swift.c:453 engine:DTMF=#147987812  <--when i press #
app_swift.c:453 engine:DTMF=7147987812  <--when i press 7


case2:
when i pressed the above digits after the prompt finishes

i get   1 <-- if i press 1
          2 <--if i press 2
         etc.

 except  there is no DTMF detection
 for numbers 0(zero),#,*
and i am getting the following in my asterisk CLI

app_swift.c:453 engine:DTMF=7  <--when i press 7
app_swift.c:482 engine: No DTMF  <--when i press #,0,*

Please help me out

Thanks in advance
srinivas antarvedi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090826/23f46663/attachment.htm 


More information about the asterisk-users mailing list