{"action":"created","issue":{"url":"https://api.github.com/repos/OpenSIPS/opensips/issues/511","labels_url":"https://api.github.com/repos/OpenSIPS/opensips/issues/511/labels{/name}","comments_url":"https://api.github.com/repos/OpenSIPS/opensips/issues/511/comments","events_url":"https://api.github.com/repos/OpenSIPS/opensips/issues/511/events","html_url":"https://github.com/OpenSIPS/opensips/issues/511","id":76453611,"number":511,"title":"dialplan: improper partiton parameter parsing","user":{"login":"ovidiusas","id":4303807,"avatar_url":"https://avatars.githubusercontent.com/u/4303807?v=3","gravatar_id":"","url":"https://api.github.com/users/ovidiusas","html_url":"https://github.com/ovidiusas","followers_url":"https://api.github.com/users/ovidiusas/followers","following_url":"https://api.github.com/users/ovidiusas/following{/other_user}","gists_url":"https://api.github.com/users/ovidiusas/gists{/gist_id}","starred_url":"https://api.github.com/users/ovidiusas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ovidiusas/subscriptions","organizations_url":"https://api.github.com/users/ovidiusas/orgs","repos_url":"https://api.github.com/users/ovidiusas/repos","events_url":"https://api.github.com/users/ovidiusas/events{/privacy}","received_events_url":"https://api.github.com/users/ovidiusas/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/OpenSIPS/opensips/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"ionutrazvanionita","id":7924437,"avatar_url":"https://avatars.githubusercontent.com/u/7924437?v=3","gravatar_id":"","url":"https://api.github.com/users/ionutrazvanionita","html_url":"https://github.com/ionutrazvanionita","followers_url":"https://api.github.com/users/ionutrazvanionita/followers","following_url":"https://api.github.com/users/ionutrazvanionita/following{/other_user}","gists_url":"https://api.github.com/users/ionutrazvanionita/gists{/gist_id}","starred_url":"https://api.github.com/users/ionutrazvanionita/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ionutrazvanionita/subscriptions","organizations_url":"https://api.github.com/users/ionutrazvanionita/orgs","repos_url":"https://api.github.com/users/ionutrazvanionita/repos","events_url":"https://api.github.com/users/ionutrazvanionita/events{/privacy}","received_events_url":"https://api.github.com/users/ionutrazvanionita/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-05-14T18:49:04Z","updated_at":"2015-05-18T16:43:09Z","closed_at":null,"body":"The example that is given in the docs doesn't work.\r\nIf a space is inserted before and after the last ';', then the parameter is properly parsed.\r\nNon working definition:\r\n````\r\nmodparam(\"dialplan\", \"partition\", \" part2 : table_name = dialplan ; db_url = mysql://user:passwb@localhost/db;\")\r\n````\r\nWorking definition:\r\n````\r\nmodparam(\"dialplan\", \"partition\", \" part2 : table_name = dialplan ; db_url = mysql://user:passwb@localhost/db ; \")\r\n````\r\n\r\nThe parsing should be more flexible with respect to spaces.\r\n\r\nAlso, 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."},"comment":{"url":"https://api.github.com/repos/OpenSIPS/opensips/issues/comments/103122434","html_url":"https://github.com/OpenSIPS/opensips/issues/511#issuecomment-103122434","issue_url":"https://api.github.com/repos/OpenSIPS/opensips/issues/511","id":103122434,"user":{"login":"ionutrazvanionita","id":7924437,"avatar_url":"https://avatars.githubusercontent.com/u/7924437?v=3","gravatar_id":"","url":"https://api.github.com/users/ionutrazvanionita","html_url":"https://github.com/ionutrazvanionita","followers_url":"https://api.github.com/users/ionutrazvanionita/followers","following_url":"https://api.github.com/users/ionutrazvanionita/following{/other_user}","gists_url":"https://api.github.com/users/ionutrazvanionita/gists{/gist_id}","starred_url":"https://api.github.com/users/ionutrazvanionita/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ionutrazvanionita/subscriptions","organizations_url":"https://api.github.com/users/ionutrazvanionita/orgs","repos_url":"https://api.github.com/users/ionutrazvanionita/repos","events_url":"https://api.github.com/users/ionutrazvanionita/events{/privacy}","received_events_url":"https://api.github.com/users/ionutrazvanionita/received_events","type":"User","site_admin":false},"created_at":"2015-05-18T16:43:09Z","updated_at":"2015-05-18T16:43:09Z","body":"https://github.com/OpenSIPS/opensips/commit/7846e63d1e803484d130604acc0e6798240f3587 changed the pasing logic a little bit; split the attributes into tokens \"TYPE=VALUE;\", and the parsed each token, TYPE and VALUE."}}