[asterisk-users] Run script action when Dahdi phone goes off-hook?

asterisk asterisk at solutionengineers.com
Fri Jun 19 15:06:08 CDT 2015


On 19/06/2015 20:45, Richard Mudgett wrote:
>
>
> On Fri, Jun 19, 2015 at 2:14 PM, asterisk 
> <asterisk at solutionengineers.com 
> <mailto:asterisk at solutionengineers.com>> wrote:
>
>
>     -- Starting simple switch on 'DAHDI/x-y'
>
>     Can I run a script (either in extensions.conf, or ael, or
>     whatever) when that is detected? If so, I will create a small app
>     which allows me to type a telephone number on my computer, I can
>     then lift the phone & the script will go find the number I typed,
>     and dial it for me.
>
>
> Look at this option in the chan_dahdi.conf.sample file:
>
> ; Specify whether the channel should be answered immediately or if the 
> simple
> ; switch should provide dialtone, read digits, etc.
> ; Note: If immediate=yes the dialplan execution will always start at 
> extension
> ; 's' priority 1 regardless of the dialed number!
> ;
> ;immediate=yes
>
> Richard
>

Oops, didn't spot that. That's perfect, thanks Richard!


Cheers,
Ade.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20150619/7173a641/attachment.html>


More information about the asterisk-users mailing list