[SR-Users] Outbound and Registrar. No binding update

Daniel-Constantin Mierla miconda at gmail.com
Mon Jul 30 13:29:08 CEST 2012


After playing a bit more with it, I pushed some commits on master 
branch. Can you try to see if they fixed the issue you reported?

Cheers,
Daniel

On 7/30/12 12:06 PM, Daniel-Constantin Mierla wrote:
> Hello,
>
> can you send the requests for registration and re-registration (ngrep 
> with -W byline or pcap) in order to test them here? I tried to 
> reproduce with an UA I have here and the registration update does the 
> right thing.
>
> Cheers,
> Daniel
>
> On 7/27/12 1:43 PM, José Luis Millán wrote:
>> Yes,
>>
>> Verified, 'gruu_enabled' is set to one.
>>
>> Regards
>>
>> 2012/7/27 Daniel-Constantin Mierla <miconda at gmail.com 
>> <mailto:miconda at gmail.com>>
>>
>>     Hello,
>>
>>     just to be sure before going to any further investigation (as I
>>     remember, such  case I tested a bit with some command line tools
>>     due to lack of a sip phone with good ob/gruu support), do you
>>     have in the config:
>>
>>     modparam("registrar", "gruu_enabled", 1)
>>
>>     The default config file in 3.3, has the parameter set to 0.
>>
>>     Cheers,
>>     Daniel
>>
>>
>>     On 7/27/12 10:05 AM, Iñaki Baz Castillo wrote:
>>
>>         Hi, full agree with this bug report. Adding the devel
>>         maillist. More
>>         comments at the end of the mail:
>>
>>
>>         2012/7/26 José Luis Millán <jmillan at aliax.net
>>         <mailto:jmillan at aliax.net>>:
>>
>>             Hi,
>>
>>             I'm using Kamilio 3.3.0  as registrar server. I`m using
>>             an outbound proxy so
>>             'use_path' parameter or 'registrar' module is enabled.
>>
>>             According to RFC 5626, a re-registration from a specific
>>             combination of AoR,
>>             instance_id and reg_id must update the binding.
>>
>>             ""
>>                 If the registrar receives a re-registration for a
>>             specific
>>                 combination of AOR, and instance-id and reg-id
>>             values, the registrar
>>                 MUST update any information that uniquely identifies
>>             the network flow
>>                 over which the request arrived if that information
>>             has changed, and
>>                 SHOULD update the time the binding was last updated.
>>             ""
>>
>>             In my installation this is not fullfilled as shown:
>>
>>             ""
>>                      AOR:: jmillan
>>                              Contact::
>>             sip:jmillan at MY_IP;transport=ws;ov-ob=a570655c14 Q=
>>                                      Expires:: 181
>>                                      Callid:: 1hgq3khalq2rzfr
>>                                      Cseq:: 108
>>                                      User-agent:: JsSIP 0.1.0
>>                                      Path::
>>             <sip:OUTBOUND_IP:9090;transport=tcp;lr;ovid=de0c0b9f>,<sip:a570655c14 at OUTBOUND_IP:10080;transport=ws;lr;ovid=de0c0b9f;ob>
>>                                      State:: CS_SYNC
>>                                      Flags:: 0
>>                                      Cflag:: 0
>>                                      Socket:: tcp:KAM_IP:5060
>>                                      Methods:: 783
>>                                      Ruid:: uloc-50119d99-328e-1
>>                                      Instance::
>>             <urn:uuid:38dce009-ae1f-4fd1-91dc-99ed9affddc1>
>>                                      Reg-Id:: 1
>>                              Contact::
>>             sip:jmillan at MY_IP;transport=ws;ov-ob=1dd97b4d51 Q=
>>                                      Expires:: 193
>>                                      Callid:: 1hgq3khalq2rzfr
>>                                      Cseq:: 110
>>                                      User-agent:: JsSIP 0.1.0
>>                                      Path::
>>             <sip:OUTBOUND_IP:9090;transport=tcp;lr;ovid=de0c0b9f>,<sip:1dd97b4d51 at OUTBOUND_IP:10080;transport=ws;lr;ovid=de0c0b9f;ob>
>>                                      State:: CS_SYNC
>>                                      Flags:: 0
>>                                      Cflag:: 0
>>                                      Socket:: tcp:KAM_IP:5060
>>                                      Methods:: 783
>>                                      Ruid:: uloc-50119d99-3290-2
>>                                      Instance::
>>             <urn:uuid:38dce009-ae1f-4fd1-91dc-99ed9affddc1>
>>                                      Reg-Id:: 1
>>             ""
>>
>>             The scenario is such that when the client looses the
>>             connection with the
>>             Outbound Server, it reconnects and re-registers to
>>             Kamailio in order to
>>             replace registration and be able to receive in-dialog
>>             messages.
>>
>>         Receiving in-dialog requests should work since GRUU is also being
>>         used. The problem is that the new REGISTER (after UA
>>         disconnection)
>>         does not update the previous one (as this thread reports) so
>>         Kamailio
>>         still chooses the previous binding which does not work anymore.
>>
>>
>>         Regards.
>>
>>
>>
>>
>>
>>     -- 
>>     Daniel-Constantin Mierla - http://www.asipto.com
>>     http://twitter.com/#!/miconda <http://twitter.com/#%21/miconda> -
>>     http://www.linkedin.com/in/miconda
>>     Kamailio Advanced Training, Seattle, USA, Sep 23-26, 2012 -
>>     http://asipto.com/u/katu
>>     Kamailio Practical Workshop, Netherlands, Sep 10-12, 2012 -
>>     http://asipto.com/u/kpw
>>
>>
>>
>>     _______________________________________________
>>     SIP Express Router (SER) and Kamailio (OpenSER) - sr-users
>>     mailing list
>>     sr-users at lists.sip-router.org <mailto:sr-users at 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
> Kamailio Advanced Training, Seattle, USA, Sep 23-26, 2012 -http://asipto.com/u/katu
> Kamailio Practical Workshop, Netherlands, Sep 10-12, 2012 -http://asipto.com/u/kpw

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Training, Seattle, USA, Sep 23-26, 2012 - http://asipto.com/u/katu
Kamailio Practical Workshop, Netherlands, Sep 10-12, 2012 - http://asipto.com/u/kpw

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20120730/69fd1b6b/attachment-0001.htm>


More information about the sr-users mailing list