Am 04.02.2010 17:24, schrieb Alex Balashov:
On 02/04/2010 11:22 AM, Dubravko Caric wrote:
Hi all,
i have a problem when using AVPs which are loaded on client registration by the "load_credentials".
in the "subscriber" table i have "rpid" column (value 12345), "email address" (bob@example.com) and "acl" (value 3). when client registers, these three AVPs are loaded as you can see in debug. But when i want to use these AVPs it seems that they are empty.
i don't understand if they are ready for use or do i need to load them and how? i'm not doing any actions on AVPs so i could by mistake delete or replace the original ones...
version of kamailio is 1.5.1
You're not trying to use them after calling consume_credentials(), or before calling www_authorize(), are you?
Or in other words: make sure you call one of the [www|proxy]_authorize functions before accessing the AVPs.
klaus