[Devel] REMOVED: old fifo implementation
Klaus Darilion
klaus.mailinglists at pernau.at
Wed Jan 17 12:25:55 CET 2007
Hi Bogdan!
I just made a fresh checkout, made the debian packages
(packaging/debian-sarge) and installed them. Still the same problem:
root at pb94:/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:: klaus at pernau.at
Contact:: sip:enum-test at sip.nemox.net Q=
Expires:: 1048
Callid:: 335426696 at 213.239.207.29
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:klaus at 83.136.33.3: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
root at pb94:/home/darilion/software/openser-cvs-clean# openserctl ul show
klaus at pernau.at
WARNING: no database engine found - tried ''
400 Too few or too many arguments
root at pb94:/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
<klaus at pernau.at>
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:
>
> root at test:scripts$ openserctl ul show user3 at 192.168.2.7
> Contact::
> <sip:user3 at 192.168.2.7: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:user3 at 192.168.2.7: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:
>>
>> root at pb94:/usr/sbin# openserctl ul show klaus at pernau.at
>> WARNING: no database engine found - tried ''
>> 400 Too few or too many arguments
>>
>> although the user is registered:
>> root at pb94:/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:: klaus at pernau.at
>> Contact::
>> sip:klaus at 83.136.33.3: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
>>>>> Devel at openser.org
>>>>> http://openser.org/cgi-bin/mailman/listinfo/devel
>>>>
>>>>
>>>>
>>>>
>>>
>>
>>
>
--
Klaus Darilion
nic.at
More information about the Devel
mailing list