[Asterisk-Users] Application SetVarCDR

Matthew Boehm mboehm at cytelcom.com
Fri Mar 11 07:42:40 MST 2005


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




More information about the asterisk-users mailing list