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/_9XXX,1,SetCallerID(20843471000)
;)
Brian
On 6/5/07, Alex Balashov <[EMAIL PROTECTED]> wrote:
On Tue, 5 Jun 2007,
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 wh
t; [EMAIL PROTECTED] On Behalf Of Alex Balashov
> Sent: Tuesday, June 05, 2007 6:26 PM
> To: asterisk-users@lists.digium.com
> Subject: [asterisk-users] Set caller ID based on SIP source.
>
>
> Hi all,
>
> This may be a really stupid question, but, what preset global
Hi all,
This may be a really stupid question, but, what preset global dialplan
variables can I use to determine the calling leg when using Dial()?
Say I have phones (SIP peers) originating calls out of the same context,
and I need to set the ANI differently depending on who is calling out in