Hi, I was running asterisk 1.0.7. Today I upgraded to 1.2.9.1. The SMS still wasn't working, BUT it was very different. this is the output from the console
-- Executing Goto("SIP/phone1-487d", "smsmorx|s|1") in new stack -- Goto (smsmorx,s,1) -- Executing Answer("SIP/phone1-487d", "") in new stack -- Executing Wait("SIP/phone1-487d", "1") in new stack -- Executing SMS("SIP/phone1-487d", "101|sa") in new stack -- SMS TX 93 00 6D -- SMS RX 92 01 02 6B -- SMS TX 93 00 6D -- SMS RX 92 01 02 6B -- SMS TX 93 00 6D -- SMS TX 92 01 FF 6E -- SMS TX 92 01 FF 6E -- SMS TX 92 01 FF 6E -- SMS TX 92 01 FF 6E -- SMS TX 92 01 FF 6E == Spawn extension (smsmorx, s, 3) exited non-zero on 'SIP/phone1-487d' Next I tried Michael's suggestion and compiled the app_sms.so from the 1.2.7.1 source tree. IT WORKED !!!! :D -- Executing Goto("SIP/phone1-5988", "smsmorx|s|1") in new stack -- Goto (smsmorx,s,1) -- Executing Answer("SIP/phone1-5988", "") in new stack -- Executing Wait("SIP/phone1-5988", "1") in new stack -- Executing SMS("SIP/phone1-5988", "101|sa") in new stack -- SMS TX 93 00 6D -- SMS RX 91 0F 01 19 03 81 01 F2 00 F1 06 D4 E2 94 0A 8A 01 F9 -- SMS TX 95 02 00 00 69 -- SMS RX 94 00 6C -- Executing System("SIP/phone1-5988", "/tmp/smstest s 101 Office") in new stack -- Executing Hangup("SIP/phone1-5988", "") in new stack == Spawn extension (smsmorx, s, 5) exited non-zero on 'SIP/phone1-5988' The message can be found in the /var/spool/asterisk/sms/morx/ directory. I now have another problem with sending messages back to the phone, when I run: smsq -o0198339100 -q101 --mttx-channel sip/phone1 --ud "test" I get WARNING[15516]:pbx_spool.c:346 scan_service: Unable to open /var/spool/asterisk/outgoing/smsq.mttx.101.1: Permission denied, deleting WARNING[15516]:pbx_spool.c:388 scan_thread: Failed to scan service '/var/spool/asterisk/outgoing/smsq.mttx.101.1' I will try to debug this during the week. Thanks to you both for your help. Mick. > Hey Mick, > > which version of asterisk are you using ? I've experienced problems > after 1.2.8 with app_sms.so. It seams > that the application is sending out an sms to the center. But this > message was never recieved by my cellphone. > > To solve the problem i compiled app_sms.so from 1.2.7.1 source tree and > moved it into the modules directory. > Someone should contact a developer for that - since I experienced the > problem I did not have time to track the problem > down to it's origin. > > Hope this helps! > > Greetings, > Michael _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users