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

Olivier oza_4h07 at yahoo.fr
Fri Jan 18 03:35:04 CST 2013


2013/1/17 Kevin Larsen <kevin.larsen at pioneerballoon.com>

> Possibly switch to using subroutines instead of Macros. Macros are being
> deprecated in place of subroutines.
>


Interesting thing to try.
The trouble is I can't find any usable example of calling Gosub routines
from features.conf's application map.
I've found old references explaining that this is not supported but I don't
if it's still valid or not.

Any ex



>
> Kevin Larsen - Systems Analyst - Pioneer Balloon - Ph: 316-688-8208
>
>
>
> From:        Olivier <oza_4h07 at yahoo.fr>
> To:        Asterisk Users Mailing List - Non-Commercial Discussion <
> asterisk-users at lists.digium.com>,
> Date:        01/17/2013 10:29 AM
> Subject:        [asterisk-users] How to give users the capability to set
> CDR        userfield for some calls
> Sent by:        asterisk-users-bounces at lists.digium.com
> ------------------------------
>
>
>
> 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
>
> --
> _____________________________________________________________________
> -- 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130118/89ba7be2/attachment.htm>


More information about the asterisk-users mailing list