[Asterisk-Users] long list of prefixes

2004-12-11 Thread Randy Bush
if a phone number starts with one of 50+ prefixes, i want to send the sip call to gateway X. if it is in any other prefix, i want to send it to gate Y. i am not excited about a long list of extens, but will do it if i have to. i suspect there is a database hack, but i lose all database

Re: [Asterisk-Users] long list of prefixes

2004-12-11 Thread Soren Rathje
Randy Bush wrote: if a phone number starts with one of 50+ prefixes, i want to send the sip call to gateway X. if it is in any other prefix, i want to send it to gate Y. Take a look at http://www.voip-info.org/wiki-Asterisk+app_dbodbc I run a home server so I have never had the need to do