[OpenSER-Devel] [ openser-Bugs-1768774 ] pua_set_publish()+save() clears AVPs

SourceForge.net noreply at sourceforge.net
Mon Aug 6 21:21:21 CEST 2007


Bugs item #1768774, was opened at 2007-08-06 12:21
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1768774&group_id=139143

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: ver 1.2.x
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Kobi Eshun (ekobi)
Assigned to: Nobody/Anonymous (nobody)
Summary: pua_set_publish()+save() clears AVPs

Initial Comment:
Hi,

The pua_set_publish() functionality provided by the pua_usrloc module appears to clear AVPs. Consider the following script snippet:

    $avp(i:900)="I am an AVP, and I exist...";
    xlog("L_CRIT", "avp(i:900) before save(location): $avp(i:900)");
    pua_set_publish();
    save("location");
    xlog("L_CRIT", "avp(i:900) after save(location): $avp(i:900)");

and its corresponding log output:

 0(27183) avp(i:900) before save(location): I am an AVP, and I exist...
 0(27183) avp(i:900) after save(location): <null>

This behavior is observed with code from the tip of the stable branch. Cheers,
--
kobi

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1768774&group_id=139143



More information about the Devel mailing list