Andre Courchesne - Consultant wrote:
Hi,
The D() allows you to insert pauses:
...
So you could try something like:
exten =>
s,1,Dial(SIP/33/${WORLDLINE_ACCESS},20,D(www${MACRO_EXTEN}))
Which would wait 1.5s before sending digits ${MACRO_EXTEN}
Thanks Andre. A good thought. However, this does not appear to work as
you expected:
-- Executing [EMAIL PROTECTED]:1]
Dial("USTM/[EMAIL PROTECTED]", "SIP/33/416xxxxxxx|20|D(www613xxxxxxx)") in
new stack
-- Called 33/416xxxxxxx
-- SIP/33-43f29000 is ringing
-- SIP/33-43f29000 answered USTM/[EMAIL PROTECTED]
-- Sending DTMF 'www613xxxxxxx' to the called party.
I don't think www is a valid DTMF string :-) And anyway, it sends the
'www613..." instantly, does not wait 1.5 seconds here. Had a few random
people answer the phone, though :-)
I know that the text you quoted is on voip-info, but I think it's wrong.
AsteriskTFOT2 words that quite differently, and I think they're being
more precise:
D([called][:calling ])
Sends DTMF digits after the call has been answered, but before
the call is bridged. The called parameter is passed
to the called party, and the calling parameter is
passed to the calling party. Either parameter may
be used individually.
Still lost on this one...
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]