[Asterisk-Users] PRI with variable length numbers

Martin Pycko martinp at digium.com
Wed Jul 9 11:25:33 MST 2003


Why do you see the problem with that ?

How would you use that functionality that analog channels have ?

With PRI you're going to always receive the full number that was dialed.
So since you have a limited number of DID's do the matching one for one
and it'll work.

regards
Martin

On Wed, 9 Jul 2003, The Traveller wrote:

> 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
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
>




More information about the asterisk-users mailing list