AW: [Asterisk-Users] pattern matching
René Enskat [Teamware GmbH]
ren at teamware-gmbh.de
Wed May 10 03:03:31 MST 2006
It seems it must be in thix way:
_4[6-9]
But this is not very confortable if you have 4x and 5x numbers :)
-----Ursprüngliche Nachricht-----
Von: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] Im Auftrag von Alasdair
Gow
Gesendet: Mittwoch, 10. Mai 2006 11:54
An: Asterisk Users Mailing List - Non-Commercial Discussion
Betreff: Re: [Asterisk-Users] pattern matching
What do you see on the asterisk console?
do you see it setting the language etc or does it not match the pattern?
> try
>
> exten => [46-50],1,Set(LANGUAGE()=de)
> exten => [46-50],2,CDR(userfield)=INTERN exten => [46-50],3,Answer
> exten => [46-50],4,MusicOnHold(0.5) exten =>
> [46-50],5,SIP/1000144|60|wW exten => [46-50],6,Hangup
>
> René Enskat [Teamware GmbH] wrote:
>> hi all,
>>
>> i want to build a extension that when i call 46-50 that ONE a account
>> is ringing i have this:
>>
>> exten => [46-50],1,Set(LANGUAGE()=de) exten =>
>> [46-50],2,CDR(userfield)=INTERN exten => [46-50],3,MusicOnHold(0.5)
>> exten => [46-50],4,SIP/1000144|60|wW exten => [46-50],5,Hangup but it
>> is not working.
>> ---------------------------------------------------------------------
>> ---
>>
>> _______________________________________________
>> --Bandwidth and Colocation provided by Easynews.com --
>>
>> Asterisk-Users mailing list
>> To UNSUBSCRIBE or update options visit:
>> http://lists.digium.com/mailman/listinfo/asterisk-users
>>
>
>
--
Regards,
Alasdair Gow BSc (Hons)
Support Specialist
Colloquium Internet Support
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list