Closed GoogleCodeExporter closed 9 years ago
Fixed.
http://code.google.com/p/smscgateway/source/detail?r=6edfc71e97f0
Original comment by amit.bha...@gmail.com
on 7 Jul 2012 at 5:35
the install went smoothly ... but ..
[root@sv01apsmsc01 bin]# ./ss7-cli.sh
version=2.0.0-SNAPSHOT,name=Mobicents CLI,prefix=mobicents,vendor=TeleStax
mobicents>connect
mobicents(local)>smsc esme create 1005 csmsc123 172.16.29.36 2775 TRANSMITTER
Successfully created ESME name=1005
mobicents(local)>smsc esme create 1015 csmsc123 172.16.29.36 2775 RECEIVER esme-range ^92.*$
Successfully created ESME name=1015
after you press enter, it takes a long time to print that its created the ESME ... probably its just timing out with a false positive ... (note to self: maybe we should have timestamp on each cli console output)
second, there is a write error on mobicents console
03:23:14,616 ERROR [SmscManagement] Error while persisting the Rule state in file
java.lang.NullPointerException
at org.mobicents.smsc.smpp.Esme$1.write(Esme.java:233)
at org.mobicents.smsc.smpp.Esme$1.write(Esme.java:196)
at javolution.xml.XMLFormat$OutputElement.add(XMLFormat.java:750)
at javolution.xml.XMLBinding$2.write(XMLBinding.java:372)
at javolution.xml.XMLFormat$OutputElement.add(XMLFormat.java:836)
at javolution.xml.XMLObjectWriter.write(XMLObjectWriter.java:273)
at org.mobicents.smsc.smpp.SmscManagement.store(SmscManagement.java:216)
at org.mobicents.smsc.smpp.SmscManagement.createEsme(SmscManagement.java:185)
at org.mobicents.smsc.smpp.SMSCShellExecutor.createEsme(SMSCShellExecutor.java:155)
at org.mobicents.smsc.smpp.SMSCShellExecutor.executeSmsc(SMSCShellExecutor.java:215)
at org.mobicents.smsc.smpp.SMSCShellExecutor.execute(SMSCShellExecutor.java:315)
at org.mobicents.ss7.management.console.ShellServer.perform(ShellServer.java:168)
at org.mobicents.protocols.ss7.scheduler.Task.run(Task.java:116)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
and third... the file itself is 0 size
-rw-r--r-- 1 root root 0 Jul 8 03:23 SmscManagement_smsc.xml
dir perms etc seem ok, it creates the file just fine ...
also, it doesn't seem to use the PORT value, its using 2776 even if I put 2775
Original comment by wasimb...@gmail.com
on 7 Jul 2012 at 10:49
Fixed
http://code.google.com/p/smscgateway/source/detail?r=1a9d985a5bc6
Original comment by amit.bha...@gmail.com
on 8 Jul 2012 at 9:15
Original issue reported on code.google.com by
wasimb...@gmail.com
on 27 Jun 2012 at 2:47