Thank you, I was able to do it with simple script with AGI and perl but will reconsider doing it again with MYSQL command as it looks like even simpler solution. Already with addons. <br>BTW. Perl scripting and LPT port gave me nice idea to connect my entry phone to asterisk, just need to make entry phone sending DTMF codes.<br>
<br><div><span class="gmail_quote">2008/6/2, Rizwan Hisham <<a href="mailto:rizwanhasham@gmail.com">rizwanhasham@gmail.com</a>>:</span><blockquote class="gmail_quote" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; margin-left: 0.80ex; border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; padding-left: 1ex">
You should take a look at this: <br><a href="http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+MYSQL" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+MYSQL</a><br>
<br>I thin you will need asterisk addons package to be able to use MYSQL command in extensions.conf.<br><div class="gmail_quote"><div><span class="e" id="q_11a48cd473edc6ee_1">On Sun, Jun 1, 2008 at 10:26 PM, michael_t Gazeta.pl <michael_t@gazeta.pl> wrote:<br>
</span></div><blockquote class="gmail_quote" style="border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; margin-top: 0pt; margin-right: 0pt; margin-bottom: 0pt; margin-left: 0.80ex; padding-left: 1ex">
<div><span class="e" id="q_11a48cd473edc6ee_3"> Hi,<br>I have MySql server with database and need to make extensions conf letting calls through if database field equals 1 and not if it is 0. Database is ready but I'm haveing problem with extensions.conf. Don't want to involve any high tech scripts just simple solution. If someone can help me with my problem it would be great.<br>
Thankyou.<br><font color="#888888">Michael.<br></font><br></span></div>_______________________________________________<br> -- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.api-digital.com</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" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Best Regards<br><span class="sg">Rizwan Hisham<br></span><br>_______________________________________________<br> -- Bandwidth and Colocation Provided by <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br> asterisk-users mailing list<br> To UNSUBSCRIBE or update options visit:<br> <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</blockquote></div><br>