On Fri, Jun 19, 2015 at 2:14 PM, asterisk <[email protected]>
wrote:

>
> Hi,
>
> Long story short - I have an ancient Britsh Telecom phone attached to my
> Asterisk PBX via Dahdi. It works beautifully, receiving calls, and the call
> quality is excellent. However, dialling out is impossible, as Asterisk
> consistently mis-reads the number of pulses the dial sends (it could be a
> squiffy dial, I'm not sure). Not to mention the fact that, in today's
> modern "want it now" age, waiting up to 3 seconds between digits whilst the
> rotary dial does its thing gets old very quickly...
>
> As with all Dahdi connected phones, when I lift the handset, I immediately
> see:
>
>  -- 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
-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to