<br><br><div class="gmail_quote">2013/1/17 Kevin Larsen <span dir="ltr">&lt;<a href="mailto:kevin.larsen@pioneerballoon.com" target="_blank">kevin.larsen@pioneerballoon.com</a>&gt;</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&#39;t find any usable example of calling Gosub routines from features.conf&#39;s application map.<br>I&#39;ve found old references explaining that this is not supported but I don&#39;t if it&#39;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 &lt;<a href="mailto:oza_4h07@yahoo.fr" target="_blank">oza_4h07@yahoo.fr</a>&gt;</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 &lt;<a href="mailto:asterisk-users@lists.digium.com" target="_blank">asterisk-users@lists.digium.com</a>&gt;,
</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&#39;ve not tried with other versions),
it seems you cannot set CDR&#39;s userfield from within a dialplan macro called
by dynamic features.<br>
<br>
See :<br>
<br>
testfeature =&gt; *321,self/callee,Macro,toto<br>
<br>
[macro-toto]<br>
exten =&gt; s,1,Verbose(0,Into macro-toto with CDR(src) set to ${CDR(src)})<br>
exten =&gt; s,n,Set(CDR(userfield)=foobar)<br>
<br>
I&#39;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>