The script below is in C#. Diafaan SMS Server supports scripts in C# or Visual Basic.NET.
Is the script on C+ or VB?
You can use the Scripting Connector and adapt the 'OnMessageReceived' function in the standard script to forward received messages to one or more other mobile phones. The following code snippet forwards a received SMS message to numbers +44111111111 and +44222222222:
string messageId, string smsc, string pdu, string gateway,
DateTime sendTime, DateTime receiveTime)
PostSendMessage("+44111111111", fromAddress, message, messageType, "", "", "", 0);
PostSendMessage("+44222222222", fromAddress, message, messageType, "", "", "", 0);
Hi , i'm currently testing the demo for an SMS alerting system and i would like to forward received SMS to 1 or 2 other cell phones how can i do this?
Most Users Ever Online: 494
Currently Browsing this Page:
Guest Posters: 485
Newest Members:, Henk Helmantel
Administrators: Henk Helmantel: 893