We recently had our PRI installed, we currently have 100 toll-free's pointing to it. I have almost everything working great but.. I have setup the first few numbers we want to use coming in from the PRI and they work great, but.. What I want to do is setup an extension with pattern matching to answer for any numbers called that are pointed to our system and PRI but not yet in use/configured. I have been successful at setting up pattern matching as a catch all for 98 or so numbers not in use yet and I have been successful setting up the 2 numbers I want to make use of for now. Problem is, I can't use both at the same time! If I turn on the pattern matching then my greeting plays for the configured number, then the message plays for the invalid number (basically executing the extension with the pattern matching). I have read about sorting with pattern matching by using an include, I did this but it's not really helping. I have set a response timeout after the first extension plays it's greeting, I would think it should wait until it times out but it doesn't, it just immediately moves to the pattern matched extension. I must be missing something big here.. Any help is appreciated.. -- Private Label Wholesale Internet Access! http://www.YourOwnISP.com
Hey Mojo, I'm thinking you might try using priorty 's to set some kind routing. just a thought.. Mojo Jojo wrote:> We recently had our PRI installed, we currently have 100 toll-free's > pointing to it. > > I have almost everything working great but.. > > I have setup the first few numbers we want to use coming in from the > PRI and they work great, but.. > > What I want to do is setup an extension with pattern matching to > answer for any numbers called that are pointed to our system and PRI > but not yet in use/configured. > > I have been successful at setting up pattern matching as a catch all > for 98 or so numbers not in use yet and I have been successful setting > up the 2 numbers I want to make use of for now. > > Problem is, I can't use both at the same time! > > If I turn on the pattern matching then my greeting plays for the > configured number, then the message plays for the invalid number > (basically executing the extension with the pattern matching). > > I have read about sorting with pattern matching by using an include, I > did this but it's not really helping. > > I have set a response timeout after the first extension plays it's > greeting, I would think it should wait until it times out but it > doesn't, it just immediately moves to the pattern matched extension. > > I must be missing something big here.. > > Any help is appreciated.. > > > -- > Private Label Wholesale Internet Access! > http://www.YourOwnISP.com > > _______________________________________________ > 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 > >
Hi all. I tried to build a pattenrmatching for a numberrange but the asterisk won't hear on it: _49892351207[6-7][0-9] if i make a: _4989235120760 all is fine Somebody has a hint fo rme? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060118/26f3d0ac/attachment.htm
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. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060510/1cb4d8f2/attachment.htm
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
hi, try that> 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,HangupChristian Gansberger ACCM, Vienna -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060510/fe1b97e3/attachment.htm
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
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@lists.digium.com [mailto:asterisk-users-bounces@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