Klaus,
it looks like the openserctl is not sending both parameter for the MI
call - the table name and the AOR. It should be like:
0(5292) DEBUG:mi_fifo:mi_parse_tree: adding node <> ; val <location>
0(5292) DEBUG:mi_fifo:mi_parse_tree: adding node <> ; val
<[EMAIL PROTECTED]>
0(5292) DEBUG:mi_fifo:mi_parse_tree: end of input tree
0(5292) DEBUG:mi_fifo:mi_fifo_server: done parsing the mi tree
export DBENGINE="MYSQL" before running openserctl....if I'm not wrong,
the name of the location table is defined in the DB section of
openserctl.....so you need to use a DB engine ....
regards,
bogdan
Klaus Darilion wrote:
Hi Bogdan!
I just made a fresh checkout, made the debian packages
(packaging/debian-sarge) and installed them. Still the same problem:
[EMAIL PROTECTED]:/home/darilion/software/openser-cvs-clean# openserctl ul show
WARNING: no database engine found - tried ''
Dumping all contacts may take long: are you sure you want to proceed?
[Y|N] y
Domain:: location table=512 records=1 max_slot=1
AOR:: [EMAIL PROTECTED]
Contact:: sip:[EMAIL PROTECTED] Q=
Expires:: 1048
Callid:: [EMAIL PROTECTED]
Cseq:: 1
User-agent:: sipsak 0.9.6
State:: CS_SYNC
Flags:: 0
Cflag:: 0
Socket:: tcp:213.239.207.29:6060
Methods:: 0
Contact::
sip:[EMAIL PROTECTED]:61174;rinstance=b1f1648bbed1e0fb;transport=udp Q=
Expires:: 3224
Callid::
N2VhN2I0OGI3NmU4N2I0ZTY1ZTE1YjY0MjY2OWRmN2U.
Cseq:: 2
User-agent:: eyeBeam release 1008m stamp 36652
State:: CS_SYNC
Flags:: 0
Cflag:: 0
Socket:: udp:213.239.207.29:6060
Methods:: 5951
[EMAIL PROTECTED]:/home/darilion/software/openser-cvs-clean# openserctl ul
show [EMAIL PROTECTED]
WARNING: no database engine found - tried ''
400 Too few or too many arguments
[EMAIL PROTECTED]:/home/darilion/software/openser-cvs-clean#
The logs are:
openser[15438]: DEBUG:mi_fifo:mi_fifo_server: entered consume
openser[15438]: DEBUG:mi_fifo:mi_fifo_server: **** done consume
openser[15438]: DEBUG:mi_fifo:mi_fifo_server: done parsing the mi tree
openser[15438]: DEBUG:mi_fifo:mi_parse_tree: adding node <> ; val
<[EMAIL PROTECTED]>
openser[15438]: DEBUG:mi_fifo:mi_parse_tree: end of input tree
openser[15438]: DEBUG:mi_fifo:mi_fifo_server: done parsing the mi tree
any hints where the problem can be?
regards
klaus
Bogdan-Andrei Iancu wrote:
Klaus,
difficult to say as it works for me:
[EMAIL PROTECTED]:scripts$ openserctl ul show [EMAIL PROTECTED]
Contact::
<sip:[EMAIL PROTECTED]:5062;transport=udp>;q=1;expires=410;flags=0x0;socket=<udp:192.168.2.7:5060>;methods=0x173F;user_agent=<kphone/4.2>
Contact::
<sip:[EMAIL PROTECTED]:5062;transport=tcp>;q=1;expires=375;flags=0x0;socket=<udp:192.168.2.7:5060>;methods=0x173F;user_agent=<kphone/4.2>
try to update and see if you have any differences against the CVS head
BTW, this remained me to add the cflags (per branch flags) in the MI
usrloc responses.
regards,
bogdan
Klaus Darilion wrote:
Hi Bogdan!
I have problems with the new fifo:
[EMAIL PROTECTED]:/usr/sbin# openserctl ul show [EMAIL PROTECTED]
WARNING: no database engine found - tried ''
400 Too few or too many arguments
although the user is registered:
[EMAIL PROTECTED]:/usr/sbin# openserctl ul show
WARNING: no database engine found - tried ''
Dumping all contacts may take long: are you sure you want to
proceed? [Y|N] y
Domain:: location table=512 records=1 max_slot=1
AOR:: [EMAIL PROTECTED]
Contact::
sip:[EMAIL PROTECTED]:61174;rinstance=b1f1648bbed1e0fb;transport=udp Q=
Expires:: 3539
Callid::
N2VhN2I0OGI3NmU4N2I0ZTY1ZTE1YjY0MjY2OWRmN2U.
Cseq:: 1
User-agent:: eyeBeam release 1008m stamp 36652
State:: CS_SYNC
Flags:: 0
Socket:: udp:213.239.207.29:6060
Methods:: 5951
Is it a bug or am I doing something wrong?
regards
klaus
Bogdan-Andrei Iancu wrote:
Hi Klaus,
yes, it make sense - I fixed the docs on cvs and web site.
thanks and regards,
bogdan
Klaus Darilion wrote:
Hi Bogdan!
I suggest to use the default value "/tmp/openser_fifo" also in the
example:
http://www.openser.org/docs/modules/1.2.x/mi_fifo.html#AEN80
regards
klaus
Bogdan-Andrei Iancu wrote:
Hi everybody,
the old fifo implementation (from core) was removed and replaced
by the MI FIFO module. See
http://www.openser.org/docs/modules/1.2.x/mi_fifo.html
why? See:
http://www.openser.org/pipermail/users/2006-December/008154.html
To maintain the previous FIFO behaviour, you just have to:
1) remove "fifo=/tmp/openser_fifo" from your config
2) load the mi_fifo module
3) configure modparam("mi_fifo", "fifo_name",
"/tmp/openser_fifo")
that's all :)
for an working example, see the default openser.cfg which was
already updated:
http://openser.cvs.sourceforge.net/openser/sip-server/etc/openser.cfg?revision=1.10
regards,
bogdan
_______________________________________________
Devel mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/devel
_______________________________________________
Users mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users