[PATCH] SQLBOX Port Bug
"Mi Reflejo" <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
SQLbox is not reading smsbox-port. It is hardcoded to 13005. There is the patch for that issue. M.
sqlbox_port.patch
(application/octet-stream, 520 B)
@@ -593,7 +598,6 @@
int ssl = 0;
/* some default values */
- sqlbox_port = 13005;
sqlbox_port_ssl = 0;
bearerbox_host = octstr_create(BB_DEFAULT_HOST);
bearerbox_port = BB_DEFAULT_SMSBOX_PORT;
@@ -622,6 +626,8 @@
sqlbox_id = cfg_get(grp, octstr_imm("smsbox-id"));
global_sender = cfg_get(grp, octstr_imm("global-sender"));
+ if (cfg_get_integer(&sqlbox_port, grp, octstr_imm("smsbox-port")) == -1)
+ sqlbox_port = 13005;
/* setup logfile stuff */
logfile = cfg_get(grp, octstr_imm("log-file"));