[OpenSIPS-Devel] [ opensips-Bugs-3213967 ] can not check is $argv[name] exists

SourceForge.net noreply at sourceforge.net
Tue Jun 21 11:35:35 CEST 2011


Bugs item #3213967, was opened at 2011-03-15 21:08
Message generated for change (Settings changed) made by razvancrainea
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3213967&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: core
Group: 1.6.x
>Status: Closed
Resolution: None
Priority: 5
Private: No
Submitted By: Victor Gamov (vitspec)
Assigned to: Razvan Crainea (razvancrainea)
Summary: can not check is $argv[name] exists

Initial Comment:
When I try to check $argv[name] like 
if ( $argv[name] == null )
and command line option  '-o name=val' is not specifiend then error occured and OpenSIP not started
ERROR:core:pv_parse_spec: pvar "argv" has an invalid name param [name]

1.6.3 and 1.6.4 fails

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

Comment By: Razvan Crainea (razvancrainea)
Date: 2011-03-16 19:10

Message:
Hello Victor,

I have just committed a fix for this. Please let me know if your problem
is solved.

Regards,
Razvan

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

Comment By: Victor Gamov (vitspec)
Date: 2011-03-15 21:16

Message:
read as:
if ( $argv(name) == null ) 

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

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



More information about the Devel mailing list