jookies / jasmin

Jasmin - Open source SMS gateway
http://jasminsms.com
Other
986 stars 539 forks source link

Restful Api secure/sendbatch not working #1188

Open grimnir52 opened 3 months ago

grimnir52 commented 3 months ago

I sent a request to secure/sendbatch and got back a response with 200 ok and the batch id and message count, but messages aren't getting sent even though the secure/send works fine so does the http Api. Here is the request:

{ "batch_config": { "callback_url": "http://host.docker.internal:5053/api/sms/batchstatus", "errback_url": "http://host.docker.internal:5053/api/sms/batchstatus" }, "globals" : { "dlr-level": 3, "dlr": "yes", "dlr-url": "http://host.docker.internal:5053/api/sms/deliver", "dlr-method": "POST" } "messages": [ { "to": [ "55555551", "55555552", "55555553" ], "content": "Hello world !" } ] }

And I would also like to know if there is a big performance increase if I switch to the SMPP Api from the rest Api?

grimnir52 commented 3 months ago

I used the docker-compose.restapi.yml to spin up the containers.