title: SMPP error 0xd bind failed
body: <p>I use <a href="https://github.com/onlinecity/php-smpp" rel="nofollow noreferrer">this</a> SMPP library. Here is my code:</p>
  <pre><code>$transport = new SocketTransport(array($smpphost),$smppport,false,'printDebug'); // hostname/ip (ie. localhost) and port (ie. 2775)
  $transport-&gt;setRecvTimeout(10000);
  $transport-&gt;setSendTimeout(10000);
  $smpp = new SmppClient($transport,'printDebug');
  
  // Activate debug of server interaction
  $smpp-&gt;debug = true;        // binary hex-output
  $transport-&gt;debug = true; // also get TSocket debug
  
  // Open the connection
  $transport-&gt;open();
  $smpp-&gt;bindTransmitter($systemid,$password);
  
    // Prepare message
  $message = 'H€llo world';
  $encodedMessage = GsmEncoder::utf8_to_gsm0338($message);
  $from = new SmppAddress(GsmEncoder::utf8_to_gsm0338('SMPP Tést'),SMPP::TON_ALPHANUMERIC);
  $to = new SmppAddress($too,SMPP::TON_INTERNATIONAL,SMPP::NPI_E164);
  
  // Send
  $smpp-&gt;sendSMS($from,$to,$encodedMessage);
  
  // Close connection
  $smpp-&gt;close();
  </code></pre>
  <p>And error, that I get:</p>
  <p>Fatal error: Uncaught exception 'SmppException' with message 'Bind Failed' in /home/roman/www/jobeet/php-smpp-master/smppclient.class.php on line 621 SmppException: Bind Failed in /home/roman/www/jobeet/php-smpp-master/smppclient.class.php on line 621 Call Stack: 0.0007 345736 1. {main}() /home/roman/www/jobeet/index.php:0</p>
  <p>Could be there errors in my code or it's only SMPP server problem?</p>