[SR-Users] min expires question

Daniel-Constantin Mierla miconda at gmail.com
Fri Aug 19 13:04:29 CEST 2011


Hello,

On 8/18/11 6:20 PM, Fabian Borot wrote:
> Hello
>
> This is how my registrar module is configured, hoping that min-expires 
> set to 30 wont allow registration attempts more often than 30 seconds, 
> but if I configure a UAC to register every 15 seconds I see that 
> kamailio allows it. Shouldn't it reply with "422 Session Interval Too 
> Small" or "423 Interval Too Brief"?
it will not allow a REGISTER with Expires value less than 30sec. But 
even the phone sends a REGISTER with Expires 3600 (for example), it can 
send again in 10 sec another REGISTER with Expires 3600. In order to see 
if there is something incorrect, send us full REGISTER requests and the 
replies.

Cheers,
Daniel

>
> # ----- registrar params -----
> modparam("registrar", "default_expires", 120)
> modparam("registrar", "min_expires", 30)
> modparam("registrar", "method_filtering", 1)
> /* uncomment the next line to disable parallel forking via location */
> # modparam("registrar", "append_branches", 0)
> /* uncomment the next line not to allow more than 10 contacts per AOR */
> #modparam("registrar", "max_contacts", 10)
>
>
>  131.380336  192.168.1.6 -> 192.168.1.194 SIP Request: REGISTER 
> sip:192.168.1.194
> 131.381174 192.168.1.194 -> 192.168.1.6  SIP Status: 200 OK    (1 
> bindings)
>
> 144.386014  192.168.1.6 -> 192.168.1.194 SIP Request: REGISTER 
> sip:192.168.1.194
> 144.387110 192.168.1.194 -> 192.168.1.6  SIP Status: 200 OK    (1 
> bindings)
>
> 157.395358  192.168.1.6 -> 192.168.1.194 SIP Request: REGISTER 
> sip:192.168.1.194
> 157.396340 192.168.1.194 -> 192.168.1.6  SIP Status: 200 OK    (1 
> bindings)
>
> 170.404905  192.168.1.6 -> 192.168.1.194 SIP Request: REGISTER 
> sip:192.168.1.194
> 170.405771 192.168.1.194 -> 192.168.1.6  SIP Status: 200 OK    (1 
> bindings)
>
> 183.414375  192.168.1.6 -> 192.168.1.194 SIP Request: REGISTER 
> sip:192.168.1.194
> 183.415217 192.168.1.194 -> 192.168.1.6  SIP Status: 200 OK    (1 
> bindings)
>
> txs fborot
>
>
> _______________________________________________
> 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
Kamailio Advanced Training, Oct 10-13, Berlin: http://asipto.com/u/kat
http://linkedin.com/in/miconda -- http://twitter.com/miconda

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


More information about the sr-users mailing list