You need to set the log-level to 0 and look on the smsc's log afterwards.

Regards,

Alex

On Mon, Mar 1, 2010 at 7:25 PM, Jakob Thomsen <[email protected]> wrote:

>  Hi Marcelo,
>
>
>
> Thanks for your quick reply. I am probably looking in the wrong places but
> I haven’t been able to find the PDU in either the bearerbox or smsbox log.
> Where can I find it?
>
>
>
> Regards
>
>
>
> Jakob
>
>
>
>
>
> *From:* Marcelo Olivas [mailto:[email protected]]
> *Sent:* 1. marts 2010 19:04
> *To:* Jakob Thomsen
> *Cc:* [email protected]
> *Subject:* Re: sms-combine-concatenated-mo problem/not working
>
>
>
> Jakob, can you please provide the PDU for the MO that the SMSC is sending?
>  If I'm not mistaking you need the esm_class parameter being set.  For
> example, the following PDU doesn't have the esm_class set and therefore,
> Kannel doesn't know if it should concatenate the message:
>
>
>
> 2010-02-26 13:46:48 [9936] [13] DEBUG: SMPP PDU 0xade203a0 dump:
>
> 2010-02-26 13:46:48 [9936] [13] DEBUG:   type_name: deliver_sm
>
> 2010-02-26 13:46:48 [9936] [13] DEBUG:   command_id: 5 = 0x00000005
>
> 2010-02-26 13:46:48 [9936] [13] DEBUG:   command_status: 0 = 0x00000000
>
> 2010-02-26 13:46:48 [9936] [13] DEBUG:   sequence_number: 12109 =
> 0x00002f4d
>
> 2010-02-26 13:46:48 [9936] [13] DEBUG:   service_type: NULL
>
> 2010-02-26 13:46:48 [9936] [13] DEBUG:   source_addr_ton: 2 = 0x00000002
>
> 2010-02-26 13:46:48 [9936] [13] DEBUG:   source_addr_npi: 1 = 0x00000001
>
> 2010-02-26 13:46:48 [9936] [13] DEBUG:   source_addr: "4444199558"
>
> 2010-02-26 13:46:48 [9936] [13] DEBUG:   dest_addr_ton: 4 = 0x00000004
>
> 2010-02-26 13:46:48 [9936] [13] DEBUG:   dest_addr_npi: 9 = 0x00000009
>
> 2010-02-26 13:46:48 [9936] [13] DEBUG:   destination_addr: "55220"
>
> 2010-02-26 13:46:48 [9936] [13] DEBUG:   *esm_class: 0 = 0x00000000*
>
> 2010-02-26 13:46:48 [9936] [13] DEBUG:   protocol_id: 0 = 0x00000000
>
> 2010-02-26 13:46:48 [9936] [13] DEBUG:   priority_flag: 0 = 0x00000000
>
> 2010-02-26 13:46:48 [9936] [13] DEBUG:   schedule_delivery_time: NULL
>
> 2010-02-26 13:46:48 [9936] [13] DEBUG:   validity_period: NULL
>
> 2010-02-26 13:46:48 [9936] [13] DEBUG:   registered_delivery: 0 =
> 0x00000000
>
> 2010-02-26 13:46:48 [9936] [13] DEBUG:   replace_if_present_flag: 0 =
> 0x00000000
>
> 2010-02-26 13:46:48 [9936] [13] DEBUG:   data_coding: 0 = 0x00000000
>
> 2010-02-26 13:46:48 [9936] [13] DEBUG:   sm_default_msg_id: 0 = 0x00000000
>
> 2010-02-26 13:46:48 [9936] [13] DEBUG:   sm_length: 38 = 0x00000026
>
> 2010-02-26 13:46:48 [9936] [13] DEBUG:   short_message:
>
> 2010-02-26 13:46:48 [9936] [13] DEBUG:    Octet string at 0xade13e48:
>
> 2010-02-26 13:46:48 [9936] [13] DEBUG:      len:  38
>
> 2010-02-26 13:46:48 [9936] [13] DEBUG:      size: 39
>
> 2010-02-26 13:46:48 [9936] [13] DEBUG:      immutable: 0
>
> 2010-02-26 13:46:48 [9936] [13] DEBUG:      data: 4d 65 72 61 20 65 69 6b
> 61 20 65 6c 69 73 61 20   Mera eika elisa
>
> 2010-02-26 13:46:48 [9936] [13] DEBUG:      data: 67 6f 6e 7a 61 6c 65 7a
> 20 62 61 72 61 6a 61 73   gonzalez barajas
>
> 2010-02-26 13:46:48 [9936] [13] DEBUG:      data: 20 63 6f 6d 70 75
>                          compu
>
> 2010-02-26 13:46:48 [9936] [13] DEBUG:    Octet string dump ends.
>
> 2010-02-26 13:46:48 [9936] [13] DEBUG: SMPP PDU dump ends.
>
>
>
> Regards,
>
> Marcelo
>
> On Mar 1, 2010, at 12:49 PM, Jakob Thomsen wrote:
>
>
>
>   Hi all,
>
>
>
> Now I have starred at my Kannel configuration file for hours and I still
> can’t figure out, why text messages longer than 160 characters are not
> concatenated by kannel and then sent to my web application. It sends of the
> text message in bits of 160 characters.
>
> I guess it is a misconfiguration, so I hope someone out there can spot the
> problem.
>
> My configuration file looks like this
>
>
>
> group = core
>
> admin-port = 13000
>
> smsbox-port = 13005
>
> admin-password = bar
>
> log-file = "/var/log/kannel/bearerbox.log"
>
> log-level = 0
>
> box-deny-ip = "*.*.*.*"
>
> box-allow-ip = "127.0.0.1"
>
> access-log = "/var/log/kannel/access.log"
>
> sms-combine-concatenated-mo = true
>
> sms-combine-concatenated-mo-timeout = "1800"
>
> dlr-storage = internal
>
> sms-resend-retry = 10
>
> sms-resend-freq = 2
>
>
>
> group = smsc
>
> smsc = at
>
> modemtype = siemensmc35i
>
> device = /dev/ttyS0
>
> speed = 19200
>
> pin = 2412
>
>
>
> group = modems
>
> id = siemensmc35i
>
> name = siemensmc35i
>
> detect-string = "Siemens MC35i"
>
> init-string = "AT+CNMI=3,2,0,1,1"
>
> enable-hwhs="AT\Q3"
>
>
>
> group = smsbox
>
> bearerbox-host = 127.0.0.1
>
> global-sender = 0
>
> mo-recode = true
>
> sendsms-port = 13013
>
> sendsms-chars = "0123456789 +-"
>
> log-file = "/var/log/kannel/smsbox.log"
>
> access-log = "/var/log/kannel/smsboxAccess.log"
>
>
>
> group = sendsms-user
>
> username = tester
>
> password = foobar
>
> concatenation = true
>
> max-messages= 10
>
>
>
> group = sms-service
>
> name = receiveMessages
>
> keyword = default
>
> max-messages = 0
>
> concatenation = true
>
> get-url = 
> http://localhost:8080/receiveSMS?sender=%p&text=%a<http://localhost:8080/receiveSMS?sender=%25p&text=%25a>
>
>
>
> The output from status is:
>
> Kannel bearerbox version `1.4.3'.
>
> Build `Mar  1 2010 16:43:22', compiler `4.3.2'.
>
> System Linux, release 2.6.27-16-generic, version #1 SMP Tue Dec 1 17:56:54
> UTC 2                                                009, machine i686.
>
> Hostname largo, IP 127.0.1.1.
>
> Libxml version 2.6.32.
>
> Using native malloc.
>
>
>
> Status: running, uptime 0d 0h 7m 46s
>
> WDP: received 0 (0 queued), sent 0 (0 queued)
>
> SMS: received 2 (0 queued), sent 0 (0 queued), store size -1
>
> SMS: inbound (0.03,0.01,0.00) msg/sec, outbound (0.00,0.00,0.00) msg/sec
>
> DLR: 0 queued, using internal storage
>
> Box connections:
>
>     smsbox:(none), IP 127.0.0.1 (0 queued), (on-line 0d 0h 7m 32s)
>
> SMSC connections:
>
>     unknown    AT2[/dev/ttyS0] (online 464s, rcvd 2, sent 0, failed 0,
> queued 0                                                 msgs)
>
>
>
> Best regards
>
>
>
> Jakob G. Thomsen
>
>
>

Reply via email to