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

Logeshwaran G logeshwarangs at gmail.com
Mon Sep 11 09:47:27 CEST 2017


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 below Error:

# kamcmd htable.listTables
 6(13168) DEBUG: ctl [../../core/io_wait.h:380]: io_watch_add(): DBG:
io_watch_add(0x7f266f4d23e0, 10, 3, 0x231ac60), fd_no=1
 6(13168) DEBUG: ctl [io_listener.c:442]: handle_new_connect():
handle_stream read: new connection (1) on /var/run/kamailio//kamailio_ctl
error: 500 - No htables
 6(13168) DEBUG: ctl [io_listener.c:495]: handle_stream_read():
handle_stream read: eof on /var/run/kamailio//kamailio_ctl
 6(13168) DEBUG: ctl [../../core/io_wait.h:602]: io_watch_del(): DBG:
io_watch_del (0x7f266f4d23e0, 10, -1, 0x10) fd_no=2 called


# kamcmd htable.get key_name 91
 6(13168) DEBUG: ctl [../../core/io_wait.h:380]: io_watch_add(): DBG:
io_watch_add(0x7f266f4d23e0, 10, 3, 0x231ac60), fd_no=1
 6(13168) DEBUG: ctl [io_listener.c:442]: handle_new_connect():
handle_stream read: new connection (1) on /var/run/kamailio//kamailio_ctl
error: 500 - Not enough parameters (htable name and key name)
 6(13168) DEBUG: ctl [io_listener.c:495]: handle_stream_read():
handle_stream read: eof on /var/run/kamailio//kamailio_ctl
 6(13168) DEBUG: ctl [../../core/io_wait.h:602]: io_watch_del(): DBG:
io_watch_del (0x7f266f4d23e0, 10, -1, 0x10) fd_no=2 called

#



Thanks & Kind Regards,
*Logeshwaran G*

*"Be Hungry, Stay Foolish"*

On Mon, Sep 11, 2017 at 12:42 PM, Yu Boot <yu at yu-boot.ru> wrote:

> You should use this in kamailio.cfg, not in bash :)
>
>
> 11.09.2017 10:09, Logeshwaran G пишет:
>
>> [root at zeodialer kamailio]# $sht(htable=>91)
>>
>
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20170911/a3845435/attachment.html>


More information about the sr-users mailing list