I just hooked up a Falcom a2d gsm modem and configured kannel appropriately. Starting bearerbox is all well:
2003-03-26 14:14:37 [6] DEBUG: AT2[muts]: <-- OK 2003-03-26 14:14:37 [6] DEBUG: AT2[muts]: --> AT&F^M 2003-03-26 14:14:37 [6] DEBUG: AT2[muts]: <-- OK 2003-03-26 14:14:37 [6] DEBUG: AT2[muts]: --> ATE0^M 2003-03-26 14:14:37 [6] DEBUG: AT2[muts]: <-- OK 2003-03-26 14:14:37 [6] DEBUG: AT2[muts]: --> AT+IFC=2,2^M 2003-03-26 14:14:37 [6] DEBUG: AT2[muts]: <-- OK 2003-03-26 14:14:37 [6] DEBUG: AT2[muts]: --> AT+CMGF=0^M 2003-03-26 14:14:37 [6] DEBUG: AT2[muts]: <-- OK 2003-03-26 14:14:37 [6] DEBUG: AT2[muts]: --> AT+CSMS=?^M 2003-03-26 14:14:38 [6] DEBUG: AT2[muts]: <-- +CSMS: (0,1) 2003-03-26 14:14:38 [6] DEBUG: AT2[muts]: <-- OK 2003-03-26 14:14:38 [6] INFO: AT2[muts]: Phase 2+ is supported 2003-03-26 14:14:38 [6] DEBUG: AT2[muts]: --> AT+CSMS=1^M 2003-03-26 14:14:38 [6] DEBUG: AT2[muts]: <-- +CSMS: 1,1,1 2003-03-26 14:14:38 [6] DEBUG: AT2[muts]: <-- OK 2003-03-26 14:14:38 [6] DEBUG: AT2[muts]: --> AT+CNMI=1,2,0,1,0^M 2003-03-26 14:14:38 [6] DEBUG: AT2[muts]: <-- OK 2003-03-26 14:14:38 [6] INFO: AT2[muts]: AT SMSC successfully opened.
Now whenever an SMS comes in on the modem, this is what shows up in bearerbox's log:
2003-03-26 14:15:09 [6] DEBUG: AT2[muts]: <-- +CMT: ,22
2003-03-26 14:15:10 [6] DEBUG: AT2[muts]: <-- 07911356131313F3040B911356418000F400003030624192930003C2321B
2003-03-26 14:15:10 [6] DEBUG: AT2[muts]: --> AT+CNMA^M
2003-03-26 14:15:10 [6] DEBUG: AT2[muts]: <-- OK
Then nothings happens, the message is not being routed to the appropriate sms-service. Also, the data doesn't make all that much sense to me.
With the same kannel.conf and the same sms-service with an emi2 connection added, an MO over emi2 is being handled correctly.
Why aren't my mo messages received ok? What's wrong here?
Regards,
Bas.
