Hello Marcus,
Had the same problem, looked in the internet and found your question.
Since I now have an answer
I will put it here! :)
In the dialplan I had this:
exten => 4000,1,Dial(Dahdi/4)
exten => 4000,n,hangup()
exten => _4XXXX,1,Dial(IAX2/PBX/${EXTEN:1})
exten => _4XXXX,n,Hangup()
when I dial to 4000 asterisk took a while to make a call. When I
changed the dialplan to this:
exten => 4000,1,Dial(Dahdi/4)
exten => 4000,n,hangup()
exten => _5XXXX,1,Dial(IAX2/PBX/${EXTEN:1})
exten => _5XXXX,n,Hangup()
The dial is almost immediate. :)
Hope it helps,
cheers,
Alex
2009/12/10 Marcus Vinicius <marc_mcs10 at
yahoo.com.br>:> Hello,
>
> I have an extension ?into an analog FXS interface.
>
> When
> taking the unit off the hook and dial any number of digits, it takes
> about 4 seconds for these digits are passed to the dial plan.
>
> Anybody know if this time can be customized?
>
>
>
> /etc/dahdi/system.conf
> echocanceller=mg2,1-36
> dynamic=eth,eth0/00:18:43:0b:00:46,36,1
> fxoks=1-36
>
>
>
> /etc/asterisk/chan_dahdi.conf
> [channels]
> context=default
> switchtype=national
> ;signalling=fxo_ls
> rxwink=300 ? ? ? ? ? ? ?; Atlas seems to use long (250ms) winks
> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?; where the ring cadence is changed *after*
the callerid spill.
> usecallerid=yes
> hidecallerid=no
> callwaiting=yes
> usecallingpres=yes
> callwaitingcallerid=yes
> threewaycalling=yes
> transfer=yes
> canpark=yes
> cancallforward=yes
> callreturn=yes
> echocancel=yes
> echocancelwhenbridged=yes
> rxgain=0.0
> txgain=0.0
> group=1
> callgroup=1
> pickupgroup=1
> immediate=no
>
>
> ; interfaces FXS (ramal)
> context=from-inside
> signalling=fxo_ks
> group=1
> callerid=226
> channel=>1
> callerid=200
> channel=>2
>
>
>
> thanks
>
> --
> Marcus Vinicius
>
>
> ? ?
?____________________________________________________________________________________
> Veja quais s?o os assuntos do momento no Yahoo! +Buscados
> http://br.maisbuscados.yahoo.com
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> ? http://lists.digium.com/mailman/listinfo/asterisk-users