[SR-Users] kamctl online and ul show are empty!

5060 toasterisk at gmail.com
Wed May 7 15:13:23 CEST 2014


hello, Daniel:
thank you for your input. my test case is this: kamailio+mysql with an IP
and asterisk with second IP. I add to mysql and set db_mode=2. the problem
is
two phones can be registered and online command can see the users. but after
while(less 5 minutes), the system comes out this error:

*'102','sip:102 at 192.168.1.105
<http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users>:5060
<http://sip:102@192.168.1.105:5060
<http://sip:102@192.168.1.105:5060/>>'
*>* has expired*

*------------------------------------*

*after then, online users are empty and I check from asterisk CLI by
sip show peers, the 102 is still there. but i restart kamailio again,
the users come online.Do i missed something? *

*Thanks!*



2014-05-07 16:55 GMT+08:00 Daniel-Constantin Mierla <miconda at gmail.com>:

>  Hello,
>
> if there is nothing in output of kamct ul show, it means that there is no
> registered phone. Be sure you have sip phone registered to kamailio. Also,
> for persistence, you have to use db_mysql with a mysql server and set
> usrloc parameter db_mode>0 (see the readme of the module).
>
> Cheers,
> Daniel
>
>
> On 06/05/14 07:54, 5060 wrote:
>
> Hello:
> after i starting kamailio for while, the system shows:
>
>   3(1466) DEBUG: mi_fifo [mi_parser.c:84]: end of fifo input tree
>  3(1466) DEBUG: mi_fifo [fifo_fnc.c:507]: done parsing the mi tree
>  1(1464) DEBUG: usrloc [urecord.c:327]: Binding '102','
> sip:102 at 192.168.1.105:5060' has expired
>  3(1466) DEBUG: mi_fifo [mi_parser.c:84]: end of fifo input tree
>  3(1466) DEBUG: mi_fifo [fifo_fnc.c:507]: done parsing the mi tree
>  3(1466) DEBUG: mi_fifo [mi_parser.c:84]: end of fifo input tree
>  3(1466) DEBUG: mi_fifo [fifo_fnc.c:507]: done parsing the mi tree
> ----------------------------------------------------------------------
> kamctl online and ul show are empty.  how can i adjust the time to resolve
> the problem?
> thanks!
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing listsr-users at lists.sip-router.orghttp://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
> --
> Daniel-Constantin Mierla - http://www.asipto.comhttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20140507/6f9f02d9/attachment.html>


More information about the sr-users mailing list