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

SourceForge.net noreply at sourceforge.net
Wed Feb 14 13:37:34 CET 2007


Bugs item #1657899, was opened at 2007-02-12 13:38
Message generated for change (Comment added) made by miconda
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: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: vabdulla (vabdulla)
>Assigned to: Daniel-Constantin Mierla (miconda)
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
.


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

>Comment By: Daniel-Constantin Mierla (miconda)
Date: 2007-02-14 14:37

Message:
Logged In: YES 
user_id=1246013
Originator: NO

Fixed on CVS. Thanks for reporting.

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

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