Good write next so I have the sample script of chan-extra to send sms in a masica but when I run it gives error pdu'm using asterisk-11.4.0 dahdi-2.6.1 and attached the script I'm using and the error giving
script sms.sh
#!/bin/sh
context=`cat ./mensajes.txt`
cat ./telefonos.txt | while read row;
do
asterisk -rx "gsm send sms 4 $row \"$context\""
done;
The error I get when I run the script is as follows