[OpenSIPS-Users] Push Notification - lookup not returning 2
Liviu Chircu
liviu at opensips.org
Thu Jul 29 17:22:10 EST 2021
On 29.07.2021 19:07, John Quick wrote:
> modparam("mid_registrar", "pn_skip_pn_interval", 6)
So all looks good except for this condition [1] which returns false,
otherwise the lookup() result would immediately be 2. Now, that
condition will only return false if the contact had registered within
the last 6 seconds, case in which your custom "pn_skip_pn_interval"
kicks in, effectively skipping sending a PN to that device.
Have you automated this test scenario to the point where the INVITE
always lands within 6 seconds of the registration, or does the problem
happen even long after the WebRTC phone registers?
[1]: https://github.com/OpenSIPS/opensips/blob/master/lib/reg/lookup.c#L426
--
Liviu Chircu
www.twitter.com/liviuchircu | www.opensips-solutions.com
OpenSIPS Summit 2021 Distributed | www.opensips.org/events
More information about the Users
mailing list