Sebastian Buntin
2005-May-09 01:14 UTC
AW: [Asterisk-Users] CAPI on ptp with variable length digits inphonenumber: SOLUTION for EICON
the interesting fact is, it works. I dunno why. but it works :o -----Urspr?ngliche Nachricht----- Von: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] Im Auftrag von bladerunner Gesendet: Freitag, 6. Mai 2005 15:56 An: Asterisk Users Mailing List - Non-Commercial Discussion Betreff: Re: [Asterisk-Users] CAPI on ptp with variable length digits inphonenumber: SOLUTION for EICON but with this solution you will not be able to receive calls with less than two DID-digits (like call to 123-0 where 123 is head number). it will wait for exactly two digits before answering (at least in the last version of the firmware and chan_capi i tried). regards, Am Freitag, 6. Mai 2005 15:17 schrieb Sebastian Buntin:> 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@lists.digium.com > [mailto:asterisk-users-bounces@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@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 > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@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
Possibly Parallel Threads
- CAPI on ptp with variable length digits in phonenumber: SOLUTION for EICON
- problems with chan_capi 0.3.5 , divactrl, eicon diva server, and kernel 2.6.10/2.6.12
- AW: Eicon Diva Server with v3.0 drivers
- eicon diva BRI problems
- [Sorta OT] Eicon DIVA with asterisk@home