[OpenSIPS-Devel] [ opensips-Bugs-3586532 ] [avpops] avp_print() Doesn't Print AVP Name

SourceForge.net noreply at sourceforge.net
Tue Nov 13 01:42:15 CET 2012


Bugs item #3586532, was opened at 2012-11-12 16:42
Message generated for change (Tracker Item Submitted) made by dmsanders
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3586532&group_id=232389

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: 1.8.x
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: David Sanders (dmsanders)
Assigned to: Nobody/Anonymous (nobody)
Summary: [avpops] avp_print() Doesn't Print AVP Name

Initial Comment:
If using named AVPs in a script, using avp_print() from avpops to try to debug does not provide the names, only the IDs used internally. This makes it hard to match up the script AVPs with the output.

Here's some example output from two named AVPs:

osips[8196]: INFO:avpops:ops_print_avp:                     id=<27> 
osips[8196]: INFO:avpops:ops_print_avp:                     val_str=<1919XXXXXXX / 11> 
osips[8196]: INFO:avpops:ops_print_avp: p=0x2b8c825daa18, flags=0x0002 
osips[8196]: INFO:avpops:ops_print_avp:                     id=<18> 
osips[8196]: INFO:avpops:ops_print_avp:                     val_str=<1831XXXXXXX / 11> 

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3586532&group_id=232389



More information about the Devel mailing list