[OpenSIPS-Devel] [ opensips-Bugs-2920423 ] Reference opensips.cfg calls obsolete functions

SourceForge.net noreply at sourceforge.net
Thu Dec 24 09:02:33 CET 2009


Bugs item #2920423, was opened at 2009-12-24 02:59
Message generated for change (Comment added) made by bogdan_iancu
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=2920423&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: docs
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Yar Tikhiy (yarq)
>Assigned to: Bogdan-Andrei Iancu (bogdan_iancu)
Summary: Reference opensips.cfg calls obsolete functions

Initial Comment:
The reference opensips.cfg calls check_to() and check_from() in the code blocks that do authentication.  As soon as the code blocks are uncommented to actually enable auth, opensips will start failing with an error like this:

ERROR:uri:obsolete_fixup_0: You are using one of these obsolete functions: "check_to", "check_from", "does_uri_exist","get_auth_id". They have been renamed with the "db_" prefix.

This can be confusing to novice users, especially given that db_check_to() and db_check_from() don't seem to be documented.
Thanks!

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

>Comment By: Bogdan-Andrei Iancu (bogdan_iancu)
Date: 2009-12-24 10:02

Message:
Hi Yar,

Thanks, I made the necessary fixes ! The new functions are documented
under http://www.opensips.org/html/docs/modules/devel/uri.html.

Regards,
Bogdan

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

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



More information about the Devel mailing list