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
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

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

Reply via email to