[Asterisk-Dev] Can I introduce sql sentences in the DialPlan (Asterisk Realtime)??

Brian West brian.west at mac.com
Wed Jul 13 07:37:52 MST 2005


You do have app realtime that will do what you want.

/b
---
Anakin: “You’re either with me, or you’re my enemy.”
Obi-Wan: “Only a Sith could be an absolutist.”

On Jul 13, 2005, at 7:06 AM, Leonardo F. Bauchwitz wrote:

> Roy Sigurd Karlsbakk wrote:
>
>
>> this is a asterisk-user question
>>
>
> yes?
> I supposed the opposite.
> Excuse me
>
>
>> please ask on the user list
>>
>
> Ok, and thanks
>
> Leonardo Federico Bauchwitz
>
>
>>
>> Den 13. jul. 2005 kl. 13.35 skrev Leonardo F. Bauchwitz:
>>
>>
>>> Hallo all!
>>>
>>> Know somebody, if exist Dialplan commands (specifically sql   
>>> sentences) for Asterisk Realtime?
>>>
>>> For example:
>>> I have users defined in mysql database.
>>> In the dialplan, I would like to select one field of a table.
>>> select email from sip_buddies where name=200
>>>
>>> I try to use DBget, but I have error. I think because DBget use   
>>> intern Database, and can 't connect to mysql.
>>> (Sintaxis:  DBget(varname=family/key))
>>>
>>> I think (if it does not exist at the moment) that it is very   
>>> interesant we can write in the dialplan sql-sentences
>>> What think about this?
>>>
>>> Leonardo F. Bauchwitz
>>>
>>> _______________________________________________
>>> Asterisk-Dev mailing list
>>> Asterisk-Dev at lists.digium.com
>>> http://lists.digium.com/mailman/listinfo/asterisk-dev
>>> To UNSUBSCRIBE or update options visit:
>>>   http://lists.digium.com/mailman/listinfo/asterisk-dev
>>>
>>>
>>>
>>
>> _______________________________________________
>> Asterisk-Dev mailing list
>> Asterisk-Dev at lists.digium.com
>> http://lists.digium.com/mailman/listinfo/asterisk-dev
>> To UNSUBSCRIBE or update options visit:
>>   http://lists.digium.com/mailman/listinfo/asterisk-dev
>>
>>
>
>
>
>
>
>
> ___________________________________________________________ 1GB  
> gratis, Antivirus y Antispam Correo Yahoo!, el mejor correo web del  
> mundo http://correo.yahoo.com.ar
> _______________________________________________
> Asterisk-Dev mailing list
> Asterisk-Dev at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-dev
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-dev
>




More information about the asterisk-dev mailing list