Hello,

can you grab the sip trace with ngrep for such registration? Maybe the expires for registration is less than 5 minutes. We can see that in the sip trace.

Also, you should give the parameters you set in kamailio.cfg for usrloc and registrar modules.

Cheers,
Daniel

On 07/05/14 15:13, 5060 wrote:
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 <mico...@gmail.com <mailto:mico...@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@192.168.1.105:5060
    <http://sip:102@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 list
    sr-users@lists.sip-router.org  <mailto:sr-users@lists.sip-router.org>
    http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- Daniel-Constantin Mierla -http://www.asipto.com
    http://twitter.com/#!/miconda  <http://twitter.com/#%21/miconda>  
-http://www.linkedin.com/in/miconda


    _______________________________________________
    SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing
    list
    sr-users@lists.sip-router.org <mailto:sr-users@lists.sip-router.org>
    http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users



--
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda

_______________________________________________
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

Reply via email to