mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
Merge branch 'ent-4760-error-pandora_smpp-pl' into 'develop'
Allowed several destination numbers in a single script call See merge request artica/pandorafms!2801
This commit is contained in:
commit
ea9fd23b89
@ -19,7 +19,7 @@ Usage:
|
|||||||
|
|
||||||
$0 -server <smsc_server:port> -user <user_id> -password <user_password> -source <source_number> -destination <destination_numbers> -message <short_message> [OPTIONS]
|
$0 -server <smsc_server:port> -user <user_id> -password <user_password> -source <source_number> -destination <destination_numbers> -message <short_message> [OPTIONS]
|
||||||
|
|
||||||
- <destination_numbers> Comma separated list of destination numbers (+123456789,+234567891,...)
|
- <destination_numbers> Comma separated list of destination numbers (123456789,234567891,...)
|
||||||
|
|
||||||
OPTIONS:
|
OPTIONS:
|
||||||
|
|
||||||
@ -45,7 +45,7 @@ OPTIONS:
|
|||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
$0 -server 192.168.1.50:2775 -user myuser -password mypassword -source +123456789 -destination +234567891 -message "Content of SMS message"
|
$0 -server 192.168.1.50:2775 -user myuser -password mypassword -source 123456789 -destination 234567891 -message "Content of SMS message"
|
||||||
|
|
||||||
EO_H
|
EO_H
|
||||||
|
|
||||||
@ -85,7 +85,7 @@ if (!$config->{'message'}){
|
|||||||
|
|
||||||
my ($smsc_server, $smsc_port) = split /:/, $config->{'server'};
|
my ($smsc_server, $smsc_port) = split /:/, $config->{'server'};
|
||||||
|
|
||||||
my @destination_numbers = $config->{'destination'};
|
my @destination_numbers = split /,/, $config->{'destination'};
|
||||||
|
|
||||||
if (!$smsc_port){
|
if (!$smsc_port){
|
||||||
$smsc_port = 2775;
|
$smsc_port = 2775;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user