[SR-Users] Registering "upstream" with the uac module, but with authentication

Olle E. Johansson oej at edvina.net
Tue Sep 17 14:30:59 CEST 2013


17 sep 2013 kl. 14:22 skrev Steve Davies <steve-lists-srusers at connection-telecom.com>:

> 
> 
> 
> On 17 September 2013 14:02, Olle E. Johansson <oej at edvina.net> wrote:
> 
> Because the REGISTER has expires=0 on the contact, so this is a DEREGISTRATION,
> and that's why you do not see any contacts in the 200 OK.
> You need to check that you have contact headers before saving based on the 200 OK. Or possibly
> read the response code from save().
> 
> 
> I do understand that its a deregistration.  I want my Kamailio to remove the local registration, but it is not.
> 
> The registrar module save() documentation says that "The function processes a REGISTER message. It can add, remove or modify usrloc records depending on Contact and Expires HFs in the REGISTER message.".  So it seems it would do the right thing if it could see the actual REGISTER message.  But since I'm in the in reply_route looks like it is working off the reply.  In which case it can't "see" the Contact and especially not the ;expires=0.  Is that right?
http://www.kamailio.org/wiki/cookbooks/4.0.x/pseudovariables#t_req_pv

Documentation is your best friend!

/O

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


More information about the sr-users mailing list