[asterisk-users] SendDTMF() behaves strangely
Stephen Bosch
posting at vodacomm.ca
Fri Nov 3 17:47:06 MST 2006
Hi, everybody:
As part of a paging macro I'm using SendDTMF to send digits to the
called party.
The section looks like this:
exten => s,1,Wait(0.5)
exten => s,n,SendDTMF(9531290)
exten => s,n,Wait(1.0)
exten => s,n,Set(MACRO_RESULT=CONTINUE)
To test I direct the call to a live extension just to hear what's
happening -- what actually happens is that only the 9 is sent, and it
sounds as though someone is leaning on the button for about a second.
Even if I rewrite it like this:
exten => s,1,Wait(0.5)
exten => s,n,SendDTMF(9)
exten => s,n,SendDTMF(5)
exten => s,n,SendDTMF(3)
exten => s,n,Wait(1.0)
exten => s,n,Set(MACRO_RESULT=CONTINUE)
I get the same behaviour -- someone "leaning" on the 9, and none of the
other digits.
Am I invoking this command incorrectly or is this a bug?
Thanks,
-Stephen-
More information about the asterisk-users
mailing list