diff --git a/src/psm/Txtmsg/CMBulkSMS.php b/src/psm/Txtmsg/CMBulkSMS.php index d0d3e0b1..a009d252 100644 --- a/src/psm/Txtmsg/CMBulkSMS.php +++ b/src/psm/Txtmsg/CMBulkSMS.php @@ -131,7 +131,7 @@ class CMBulkSMS extends Core ), 'msg' => array( array( - 'from' => substr($this->originator, 0, 11), + 'from' => substr($this->originator, 0, 15), 'to' => $recipients, 'body' => array( 'content' => $message @@ -172,7 +172,7 @@ class CMBulkSMS extends Core $msg = $xml->addChild('MSG'); // From - $msg->addChild('FROM', substr($this->originator, 0, 11)); + $msg->addChild('FROM', substr($this->originator, 0, 15)); // Recipients foreach ($this->recipients as $recipient) { diff --git a/src/psm/Txtmsg/ClickSend.php b/src/psm/Txtmsg/ClickSend.php index d0176ce7..b62261a0 100644 --- a/src/psm/Txtmsg/ClickSend.php +++ b/src/psm/Txtmsg/ClickSend.php @@ -64,7 +64,7 @@ class ClickSend extends Core foreach ($this->recipients as $recipient) { $data['messages'][] = array( 'source' => 'phpservermon', - 'from' => substr($this->originator, 0, 11), + 'from' => substr($this->originator, 0, 15), 'to' => $recipient, 'body' => $message, ); diff --git a/src/psm/Txtmsg/FreeVoipDeal.php b/src/psm/Txtmsg/FreeVoipDeal.php index 234e6bd0..7decf766 100644 --- a/src/psm/Txtmsg/FreeVoipDeal.php +++ b/src/psm/Txtmsg/FreeVoipDeal.php @@ -63,7 +63,7 @@ class FreeVoipDeal extends Core array( "username" => $this->username, "password" => $this->password, - "from" => substr($this->originator, 0, 11), + "from" => substr($this->originator, 0, 15), "to" => $recipient, "text" => $message, ) diff --git a/src/psm/Txtmsg/Mosms.php b/src/psm/Txtmsg/Mosms.php index 98381579..ffcf15d0 100644 --- a/src/psm/Txtmsg/Mosms.php +++ b/src/psm/Txtmsg/Mosms.php @@ -63,7 +63,7 @@ class Mosms extends Core array( "username" => $this->username, "password" => $this->password, - "customsender" => substr($this->originator, 0, 11), + "customsender" => substr($this->originator, 0, 15), "nr" => $recipient, "type" => "text", "data" => $message, diff --git a/src/psm/Txtmsg/Octopush.php b/src/psm/Txtmsg/Octopush.php index 4ce98de1..942f91b5 100644 --- a/src/psm/Txtmsg/Octopush.php +++ b/src/psm/Txtmsg/Octopush.php @@ -72,7 +72,7 @@ class Octopush extends Core "api_key" => $this->password, "sms_recipients" => $recipients, "sms_type" => $smsType, - "sms_sender" => substr($this->originator, 0, 11), + "sms_sender" => substr($this->originator, 0, 15), "sms_text" => $message, ) )); diff --git a/src/psm/Txtmsg/Smsglobal.php b/src/psm/Txtmsg/Smsglobal.php index 9947b05a..174fc0bb 100644 --- a/src/psm/Txtmsg/Smsglobal.php +++ b/src/psm/Txtmsg/Smsglobal.php @@ -58,7 +58,7 @@ class Smsglobal extends Core $recipients = join(',', $this->recipients); - $from = substr($this->originator, 0, 11); // Max 11 Characters + $from = substr($this->originator, 0, 15); // Max 15 Characters $message = substr(rawurlencode($message), 0, 153); $curl = curl_init(); diff --git a/src/psm/Txtmsg/Smsit.php b/src/psm/Txtmsg/Smsit.php index 964ff5eb..58e6a53b 100644 --- a/src/psm/Txtmsg/Smsit.php +++ b/src/psm/Txtmsg/Smsit.php @@ -64,7 +64,7 @@ class Smsit extends Core "apiKey" => $this->password, "mobile" => $recipient, "message" => urlencode($message), - "senderId" => substr($this->originator, 0, 11), + "senderId" => substr($this->originator, 0, 15), ) )); diff --git a/src/psm/Txtmsg/SolutionsInfini.php b/src/psm/Txtmsg/SolutionsInfini.php index a21d1479..bc1e8196 100644 --- a/src/psm/Txtmsg/SolutionsInfini.php +++ b/src/psm/Txtmsg/SolutionsInfini.php @@ -66,7 +66,7 @@ class SolutionsInfini extends Core "api_key" => $this->password, "method" => "sms", "to" => $recipients, - "sender" => substr($this->originator, 0, 11), + "sender" => substr($this->originator, 0, 15), "message" => $message, ) ));