Hi, I'm trying to configure Kannel to send and receive SMS with several
GSM modems. So far, I succeded to do so with Huawei modems, but I'm
having problems with Alcatel.
The modem gets recognized, mode-switched, kannel initializes it and can
use it to send, but the reception notification never occurs.
I suspect there is an issue with the init string with the same result
with several others (see the commented lines in the attached kannel.conf).
The attached files:
kern.log: kernel log messages when I plug in the modem.
lsusb.log: lsusb -vvv output, the relevant device is Bus 001 Device 0057
usb-devices.log output of usb-devices
kannel.conf: the Kannel configuration used for testing.
kannel.log: the log showing kannel opens the port and can send and
receive AT commands to the modem. During this time, an SMS was sent to
the modem, but the notification does not appear and the response is
allways 0 messages in memory (+CPMS: "SM",0,50,"ME",0,100,"ME",0,100).
Basic scenario info:
Kannel version: svn-r5104
OS: Linux 3.2.0 amd64 (ubuntu server on a vm).
Modem ID 1bbb:0017 string: T & A Mobile Phones
Thanks in advance for any tip on making this work.
--
Ariel Wainer
Contenta Mobile
Sep 17 12:28:31 cringer kernel: [515742.792068] usb 1-9: new high-speed USB device number 56 using ehci_hcd
Sep 17 12:28:32 cringer kernel: [515742.927207] usb 1-9: New USB device found, idVendor=1bbb, idProduct=f000
Sep 17 12:28:32 cringer kernel: [515742.928074] usb 1-9: New USB device strings: Mfr=3, Product=2, SerialNumber=4
Sep 17 12:28:32 cringer kernel: [515742.928888] usb 1-9: Product: HSPA Data Card
Sep 17 12:28:32 cringer kernel: [515742.929670] usb 1-9: Manufacturer: USBModem
Sep 17 12:28:32 cringer kernel: [515742.930462] usb 1-9: SerialNumber: 1234567890ABCDEF
Sep 17 12:28:32 cringer kernel: [515742.934700] scsi86 : usb-storage 1-9:1.0
Sep 17 12:28:32 cringer kernel: [515743.908646] usb 1-9: USB disconnect, device number 56
Sep 17 12:28:33 cringer kernel: [515744.280067] usb 1-9: new high-speed USB device number 57 using ehci_hcd
Sep 17 12:28:33 cringer kernel: [515744.415277] usb 1-9: New USB device found, idVendor=1bbb, idProduct=0017
Sep 17 12:28:33 cringer kernel: [515744.416134] usb 1-9: New USB device strings: Mfr=3, Product=2, SerialNumber=4
Sep 17 12:28:33 cringer kernel: [515744.416912] usb 1-9: Product: HSPA Data Card
Sep 17 12:28:33 cringer kernel: [515744.417698] usb 1-9: Manufacturer: USBModem
Sep 17 12:28:33 cringer kernel: [515744.418468] usb 1-9: SerialNumber: 1234567890ABCDEF
Sep 17 12:28:33 cringer kernel: [515744.421980] option 1-9:1.0: GSM modem (1-port) converter detected
Sep 17 12:28:33 cringer kernel: [515744.422963] usb 1-9: GSM modem (1-port) converter now attached to ttyUSB0
Sep 17 12:28:33 cringer kernel: [515744.424056] option 1-9:1.1: GSM modem (1-port) converter detected
Sep 17 12:28:33 cringer kernel: [515744.425056] usb 1-9: GSM modem (1-port) converter now attached to ttyUSB1
Sep 17 12:28:33 cringer kernel: [515744.426157] option 1-9:1.2: GSM modem (1-port) converter detected
Sep 17 12:28:33 cringer kernel: [515744.427150] usb 1-9: GSM modem (1-port) converter now attached to ttyUSB2
Sep 17 12:28:33 cringer kernel: [515744.428301] option 1-9:1.3: GSM modem (1-port) converter detected
Sep 17 12:28:33 cringer kernel: [515744.429290] usb 1-9: GSM modem (1-port) converter now attached to ttyUSB3
Sep 17 12:28:33 cringer kernel: [515744.430369] scsi87 : usb-storage 1-9:1.4
Sep 17 12:28:33 cringer kernel: [515744.431613] option 1-9:1.5: GSM modem (1-port) converter detected
Sep 17 12:28:33 cringer kernel: [515744.432668] usb 1-9: GSM modem (1-port) converter now attached to ttyUSB4
Sep 17 12:28:34 cringer kernel: [515745.429730] scsi 87:0:0:0: Direct-Access ALCATEL Mass Storage 2.31 PQ: 0 ANSI: 2
Sep 17 12:28:34 cringer kernel: [515745.432304] sd 87:0:0:0: Attached scsi generic sg4 type 0
Sep 17 12:28:34 cringer kernel: [515745.434322] sd 87:0:0:0: [sde] Attached SCSI removable disk
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 0 Full speed (or root) hub
bMaxPacketSize0 64
idVendor 0x1d6b Linux Foundation
idProduct 0x0002 2.0 root hub
bcdDevice 3.02
iManufacturer 3 Linux 3.2.0-4-686-pae ehci_hcd
iProduct 2 EHCI Host Controller
iSerial 1 0000:00:13.5
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0004 1x 4 bytes
bInterval 12
Hub Descriptor:
bLength 11
bDescriptorType 41
nNbrPorts 10
wHubCharacteristic 0x000a
No power switching (usb 1.0)
Per-port overcurrent protection
bPwrOn2PwrGood 10 * 2 milli seconds
bHubContrCurrent 0 milli Ampere
DeviceRemovable 0x00 0x00
PortPwrCtrlMask 0xff 0xff
Hub Port Status:
Port 1: 0000.0100 power
Port 2: 0000.0100 power
Port 3: 0000.0100 power
Port 4: 0000.0100 power
Port 5: 0000.0100 power
Port 6: 0000.0100 power
Port 7: 0000.0100 power
Port 8: 0000.0100 power
Port 9: 0000.0503 highspeed power enable connect
Port 10: 0000.0100 power
Device Status: 0x0001
Self Powered
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 0 Full speed (or root) hub
bMaxPacketSize0 64
idVendor 0x1d6b Linux Foundation
idProduct 0x0001 1.1 root hub
bcdDevice 3.02
iManufacturer 3 Linux 3.2.0-4-686-pae ohci_hcd
iProduct 2 OHCI Host Controller
iSerial 1 0000:00:13.0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0002 1x 2 bytes
bInterval 255
Hub Descriptor:
bLength 9
bDescriptorType 41
nNbrPorts 2
wHubCharacteristic 0x0012
No power switching (usb 1.0)
No overcurrent protection
bPwrOn2PwrGood 2 * 2 milli seconds
bHubContrCurrent 0 milli Ampere
DeviceRemovable 0x00
PortPwrCtrlMask 0xff
Hub Port Status:
Port 1: 0000.0100 power
Port 2: 0000.0100 power
Device Status: 0x0001
Self Powered
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 0 Full speed (or root) hub
bMaxPacketSize0 64
idVendor 0x1d6b Linux Foundation
idProduct 0x0001 1.1 root hub
bcdDevice 3.02
iManufacturer 3 Linux 3.2.0-4-686-pae ohci_hcd
iProduct 2 OHCI Host Controller
iSerial 1 0000:00:13.1
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0002 1x 2 bytes
bInterval 255
Hub Descriptor:
bLength 9
bDescriptorType 41
nNbrPorts 2
wHubCharacteristic 0x0012
No power switching (usb 1.0)
No overcurrent protection
bPwrOn2PwrGood 2 * 2 milli seconds
bHubContrCurrent 0 milli Ampere
DeviceRemovable 0x00
PortPwrCtrlMask 0xff
Hub Port Status:
Port 1: 0000.0100 power
Port 2: 0000.0100 power
Device Status: 0x0001
Self Powered
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 0 Full speed (or root) hub
bMaxPacketSize0 64
idVendor 0x1d6b Linux Foundation
idProduct 0x0001 1.1 root hub
bcdDevice 3.02
iManufacturer 3 Linux 3.2.0-4-686-pae ohci_hcd
iProduct 2 OHCI Host Controller
iSerial 1 0000:00:13.2
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0002 1x 2 bytes
bInterval 255
Hub Descriptor:
bLength 9
bDescriptorType 41
nNbrPorts 2
wHubCharacteristic 0x0012
No power switching (usb 1.0)
No overcurrent protection
bPwrOn2PwrGood 2 * 2 milli seconds
bHubContrCurrent 0 milli Ampere
DeviceRemovable 0x00
PortPwrCtrlMask 0xff
Hub Port Status:
Port 1: 0000.0100 power
Port 2: 0000.0100 power
Device Status: 0x0001
Self Powered
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 0 Full speed (or root) hub
bMaxPacketSize0 64
idVendor 0x1d6b Linux Foundation
idProduct 0x0001 1.1 root hub
bcdDevice 3.02
iManufacturer 3 Linux 3.2.0-4-686-pae ohci_hcd
iProduct 2 OHCI Host Controller
iSerial 1 0000:00:13.3
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0002 1x 2 bytes
bInterval 255
Hub Descriptor:
bLength 9
bDescriptorType 41
nNbrPorts 2
wHubCharacteristic 0x0012
No power switching (usb 1.0)
No overcurrent protection
bPwrOn2PwrGood 2 * 2 milli seconds
bHubContrCurrent 0 milli Ampere
DeviceRemovable 0x00
PortPwrCtrlMask 0xff
Hub Port Status:
Port 1: 0000.0100 power
Port 2: 0000.0100 power
Device Status: 0x0001
Self Powered
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 0 Full speed (or root) hub
bMaxPacketSize0 64
idVendor 0x1d6b Linux Foundation
idProduct 0x0001 1.1 root hub
bcdDevice 3.02
iManufacturer 3 Linux 3.2.0-4-686-pae ohci_hcd
iProduct 2 OHCI Host Controller
iSerial 1 0000:00:13.4
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0002 1x 2 bytes
bInterval 255
Hub Descriptor:
bLength 9
bDescriptorType 41
nNbrPorts 2
wHubCharacteristic 0x0012
No power switching (usb 1.0)
No overcurrent protection
bPwrOn2PwrGood 2 * 2 milli seconds
bHubContrCurrent 0 milli Ampere
DeviceRemovable 0x00
PortPwrCtrlMask 0xff
Hub Port Status:
Port 1: 0000.0100 power
Port 2: 0000.0100 power
Device Status: 0x0001
Self Powered
Bus 001 Device 057: ID 1bbb:0017 T & A Mobile Phones
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x1bbb T & A Mobile Phones
idProduct 0x0017
bcdDevice 0.00
iManufacturer 3 USBModem
iProduct 2 HSPA Data Card
iSerial 4 1234567890ABCDEF
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 154
bNumInterfaces 6
bConfigurationValue 1
iConfiguration 1 USBModem Configuration
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 500mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 32
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 32
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 32
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 32
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 32
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 32
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 3
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x84 EP 4 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 32
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x04 EP 4 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 32
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 4
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 8 Mass Storage
bInterfaceSubClass 6 SCSI
bInterfaceProtocol 80 Bulk-Only
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x05 EP 5 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x85 EP 5 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 5
bAlternateSetting 0
bNumEndpoints 3
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x86 EP 6 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 5
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x87 EP 7 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 32
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x06 EP 6 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 32
Device Qualifier (for other device speed):
bLength 10
bDescriptorType 6
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
bNumConfigurations 1
Device Status: 0x0001
Self Powered
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh=10
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0002 Rev=03.02
S: Manufacturer=Linux 3.2.0-4-686-pae ehci_hcd
S: Product=EHCI Host Controller
S: SerialNumber=0000:00:13.5
C: #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
T: Bus=01 Lev=01 Prnt=01 Port=08 Cnt=01 Dev#= 57 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=1bbb ProdID=0017 Rev=00.00
S: Manufacturer=USBModem
S: Product=HSPA Data Card
S: SerialNumber=1234567890ABCDEF
C: #Ifs= 6 Cfg#= 1 Atr=a0 MxPwr=500mA
I: If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
I: If#= 1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
I: If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
I: If#= 3 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
I: If#= 4 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
I: If#= 5 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0001 Rev=03.02
S: Manufacturer=Linux 3.2.0-4-686-pae ohci_hcd
S: Product=OHCI Host Controller
S: SerialNumber=0000:00:13.0
C: #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
T: Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0001 Rev=03.02
S: Manufacturer=Linux 3.2.0-4-686-pae ohci_hcd
S: Product=OHCI Host Controller
S: SerialNumber=0000:00:13.1
C: #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
T: Bus=04 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0001 Rev=03.02
S: Manufacturer=Linux 3.2.0-4-686-pae ohci_hcd
S: Product=OHCI Host Controller
S: SerialNumber=0000:00:13.2
C: #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
T: Bus=05 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0001 Rev=03.02
S: Manufacturer=Linux 3.2.0-4-686-pae ohci_hcd
S: Product=OHCI Host Controller
S: SerialNumber=0000:00:13.3
C: #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
T: Bus=06 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0001 Rev=03.02
S: Manufacturer=Linux 3.2.0-4-686-pae ohci_hcd
S: Product=OHCI Host Controller
S: SerialNumber=0000:00:13.4
C: #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
group = core
admin-port = 13000
smsbox-port = 13013
admin-password = admin
status-password = *stripped*
store-type = spool
store-location = /var/spool/kannel/
log-file = "/var/log/kannel/kannel.log"
log-level = 3
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
admin-allow-ip = "127.0.0.1"
group = smsbox
bearerbox-host = 127.0.0.1
sendsms-port = 9980
log-file = "/var/log/kannel/smsbox.log"
log-level = 1
access-log = "/var/log/kannel/smsbox-access.log"
sendsms-url = /cgi-bin/sendsms
http-request-retry = 10
http-queue-delay = 30
http-timeout = 20
group = smsc
smsc-id = alcatel1
smsc = at
#device= /dev/serial/by-path/pci-0000:00:13.5-usb-0:9.2:1.5-port0
device= /dev/ttyUSB3
my-number = +5491126642270
connect-allow-ip = 127.0.0.1
modemtype = generic
sim-buffering = true
pin = 9999
keepalive = 5
reroute-dlr = false
log-level = 0
group = modems
id = generic
name = "Generic Modem"
speed = 9600
message-storage = "sm"
#init-string = "AT+CNMI=1,2,2,2,1"
#init-string = "AT+CNMI=,1"
#init-string = "AT+CNMI=3,2,0,0"
#init-string = "AT+CNMI=2,3,2,0,0;+CMGF=0?"
#init-string = "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
#broken = true
group = smsbox-route
smsbox-id = smsbox
smsc-id = at
group = sendsms-user
username = alcatel
password = alcatel
concatenation= true
max-messages = 3
forced-smsc = alcatel1
group = sms-service
accepted-smsc = alcatel1
keyword = default
get-url = "http://localhost/test/testwml.php?msisdn=%p&mensaje=%a&marcacion=%P"
accept-x-kannel-headers = true
catch-all = true
omit-empty = true
2014-09-17 12:30:58 [25403] [0] INFO: Debug_lvl = -1, log_file = <none>, log_lvl = 0
2014-09-17 12:30:58 [25403] [0] WARNING: DLR: using default 'internal' for storage type.
2014-09-17 12:30:58 [25403] [0] INFO: DLR using storage type: internal
2014-09-17 12:30:58 [25403] [0] DEBUG: Kannel bearerbox version `svn-r5104'.
Build `Sep 3 2014 10:55:58', compiler `4.7.2'.
System Linux, release 3.2.0-4-686-pae, version #1 SMP Debian 3.2.57-3, machine i686.
Hostname *striped*, IP *striped*.
Libxml version 2.8.0.
Using OpenSSL 1.0.1e 11 Feb 2013.
Using native malloc.
2014-09-17 12:30:58 [25403] [0] INFO: Added logfile `/var/log/kannel/kannel.log' with level `3'.
2014-09-17 12:30:58 [25403] [0] INFO: HTTP: Opening server at port 13000.
2014-09-17 12:30:58 [25403] [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller)
2014-09-17 12:30:58 [25403] [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread)
2014-09-17 12:30:58 [25403] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) maps to pid 25403.
2014-09-17 12:30:58 [25403] [0] DEBUG: Started thread 3 (gw/bb_http.c:httpadmin_run)
2014-09-17 12:30:58 [25403] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps to pid 25403.
2014-09-17 12:30:58 [25403] [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run) maps to pid 25403.
2014-09-17 12:30:58 [25403] [2] DEBUG: HTTP: Including port 13000, fd 9 for polling in server thread
2014-09-17 12:30:58 [25403] [0] DEBUG: starting smsbox connection module
2014-09-17 12:30:58 [25403] [0] INFO: BOXC: 'smsbox-max-pending' not set, using default (100).
2014-09-17 12:30:58 [25403] [0] DEBUG: Adding smsbox routing to id <smsbox> for smsc id <at>
2014-09-17 12:30:58 [25403] [0] DEBUG: Started thread 4 (gw/bb_boxc.c:sms_to_smsboxes)
2014-09-17 12:30:58 [25403] [4] DEBUG: Thread 4 (gw/bb_boxc.c:sms_to_smsboxes) maps to pid 25403.
2014-09-17 12:30:58 [25403] [0] DEBUG: Started thread 5 (gw/bb_boxc.c:smsboxc_run)
2014-09-17 12:30:58 [25403] [5] DEBUG: Thread 5 (gw/bb_boxc.c:smsboxc_run) maps to pid 25403.
2014-09-17 12:30:58 [25403] [0] INFO: Set SMS resend frequency to 60 seconds.
2014-09-17 12:30:58 [25403] [0] INFO: SMS resend retry set to unlimited.
2014-09-17 12:30:58 [25403] [0] DEBUG: MO concatenated message handling enabled
2014-09-17 12:30:58 [25403] [0] INFO: DLR rerouting for smsc id <alcatel1> disabled.
2014-09-17 12:30:58 [25403] [0] INFO: AT2[alcatel1]: configuration shows modemtype <generic>
2014-09-17 12:30:58 [25403] [0] DEBUG: AT2[alcatel1]: Reading modem definitions from <kannel.conf>
2014-09-17 12:30:58 [25403] [0] DEBUG: AT2[alcatel1]: Found <2> modems in config
2014-09-17 12:30:58 [25403] [0] INFO: AT2[alcatel1]: read modem definition for <Generic Modem>
2014-09-17 12:30:58 [25403] [0] DEBUG: Started thread 6 (gw/smsc/smsc_at.c:at2_device_thread)
2014-09-17 12:30:58 [25403] [6] DEBUG: Thread 6 (gw/smsc/smsc_at.c:at2_device_thread) maps to pid 25403.
2014-09-17 12:30:58 [25403] [0] DEBUG: Started thread 7 (gw/bb_smscconn.c:sms_router)
2014-09-17 12:30:58 [25403] [7] DEBUG: Thread 7 (gw/bb_smscconn.c:sms_router) maps to pid 25403.
2014-09-17 12:30:58 [25403] [6] INFO: AT2[alcatel1]: trying to use speed <9600> from modem definition
2014-09-17 12:30:58 [25403] [0] INFO: ----------------------------------------
2014-09-17 12:30:58 [25403] [6] INFO: AT2[alcatel1]: opening device
2014-09-17 12:30:58 [25403] [0] INFO: Kannel bearerbox II version svn-r5104 starting
2014-09-17 12:30:58 [25403] [0] INFO: Loaded 0 messages from store.
2014-09-17 12:30:58 [25403] [0] INFO: MAIN: Start-up done, entering mainloop
2014-09-17 12:30:58 [25403] [0] DEBUG: AT2[alcatel1]: start called
2014-09-17 12:30:58 [25403] [6] DEBUG: AT2[alcatel1]: device opened. Telnet mode = 0
2014-09-17 12:30:58 [25403] [6] DEBUG: AT2[alcatel1]: device opened
2014-09-17 12:30:58 [25403] [6] INFO: AT2[alcatel1]: speed set to 9600
2014-09-17 12:30:58 [25403] [6] DEBUG: AT2[alcatel1]: --> ^M
2014-09-17 12:31:00 [25403] [6] DEBUG: AT2[alcatel1]: --> AT^M
2014-09-17 12:31:00 [25403] [6] DEBUG: AT2[alcatel1]: <-- OK
2014-09-17 12:31:00 [25403] [6] INFO: AT2[alcatel1]: Closing device
2014-09-17 12:31:00 [25403] [6] INFO: AT2[alcatel1]: speed is 9600
2014-09-17 12:31:00 [25403] [6] INFO: AT2[alcatel1]: opening device
2014-09-17 12:31:00 [25403] [6] DEBUG: AT2[alcatel1]: device opened. Telnet mode = 0
2014-09-17 12:31:00 [25403] [6] DEBUG: AT2[alcatel1]: device opened
2014-09-17 12:31:00 [25403] [6] INFO: AT2[alcatel1]: Logging in
2014-09-17 12:31:01 [25403] [6] INFO: AT2[alcatel1]: init device
2014-09-17 12:31:01 [25403] [6] INFO: AT2[alcatel1]: speed set to 9600
2014-09-17 12:31:01 [25403] [6] DEBUG: AT2[alcatel1]: --> ATZ^M
2014-09-17 12:31:01 [25403] [6] DEBUG: AT2[alcatel1]: <-- OK
2014-09-17 12:31:01 [25403] [6] DEBUG: AT2[alcatel1]: --> AT^M
2014-09-17 12:31:01 [25403] [6] DEBUG: AT2[alcatel1]: <-- AT
2014-09-17 12:31:01 [25403] [6] DEBUG: AT2[alcatel1]: <-- OK
2014-09-17 12:31:01 [25403] [6] DEBUG: AT2[alcatel1]: --> AT&F^M
2014-09-17 12:31:01 [25403] [6] DEBUG: AT2[alcatel1]: <-- AT&F
2014-09-17 12:31:01 [25403] [6] DEBUG: AT2[alcatel1]: <-- OK
2014-09-17 12:31:01 [25403] [6] DEBUG: AT2[alcatel1]: --> ATE0^M
2014-09-17 12:31:01 [25403] [6] DEBUG: AT2[alcatel1]: <-- ATE0
2014-09-17 12:31:01 [25403] [6] DEBUG: AT2[alcatel1]: <-- OK
2014-09-17 12:31:01 [25403] [6] DEBUG: AT2[alcatel1]: --> AT+IFC=2,2^M
2014-09-17 12:31:01 [25403] [6] DEBUG: AT2[alcatel1]: <-- OK
2014-09-17 12:31:01 [25403] [6] DEBUG: AT2[alcatel1]: --> AT+CPIN?^M
2014-09-17 12:31:01 [25403] [6] DEBUG: AT2[alcatel1]: <-- +CPIN: READY
2014-09-17 12:31:01 [25403] [6] DEBUG: AT2[alcatel1]: --> AT+CMGF=0^M
2014-09-17 12:31:01 [25403] [6] DEBUG: AT2[alcatel1]: <-- OK
2014-09-17 12:31:01 [25403] [6] DEBUG: AT2[alcatel1]: --> AT+CSMS=?^M
2014-09-17 12:31:01 [25403] [6] DEBUG: AT2[alcatel1]: <-- OK
2014-09-17 12:31:01 [25403] [6] DEBUG: AT2[alcatel1]: --> AT+CNMI=1,2,0,1,0^M
2014-09-17 12:31:02 [25403] [6] DEBUG: AT2[alcatel1]: <-- +CSMS: (0-1)
2014-09-17 12:31:02 [25403] [6] DEBUG: AT2[alcatel1]: <-- OK
2014-09-17 12:31:02 [25403] [6] DEBUG: AT2[alcatel1]: --> AT+CPMS="sm"^M
2014-09-17 12:31:02 [25403] [6] DEBUG: AT2[alcatel1]: <-- OK
2014-09-17 12:31:02 [25403] [6] INFO: AT2[alcatel1]: AT SMSC successfully opened.
2014-09-17 12:31:02 [25403] [6] DEBUG: AT2[alcatel1]: <-- +CPMS: 0,50,0,100,0,100
2014-09-17 12:31:02 [25403] [6] DEBUG: AT2[alcatel1]: <-- OK
2014-09-17 12:31:02 [25403] [6] DEBUG: AT2[alcatel1]: --> AT^M
2014-09-17 12:31:02 [25403] [6] DEBUG: AT2[alcatel1]: <-- OK
2014-09-17 12:31:02 [25403] [6] DEBUG: AT2[alcatel1]: --> AT+CPMS?^M
2014-09-17 12:31:02 [25403] [6] DEBUG: AT2[alcatel1]: <-- +CPMS: "SM",0,50,"ME",0,100,"ME",0,100
2014-09-17 12:31:02 [25403] [6] DEBUG: AT2[alcatel1]: <-- OK
2014-09-17 12:31:08 [25403] [6] DEBUG: AT2[alcatel1]: --> AT^M
2014-09-17 12:31:08 [25403] [6] DEBUG: AT2[alcatel1]: <-- OK
2014-09-17 12:31:08 [25403] [6] DEBUG: AT2[alcatel1]: --> AT+CPMS?^M
2014-09-17 12:31:08 [25403] [6] DEBUG: AT2[alcatel1]: <-- +CPMS: "SM",0,50,"ME",0,100,"ME",0,100
2014-09-17 12:31:08 [25403] [6] DEBUG: AT2[alcatel1]: <-- OK
2014-09-17 12:31:14 [25403] [6] DEBUG: AT2[alcatel1]: --> AT^M
2014-09-17 12:31:14 [25403] [6] DEBUG: AT2[alcatel1]: <-- OK
2014-09-17 12:31:14 [25403] [6] DEBUG: AT2[alcatel1]: --> AT+CPMS?^M
2014-09-17 12:31:14 [25403] [6] DEBUG: AT2[alcatel1]: <-- +CPMS: "SM",0,50,"ME",0,100,"ME",0,100
2014-09-17 12:31:14 [25403] [6] DEBUG: AT2[alcatel1]: <-- OK
2014-09-17 12:31:20 [25403] [6] DEBUG: AT2[alcatel1]: --> AT^M
2014-09-17 12:31:20 [25403] [6] DEBUG: AT2[alcatel1]: <-- OK
2014-09-17 12:31:20 [25403] [6] DEBUG: AT2[alcatel1]: --> AT+CPMS?^M
2014-09-17 12:31:20 [25403] [6] DEBUG: AT2[alcatel1]: <-- +CPMS: "SM",0,50,"ME",0,100,"ME",0,100
2014-09-17 12:31:20 [25403] [6] DEBUG: AT2[alcatel1]: <-- OK
2014-09-17 12:31:26 [25403] [6] DEBUG: AT2[alcatel1]: --> AT^M
2014-09-17 12:31:27 [25403] [6] DEBUG: AT2[alcatel1]: <-- OK
2014-09-17 12:31:27 [25403] [6] DEBUG: AT2[alcatel1]: --> AT+CPMS?^M
2014-09-17 12:31:27 [25403] [6] DEBUG: AT2[alcatel1]: <-- +CPMS: "SM",0,50,"ME",0,100,"ME",0,100
2014-09-17 12:31:27 [25403] [6] DEBUG: AT2[alcatel1]: <-- OK
2014-09-17 12:31:33 [25403] [6] DEBUG: AT2[alcatel1]: --> AT^M
2014-09-17 12:31:33 [25403] [6] DEBUG: AT2[alcatel1]: <-- OK
2014-09-17 12:31:33 [25403] [6] DEBUG: AT2[alcatel1]: --> AT+CPMS?^M
2014-09-17 12:31:33 [25403] [6] DEBUG: AT2[alcatel1]: <-- +CPMS: "SM",0,50,"ME",0,100,"ME",0,100
2014-09-17 12:31:33 [25403] [6] DEBUG: AT2[alcatel1]: <-- OK
2014-09-17 12:31:39 [25403] [6] DEBUG: AT2[alcatel1]: --> AT^M
2014-09-17 12:31:39 [25403] [6] DEBUG: AT2[alcatel1]: <-- OK
2014-09-17 12:31:39 [25403] [6] DEBUG: AT2[alcatel1]: --> AT+CPMS?^M
2014-09-17 12:31:39 [25403] [6] DEBUG: AT2[alcatel1]: <-- +CPMS: "SM",0,50,"ME",0,100,"ME",0,100
2014-09-17 12:31:39 [25403] [6] DEBUG: AT2[alcatel1]: <-- OK
2014-09-17 12:31:42 [25403] [2] DEBUG: HTTP: Creating HTTPClient for `127.0.0.1'.
2014-09-17 12:31:42 [25403] [2] DEBUG: HTTP: Created HTTPClient area 0x9bfb338.
2014-09-17 12:31:42 [25403] [3] DEBUG: HTTP: Destroying HTTPClient area 0x9bfb338.
2014-09-17 12:31:42 [25403] [3] DEBUG: HTTP: Destroying HTTPClient for `127.0.0.1'.
2014-09-17 12:31:45 [25403] [6] DEBUG: AT2[alcatel1]: --> AT^M
2014-09-17 12:31:45 [25403] [6] DEBUG: AT2[alcatel1]: <-- OK
2014-09-17 12:31:45 [25403] [6] DEBUG: AT2[alcatel1]: --> AT+CPMS?^M
2014-09-17 12:31:45 [25403] [6] DEBUG: AT2[alcatel1]: <-- +CPMS: "SM",0,50,"ME",0,100,"ME",0,100
2014-09-17 12:31:45 [25403] [6] DEBUG: AT2[alcatel1]: <-- OK
2014-09-17 12:31:50 [25403] [2] DEBUG: HTTP: Creating HTTPClient for `127.0.0.1'.
2014-09-17 12:31:50 [25403] [2] DEBUG: HTTP: Created HTTPClient area 0x9c16058.
2014-09-17 12:31:50 [25403] [3] DEBUG: HTTP: Destroying HTTPClient area 0x9c16058.
2014-09-17 12:31:50 [25403] [3] DEBUG: HTTP: Destroying HTTPClient for `127.0.0.1'.
2014-09-17 12:31:51 [25403] [6] DEBUG: AT2[alcatel1]: --> AT^M
2014-09-17 12:31:51 [25403] [6] DEBUG: AT2[alcatel1]: <-- OK
2014-09-17 12:31:51 [25403] [6] DEBUG: AT2[alcatel1]: --> AT+CPMS?^M
2014-09-17 12:31:51 [25403] [6] DEBUG: AT2[alcatel1]: <-- +CPMS: "SM",0,50,"ME",0,100,"ME",0,100
2014-09-17 12:31:51 [25403] [6] DEBUG: AT2[alcatel1]: <-- OK
2014-09-17 12:31:53 [25403] [0] WARNING: Killing signal or HTTP admin command received, shutting down...
2014-09-17 12:31:53 [25403] [0] DEBUG: Shutting down Kannel...
2014-09-17 12:31:53 [25403] [0] DEBUG: shutting down smsc
2014-09-17 12:31:53 [25403] [0] DEBUG: AT2[alcatel1]: Shutting down SMSCConn, slow
2014-09-17 12:31:53 [25403] [0] DEBUG: shutting down udp
2014-09-17 12:31:53 [25403] [6] INFO: AT2[alcatel1]: Closing device
2014-09-17 12:31:53 [25403] [6] DEBUG: Thread 6 (gw/smsc/smsc_at.c:at2_device_thread) terminates.
2014-09-17 12:31:53 [25403] [7] DEBUG: Thread 7 (gw/bb_smscconn.c:sms_router) terminates.
2014-09-17 12:31:53 [25403] [4] DEBUG: Thread 4 (gw/bb_boxc.c:sms_to_smsboxes) terminates.
2014-09-17 12:31:53 [25403] [5] DEBUG: Thread 5 (gw/bb_boxc.c:smsboxc_run) terminates.
2014-09-17 12:31:53 [25403] [0] INFO: All flow threads have died, killing core
2014-09-17 12:31:53 [25403] [0] DEBUG: Waiting for 2 (gwlib/http.c:server_thread) to terminate
2014-09-17 12:31:53 [25403] [3] DEBUG: HTTP: No clients with requests, quitting.
2014-09-17 12:31:53 [25403] [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run) terminates.
2014-09-17 12:31:54 [25403] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) terminates.
2014-09-17 12:31:54 [25403] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) terminates.
2014-09-17 12:31:54 [25403] [0] DEBUG: final clean-up for SMSCConn
2014-09-17 12:31:54 [25403] [0] DEBUG: MO concatenated message handling cleaned up
2014-09-17 12:31:54 [25403] [0] INFO: Total WDP messages: received 0, sent 0
2014-09-17 12:31:54 [25403] [0] INFO: Total SMS messages: received 0, dlr 0, sent 0, dlr 0
2014-09-17 12:31:54 [25403] [0] DEBUG: Immutable octet strings: 283.