[Asterisk-Users] CAPI on ptp with variable length digits in phone number

bladerunner bladerunner81 at gmx.net
Fri May 6 05:00:39 MST 2005


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20050506/9d927241/attachment.pgp


More information about the asterisk-users mailing list