Dear Team

For legacy Cisco IP phones, the SIP registration expiration time must be set to 
less than 120 seconds, and there is no way to control the timer on phone end.
It must be controlled on the SIP registrar end(Expires value set to 120 in 
registration reply SIP message).


I am not sure whether there is a way in OpenSIPS script to update the 'Expires' 
header(base on user agent string, if Cisco Phone, then Expires: 120) in the 
onreply_route.


Which parameter is writtable to achieve the target?


Thank you so much!





REGISTER sip:test.com SIP/2.0
Via: SIP/2.0/UDP 10.167.6.60:5060;branch=z9hG4bK3593290796
From: "Ooi, Liyong" <sip:3...@test.com&gt;;tag=30622762
To: "Ooi, Liyong" <sip:3...@test.com&gt;
Call-ID: 0_2497201195@10.167.6.60
CSeq: 1 REGISTER
Contact: <sip:3827@10.167.6.60:5060&gt;
Allow: INVITE, INFO, PRACK, ACK, BYE, CANCEL, OPTIONS, NOTIFY, REGISTER, 
SUBSCRIBE, REFER, PUBLISH, UPDATE, MESSAGE
Max-Forwards: 70
User-Agent: Cisco CP-7975
Expires: 900
Allow-Events: talk,hold,conference,refer,check-sync
Content-Length: 0
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to