[SR-Users] gruu and dead-lock in registrar module

Daniel-Constantin Mierla miconda at gmail.com
Wed May 1 10:46:21 CEST 2013


Hello,

looked over the code and seems ok. The domain lock is set inside 
ul.get_urecord_by_ruid(_d, ahash, &inst, &r, &ptr).

With temp gruu, the real aor is not present in URI, it will be 
discovered based on ahash (aor hash id) and ruid, which compose the 
temp-gruu value. If the record is discovered by ahash+ruid then the 
domain is kept locked, the aor is set to the value from the record, in 
this way the domain is unlocked at the end of the respective function.

Are you doing other operations in config with usrloc/registrar rather 
than save()/lookup()? Any mi/rpc commands? Any other modules bound to 
usrloc (e.g., pua_usrloc)?

Cheers,
Daniel

On 4/30/13 5:41 PM, Andreas Granig wrote:
> Hi Daniel,
>
> On 04/30/2013 05:34 PM, Daniel-Constantin Mierla wrote:
>> what version are you playing with? To look in the right branch when
>> troubleshooting first time, then look at the others that might be
>> affected...
>
> The affected version is latest 3.3 branch, but the same code is there 
> in 4.0 as well.
>
> Andreas
>
> _______________________________________________
> 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://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Training, San Francisco, USA - June 24-27, 2013
   * http://asipto.com/u/katu *




More information about the sr-users mailing list