Hi Daniel,The reg-id should not be "0" in register message. If it is 0, the record couldn't be inserted into mysql. We can also see error log by kamailio in the syslog.
--
Best Regards,Shengy
At 2016-02-02 22:15:44, "Daniel-Constantin Mierla" <miconda@gmail.com> wrote:
Hello,
was there any error log messages printed by kamailio in the syslog?
What was exactly the issue, reg-id not being allowed to have the value 1?
Cheers,
Daniel
On 02/02/16 14:51, sgy wrote:
Hi Daniel,
I have solved the issue, the root cause is that parameters reg-id in Contact line is not right. Thank you anyway.
Best Regards,Shengy
At 2016-02-02 17:41:05, "Daniel-Constantin Mierla" <miconda@gmail.com> wrote:
Hello,
can you upgrade the latest 4.2.x -- it seems you are running 4.2.0 and there were many fixes from that version, not sure if related to your situation, but it is important to rule out the fixed issues.
Also, it is important to know the parameters you set for modules usrloc and registrar (you can remove the db_url password/host/...).
Cheers,
Daniel
On 01/02/16 08:20, sgy wrote:
Hi Members,
I notice an issue: the client register to kamailio server and could receive 200-register message, but no contact infomation(shows 0 bindings) returns in the message(200-register). I checked contact exist in register message and client shows register successfully. When I run command "kamctl online", the client is not online. Could you met with this issue? Expected to your help, thank you very much.Register:REGISTER sip:12.2.1.197 SIP/2.0Via: SIP/2.0/UDP 12.2.1.180:5060;rport;branch=z9hG4bKPjWScZ6O7MbSbtauTPHcKpjzsHb5U6wxGPRoute: <sip:12.2.1.197;lr>Max-Forwards: 70From: "2016" <sip:2016@12.2.1.197>;tag=jqx1XzTgoS-XKh-S3LyrYmjrCBSqJZ48To: "2016" <sip:2016@12.2.1.197>Call-ID: AiD6dDi6YOK4.ArBsMpse2MQEoh4dBmPCSeq: 12358 REGISTERUser-Agent: A-clientContact: "2016" <sip:2016@12.2.1.180:5060;ob>;+sip.instance="<urn:uuid:00000000-0000-1000-8000-000000020805>";reg-id=0Supported: geolocation, gruu, path, outbound, answermode, tdialog, replaces, timer, precondition, norefersubExpires: 3600Allow: INVITE, ACK, BYE, CANCEL, UPDATE, INFO, NOTIFY, REFER, MESSAGE, OPTIONSAuthorization: Digest username="2016", realm="12.2.1.197", nonce="Vq8AMFau/wTtkI9/v58I86rqhbvPhSTW", uri="sip:12.2.1.197", response="aebb4a141197b2200bdfc5dce008d9ac"Content-Length: 0
200-Register: //No contact infomationrE/@SIP/2.0 200 OKVia: SIP/2.0/UDP 12.2.1.180:5060;rport=5060;branch=z9hG4bKPjpBm-dzHb.9vJY19Ccy9Yz8sx7jigkAM1;received=12.2.1.180From: "2015" <sip:2015@12.2.1.197>;tag=tVTyij9jGH8wprKa2olsevAockWFs8k0To: "2015" <sip:2015@12.2.1.197>;tag=090f6aa955fd574e08bca845127013d9.2885Call-ID: fIQWmPXYtdkT94lzPscrMjzj3R5san9gCSeq: 58932 REGISTERServer: kamailio (4.2.0 (x86_64/linux))Content-Length: 0
Best Regards,Shengy
_______________________________________________ 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
-- Daniel-Constantin Mierla http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda Book: SIP Routing With Kamailio - http://www.asipto.com http://miconda.eu
-- Daniel-Constantin Mierla http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda Book: SIP Routing With Kamailio - http://www.asipto.com http://miconda.eu
-- Daniel-Constantin Mierla http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda Book: SIP Routing With Kamailio - http://www.asipto.com http://miconda.eu