[SR-Users] No contact info(0 bindings) in 200-register

Daniel-Constantin Mierla miconda at gmail.com
Thu Feb 4 14:44:05 CET 2016


Hello,

https://github.com/kamailio/kamailio/issues

It is also linked from right side of the main page of kamailio.org

Cheers,
Daniel

On 04/02/16 14:22, sgy wrote:
> HI Daniel,
>     Please send me the link in github, and I will open an issue for
> the case.
>
> --
> Best Regards,
> Shengy
>
> At 2016-02-04 19:11:59, "Daniel-Constantin Mierla" <miconda at gmail.com>
> wrote:
>
>     Hello,
>
>     hmm, probably we should not send a 200 response in this case, a
>     400 is probably more appropriate.
>
>     If you have time, open an issue on github kamailio project not to
>     forget about it and I will take a look at it with first opportunity.
>
>     Cheers,
>     Daniel
>
>     On 03/02/16 15:50, sgy wrote:
>>
>>     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 at 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 at 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.0
>>>>             Via: SIP/2.0/UDP
>>>>             12.2.1.180:5060;rport;branch=z9hG4bKPjWScZ6O7MbSbtauTPHcKpjzsHb5U6wxGP
>>>>             Route: <sip:12.2.1.197;lr>
>>>>             Max-Forwards: 70
>>>>             From: "2016"
>>>>             <sip:2016 at 12.2.1.197>;tag=jqx1XzTgoS-XKh-S3LyrYmjrCBSqJZ48
>>>>             To: "2016" <sip:2016 at 12.2.1.197>
>>>>             Call-ID: AiD6dDi6YOK4.ArBsMpse2MQEoh4dBmP
>>>>             CSeq: 12358 REGISTER
>>>>             User-Agent: A-client
>>>>             Contact: "2016"
>>>>             <sip:2016 at 12.2.1.180:5060;ob>;+sip.instance="<urn:uuid:00000000-0000-1000-8000-000000020805>";reg-id=0
>>>>             Supported: geolocation, gruu, path, outbound,
>>>>             answermode, tdialog, replaces, timer, precondition,
>>>>             norefersub
>>>>             Expires: 3600
>>>>             Allow: INVITE, ACK, BYE, CANCEL, UPDATE, INFO, NOTIFY,
>>>>             REFER, MESSAGE, OPTIONS
>>>>             Authorization: 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 infomation
>>>>             rE/@SIP/2.0 200 OK
>>>>             Via: SIP/2.0/UDP
>>>>             12.2.1.180:5060;rport=5060;branch=z9hG4bKPjpBm-dzHb.9vJY19Ccy9Yz8sx7jigkAM1;received=12.2.1.180
>>>>             From: "2015"
>>>>             <sip:2015 at 12.2.1.197>;tag=tVTyij9jGH8wprKa2olsevAockWFs8k0
>>>>             To: "2015"
>>>>             <sip:2015 at 12.2.1.197>;tag=090f6aa955fd574e08bca845127013d9.2885
>>>>             Call-ID: fIQWmPXYtdkT94lzPscrMjzj3R5san9g
>>>>             CSeq: 58932 REGISTER
>>>>             Server: 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 at 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
>
>
>
>  
>

-- 
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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20160204/cbefd7fe/attachment.html>


More information about the sr-users mailing list