[Devel] [ openser-Bugs-1657899 ] exec_avp return value list reversed

SourceForge.net noreply at sourceforge.net
Mon Feb 12 12:38:25 CET 2007


Bugs item #1657899, was opened at 2007-02-12 12:38
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=1657899&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 devel
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: vabdulla (vabdulla)
Assigned to: Nobody/Anonymous (nobody)
Summary: exec_avp return value list reversed

Initial Comment:
Hello,

I have played whith the exec module and discovered that the exec_avp command returns reversed output lines i.e. the last line is affected to the first avp.

More concretly, I have the following command in my config file:
--
exec_avp("./test-exec-avp.sh","$avp(s:fi);$avp(s:se);$avp(s:th)");
xlog("L_DBG","recv:fi=$avp(s:fi),se=$avp(s:se),th=$avp(s:th)");
--

the shell script simply outputs:
--
vma at proxy-sip:~$ ./test-exec-avp.sh
1st
2nd
3rd
--

But when I look to the logs I see that the avps have the following values:
$avp(s:fi)="3rd"
$avp(s:se)="2nd"
$avp(s:th)="1st"

Very strange...

-- 
Regards,
-vma
.


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

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



More information about the Devel mailing list