<div dir="ltr">Thank you, I was able to configure the Asterisk with MySQL<div><br></div><div>Kind Regards,<br><div class="gmail_extra">Amelye Chatila<br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div><br></div></div></div></div></div></div></div><div class="gmail_quote">On Thu, Sep 17, 2015 at 4:19 PM, Faheem Muhammad <span dir="ltr"><<a href="mailto:faheem2084@gmail.com" target="_blank">faheem2084@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">It is very simple, asterisk can log cdrs automatically by configuring cdr_mysql.conf.<div>All you need to create a mysql table along with proper read/write permissions. You can find the cdr table schema from the below link.</div><div><br></div><div><a href="https://wiki.asterisk.org/wiki/display/AST/MySQL+CDR+Backend" target="_blank">https://wiki.asterisk.org/wiki/display/AST/MySQL+CDR+Backend</a><br></div><div><br></div><div>Regards,</div><div>Muhammad Faheem</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Thu, Sep 17, 2015 at 3:21 PM, Amelye Chatila <span dir="ltr"><<a href="mailto:amechax@gmail.com" target="_blank">amechax@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">I have asterisk 13.5 configured with a simple dial plan, 3 SIP clients two Laptops and smartphone with softphones installed. Now I am trying to store cdr into a database but not able to make a connection of ODBC drivers to MySQL is there an option or anything. Thanks in advance<div><br></div><div>My configuration::</div><div><div><b>sip.conf</b></div><div><br></div><div>[general]</div><div>trasport=udp ;Data format | sample commennt</div><div><br></div><div>[template01](!)</div><div>type=friend</div><div>context=from-internal</div><div>host=dynamic</div><div>disallow=all</div><div>allow=ulaw</div><div>context=from-internal</div><div>secret=unsecurepassword</div><div><br></div><div>[6001](template01)</div><div><br></div><div>[7001](template01)</div><div>bindport=6050</div><div><br></div><div><br></div><div><b>extensions.conf</b></div><div><br></div><div>[from-internal]</div><div>exten => 7001,1,Dial(SIP/7001,30)</div><div>exten => 6001,1,Dial(SIP/6001,30)</div></div></div>
<br></div></div><span class="HOEnZb"><font color="#888888">--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer" 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" rel="noreferrer" 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" rel="noreferrer" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></font></span></blockquote></div><br></div>
<br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer" 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" rel="noreferrer" 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" rel="noreferrer" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br></div></div></div>