[Asterisk-Users] CAPI on ptp with variable length digits in
phonenumber: SOLUTION for EICON
Sebastian Buntin
sebastian at buntin.de
Fri May 6 06:17:29 MST 2005
Hello!
I finally found a working solution.
calling
divactrl with the parameter -n [0..20] gives the DID-length
means, if you wanna have 123-XXX in digit-wise mode, then call
divactrl load -c 1 -n 3 -f ETSI
and the card will wait for n digits.
regards,
Sebastian
-----Ursprüngliche Nachricht-----
Von: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] Im Auftrag von bladerunner
Gesendet: Freitag, 6. Mai 2005 14:01
An: Asterisk Users Mailing List - Non-Commercial Discussion
Betreff: Re: [Asterisk-Users] CAPI on ptp with variable length digits in phonenumber
hi again,
just ignore my mentioning of the sirrix-cards, just realised you have a PRI, i
overread it and thought you had a BRI. so i think your last hope is a
zaptel-card.
regards,
Am Freitag, 6. Mai 2005 13:04 schrieb Sebastian Buntin:
> Hi!
>
> we have a german PtP PRI connection here.
> our old telephone system was programmed to accept digits by variable
> length.
> so our MSN, assigned my telco is, lets say: 123
> and we can use first digit from 0-4. and every further digit like we
> want.
> means:
>
> 123-1
> 123-2345
> 123-444444
> till
> 123-49999999999....
> but not 123-5...
>
> I'm using an Eicon diva server PRI 23M with chan_capi.
>
> my problem is dialing IN.
>
> block mode works perfect. (when the whole number is sent as a block)
>
> I just add
>
> exten => 123114,1,Dial(SIP/blahblah)
>
> works.
>
> but if someone dials digit-wise, lets say 123114,
> asterisk starts scanning the dialplan after 1231.
> doesnt find an extension and exits.
> even using
> exten => s,1,DigitTimeout,4
> as first line in the dialin-extension won't help.
>
> so, I need to find a way that asterisk collects the digits until it has
> a matching one.
> p.ex. wait scanning the extensions till the caller typed 123114.
> I can live with fixed length extensions. means, always wait for 3
> digits.
>
>
> thanks for help..
>
> Sebastian
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list