Automated MMS response possible?

Automated MMS response possible? SearchSearch
Author Message
greg giannis
New member
Username: Gg23

Post Number: 8
Registered: 06-2006
Posted on Monday, August 07, 2006 - 10:51 am:   

Hello,
Wondering if it is posssible to activate another task (in the same way that can be done with sms reception) when an MMS is received, beyond sending an email. for example running a php script. I am looking for a simple and quick way to alert another process, possibly on another server that a new mms has arrived. if not, could this be built into nowsms? seems like it would be a useful feature.
thanks
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 6317
Registered: 10-2002
Posted on Monday, August 14, 2006 - 07:01 pm:   

Hi Greg,

There is a trigger that can be configured when the MMS-IN directory/file-based interface is used.

It is described in the following thread:

http://support.nowsms.com/discus/messages/485/11121.html

There is not a need to download any update referenced in the thread, as this parameter is supported by NowSMS 2006.

-bn
greg giannis
New member
Username: Gg23

Post Number: 9
Registered: 06-2006
Posted on Tuesday, August 15, 2006 - 04:11 am:   

hi Bruce,
thanks for the info. I am running XP and have tried to use the following command in the SMSGW.INI file:

ReceiveMMSCallback=c:\windows\system32\notepad.exe

but the mms arrives and nothing happens. I can run this command from the XP Run... menu and it launches notepad. Is there something I need to add to the command??? Come to think of it, this has never worked for 2-way sms either, ie can launch url commands but not local executables?? WHich file will help to debug?

greg
greg giannis
New member
Username: Gg23

Post Number: 10
Registered: 06-2006
Posted on Tuesday, August 15, 2006 - 05:14 am:   

hi bruce,
checked the contents of the smsdebug.log (attached) and it appears to be doing whats required except nothing ever gets launched?

thanks
Greg
application/octet-streamsmsdebug.log
smsdebug.log (0.6 k)
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 6325
Registered: 10-2002
Posted on Tuesday, August 15, 2006 - 04:35 pm:   

Hi Greg,

NowSMS is running as a background service process.

Any command that you configure as a callback gets executed in the context of the service process, which is running in the background on the PC.

So notepad is probably being run (and you might even see multiple copies of it running if you look in Task Manager) ... but you won't see anything in the user desktop session.

You should configure a command that performs an action and exits.

-bn
greg giannis
New member
Username: Gg23

Post Number: 11
Registered: 06-2006
Posted on Wednesday, August 16, 2006 - 02:01 am:   

hi bruce,
that makes sense. thanks again.

greg