Open RouxCool opened 11 months ago
Got the same error. Do you have solution?
Got the same error. Do you have solution?
Make sure you are using the latest version and $nullTerminateOctetstrings = false; ->setSendTimeout(30000)
Got the same error. Do you have solution?
Make sure you are using the latest version and $nullTerminateOctetstrings = false; ->setSendTimeout(30000)
How i can setSendTimeout?
I had this code: `$conf = config('laravel-smpp'); $this->conf = $conf;
$this->smpp = new Sender(
[$conf['providers']['example']['host'] . ':' . $conf['providers']['example']['port']],
$conf['providers']['example']['login'],
$conf['providers']['example']['password'],
Client::BIND_MODE_TRANSCEIVER,
true
);
$this->smpp->client::$sms_registered_delivery_flag = 0x01;
$this->smpp->client::$addr_ton = $conf['defaults']['source_ton'];
$this->smpp->client::$addr_npi = $conf['defaults']['source_npi'];
$this->smpp->client->nullTerminateOctetstrings = false;
$this->smpp->client->getTransport()->setSendTimeout(30000); // this is right?`
first make sure that all $conf has actual smpp account not just dummy example then run this in the terminal to update your package composer update glushkovds/php-smpp --lock
and change Client::BIND_MODE_TRANSCEIVER to Client::BIND_MODE_TRANSMITTER
1° Est-ce qu'il y a une erreur dans mes informations d'environnement ?
2° Pourquoi j'ai toujours cette erreur lors de l'envoie d'SMS ?
Code :
Erreur :