[Asterisk-Users] Application SetVarCDR

William M. Sandiford wsandiford at DURHAMTELECOM.com
Fri Mar 11 19:26:33 MST 2005


I tried this....and now all I get in my CDRs is _X. in the dst field



-----Original Message-----
From: Matthew Boehm [mailto:mboehm at cytelcom.com] 
Sent: Friday, March 11, 2005 9:43 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] Application SetVarCDR


I know this isn't the best way but I stopped using 's' and I use _X. on everything now. It is really stupid to say "That person dialed the number 's'" or "That phone call's final destination was 's'". That doesn't help anything; debugging nor billing.

My $0.02
Matthew

William M. Sandiford wrote:
> Hello:
>
> I found a reference to the application SetVarCDR in the following post 
> but I don't seem to have this available to me in my version of *.
>
> HYPERLINK
>
"http://lists.digium.com/pipermail/asterisk-cvs/2005-February/005337.html"ht
tp://lists.digium.com/pipermail/asterisk-cvs/2005-February/005337.html
>
> My version of * is CVS-HEAD-03/10/05-18:42:35
>
> I would like to change the value of the src and dst variables in the 
> CDR as I sometimes find that they don't have entirely accurate 
> information.  For example my dst field quite often has a value of "s" 
> because I do my call processing in the s extension.  This is no good 
> to me.
>
> Does anyone know How I can get access to the functions mentioned 
> above.  FYI I have tried doing a set var just before I dial like
> this:
>
> exten => s,13,SetVar(CDR(dst)=12345)
> exten => s,14,Dial(HYPERLINK
> "mailto:SIP/12345 at outbound"SIP/12345 at outbound)
>
> but that doesn't seem to work...I still get s in the dst field of my 
> CDR
>
> Regards,
> Bill
>
>
>
>> _______________________________________________
>> Asterisk-Users mailing list
>> Asterisk-Users at lists.digium.com 
>> http://lists.digium.com/mailman/listinfo/asterisk-users
>> To UNSUBSCRIBE or update options visit:
>>    http://lists.digium.com/mailman/listinfo/asterisk-users

_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

-- 
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.6.4 - Release Date: 3/7/2005
 

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.7.2 - Release Date: 3/11/2005
 



More information about the asterisk-users mailing list