[SR-Users] min expires question

Fabian Borot fborot at hotmail.com
Thu Aug 18 18:20:25 CEST 2011


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"?

# ----- 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
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20110818/70ba4156/attachment.htm>


More information about the sr-users mailing list