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


_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

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

Reply via email to