jookies / jasmin

Jasmin - Open source SMS gateway
http://jasminsms.com
Other
1.02k stars 549 forks source link

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

Closed Vccxx closed 4 months ago

Vccxx commented 2 years ago

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.

farirat commented 2 years ago

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

Vccxx commented 2 years ago

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.

farirat commented 2 years ago

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.

Vccxx commented 2 years ago

@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 commented 2 years ago

@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

farirat commented 2 years ago

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

github-actions[bot] commented 6 months ago

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

github-actions[bot] commented 4 months ago

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