[asterisk-dev] Re: [PATCH] CLID spoof option added to Dial application

Dinesh Nair dinesh at alphaque.com
Sat Jul 8 00:19:59 MST 2006


On 07/07/06 21:03 Roy Sigurd Karlsbakk said the following:
> I see the point here. Quite often you want to keep the original CLID  
> for CDR purposes. Since it's not possible to transfer variables  during 
> calls, this seems appropriate

i've noticed that cid_num gets sent down the line as callerid while cid_ani 
is what's written as the source in CDRs, as such, my dialplan for outgoing 
trunks usually has,

Set(CALLERID(ani)=${CALLERID(num)})
Set(CALLERID(num)=123456)

this way, the other side sees a cid of 123456, while the original cid gets 
logged in CDRs.

-- 
Regards,                           /\_/\   "All dogs go to heaven."
dinesh at alphaque.com                (0 0)   http://www.openmalaysiablog.com/
+==========================----oOO--(_)--OOo----==========================+
| for a in past present future; do                                        |
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo "The opinions here in no way reflect the opinions of my $a $b."  |
| done; done                                                              |
+=========================================================================+



More information about the asterisk-dev mailing list