[asterisk-users] How to give users the capability to set CDR userfield for some calls

Olivier oza_4h07 at yahoo.fr
Thu Jan 17 10:29:34 CST 2013


Hello,

To my surprise, with asterisk 1.8 (I've not tried with other versions), it
seems you cannot set CDR's userfield from within a dialplan macro called by
dynamic features.

See :

testfeature => *321,self/callee,Macro,toto

[macro-toto]
exten => s,1,Verbose(0,Into macro-toto with CDR(src) set to ${CDR(src)})
exten => s,n,Set(CDR(userfield)=foobar)

I'm planning to use this feature to let users mark in CDR an ongoing call
as malicious or important or whatever.

Any hint ?

Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130117/21dd385f/attachment.htm>


More information about the asterisk-users mailing list