[asterisk-users] Call Routing based on Caller-Id
Leo Ann Boon
leo at datvoiz.com
Wed Aug 2 17:11:26 MST 2006
Matthew Crocker wrote:
>
>
> Hello,
>
> How can I build extensions.conf so that Asterisk routes calls based
> on the ANI, not the number dialed.
>
> Example:
>
> All calls coming down a PRI are going to the same number. I would
> like to route them to a new number based on the Calling-Station-Id.
> I.E. All calls from 413-773-XXXX go to 413-773-1234
Use the 'ex-girlfriend' option in extensions.conf. See this
http://www.voip-info.org/tiki-index.php?page=Asterisk%20config%20extensions.conf
BTW, does anybody know the history of why ANI-based routing is called
'ex-girlfriend' option? AFAIK, it has always been referenced that way,
both in the sample extensions.conf and docs, since the pre 1.0 days (if
my memory serves me right - as far back as 0.3).
Cheers.
Leo
More information about the asterisk-users
mailing list