You can use an "ex girlfriend" type extension, aka if your internal DID is 1000 and that is their caller id on your outbound macro or prefix doctor the callerid<br>exten => 1000/_9XXXXXXX,1,SetCallerID(20843471000)
<br><br>;)<br><br>Brian<br><br><div><span class="gmail_quote">On 6/5/07, <b class="gmail_sendername">Alex Balashov</b> <<a href="mailto:abalashov@evaristesys.com">abalashov@evaristesys.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;">
On Tue, 5 Jun 2007, Alexander Lopez wrote:<br><br>> If I understand your problem correctly you need to set ANI/CALLERID on a<br>> peer by peer basis.<br>><br>> You can use the accountcode variable in the sip.conf
file and set that<br>> to the DID or you can use another variable.<br><br> Thank you for that suggestion.<br><br> But what if I want to avoid configuring any idiosyncrasies in sip.conf<br>whatsoever? Isn't there another way to get the name of the calling leg?
<br><br>--<br>Alex Balashov<br>Evariste Systems<br>Web : <a href="http://www.evaristesys.com/">http://www.evaristesys.com/</a><br>Tel : +1-678-954-0670<br>Direct : +1-678-954-0671<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>--Brian McManus<br>--(208) 329-0818