[Asterisk-Users] Any way to _always_ execute certain commands in a dialplan context?

Rob Fugina rob.fugina at gmail.com
Fri Sep 3 08:18:43 MST 2004


Ah, well...  Never tried it with SIP phones.  I thought I had used
that before for inbound calls on a Zap channel, and with local Zap
extensions, too...

On Fri, 03 Sep 2004 08:11:09 -0700, Kevin P. Fleming
<kpfleming at backtobasicsmgmt.com> wrote:
> 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.
> 
> 
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>



More information about the asterisk-users mailing list