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
exten => 1000/_9XXXXXXX,1,SetCallerID(20843471000)

;)

Brian

On 6/5/07, Alex Balashov <[EMAIL PROTECTED]> wrote:

On Tue, 5 Jun 2007, Alexander Lopez wrote:

> If I understand your problem correctly you need to set ANI/CALLERID on a
> peer by peer basis.
>
> You can use the accountcode variable in the sip.conf file and set that
> to the DID or you can use another variable.

   Thank you for that suggestion.

   But what if I want to avoid configuring any idiosyncrasies in sip.conf
whatsoever?  Isn't there another way to get the name of the calling leg?

--
Alex Balashov
Evariste Systems
Web    : http://www.evaristesys.com/
Tel    : +1-678-954-0670
Direct : +1-678-954-0671
_______________________________________________
--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




--
--Brian McManus
--(208) 329-0818
_______________________________________________
--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