onlinecity / php-smpp

PHP 5 based SMPP client library
232 stars 160 forks source link

sendSMS returns Invalid Source Address #85

Open ruturajpatki opened 5 years ago

ruturajpatki commented 5 years ago

I am not sure if this code is supported anymore. But I am facing one error which I'm not able to trace. Whenever I try to send SMS, the sendSMS returns "Invalid Source Address". What might be the reason for this? Please help me to trace the error.

xhit commented 5 years ago

Hi, set the correct TON and NPI of your SMPP, the variables are $addr_ton and $addr_npi

The error happen when your SMPP server is configured to receive specific TON and NPI