<a href="http://72.14.203.104/search?q=cache:ggbL-X3kx_4J:www.loligo.com/asterisk/misc/Presentations/Asterisk-overview.v1.0.ppt+ex-girlfriend+ANI+asterisk&hl=en&gl=us&ct=clnk&cd=1">http://72.14.203.104/search?q=cache:ggbL-X3kx_4J:www.loligo.com/asterisk/misc/Presentations/Asterisk-overview.v1.0.ppt+ex-girlfriend+ANI+asterisk&hl=en&gl=us&ct=clnk&cd=1
</a><br><br>Redirection based on ANI <br><br> * You can match against calling number instead of called number.<br> * This is a.k.a. "The ex-girlfriend filter" by the inventor of the routines<br> * This pattern matches against called number (1410…) and also against calling numer (301…)
<br><br>The ex-girlfriend filter = filtering unwanted calls based on number, vs. number dialed <br><br>-brandon<br><br><div><span class="gmail_quote">On 8/2/06, <b class="gmail_sendername">Leo Ann Boon</b> <<a href="mailto:leo@datvoiz.com">
leo@datvoiz.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Matthew Crocker wrote:<br>><br>><br>> Hello,<br>
><br>> How can I build extensions.conf so that Asterisk routes calls based<br>> on the ANI, not the number dialed.<br>><br>> Example:<br>><br>> All calls coming down a PRI are going to the same number. I would
<br>> like to route them to a new number based on the Calling-Station-Id.<br>> I.E. All calls from 413-773-XXXX go to 413-773-1234<br>Use the 'ex-girlfriend' option in extensions.conf. See this<br><a href="http://www.voip-info.org/tiki-index.php?page=Asterisk%20config%20extensions.conf">
http://www.voip-info.org/tiki-index.php?page=Asterisk%20config%20extensions.conf</a><br><br>BTW, does anybody know the history of why ANI-based routing is called<br>'ex-girlfriend' option? AFAIK, it has always been referenced that way,
<br>both in the sample extensions.conf and docs, since the pre 1.0 days (if<br>my memory serves me right - as far back as 0.3).<br><br>Cheers.<br><br>Leo<br><br><br>_______________________________________________<br>--Bandwidth and Colocation provided by
<a href="http://Easynews.com">Easynews.com</a> --<br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users
</a><br></blockquote></div><br><br clear="all"><br>-- <br>Brandon Galbraith<br>Email: <a href="mailto:brandon.galbraith@gmail.com">brandon.galbraith@gmail.com</a><br>AIM: brandong00<br>Voice: 630.400.6992<br>"A true pirate starts drinking before the sun hits the yard-arm. Yarrrr. --thelost"