jasmin icon indicating copy to clipboard operation
jasmin copied to clipboard

Failed to send my first SMS message using docker-compose installation.

Open Vccxx opened this issue 2 years ago • 6 comments

I'm following the official tutorial here to install jasmin client and server to send message to my own phone.

I followed the tutorial step by step and everything seems works fine until I found I can't receive any message after I got the feedback which should means success: image

I check the output of cat /var/log/jasmin/jcli.log and found the config file '/etc/jasmin/store/jcli-prod.filters and /etc/jasmin/store/jcli-prod.httpccs seems missing:

1646420937(1)

And the /var/log/jasmin/messages.log keep saying that "SMPPC is not connected":

image

I don't think is the conection problem because I can ping my server from jasmin client docker container and I didn't receive any connection on the jasmin server . But FYI , I use the same docker and same step on my server with a /etc/jasmin/jasmin.cfg file in which I uncomment the [smpp-server] config like this , and I use this docker as smpp-server (run on different machine and the network is fine.)

image

I wonder if there is anything I misunderstood about the smpp client and server deployment, I would appreciate it if you can offer any help.

Vccxx avatar Mar 04 '22 19:03 Vccxx

What's in your default-smpps_01.log (smpp server side) and default-DEMO_CONNECTOR.log (smpp client side) ?

farirat avatar Mar 04 '22 19:03 farirat

The content of /var/log/jasmin/default-smpps_01.log on the server side is: image The content of /var/log/jasmin/default-DEMO_CONNECTOR.log on the client side is: image It seems that it's the "Invalid password" issue , I notice that in this link you have written about the system_id and password to bind to the server , but I can't figure out where to config these two parameters.

Vccxx avatar Mar 05 '22 07:03 Vccxx

On smpp server side you may manage your users with jcli's user and group modules, and on smpp client side, you set username and password of the connector when creating/updating it with jcli's smppccm module.

farirat avatar Mar 05 '22 07:03 farirat

@farirat What you mean is that I should configure the same group and username/password on the server using jcli just like what I do on the client side? image

Vccxx avatar Mar 05 '22 07:03 Vccxx

@farirat I have solved the connection problem , Thanks for your help. But there still no SMS message sent to my phone. I check the /var/log/jasmin/default-smpps_01.log and it says that something wrong with the router module: image

Vccxx avatar Mar 05 '22 09:03 Vccxx

you have to set mtroute to allow routing of your submit through your provider.

farirat avatar Mar 07 '22 09:03 farirat

Stale issue detected, remove stale label or comment or this will be closed soon.

github-actions[bot] avatar Mar 07 '24 01:03 github-actions[bot]

This issue was closed because it has been stalled more than a year with no activity.

github-actions[bot] avatar Apr 21 '24 02:04 github-actions[bot]