guys hope you can help
this is the sample sms script:
======================================
#!/bin/bash
#Get script arguments
clid="$1"
destination="$2"
text="$3"
unicode="$4"
#Init return values
ret_code=0
ret_message="Message delivered for sending"
stop_trunk=0
stop_message=0
#Process message
#Errors must be processed, if an error occurs fill
# ret_code: a value different to 0
# ret_message: string error message
# stop_trunk: 1 if this error must stop all messages for this trunk, for example, if there's no credit
# stop_message: 1 if this error mist stop this message, for example, if number is invalid
#Begin
#Write process message code
#End
#Return
echo "$ret_code;$ret_message;$stop_trunk;$stop_message"
exit $ret_code
==========================================
i have a trunk setup for my hauwie modem with a custom dial string: "
DATACARD/huawei/$OUTNUM$ "
from the shell when i do: "
asterisk -rx "datacard sms huawei 0791234567 Test Message "
i receive the sms test message with no problems
In the sms sample script i need to call " asterisk -rx "datacard sms huawei 0791234567 Test Message", passing the right arguments.
Now i need to create a sms campaign to send the same message to 30 mobile numbers. Please can you assist in telling me where in the sms sample script i need to place the correct statement.
any help greatly appreciated
sorry for the noob questions
