[OpenSIPS-Devel] [opensips] dialplan: improper partiton parameter parsing (#511)

Ovidiu Sas notifications at github.com
Thu May 14 20:49:09 CEST 2015


The example that is given in the docs doesn't work.
If a space is inserted before and after the last ';', then the parameter is properly parsed.
Non working definition:
````
modparam("dialplan", "partition", " part2 : table_name = dialplan ; db_url = mysql://user:passwb@localhost/db;")
````
Working definition:
````
modparam("dialplan", "partition", " part2 : table_name = dialplan ; db_url = mysql://user:passwb@localhost/db ; ")
````

The parsing should be more flexible with respect to spaces.

Also, it seems that the name of the partition is stored with an extra space at the end of the partition name and dp_reload doesn't work for a non "default" partition.

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/511
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20150514/a36fa7b0/attachment.htm>


More information about the Devel mailing list