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

SourceForge.net noreply at sourceforge.net
Tue Dec 4 10:50:56 CET 2012


Bugs item #3586532, was opened at 2012-11-12 16:42
Message generated for change (Comment added) made by razvancrainea
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: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: David Sanders (dmsanders)
Assigned to: Razvan Crainea (razvancrainea)
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> 

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

>Comment By: Razvan Crainea (razvancrainea)
Date: 2012-12-04 01:50

Message:
Hi, David!

This has been fixed starting with trunk revision #9469 and backported to
1.7 and 1.8.

Regards,
Răzvan

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

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