[OpenSIPS-Devel] Issue in opensips-cli 9.3.4 while adding destination in dispatcher

Muhammad Aqib Ali aqibali56822 at gmail.com
Thu Mar 21 10:01:59 UTC 2024


The issue is with opnsips-cli version 9..3.4 that I was unable to add a
destination in the dispatcher from the OpenSIPS control panel. The reason
is that the code for adding a destination in the dispatcher is not syncing
with the control panel version 9.3.4. Although it works fine for the 3.3
version of the control panel. The solution is to open
/var/www/html/opensips-cp/web/tools/system/dispatcher/apply_changes.php and
update the query as follows:

$sql = "INSERT INTO ".$table." (setid, destination, socket, state, weight,
attrs, probe_mode, description) VALUES (?, ?, ?, ?, ?, ?, ?, ?)";

There was a very small mistake where the number of question marks was 7
earlier. It should be 8 for version 9.3.4."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20240321/88f61328/attachment.html>


More information about the Devel mailing list