[OpenSIPS-Devel] [ opensips-Bugs-2065070 ] Lack of warning/error when calling an undeclared route

SourceForge.net noreply at sourceforge.net
Thu Aug 21 17:31:31 CEST 2008


Bugs item #2065070, was opened at 2008-08-21 15:31
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=2065070&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: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Lack of warning/error when calling an undeclared route

Initial Comment:
OpenSIPS (Openser neither) will not complain when a route is called but have not been created.

(Sample code just for examplation)

route
{
   route(1);
   route(2);
   route(3);
}

route[1]
{
  return(1);
}

route[3]
{
  return(1);
}

does not cause any warning, OpenSIPS will start fine and just ignore the route(2); call.


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

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



More information about the Devel mailing list