Like this:

 

[dids]

Exten => 2145550001,1,dial(SIP/6001)

Exten => 2145550002,1,dial(SIP/6002)

Exten => 2145550003,1,dial(SIP/6003)

Include => default-did

 

[default-did]

Exten => _.,1,dial(SIP/6000)

 

 

Seems pretty simple. I used this method of least/highest cost routing to choose my LD carrier. Should work the same though.

 

 

http://www.voip-info.org/tiki-index.php?page=Asterisk%20least%20cost%20routing%20using%20broadvoice

 

 

 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mojo Jojo
Sent: Saturday, April 30, 2005 3:08 PM
To: [EMAIL PROTECTED]; Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] Pattern Matching

 

Not sure what you mean exactly... Can you give me a hint?

 

 

Private Label Wholesale Internet Access!

http://www.YourOwnISP.com

 

----- Original Message -----

From: "Michael D Schelin" <[EMAIL PROTECTED]>

To: "Asterisk Users Mailing List - Non-Commercial Discussion"

<asterisk-users@lists.digium.com>

Sent: Friday, April 29, 2005 10:10 PM

Subject: Re: [Asterisk-Users] Pattern Matching

 

 

> 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

>> 

>> 

> 

> _______________________________________________

> 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

_______________________________________________
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

Reply via email to