Hi List
I have a GSM Gateway from portech.com.tw  and Astlinux  0.4.5
If I log into GSM Gateway I can send SMS from a Form
is there a way to send SMS from Ssterisk trough GSM Gateway
The Form is very smal and the Form use postsend and CGI  here is the code:
my VOIP GSM GW IP is 192.168.1.131 i can access the form without login and 
password.
.......................
<html>
<form method=post action=http://192.168.1.131/smsSendNow.cgi name=SendFrom>
<input type=text name=DEST value="0796003185">
<textarea name=HEXTEXT>Test Nachricht</textarea>
<input type=submit value="Send Now" name=Send id=SendBTN>
</form>
</html>
.......................

I used in my Astlinux the bash script for sending email if I have a missed 
call.
I should edit my script to send a SMS to through GSM  Gateway to my Mobile 
if I have a missed call?
here is my code that I used in bash script
.....................................
#!/bin/bash
[EMAIL PROTECTED]
[EMAIL PROTECTED]
echo -e "Subject: Incoming call from: $1 <$2>\nDate: `date -R`\nFrom: 
${FROM_EMAIL}\nTo: ${TO_EMAIL}\n\nIncoming call from: $1 <$2>"| 
/usr/sbin/msmtp "${TO_EMAIL}" &
exit 0
..........................

someone told me i can use curl to simulate post process and I think I don't 
have curl on astlinux

curl -d "DEST=0796003185&HEXTEXT="Test" 
"http://192.168.1.131/smsSendNow.cgi";
is there a way to install curl or edit my bash script to send sms through 
sms gw
can anyone help me with

best regards
Nedi 


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Astlinux-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to [EMAIL 
PROTECTED]

Reply via email to