[asterisk-users] Set caller ID based on SIP source.
Brian McManus
bmcmanus at gmail.com
Tue Jun 5 22:36:51 CDT 2007
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 <abalashov at evaristesys.com> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070605/525dd5ef/attachment-0001.htm
More information about the asterisk-users
mailing list