Hi All,

I am trying to connect my Siemens C60 as a SMSC on Kannel 1.2.1

I am using a Palladio USB Datacable to connect the phone to the Mac.

I am using Kannel 1.2.1 compiled on Mac OSX.

I�ve tried the phone with a couple of Mac OSX softwares and it seems to work ok (I�ve sent SMS and downloaded my address book). I connected to the phone using ZTerm (A serial terminal emulator for Mac) and it responded to my "AT" commands flawlessly, it even dialed out, so it seems the hardware is working.

But, when I try to connect using kannel, I get connection errores. The "AT" commands seems to return empty.

I've tried using the "at" and the "at2" smsc, changing the modem models on "at" (siemens, nokiaphone, etc).
I've tried changing the serial line speed.
I've tried changing the device. My cable originally placed a device named "/dev/tty.Palladio USB DataCable002", so I�ve tried:
device = "/dev/tty.Palladio USB DataCable002"
device = /dev/tty.Palladio USB DataCable002
device = /dev/tty.Palladio\ USB\ DataCable002


and even made a symlink from /dev/tty.Palladio USB DataCable002 to /dev/phone to check if it was a problem related to the file's containing spaces.

I received somewhat similar errors each time.

Here is some logfile data:

Using AT2:

2004-03-27 03:59:02 [0] DEBUG: AT2[/dev/phone]: start called
2004-03-27 03:59:02 [6] DEBUG: sms_router: list_len = 0
2004-03-27 03:59:03 [5] DEBUG: AT2[/dev/phone]: device opened
2004-03-27 03:59:03 [5] INFO: AT2[/dev/phone]: speed set to 9600
2004-03-27 03:59:03 [5] DEBUG: AT2[/dev/phone]: --> ^M
2004-03-27 03:59:05 [5] DEBUG: AT2[/dev/phone]: write failed with errno 35
2004-03-27 03:59:06 [4] DEBUG: Started thread 7 (gw/bb_boxc.c:function)
2004-03-27 03:59:06 [7] INFO: Client connected from <127.0.0.1>
2004-03-27 03:59:06 [7] DEBUG: Started thread 8 (gw/bb_boxc.c:boxc_sender)
2004-03-27 03:59:07 [5] DEBUG: AT2[/dev/phone]: --> AT^M
2004-03-27 03:59:10 [5] DEBUG: AT2[/dev/phone]: write failed with errno 35
2004-03-27 03:59:14 [5] DEBUG: AT2[/dev/phone]: --> AT&F^M
2004-03-27 03:59:17 [5] DEBUG: AT2[/dev/phone]: write failed with errno 35
2004-03-27 03:59:21 [5] DEBUG: Thread 5 (gw/smsc/smsc_at2.c:at2_device_thread) terminates.


Using AT with nokiaphone:

2004-03-27 03:59:29 [0] DEBUG: Started thread 4 (gw/bb_boxc.c:smsboxc_run)
2004-03-27 03:59:30 [0] DEBUG: AT: Command: AT
2004-03-27 03:59:32 [4] DEBUG: Started thread 5 (gw/bb_boxc.c:function)
2004-03-27 03:59:32 [5] INFO: Client connected from <127.0.0.1>
2004-03-27 03:59:32 [5] DEBUG: Started thread 6 (gw/bb_boxc.c:boxc_sender)
2004-03-27 03:59:41 [0] DEBUG: Read from modem: ''
2004-03-27 03:59:41 [0] DEBUG: AT: Command: AT&F
2004-03-27 03:59:51 [0] DEBUG: Read from modem: ''
2004-03-27 03:59:51 [0] DEBUG: AT: Command: AT
2004-03-27 04:00:01 [0] DEBUG: Read from modem: ''
2004-03-27 04:00:01 [0] DEBUG: AT: Command: ATE0
2004-03-27 04:00:11 [0] DEBUG: Read from modem: ''
2004-03-27 04:00:11 [0] ERROR: Failed to create Smsc wrapper
2004-03-27 04:00:11 [0] PANIC: Cannot start with SMSC connection failing

Any hints?

Thank you in advance,
--
Alejandro Guerrieri
Magicom
[EMAIL PROTECTED]






Reply via email to