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

SourceForge.net noreply at sourceforge.net
Wed Mar 18 19:47:48 CET 2009


Bugs item #2065070, was opened at 2008-08-21 15:31
Message generated for change (Comment added) made by sf-robot
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: core
Group: trunk
>Status: Closed
Resolution: Fixed
Priority: 2
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Bogdan-Andrei Iancu (bogdan_iancu)
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.


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

>Comment By: SourceForge Robot (sf-robot)
Date: 2009-03-18 18:47

Message:
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).

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

Comment By: Bogdan-Andrei Iancu (bogdan_iancu)
Date: 2009-01-05 10:53

Message:
Now OpenSIPS will report and fail to start if a call to an undefined route
is detected in the script.

Bogdan

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

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