[Asterisk-Users] PRI with variable length numbers

The Traveller traveler at xs4all.nl
Wed Jul 9 10:41:03 MST 2003


Hey all,

I have an Asterisk-box with an E100P and a PRI (Euro-ISDN) coming
into it from a Meridian-switch.  The incoming numbers on this PRI all start
with the same digit and the last part of the dialled number is signalled to
Asterisk digit by digit, until Asterisk signals that the number is
complete and the call rings.

All works well, unless I have 2 or more numbers which start with the same
digits.  In that case, dialling will be signalled as complete as soon
as the shortest of the numbers is dialed.  An example:

exten => 31801,1, ...
exten => 3180,1, ...

In this case, dialling "3180" will immediately start ringing, while
on similar setups, with TDM40B's and analog phones, Asterisk will
wait for the duration of "digittimeout" for more digits, if it can't
be absolutely certain that the dialled number is complete.  If I remove
the "3180" in the above example, ringing will only start after "31801"
is fully dialled.


Relevant configs:

/etc/zaptel.conf:

bchan=1-15
dchan=16
bchan=17-31

/etc/asterisk/zapata.conf:

switchtype=euroisdn
signalling=pri_cpe
immediate=no


Any ideas?



    Grtz,

      Oliver



More information about the asterisk-users mailing list