[Asterisk-Users] Dial D option not working?
Mark Farver
mfarver at ticom.com
Sun Dec 5 17:19:40 MST 2004
For some reason I cannot get the 'D' option to send dtmf after connect.
This doesn't work
exten => _XXX, 1, Dial(Zap/r3,10,d(300) )
This does:
exten => 300, 1, Dial(Zap/r3,10,M(to-300) )
[macro-to-300]
exten => s,1,SendDTMF(300)
Of course, what I really need to send is not 300, but $EXTEN
but since I am running 1.0 and do not have the patch that allows macro
arguments I cannot pass the exten into the macro...
The only idea I can think of is to stuff it into a variable, but I would
worry about race conditions.
Mark
More information about the asterisk-users
mailing list