Hi List I Have Astlinux 0.4.5 The Lonnie help me long time ago to make a script for sending all incoming calls (answered and unanswered) to my email adress i would like expand it and to use the script now for sending sms is there a way with internetcalls voip account can anyone help me to edit the script and use it with voip provider internetcalls
here is the 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 ---------------- and here is the script to send sms with voip account from internetcalls https://myaccount.internetcalls.com/clx/sendsms.php?username=xxxxxxxxxx&password=xxxxxxxxxx&from=xxxxxxxxxx&to=xxxxxxxxxx&text=xxxxxxxxxx Can I use it with get command in bash script to send sms to my mobile number Incoming call from: $1 <$2>\nDate: `date -R best regards nedi ------------------------------------------------------------------------------ Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB _______________________________________________ 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].
