[asterisk-users] inboun routing based on area aode

Carlos Alvarez carlos at televolve.com
Mon Sep 17 16:45:08 CDT 2012

On Mon, Sep 17, 2012 at 2:39 PM, Josh Hopkins <josh at 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)/_800NXXXXXX,1,Voicemail....etc

> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120917/e89ebe2a/attachment.htm>

More information about the asterisk-users mailing list