<br><br><div class="gmail_quote">2010/12/20 A J Stiles <span dir="ltr"><<a href="mailto:asterisk_list@earthshod.co.uk">asterisk_list@earthshod.co.uk</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Our current Asterisk 1.6.2.9 setup includes a CGI auto-dial application<br>
(written by someone else before me) which sets up calls by creating files of<br>
the general form<br>
<br>
Channel: SIP/$INSIDE_NUMBER<br>
Context: $CONTEXT<br>
Extension: $OUTSIDE_NUMBER<br>
Priority: 1<br>
CallerId: $INSIDE_NUMBER<br>
<br>
in /var/spool/asterisk/outgoing/ .<br>
<br>
It works very well. However, it would be nice to be able to attach an<br>
additional piece of information along with the call record There is a<br>
userfield in the SQL database, which is a VARCHAR(255) and would be plenty<br>
for what we need. Is there a way to set the userfield of the CDR database<br>
from within such a callfile?<br></blockquote><div><br>Yes, adding a Set field in your call file (see <a href="http://www.voip-info.org/wiki/view/Asterisk+auto-dial+out">http://www.voip-info.org/wiki/view/Asterisk+auto-dial+out</a>), you'll be able to pass everything you need to your dialplan, and then, from there, write everything you need to your CDR.<br>
<br>Cheers<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
--<br>
AJS<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>