Hello;
kamailio Version 4.1 installed and tried same configuration
with carrierroute. it is working kamctl function but i had to
remove a "require_dbengine"
function in kamctl. it checks that is it suport db_mysql. Anyway ,
configuration is working with kamctl cr , it can dumping and
reload.
link
https://github.com/kamailio/kamailio/blob/dc5a9e96a20c1099601ef5c6516458532da3124a/utils/kamctl/kamctl
line (1432)
Cheers.
[root@Test kamailio41]# kamctl cr dump
Printing routing information:
Printing tree for carrier 'default' (1)
Printing tree for domain 'myip' (1)
NULL: 100.000 %, ' ip:5060': ON, '0', '', '', '338'
4.01.2017 14:24 tarihinde Yasin CANER
yazdı:
Hello;
I think problem is my config. 4.4.4 version is cloned and
try to run. it runs kamailio but kamctl cr reload command gives
error "ERROR: This command requires a database engine - none was
loaded" I am digging configuration. In additon , how can
understand carrier module is loaded?
Cheers.
4.01.2017 13:58 tarihinde Yasin CANER
yazdı:
Hello;
lastest
master branched is pulled and worked with kamailio -ddd -E .
cr.reload method works fine but cr.dump_routes gives error
message like "error: 500 - Internal error - carrier
structure"
debug
messages are here
"[ master]#
13(1479) DEBUG: ctl [../../core/io_wait.h:380]:
io_watch_add(): DBG: io_watch_add(0x7f05c23756c0, 8, 3,
0x1722410), fd_no=1
13(1479) DEBUG: ctl [io_listener.c:442]:
handle_new_connect(): handle_stream read: new connection (1)
on /var/run/kamailio//kamailio_ctl
13(1479) DEBUG: carrierroute [cr_fifo.c:1177]:
cr_rpc_dump_routes(): start processing of data
13(1479) DEBUG: ctl [io_listener.c:495]:
handle_stream_read(): handle_stream read: eof on
/var/run/kamailio//kamailio_ctl
13(1479) DEBUG: ctl [../../core/io_wait.h:602]:
io_watch_del(): DBG: io_watch_del (0x7f05c23756c0, 8, -1,
0x10) fd_no=2 called
"
My table structer is that;
domain_name |
|
|
|
|
|
|
|
|
|
|
# id |
domain |
|
|
|
|
|
|
|
|
|
|
1' |
'myip' |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
carrierroute |
# id |
carrier |
domain |
scan_prefix |
flags |
mask |
prob |
strip |
rewrite_host |
rewrite_prefix |
rewrite_suffix |
description |
1' |
'1' |
'1' |
'' |
'0' |
'0' |
'1' |
'0' |
'ip:5060' |
'' |
'' |
'338' |
|
|
|
|
|
|
|
|
|
|
|
|
carrier_name |
|
|
|
|
|
|
|
|
|
|
# id |
carrier |
|
|
|
|
|
|
|
|
|
|
1' |
'default' |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
domain |
|
|
|
|
|
|
|
|
# id |
domain |
did |
last_modified |
|
|
|
|
|
|
|
|
1' |
'myip' |
'1' |
'2016-02-11 12:18:00' |
|
|
|
|
|
|
|
|
3.01.2017 12:55 tarihinde
Daniel-Constantin Mierla yazdı:
Hello,
quick follow up to see if you got any chance to test with
latest master.
Cheers,
Daniel
On 23/12/2016 15:15,
Daniel-Constantin Mierla wrote:
Hello,
can you fetch again the git master, recompile, reinstall
and test again? Send here the log messages you get in
syslog, because I added some log messages inside the
function that fails now.
Cheers,
Daniel
On 23/12/2016 12:39, Yasin
CANER wrote:
|
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users