Hi I'm having a slight problem with my SMS gateway. I've installed Kannel 1.2.1 on a RedHat linux 7.3. I'm using a Wavecom M1200 modem. I've set up a simple service that replies with a simple text. But when I send an SMS to the service I never get the reply. I can see in the log that something is going wrong. I have no problem sending messages through the http interface. This is what I get from the log:
2003-09-04 08:58:00 [6] DEBUG: AT2[wavecom_1]: <-- +CMT: ,22 2003-09-04 08:58:00 [6] DEBUG: AT2[wavecom_1]: <-- 06915404939099240A915416868515000030904080759480044786BC0C 2003-09-04 08:58:00 [6] DEBUG: AT2[wavecom_1]: Numeric sender (international) <+4561685851> 2003-09-04 08:58:00 [6] DEBUG: AT2[wavecom_1]: --> AT+CNMA^M 2003-09-04 08:58:00 [10] DEBUG: boxc_sender: sent message to <127.0.0.1> 2003-09-04 08:58:00 [9] DEBUG: boxc_receiver: sms received 2003-09-04 08:58:00 [9] DEBUG: boxc_receiver: got ack 2003-09-04 08:58:00 [1] DEBUG: Dumping 1 messages and 0 acks to store 2003-09-04 08:58:00 [6] DEBUG: AT2[wavecom_1]: <-- OK 2003-09-04 08:58:00 [6] DEBUG: AT2[wavecom_1]: TP-Validity-Period: 24.0 hours 2003-09-04 08:58:00 [6] DEBUG: AT2[wavecom_1]: --> AT+CMGS=160^M 2003-09-04 08:58:00 [6] DEBUG: AT2[wavecom_1]: <-- > 2003-09-04 08:58:00 [6] DEBUG: AT2[wavecom_1]: send command status: 1 2003-09-04 08:58:00 [6] DEBUG: AT2[wavecom_1]: --> 0011000A9154168685150000A7A861B93C9C47D152A00D4A01026D78B08DAFE753804073BA3CED3EA36AB01448F42287E9E1973D2DA7D7C3EC97DAFE9AB7E7AF75D8ED2EB3236178FA452FCFE991B47BFC6EB7D3EEB30B8E868B1420D08617DBF87A3E050834A7CBD3EE33CA9602898E25234E5E162940A00D4FB6F1F57C0A10684E97A7DD67542C97028962B9D9AC05C3B564B2158CA693C574B49C4801026D78 2003-09-04 08:58:01 [6] DEBUG: AT2[wavecom_1]: --> ^Z 2003-09-04 08:58:05 [6] DEBUG: AT2[wavecom_1]: <-- > 2003-09-04 08:58:05 [6] DEBUG: AT2[wavecom_1]: <-- ERROR 2003-09-04 08:58:05 [6] DEBUG: AT2[wavecom_1]: send command status: -1 2003-09-04 08:58:05 [6] DEBUG: AT2[wavecom_1]: --> AT+CMGS=160^M 2003-09-04 08:58:06 [6] DEBUG: AT2[wavecom_1]: <-- > 2003-09-04 08:58:06 [6] DEBUG: AT2[wavecom_1]: send command status: 1 2003-09-04 08:58:06 [6] DEBUG: AT2[wavecom_1]: --> 0011000A9154168685150000A7A861B93C9C47D152A00D4A01026D78B08DAFE753804073BA3CED3EA36AB01448F42287E9E1973D2DA7D7C3EC97DAFE9AB7E7AF75D8ED2EB3236178FA452FCFE991B47BFC6EB7D3EEB30B8E868B1420D08617DBF87A3E050834A7CBD3EE33CA9602898E25234E5E162940A00D4FB6F1F57C0A10684E97A7DD67542C97028962B9D9AC05C3B564B2158CA693C574B49C4801026D78 2003-09-04 08:58:06 [6] DEBUG: AT2[wavecom_1]: --> ^Z 2003-09-04 08:58:12 [6] DEBUG: AT2[wavecom_1]: <-- > 2003-09-04 08:58:12 [6] DEBUG: AT2[wavecom_1]: <-- ERROR 2003-09-04 08:58:12 [6] DEBUG: AT2[wavecom_1]: send command status: -1 2003-09-04 08:58:12 [6] DEBUG: AT2[wavecom_1]: --> AT+CMGS=160^M 2003-09-04 08:58:13 [6] DEBUG: AT2[wavecom_1]: <-- > 2003-09-04 08:58:13 [6] DEBUG: AT2[wavecom_1]: send command status: 1 2003-09-04 08:58:13 [6] DEBUG: AT2[wavecom_1]: --> 0011000A9154168685150000A7A861B93C9C47D152A00D4A01026D78B08DAFE753804073BA3CED3EA36AB01448F42287E9E1973D2DA7D7C3EC97DAFE9AB7E7AF75D8ED2EB3236178FA452FCFE991B47BFC6EB7D3EEB30B8E868B1420D08617DBF87A3E050834A7CBD3EE33CA9602898E25234E5E162940A00D4FB6F1F57C0A10684E97A7DD67542C97028962B9D9AC05C3B564B2158CA693C574B49C4801026D78 2003-09-04 08:58:13 [6] DEBUG: AT2[wavecom_1]: --> ^Z 2003-09-04 08:58:18 [6] DEBUG: AT2[wavecom_1]: <-- > 2003-09-04 08:58:18 [6] DEBUG: AT2[wavecom_1]: <-- ERROR 2003-09-04 08:58:18 [6] DEBUG: AT2[wavecom_1]: send command status: -1 2003-09-04 08:58:18 [1] DEBUG: Dumping 0 messages and 0 acks to store -- Venlig hilsen / Best regards, Jacob Vennervald System Developer Proventum Solutions ApS Tuborg Boulevard 12 2900 Hellerup Denmark Phone: +45 36 94 41 66 Mobile: +45 61 68 58 51