I'm sorry if I did not understand.

Logs for bearerbox (/var/log/kannel.log) :
http://pastebin.ca/1565673

Logs for smsbox (/var/log/smsbox.log) :
http://pastebin.ca/1565679

At 35th line, I sent SMS via : lynx -dump
'http://127.0.0.1:13002/cgi-bin/sendsms?username=ju&password=test&from=06********&to=06********&text=mySMS'.
I've not receive the SMS.

In the bearerbox's logs, you may notice that there is no new line when I try
to send SMS.

My kannel configuration (with smsbox-port: 12002) :
http://pastebin.ca/1565684

Thanx a lot for your attention.



Nikos Balkanas wrote:
> 
> Hi,
> 
> Please, you don't know what I am looking for. When I ask for the logs, 
> please send in the logs, even if they mean nothing to you.
> 
> Anyway, since I don't have the logs, i 'll have to take a guess now. But I 
> am surprised that your smsbox is running at all! In group core add:
> 
> smsbox-port = 13002
> 
> BR,
> Nikos
> 
> ----- Original Message ----- 
> From: "Juxener" <[email protected]>
> To: <[email protected]>
> Sent: Sunday, September 13, 2009 10:03 PM
> Subject: Re: Bearerbox and smsbox work, but I can't sending sms
> 
> 
> 
> You asked my logs Β« from when receiving sms Β». But my kannel don't 
> receiving
> message, there is nothing in my logs.
> 
> And when I try to send SMS with kannel, I've also no entry in the
> bearerbox
> logfile.
> 
> Thanx.
> 
> 
> 
> Nikos Balkanas wrote:
>>
>> Hi,
>>
>> I asked for detailed bb logs of the problemj. These are not it.
>>
>> Nikos
>> ----- Original Message ----- 
>> From: "Juxener" <[email protected]>
>> To: <[email protected]>
>> Sent: Sunday, September 13, 2009 7:57 PM
>> Subject: Re: Bearerbox and smsbox work, but I can't sending sms
>>
>>
>>>
>>> Thanx for your response.
>>>
>>> I would like to give you that, but Kannel don't receive my SMS...
>>> although
>>> that I can send and read SMS with AT commands.
>>>
>>> My kannel.conf :
>>> group = core
>>> admin-port = 13000
>>> admin-password = bar
>>> box-allow-ip = "127.0.0.1"
>>> log-file = "/var/log/kannel/kannel.log"
>>> access-log = "/var/log/kannel/kannel-access.log"
>>> store-file = "/etc/kannel/kannel.store"
>>>
>>> group = modems
>>> id = siemens_m20
>>> name = "Siemens M20"
>>> detect-string = "SIEMENS"
>>> detect-string2 = "M20"
>>> speed = 19200
>>> init-string = "AT+CNMI=1,2,0,0,0"
>>> keepalive-cmd = "AT+CBC;+CSQ"
>>> need-sleep = true
>>>
>>> group = smsc
>>> smsc = at
>>> smsc-id = siemensVolant
>>> modemtype = siemens_m20
>>> device = /dev/ttyS0
>>>
>>> group = smsbox
>>> bearerbox-host = localhost
>>> sendsms-port = 13001
>>> log-file = "/var/log/kannel/smsbox.log"
>>>
>>> group = sendsms-user
>>> username = "ju"
>>> password = "test"
>>> user-deny-ip = "*.*.*.*"
>>> user-allow-ip = "127.0.0.1"
>>>
>>> group = sms-service
>>> keyword = default
>>> text = "No service specified"
>>>
>>> Thanx.
>>>
>>>
>>> Nikos Balkanas wrote:
>>>>
>>>> Hi,
>>>>
>>>> smsbox look fine. Please post detailed bearerbox logs from when
>>>> receiving
>>>> sms...
>>>>
>>>> BR,
>>>> Nikos
>>>> ----- Original Message ----- 
>>>> From: "Juxener" <[email protected]>
>>>> To: <[email protected]>
>>>> Sent: Sunday, September 13, 2009 1:44 PM
>>>> Subject: Bearerbox and smsbox work, but I can't sending sms
>>>>
>>>>
>>>>>
>>>>> Hi.
>>>>>
>>>>> I'v an issue.... Kannel works, smsbox works, but I can't sending any
>>>>> SMS.
>>>>>
>>>>> When I execute bearerbox :
>>>>> [...]
>>>>> 2009-09-13 14:03:24 [2371] [4] INFO: AT2[siemensVolant]: opening
>>>>> device
>>>>> 2009-09-13 14:03:24 [2371] [4] DEBUG: AT2[siemensVolant]: device
>>>>> opened
>>>>> 2009-09-13 14:03:25 [2371] [4] DEBUG: AT2[siemensVolant]: device
>>>>> opened
>>>>> 2009-09-13 14:03:25 [2371] [4] INFO: AT2[siemensVolant]: init device
>>>>> 2009-09-13 14:03:25 [2371] [4] INFO: AT2[siemensVolant]: speed set to
>>>>> 19200
>>>>> 2009-09-13 14:03:25 [2371] [4] DEBUG: AT2[siemensVolant]: --> ATZ^M
>>>>> 2009-09-13 14:03:25 [2371] [4] DEBUG: AT2[siemensVolant]: <-- OK
>>>>> 2009-09-13 14:03:25 [2371] [4] DEBUG: AT2[siemensVolant]: --> AT^M
>>>>> 2009-09-13 14:03:25 [2371] [4] DEBUG: AT2[siemensVolant]: <-- AT
>>>>> 2009-09-13 14:03:25 [2371] [4] DEBUG: AT2[siemensVolant]: <-- OK
>>>>> 2009-09-13 14:03:25 [2371] [4] DEBUG: AT2[siemensVolant]: --> AT&F^M
>>>>> 2009-09-13 14:03:25 [2371] [4] DEBUG: AT2[siemensVolant]: <-- AT&F
>>>>> 2009-09-13 14:03:25 [2371] [4] DEBUG: AT2[siemensVolant]: <-- OK
>>>>> 2009-09-13 14:03:25 [2371] [4] DEBUG: AT2[siemensVolant]: --> ATE0^M
>>>>> 2009-09-13 14:03:25 [2371] [4] DEBUG: AT2[siemensVolant]: <-- ATE0
>>>>> 2009-09-13 14:03:25 [2371] [4] DEBUG: AT2[siemensVolant]: <-- OK
>>>>> 2009-09-13 14:03:25 [2371] [4] DEBUG: AT2[siemensVolant]: -->
>>>>> AT+IFC=2,2^M
>>>>> 2009-09-13 14:03:25 [2371] [4] DEBUG: AT2[siemensVolant]: <-- OK
>>>>> 2009-09-13 14:03:25 [2371] [4] DEBUG: AT2[siemensVolant]: -->
>>>>> AT+CPIN?^M
>>>>> 2009-09-13 14:03:25 [2371] [4] DEBUG: AT2[siemensVolant]: <-- +CPIN:
>>>>> READY
>>>>> 2009-09-13 14:03:25 [2371] [4] DEBUG: AT2[siemensVolant]: <-- OK
>>>>> 2009-09-13 14:03:25 [2371] [4] DEBUG: AT2[siemensVolant]: -->
>>>>> AT+CMGF=0^M
>>>>> 2009-09-13 14:03:26 [2371] [4] DEBUG: AT2[siemensVolant]: <-- OK
>>>>> 2009-09-13 14:03:26 [2371] [4] DEBUG: AT2[siemensVolant]: -->
>>>>> AT+CSMS=?^M
>>>>> 2009-09-13 14:03:26 [2371] [4] DEBUG: AT2[siemensVolant]: <-- +CSMS:
>>>>> (0,1,128)
>>>>> 2009-09-13 14:03:26 [2371] [4] DEBUG: AT2[siemensVolant]: <-- OK
>>>>> 2009-09-13 14:03:26 [2371] [4] INFO: AT2[siemensVolant]: Phase 2+ is
>>>>> supported
>>>>> 2009-09-13 14:03:26 [2371] [4] DEBUG: AT2[siemensVolant]: -->
>>>>> AT+CSMS=1^M
>>>>> 2009-09-13 14:03:26 [2371] [4] DEBUG: AT2[siemensVolant]: <-- +CSMS:
>>>>> 1,1,1
>>>>> 2009-09-13 14:03:26 [2371] [4] DEBUG: AT2[siemensVolant]: <-- OK
>>>>> 2009-09-13 14:03:26 [2371] [4] DEBUG: AT2[siemensVolant]: -->
>>>>> AT+CNMI=1,2,0,0,0^M
>>>>> 2009-09-13 14:03:26 [2371] [4] DEBUG: AT2[siemensVolant]: <-- OK
>>>>> 2009-09-13 14:03:26 [2371] [4] INFO: AT2[siemensVolant]: AT SMSC
>>>>> successfully opened.
>>>>>
>>>>> And when I execute smsbox :
>>>>> [...]
>>>>> 2009-09-13 14:17:18 [2585] [0] DEBUG: Kannel smsbox version 1.4.1
>>>>> starting
>>>>> 2009-09-13 14:17:18 [2585] [3] DEBUG: Thread 3
>>>>> (gw/smsbox.c:sendsms_thread)
>>>>> maps to pid 2585.
>>>>> 2009-09-13 14:17:18 [2585] [2] DEBUG: Thread 2
>>>>> (gwlib/http.c:server_thread)
>>>>> maps to pid 2585.
>>>>> 2009-09-13 14:17:18 [2585] [0] DEBUG: Started thread 4
>>>>> (gw/smsbox.c:obey_request_thread)
>>>>> 2009-09-13 14:17:18 [2585] [0] DEBUG: Started thread 5
>>>>> (gw/smsbox.c:url_result_thread)
>>>>> 2009-09-13 14:17:18 [2585] [4] DEBUG: Thread 4
>>>>> (gw/smsbox.c:obey_request_thread) maps to pid 2585.
>>>>> 2009-09-13 14:17:18 [2585] [6] DEBUG: Thread 6
>>>>> (gw/smsbox.c:http_queue_thread) maps to pid 2585.
>>>>> 2009-09-13 14:17:18 [2585] [5] DEBUG: Thread 5
>>>>> (gw/smsbox.c:url_result_thread) maps to pid 2585.
>>>>> 2009-09-13 14:17:18 [2585] [0] DEBUG: Started thread 6
>>>>> (gw/smsbox.c:http_queue_thread)
>>>>> 2009-09-13 14:17:18 [2585] [2] DEBUG: HTTP: Creating HTTPClient for
>>>>> `127.0.0.1'.
>>>>> 2009-09-13 14:17:18 [2585] [2] DEBUG: HTTP: Created HTTPClient area
>>>>> 0x8784220.
>>>>> 2009-09-13 14:17:18 [2585] [0] INFO: Connected to bearerbox at
>>>>> localhost
>>>>> port 13001.
>>>>> 2009-09-13 14:17:18 [2585] [0] DEBUG: Started thread 7
>>>>> (gw/heartbeat.c:heartbeat_thread)
>>>>> 2009-09-13 14:17:18 [2585] [7] DEBUG: Thread 7
>>>>> (gw/heartbeat.c:heartbeat_thread) maps to pid 2585.
>>>>>
>>>>> If I try to send SMS, with :
>>>>> lynx -dump
>>>>> 'http://127.0.0.1:13001/cgi-bin/sendsms?username=ju&password=test&from=**********&to=**********&text=mySMS'
>>>>>
>>>>> In the smsbox's log, I've :
>>>>> 2009-09-13 14:32:33 [2626] [2] DEBUG: HTTP: Creating HTTPClient for
>>>>> `127.0.0.1'.
>>>>> 2009-09-13 14:32:33 [2626] [2] DEBUG: HTTP: Created HTTPClient area
>>>>> 0x88ce288.
>>>>> 2009-09-13 14:32:33 [2626] [3] INFO: smsbox: Got HTTP request
>>>>> </cgi-bin/sendsms> from <127.0.0.1>
>>>>> 2009-09-13 14:32:33 [2626] [3] INFO: sendsms used by <ju>
>>>>> 2009-09-13 14:32:33 [2626] [3] INFO: sendsms sender:<ju:0648682255>
>>>>> (127.0.0.1) to:<0671555141> msg:<heheLamiVendredi>
>>>>> 2009-09-13 14:32:33 [2626] [3] DEBUG: Stored UUID
>>>>> 5d776909-2ea9-4230-bb3c-42b070cf1f91
>>>>> 2009-09-13 14:32:33 [2626] [3] DEBUG: message length 16, sending 1
>>>>> messages
>>>>> 2009-09-13 14:32:33 [2626] [3] DEBUG: Status: 202 Answer: <Sent.>
>>>>> 2009-09-13 14:32:33 [2626] [3] DEBUG: Delayed reply - wait for
>>>>> bearerbox
>>>>> 2009-09-13 14:32:33 [2626] [1] DEBUG: HTTP: Destroying HTTPClient area
>>>>> 0x88d0250.
>>>>> 2009-09-13 14:32:33 [2626] [1] DEBUG: HTTP: Destroying HTTPClient for
>>>>> `127.0.0.1'.
>>>>> 2009-09-13 14:32:33 [2626] [0] ERROR: Connection closed by the
>>>>> bearerbox.
>>>>> 2009-09-13 14:32:33 [2626] [0] INFO: Received (and handled?) 0
>>>>> requests
>>>>> in
>>>>> 24 seconds (0.00 per second)
>>>>> 2009-09-13 14:32:33 [2626] [0] INFO: Kannel smsbox terminating.
>>>>> 2009-09-13 14:32:33 [2626] [7] DEBUG: Thread 7
>>>>> (gw/heartbeat.c:heartbeat_thread) terminates.
>>>>> 2009-09-13 14:32:33 [2626] [0] DEBUG: Waiting for 2
>>>>> (gwlib/http.c:server_thread) to terminate
>>>>> 2009-09-13 14:32:33 [2626] [3] DEBUG: HTTP: No clients with requests,
>>>>> quitting.
>>>>> 2009-09-13 14:32:33 [2626] [3] DEBUG: Thread 3
>>>>> (gw/smsbox.c:sendsms_thread)
>>>>> terminates.
>>>>> 2009-09-13 14:32:33 [2626] [2] DEBUG: HTTP: Destroying HTTPClient area
>>>>> 0x88ce288.
>>>>> 2009-09-13 14:32:33 [2626] [2] DEBUG: HTTP: Destroying HTTPClient for
>>>>> `127.0.0.1'.
>>>>> 2009-09-13 14:32:33 [2626] [2] DEBUG: Thread 2
>>>>> (gwlib/http.c:server_thread)
>>>>> terminates.
>>>>> 2009-09-13 14:32:33 [2626] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller)
>>>>> terminates.
>>>>> 2009-09-13 14:32:33 [2626] [4] DEBUG: Thread 4
>>>>> (gw/smsbox.c:obey_request_thread) terminates.
>>>>> 2009-09-13 14:32:33 [2626] [6] DEBUG: Thread 6
>>>>> (gw/smsbox.c:http_queue_thread) terminates.
>>>>> 2009-09-13 14:32:33 [2626] [0] DEBUG: Waiting for 5
>>>>> (gw/smsbox.c:url_result_thread) to terminate
>>>>> 2009-09-13 14:32:33 [2626] [5] DEBUG: Thread 5
>>>>> (gw/smsbox.c:url_result_thread) terminates.
>>>>> 2009-09-13 14:32:33 [2626] [0] DEBUG: Immutable octet strings: 177
>>>>>
>>>>> But none SMS sent...
>>>>> I've a M20 Siemens.
>>>>>
>>>>> Do you know why I can't send SMS ?
>>>>>
>>>>> Thanx a lot in advance for your help.
>>>>> Ju.
>>>>> -- 
>>>>> View this message in context:
>>>>> http://www.nabble.com/Bearerbox-and-smsbox-work%2C-but-I-can%27t-sending-sms-tp25422111p25422111.html
>>>>> Sent from the Kannel - User mailing list archive at Nabble.com.
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>> -- 
>>> View this message in context:
>>> http://www.nabble.com/Bearerbox-and-smsbox-work%2C-but-I-can%27t-sending-sms-tp25422111p25424893.html
>>> Sent from the Kannel - User mailing list archive at Nabble.com.
>>>
>>>
>>
>>
>>
>>
> 
> -- 
> View this message in context: 
> http://www.nabble.com/Bearerbox-and-smsbox-work%2C-but-I-can%27t-sending-sms-tp25422111p25426086.html
> Sent from the Kannel - User mailing list archive at Nabble.com.
> 
> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Bearerbox-and-smsbox-work%2C-but-I-can%27t-sending-sms-tp25422111p25439430.html
Sent from the Kannel - User mailing list archive at Nabble.com.


Reply via email to