[asterisk-users] inboun routing based on area aode

2012-09-17 Thread Josh Hopkins
I am currently using AsteriskNow v2.  

What I am trying to accomplish is having all calls from an area code go 
directly to the person responsible for that area.  While searching for a 
solution for this I did come across a post that had a few examples.  So Josh at 
extension 1902 would receive all calls from the 808 area code.

exten = s,1,GotoIf($${CALLERIDNUM:0:3} = 808?1902|1)

While asterisknow uses freepbx to control the config files. Where and how would 
I go about putting this into freepbx or another loaded config file that where 
something like the above would work.  Thanks,
/Josh



--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] inboun routing based on area aode

2012-09-17 Thread Carlos Alvarez
On Mon, Sep 17, 2012 at 2:39 PM, Josh Hopkins j...@prorivertech.com wrote:

 I am currently using AsteriskNow v2.

 What I am trying to accomplish is having all calls from an area code go
 directly to the person responsible for that area.  While searching for a
 solution for this I did come across a post that had a few examples.  So
 Josh at extension 1902 would receive all calls from the 808 area code.

 exten = s,1,GotoIf($${CALLERIDNUM:0:3} = 808?1902|1)


That's valid, and we use this methodology:

exten = (pattern match destination)/_800NXX,1,Voicemailetc


 While asterisknow uses freepbx to control the config files. Where and how
 would I go about putting this into freepbx or another loaded config file
 that where something like the above would work.  Thanks,


You will usually get better answers for those products by going to lists
and forums dedicated to them.  I don't think anyone here uses those.

-- 
Carlos Alvarez
TelEvolve
602-889-3003
--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] inboun routing based on area aode

2012-09-17 Thread Vladimir Mikhelson

On 9/17/2012 4:39 PM, Josh Hopkins wrote:
 snip

 While asterisknow uses freepbx to control the config files. Where and how 
 would I go about putting this into freepbx or another loaded config file that 
 where something like the above would work.  Thanks,
   /Josh





Josh,

You may want to look into using extensions_custom.conf along with Custom
Extensions, Custom Destinations, Miscellaneous Applications, and
Miscellaneous Destinations.

Regards,
Vladimir



--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users