This Question is Not Answered

1 "correct" answer available (5 pts) 2 "helpful" answers available (1 pts)
9 Replies Last post: Mar 9, 2009 6:22 PM by oliverkazaam41  
Click to view oliverkazaam41's profile   84 posts since
Jan 31, 2009

Mar 4, 2009 4:48 PM

Session Registration Expiration


Hi,

I have this weird problem. I am using opensbc as upper registrar for my asterisk. I have different kinds of SIP phone registered in opensbc. For Polycom phones I have to set the expire to 20 ms for it not to loose registration to opensbc. This works very well. What I am having problem is for SIP phones which you can't set the expiration. Is there a way for opensbc not to loose registration if the phone expiration is set by default to a 3000 sec. Thanks in advance

Click to view joegen's profile   539 posts since
Apr 28, 2007
1. Mar 4, 2009 9:36 PM in response to: oliverkazaam41
Re: Session Registration Expiration
When you say lose registraton, do you mean that the registration disappears from the registration status? Did the user-agent send a registration refresh?
Click to view joegen's profile   539 posts since
Apr 28, 2007
3. Mar 5, 2009 10:24 PM in response to: oliverkazaam41
Re: Session Registration Expiration

There is no mechanism in RFC 3261 that allows a registrar to decrease session expiration. It only allows to increase using Interval Too Short response. I have just added ability in OpenSBC to send OPTIONS as NAT keep-alive. This is set in General-Parameters/ Send-OPTIONS-NAT-Keep-Alive. Set this value to TRUE and restart OpenSBC. It should then send OPTIONS instead of CLF/CRLF. This is already in CVS.

Just to warn you though, Nokia might have a very good reason why it did not make expires configurable. I doubt that your phone battery would last a day if its responding to SIP messages every 15 or so seconds.

Joegen

Click to view joegen's profile   539 posts since
Apr 28, 2007
5. Mar 8, 2009 10:36 PM in response to: oliverkazaam41
Re: Session Registration Expiration
Yes, I" understand that your nokia does not send NAT keep alives. That is the reason why I added OPTIONS feature as NAT keep alive in OpenSBC. Did you even try upgrading your OpenSBC as I suggested?
Click to view joegen's profile   539 posts since
Apr 28, 2007
7. Mar 9, 2009 12:23 AM in response to: oliverkazaam41
Re: Session Registration Expiration
Whether its wifi or a wire really shoudn't matter. I would start by looking at the logs of OpenSBC and check whether the nokia phone is responding to OPTIONS. If not, try setting the interval from 15 seconds to a lower value and see if that changes anything.