[sr-dev] registrar lookup() and xavp_rcd
Henning Westerholt
hw at skalatan.de
Tue Aug 4 18:25:13 CEST 2020
Hi Alex,
the relevant code in the internal lookup functions is a few years old, so I think this is intended functionality.
Just go ahead in extending the docs.
Cheers,
Henning
--
Henning Westerholt – https://skalatan.de/blog/
Kamailio services – https://gilawa.com
-----Original Message-----
From: sr-dev <sr-dev-bounces at lists.kamailio.org> On Behalf Of Alex Balashov
Sent: Tuesday, August 4, 2020 5:48 PM
To: sr-dev at lists.kamailio.org
Subject: [sr-dev] registrar lookup() and xavp_rcd
Hi,
The documentation for `registrar` says that record properties can be stored in the XAVP set in the `xavp_rcd` modparam when `registered()` is called.
But it does not say that this XAVP will be populated when a `lookup()` is done. And yet, it is populated; I have recently benefited from this.
I think this is a really bit of functionality to mention, otherwise one is left guessing how many registrar operations are required to obtain usrloc binding data.
I will be happy to push a documentation fix to correct this, but I wanted to clarify whether this is just an oversight or whether this is unexpected behaviour.
Thanks,
-- Alex
--
Alex Balashov | Principal | Evariste Systems LLC
Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free)
Web: http://www.evaristesys.com/, http://www.csrpswitch.com/
_______________________________________________
Kamailio (SER) - Development Mailing List sr-dev at lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
More information about the sr-dev
mailing list