[asterisk-users] Mysql and extensions.conf

Atis Lezdins atis at iq-labs.net
Mon Jun 2 05:48:34 CDT 2008


Hi,

You can use func_realtime in dialplan, that will be much faster as it
doesn't create separate process (as AGI does), and uses internal
asterisk connection pool, so no extra code in dialplan.

http://www.voip-info.org/wiki/index.php?page=Asterisk+func+realtime

Regards,
Atis

On Mon, Jun 2, 2008 at 1:33 PM, michael_t Gazeta.pl <michael_t at gazeta.pl> wrote:
> 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.
> 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.
>
> 2008/6/2, Rizwan Hisham <rizwanhasham at gmail.com>:
>>
>> You should take a look at this:
>> http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+MYSQL
>>
>> I thin you will need asterisk addons package to be able to use MYSQL
>> command in extensions.conf.
>> On Sun, Jun 1, 2008 at 10:26 PM, michael_t Gazeta.pl <michael_t at gazeta.pl>
>> wrote:
>>>
>>> Hi,
>>> 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.
>>> Thankyou.
>>> Michael.
>>>
>>> _______________________________________________
>>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>>
>>> asterisk-users mailing list
>>> To UNSUBSCRIBE or update options visit:
>>>   http://lists.digium.com/mailman/listinfo/asterisk-users
>>
>>
>>
>> --
>> Best Regards
>> Rizwan Hisham
>>
>> _______________________________________________
>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>
>> asterisk-users mailing list
>> To UNSUBSCRIBE or update options visit:
>>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>



-- 
Atis Lezdins,
VoIP Project Manager / Developer,
atis at iq-labs.net
Skype: atis.lezdins
Cell Phone: +371 28806004
Cell Phone: +1 800 7300689
Work phone: +1 800 7502835



More information about the asterisk-users mailing list