[Asterisk-Users] Any way to _always_ execute certain commands
in a dialplan context?
Kevin P. Fleming
kpfleming at backtobasicsmgmt.com
Fri Sep 3 08:11:09 MST 2004
Rob Fugina wrote:
> Use the 's' extension...
>
Uhh, no. That doesn't work at all.
The "s" extension is only used if the channel coming into this context
doesn't have any target extension to look for. If it does, the "s"
extension is never used. If you have a context for SIP phones, and one
of them calls "1234", then:
[foo-sip]
exten => s,1,Hangup
exten => 1234,1,Dial(Zap/1/89434594)
will _not_ hangup, it will dial out on Zap/1.
More information about the asterisk-users
mailing list