| Sat Oct 13, 2012 23:55 | 
		
			| Ska1n: Operating system name and version: Windows server 2008 + install smsd how service
Version of smsd: 3.1.14
Smsd installed from: sources 
Name and model of a modem / phone: mc35i
Interface: com -> usb
Good afternoon. I'm sorry for my eng, use translate. I have some exemplary script in bash:
if [ "$1" = "RECEIVED" ]; then
    sendsms +number "Start"
    ->sleep 30
    -> here some on bash code, witch need ~10min to complete
    ->
    sendsms +number "Done"
fi
If i run, like:
/home/my/script RECEIVED /var/spool/sms/incoming/GSM1.123fasqw
I have:
1 - sell sms on my phone
2 - next run execution bash script
3 - sell sms "Done"
If i send sms from my phone to modem, i have this:
1 - forward before script has completed
2 - take 2 sms: Start and Done...
Why is this happening? Thanks. |