exten => _XXXXXXXXX,1,Dial(DAHDI/g1/${EXTEN})
or
exten => _9XXXXXXXX,1,Dial(DAHDI/g1/${EXTEN:1})

the first whan put X to match the amount of digits.

the second one dial if you put a nine before. and many X as digits

David

2009/1/16 Gabriel Ortiz Lour <ortiz.ad...@gmail.com>

> Hi,
>
>   A have an asterisk connected to a legacy PBX trought an E1 and to the
> PSTN trought another E1. When the legacy user dial to the PSTN the call pass
> trought Asterisk.
>
>   All works OK, the only problem is the delay on the Asterisk server when
> it receives the digits from the 1st E1 link. It will only make the call when
> the digit timeout expires.
>
>   Is there a way to make something like dialplan/context/exten match, so it
> will dial as soon as there a match?
>
> Thanks
> Gabriel Ortiz
>
> _______________________________________________
> -- 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
>



-- 
(\__/)
(='.'=)This is Bunny. Copy and paste bunny into your
(")_(")signature to help him gain world domination.
_______________________________________________
-- 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

Reply via email to