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

SourceForge.net noreply at sourceforge.net
Wed Mar 16 18:01:38 CET 2011


Bugs item #3213967, was opened at 2011-03-15 21:08
Message generated for change (Settings changed) made by anca_vamanu
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: Open
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: 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