[OpenSIPS-Users] Question regarding expire time of mid-register

2021-03-16 Thread Jeffrey Zhao
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" ___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Handling mobile switch from wifi to data

2021-03-16 Thread Johan De Clercq
Implement push.

Op di 16 mrt. 2021 om 13:15 schreef Mark Allen :

> We are using OpenSIPS 3.1 as a mid_registrar in AOR Throttling mode. When
> a mobile moves from data to wifi or vice versa, my understanding is that
> the registration on OpenSIPS becomes stale (because the phone has a new IP
> address). Does this mean that the mobile phone is not registered until
> registration expiry is reached on the mobile app and a new REGISTER is
> sent? If so, is there anything that can be done to mitigate this?
> ___
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] Handling mobile switch from wifi to data

2021-03-16 Thread Mark Allen
We are using OpenSIPS 3.1 as a mid_registrar in AOR Throttling mode. When a
mobile moves from data to wifi or vice versa, my understanding is that the
registration on OpenSIPS becomes stale (because the phone has a new IP
address). Does this mean that the mobile phone is not registered until
registration expiry is reached on the mobile app and a new REGISTER is
sent? If so, is there anything that can be done to mitigate this?
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users