Strict Standards: call_user_func() expects parameter 1 to be a valid callback, non-static method dokuwiki_TextFormatter::render() should not be called statically in /var/www/sip-router.kamailio.org/flyspray/includes/class.tpl.php on line 552 FS#320 : Configuration Directives: Five Syntaxes: kamailio.cfg:

sip-router

Strict Standards: call_user_func() expects parameter 1 to be a valid callback, non-static method dokuwiki_TextFormatter::render() should not be called statically in /var/www/sip-router.kamailio.org/flyspray/includes/class.tpl.php on line 552

SIP Router Project

Tasklist

FS#320 - Configuration Directives: Five Syntaxes: kamailio.cfg:

Attached to Project: sip-router
Opened by Brian LaVallee (poing) - Wednesday, 26 June 2013, 08:51 GMT
Task Type Improvement
Category Core
Status Unconfirmed
Assigned To No-one
Operating System All
Severity Low
Priority Normal
Reported Version 4.0
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 1
Private No

Details

When I opened the kamailio.cfg file for the first time, I was lost in the syntax variations.
There are actually five (5) different variations.

REQUEST: Please work towards a single directive syntax for the kamailio.cfg configuration file.

I ended up putting together a wiki page that covers the different variations. Since there are a number of areas that can be improved, please review the wiki page to understand the various issues.

http://www.kamailio.org/wiki/cookbooks/4.0.x/core/cfg

A FEW SUGGESTIONS:

- Move the Route Function [Scripts] to a separate (or individual) configuration file(s).
- Uniform treatment of name/value pairs.
– Settle on a single syntax. (Normal or Apache Style)
– Add flexibility for values enclosed in quotes. “All”, none, or just “has a white-space”.
- Add PHP style // for line comments.

This task depends upon

Comment by Olle Johansson (oej) - Sunday, 30 November 2014, 10:16 GMT
Strict Standards: call_user_func() expects parameter 1 to be a valid callback, non-static method dokuwiki_TextFormatter::render() should not be called statically in /var/www/sip-router.kamailio.org/flyspray/includes/class.tpl.php on line 552

Important feedback. While we want the example config to actually show different ways of doing things, it can be very confusing. Now that we have multiple example configs we could try to clean up the basic one.

Loading...