I have a list of all my local (free) on my POTS prefixes. Is there a way to integrate that so * decides if it is going to use iax or POTS? There is about 60 prefixes.. 1831-XXX extension.conf clipping help -- Gafachi.com - referal code hunter81 instant iax termination - 2 cents a minute Also they have a great referal program, tell them jacob, hunter81 sent you -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 390 bytes Desc: not available Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20040613/877cf69d/attachment.bin
Jacob Hunter
2004-Jun-12 22:13 UTC
[Asterisk-Users] Local calls to x100p all else to iax term
Sorry I screwed up. I wanted to write back with the proper subject.> I have a list of all my local prefixes(free) on my POTS. Is there a > way to integrate that so * decides > if it is going to use iax or POTS? There is about 60 prefixes.. > 1831-XXX > > extension.conf clipping help > > > -- > Gafachi.com - referal code hunter81 > instant iax termination - 2 cents a minute > > Also they have a great referal program, > tell them jacob, hunter81 sent you-------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 480 bytes Desc: not available Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20040613/b1b0396d/attachment.bin
Hermann Wecke
2004-Jun-12 23:26 UTC
[Asterisk-Users] Local calls to x100p all else to iax term
On Sat, 12 Jun 2004, Jacob Hunter wrote:> I have a list of all my local prefixes(free) on my POTS. Is there a > way to integrate that so * decides > if it is going to use iax or POTS? There is about 60 prefixes.. > 1831-XXXIf I understood what you are asking, just do this: ; your first prefix will be 555 exten => _91831555XXXX,1,Dial(pstn...) ; your second prefix will be 678 exten => _91831678XXXX,1,Dial(pstn...) ; ok, no match from any of the previous 60 prefixes, so IAX exten => _91NXNNNNNNNN.,1,Dial(IAX...) Remember that you can "combine" prefixes using the exten "regular expression": ; your first prefix will be 555, 556, 557, 558 or 559 exten => _9183155[5-9]XXXX,1,Dial(pstn...)
Jacob, Please see here. http://scottstuff.net/scott/archives/cat_asterisk.html ... Look for asterisk-lca-map -jr _____ From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of Jacob Hunter Sent: Sunday, June 13, 2004 1:08 AM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] (no subject) I have a list of all my local (free) on my POTS prefixes. Is there a way to integrate that so * decides if it is going to use iax or POTS? There is about 60 prefixes.. 1831-XXX extension.conf clipping help -- Gafachi.com - referal code hunter81 instant iax termination - 2 cents a minute Also they have a great referal program, tell them jacob, hunter81 sent you -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040613/d25f3f50/attachment.htm