I'm Using onlinecity/php-smpp library to create a SMPP client for first time and by running its example,I keep receive an exception which said:
( ! ) Fatal error: Uncaught exception 'gateway\protocol\SmppException' with message 'Invalid Parameter Length.' in C:\wamp\www\html\gateway\protocol\smppclient.class.php on line 488
Now, my question is that is this message related to the SMPP server configuration or I'm missing something in my client code? If this is related to server, how can I trace and troubleshoot that?
UPDATE:
483 $pdu = new \SMPP\PDU($id, 0, $this->sequence_number, $pduBody);
484 $this->sendPDU($pdu);
485
486 $response=$this->readPDU_resp($this->sequence_number, $pdu->id);
487
488 if ($response->status != \SMPP\ESME_ROK) throw new SmppException(\SMPP\getStatusMessage($response->status), $response->status);