Hi,

Please make sure that:

/dev/cu.MartinsPhone-SerialPort2

has read/write permissions for kannel user (or any other user you run kannel under). In ubuntu systems you just need to assign group dial to kannel user.

BR,
Nikos
----- Original Message ----- From: "Martin J." <[email protected]>
To: <[email protected]>
Sent: Monday, June 07, 2010 12:53 AM
Subject: Re: Newbie: How to send multiple messages to sms recipients?


Stupid forum, here's my log with preceding arrows (can't believe
what's happening) -->:
-
-
----> 2010-06-06 22:21:29 [977] [6] DEBUG:
----> AT2[/dev/cu.MartinsPhone-SerialPort2]: +CMTI incoming SMS indication:
----> +CMTI: "ME",18
----> 2010-06-06 22:21:30 [977] [6] DEBUG:
----> AT2[/dev/cu.MartinsPhone-SerialPort2]: --> AT+CMGR=18^M
----> 2010-06-06 22:21:30 [977] [6] DEBUG:
----> AT2[/dev/cu.MartinsPhone-SerialPort2]: <-- +CMS ERROR: 500
----> 2010-06-06 22:21:30 [977] [6] ERROR:
----> AT2[/dev/cu.MartinsPhone-SerialPort2]: +CMS ERROR: +CMS ERROR: 500
----> 2010-06-06 22:21:30 [977] [6] ERROR:
----> AT2[/dev/cu.MartinsPhone-SerialPort2]: +CMS ERROR: An unknown error
----> occurred (500)
----> 2010-06-06 22:21:30 [977] [6] DEBUG:
----> AT2[/dev/cu.MartinsPhone-SerialPort2]: failed to get message 18.
----> 2010-06-06 22:21:30 [977] [6] ERROR:
----> AT2[/dev/cu.MartinsPhone-SerialPort2]: CMTI notification
received, ----> but
----> no message found in memory!
----> 2010-06-06 22:21:30 [977] [6] ERROR: System error 1: Operation
not ----> permitted
----> 2010-06-06 22:21:58 [977] [6] INFO:
----> AT2[/dev/cu.MartinsPhone-SerialPort2]: Closing device
----> 2010-06-06 22:21:58


So: I think I need a new init-string and I hope that init-string can
enable me to read text message and extract them from the phone... It's
a good thing that it at least gets the CMTI notification, so it
understands that it received a message....

Any clues from here on?

Thanks for all the help...


Regards,
Martin



Reply via email to