jookies / jasmin

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

Error sending SMS ESME_RINVSRCADR #1078

Open ranjanngc opened 1 year ago

ranjanngc commented 1 year ago

Jasmine is configured using official available documentation - smppccm -s DIGI_SERVE

Session ref: 6 jcli : jcli : smppccm -s DIGI_SERVE cid DIGI_SERVE host xxx.xx.xxx.xx port 4444 username xxxxx logrotate midnight password xxxx systype smpp logfile /var/log/jasmin/default-DIGI_SERVE.log loglevel 20 logprivacy no bind_to 30 elink_interval 30 res_to 120 con_loss_retry yes bind_npi 0 con_loss_delay 10 con_fail_delay 10 pdu_red_to 10 bind transceiver bind_ton 0 src_ton 2 src_npi 1 dst_ton 1 addr_range None src_addr DGSEMI proto_id None priority 0 validity None ripf 0 def_msg_id 0 coding 0 requeue_delay 120 submit_throughput 1 dlr_expiry 86400 dlr_msgid 0 con_fail_retry yes dst_npi 1 trx_to 300 ssl no

I am trying to send the message using HTTP API (POSTMAN): curl --location --request POST 'http://127.0.0.1:1401/send' \ --header 'Content-Type: application/json' \ --data-raw '{ "to": "9958119244", "from": "DGSEMI", "content": "Hello", "username": "admin", "password": "admin" }

I am getting this error: 2022-10-07 11:17:47 INFO 1 SMS-MT [cid:DIGI_SERVE] [queue-msgid:46849a30-4526-4e5f-8ae4-3affcf8c7cb0] [status:ERROR/CommandStatus.ESME_RINVSRCADR] [retry:False] [prio:0] [dlr:RegisteredDeliveryReceipt.NO_SMSC_DELIVERY_RECEIPT_REQUESTED] [validity:none] [from:b'DGSEMI'] [to:b'9958119244'] [content:b'Hello']

farirat commented 1 year ago

CommandStatus.ESME_RINVSRCADR is returned by your smpp provider, you'll need to check with their support.

agossouvi commented 1 year ago

ESME_RINVSRCADR = Invalid Source Address.