<br><br><div class="gmail_quote">2013/1/17 Kevin Larsen <span dir="ltr"><<a href="mailto:kevin.larsen@pioneerballoon.com" target="_blank">kevin.larsen@pioneerballoon.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<font face="sans-serif">Possibly switch to using subroutines instead
of Macros. Macros are being deprecated in place of subroutines.</font>
<br></blockquote><div><br><br>Interesting thing to try.<br>The trouble is I can't find any usable example of calling Gosub routines from features.conf's application map.<br>I've found old references explaining that this is not supported but I don't if it's still valid or not.<br>
<br>Any ex<br><br> </div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font face="sans-serif"><br>
Kevin Larsen - Systems Analyst - Pioneer Balloon - Ph: <a href="tel:316-688-8208" value="+13166888208" target="_blank">316-688-8208</a></font>
<br>
<br>
<br>
<br><font color="#5f5f5f" face="sans-serif" size="1">From:
</font><font face="sans-serif" size="1">Olivier <<a href="mailto:oza_4h07@yahoo.fr" target="_blank">oza_4h07@yahoo.fr</a>></font>
<br><font color="#5f5f5f" face="sans-serif" size="1">To:
</font><font face="sans-serif" size="1">Asterisk Users Mailing
List - Non-Commercial Discussion <<a href="mailto:asterisk-users@lists.digium.com" target="_blank">asterisk-users@lists.digium.com</a>>,
</font>
<br><font color="#5f5f5f" face="sans-serif" size="1">Date:
</font><font face="sans-serif" size="1">01/17/2013 10:29 AM</font>
<br><font color="#5f5f5f" face="sans-serif" size="1">Subject:
</font><font face="sans-serif" size="1">[asterisk-users]
How to give users the capability to set CDR userfield
for some calls</font>
<br><font color="#5f5f5f" face="sans-serif" size="1">Sent by:
</font><font face="sans-serif" size="1"><a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a></font>
<br>
<hr noshade>
<br>
<br>
<br><font size="3"><div><div class="h5">Hello,<br>
<br>
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.<br>
<br>
See :<br>
<br>
testfeature => *321,self/callee,Macro,toto<br>
<br>
[macro-toto]<br>
exten => s,1,Verbose(0,Into macro-toto with CDR(src) set to ${CDR(src)})<br>
exten => s,n,Set(CDR(userfield)=foobar)<br>
<br>
I'm planning to use this feature to let users mark in CDR an ongoing call
as malicious or important or whatever.<br>
<br>
Any hint ?<br>
<br></div></div>
Regards</font><tt><font>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by </font></tt><a href="http://www.api-digital.com/" target="_blank"><tt><font>http://www.api-digital.com</font></tt></a><tt><font>
--<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
</font></tt><a href="http://www.asterisk.org/hello" target="_blank"><tt><font>http://www.asterisk.org/hello</font></tt></a><tt><font><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
</font></tt><a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank"><tt><font>http://lists.digium.com/mailman/listinfo/asterisk-users</font></tt></a>
<br><br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>