Re: [SR-Users] Map Technique(Key value pair) in kamailio

2017-09-12 Thread Logeshwaran G
Got The Solution.. Thank you Thanks & Kind Regards, *Logeshwaran G* *"Be Hungry, Stay Foolish"* On Tue, Sep 12, 2017 at 10:52 AM, Logeshwaran G wrote: > Input Please > > > > Thanks & Kind Regards, > *Logeshwaran G* > > *"Be Hungry, Stay Foolish"* > > On Mon, Sep 11,

Re: [SR-Users] Map Technique(Key value pair) in kamailio

2017-09-11 Thread Logeshwaran G
Input Please Thanks & Kind Regards, *Logeshwaran G* *"Be Hungry, Stay Foolish"* On Mon, Sep 11, 2017 at 1:17 PM, Logeshwaran G wrote: > Sorry :) > > Yes I have loaded dmq.so as well, > > #- DMQ params - > modparam("dmq", "server_address",

Re: [SR-Users] Map Technique(Key value pair) in kamailio

2017-09-11 Thread Logeshwaran G
Sorry :) Yes I have loaded dmq.so as well, #- DMQ params - modparam("dmq", "server_address", "sip:209.95.52.97:15060") modparam("dmq", "notification_address", "sip:209.95.52.97:15060") #- htable params - modparam("htable", "db_url", DBURL) While Passing RPC command I do get the

Re: [SR-Users] Map Technique(Key value pair) in kamailio

2017-09-11 Thread Yu Boot
You should use this in kamailio.cfg, not in bash :) 11.09.2017 10:09, Logeshwaran G пишет: [root@zeodialer kamailio]# $sht(htable=>91) ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org

Re: [SR-Users] Map Technique(Key value pair) in kamailio

2017-09-11 Thread Logeshwaran G
Hi, As per your Input , I have my below htable Entries, | id | key_name | key_type | value_type | key_value | expires | ++--+--++---+-+ | 1 |91 |0 | 1 |India | 0 | I have executed the below

Re: [SR-Users] Map Technique(Key value pair) in kamailio

2017-09-11 Thread Logeshwaran G
Thanks a lot For the inputs. Will Try it Thanks & Kind Regards, *Logeshwaran G* *"Be Hungry, Stay Foolish"* On Mon, Sep 11, 2017 at 12:25 PM, Yu Boot wrote: > Hello. > > You can do it easily with dialplan module or any other way to lookup in DB > such as sqlops. > >

Re: [SR-Users] Map Technique(Key value pair) in kamailio

2017-09-11 Thread Yu Boot
Hello. You can do it easily with dialplan module or any other way to lookup in DB such as sqlops. 11.09.2017 9:26, Logeshwaran G пишет: Key = 91, Value = India Key = 92, Value = Srilanka How to store Key Value Pairs into kamailio and how to Retrieve? If I pass 91 it should Retrieve

Re: [SR-Users] Map Technique(Key value pair) in kamailio

2017-09-11 Thread Sebastian Damm
Hi, On Mon, Sep 11, 2017 at 8:26 AM, Logeshwaran G wrote: > Is there any way to use the Mapping technique in kamailio. > > For Example: > == > > Key = 91, Value = India > Key = 92, Value = Srilanka > > How to store Key Value Pairs into kamailio and how to

[SR-Users] Map Technique(Key value pair) in kamailio

2017-09-11 Thread Logeshwaran G
Hi, Is there any way to use the Mapping technique in kamailio. For Example: == Key = 91, Value = India Key = 92, Value = Srilanka How to store Key Value Pairs into kamailio and how to Retrieve? If I pass 91 it should Retrieve India, Is it possible? Input Please Thanks & Kind