[Kamailio-Users] Looking for a way to do routing from a database

Daniel-Constantin Mierla miconda at gmail.com
Wed May 27 08:41:23 CEST 2009



On 05/25/2009 06:09 PM, Bruce Ferrell wrote:
> Those seem useful suggestions and give me a direction in which to look.
>
> Thanks Alex
>
> Alex Balashov wrote:
>   
>> In that case, dialplan is not what you want. Use carrierroute, lcr,

dispatcher and pdt are other modules that can help in routing decisions.

>>  or
>> do your own queries with sqlops.
>>     

Alternative for those willing to avoid of sql queries is to use htable 
module and build a cache.

Cheers,
Daniel

>> -- 
>> Sent from mobile device
>>
>> On May 25, 2009, at 9:05 AM, Bruce Ferrell <bferrell at baywinds.org> wrote:
>>
>>     
>>> Can you point me to some examples of how to use dialplan?
>>>
>>> I want to be able to direct traffic to carrier gateways based on the
>>> dial digits and not have to change the config file and bring kamailio
>>> down to do it.  I always thought that was silly.
>>>
>>>
>>>
>>> Alex Balashov wrote:
>>>       
>>>> Depends on what precisely you mean by "dial plans," but there is the
>>>> "dialplan" module.
>>>>
>>>> What do you want to accomplish?
>>>>
>>>> -- 
>>>> Sent from mobile device
>>>>
>>>> On May 24, 2009, at 8:23 PM, Bruce Ferrell <bferrell at baywinds.org>
>>>> wrote:
>>>>
>>>>         
>>>>> I've spent many hours looking over the module docs and examples.
>>>>>
>>>>> is there a way to do dialplans from a database?
>>>>>
>>>>> Thanks
>>>>>
>>>>> _______________________________________________
>>>>> Kamailio (OpenSER) - Users mailing list
>>>>> Users at lists.kamailio.org
>>>>> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
>>>>> http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
>>>>>           
>>>>         
>>> _______________________________________________
>>> Kamailio (OpenSER) - Users mailing list
>>> Users at lists.kamailio.org
>>> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
>>> http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
>>>       
>>     
>
> _______________________________________________
> Kamailio (OpenSER) - Users mailing list
> Users at lists.kamailio.org
> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
> http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
>
>   

-- 
Daniel-Constantin Mierla
http://www.asipto.com/




More information about the Users mailing list