[Asterisk-Users] Wildcards and variable number of digits

Eric Jacksch jacksch at tenebris.ca
Sun Sep 5 12:38:45 MST 2004


Thanks Karl, very much appreciated...now I can stop smacking my head against
my desk :)

I pulled the source from CVS yesterday...assuming it's not in that, could I
get a copy of the new driver or a diff?




On 2004-09-05 14:50, "Karl Brose" <khb at brose.com> wrote:

> 
> 
> The problem you are having is due to the way chan_phone was designed.
> The distributed driver does not buffer the entire phone number dialed
> and then send it on to the PBX,
> like a SIP phone would, but instead scans the dial plan after every
> digit is entered to look for a match.
> The solution is to only use fixed length extension patterns, but at the
> same time requires different dial plans
> for the Phone/phoneX devices.  I you're only dialing PSTN numbers it's
> not so bad, but many VOIP providers
> have all kinds of numbering plans. On the other hand, fixed patterns are
> nice since you don't have to
> press any "call" or "dial" buttons to make the call.
> 
> I have a new chan_phone driver which solves this issue by buffering the
> dial string until the user presses
> the pound (#) key to send the phone number to the pbx.  The features can
> be toggled on/off any time by dialing
> *1#  or  *0#  or in the config file with a mode "buffered"  which is
> otherwise the same as "dialtone"
> 
> 
> 
> 
> Eric Jacksch wrote:
> 
>> Greetings, 
>> 
>> I'm having a miserable time getting Asterisk working with FWD.  All the
>> samples show something like...
>> 
>> exten => _7., ....
>> 
>> How do I get Asterisk to wait until the user is finished dialing instead of
>> trying as soon as it gets the second digit?
>> 
>> I can use _7XXX, and dial the FWD 3-digit test numbers fine, but I'd like to
>> be able to dial others...
>> 
>> Same problem for outside analog line...how do I convince Asterisk to send
>> anything that starts with a "9" to it?
>> 
>> If it makes a difference, I'm playing with some QuickNet cards to learn the
>> system...then I'll likely buy some other cards with higher capacity.
>> 
>> Thanks, 
>> Eric 
>>  
>> 
>> ------------------------------------------------------------------------
>> 
>> _______________________________________________
>> 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
>>  
>> 
> _______________________________________________
> 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

-- 
Eric Jacksch, CISSP, CISM
Tenebris Technologies Inc.
http://www.tenebris.ca
+1 613 860-0964
jacksch at tenebris.ca

Information security consulting, investigations, and forensics.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2802 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20040905/0e1c38af/smime.bin


More information about the asterisk-users mailing list