Re: Error Sending Concatenated SMS

Navjot Singh <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
seems like your smsc doesnt like the SM you sent.
can you test your request with another smsc (say gsm modem)

moreover, i have seen problems with continous text (with no spaces
etc..) but that may be pertaining to my smsc only as they took that as
bad message and dump it ;-)


On Tue, 23 Nov 2004 09:17:46 +0300, Amol Patwardhan <[email protected]> wrote:
> 
> 
> 
> Hi All,
> 
>  
> 
> I am getting error while sending text SMS more than 160 bytes. I am using
> Kannel 1.3.1 on Redhat 9.
> 
> I am unable to send sms as multiple concatenated sms. Even if the parameter
> is concatenation = true / false this
> 
> error is coming.
> 
>  
> 
> Following is my kannel.conf for sendsms-user
> 
>  
> 
> # SEND-SMS USERS
> 
> group = sendsms-user
> 
> username = tester
> 
> password = foobar
> 
> user-deny-ip = "*.*.*.*"
> 
> user-allow-ip = "127.0.0.1"
> 
> concatenation = false
> 
> default-sender = 4444
> 
> max-messages=5
> 
>  
> 
> Error from logfile is – 
> 
>  
> 
> 2004-11-23 08:44:49 [5] DEBUG:
> SMPP[SMPP:193.99.99.99:8001/8001:testlogin:smpp]: Sending PDU:
> 
> 2004-11-23 08:44:49 [5] DEBUG: SMPP PDU 0x81222a0 dump:
> 
> 2004-11-23 08:44:49 [5] DEBUG:   type_name: submit_sm
> 
> 2004-11-23 08:44:49 [5] DEBUG:   command_id: 4 = 0x00000004
> 
> 2004-11-23 08:44:49 [5] DEBUG:   command_status: 0 = 0x00000000
> 
> 2004-11-23 08:44:49 [5] DEBUG:   sequence_number: 2 = 0x00000002
> 
> 2004-11-23 08:44:49 [5] DEBUG:   service_type: NULL
> 
> 2004-11-23 08:44:49 [5] DEBUG:   source_addr_ton: 2 = 0x00000002
> 
> 2004-11-23 08:44:49 [5] DEBUG:   source_addr_npi: 1 = 0x00000001
> 
> 2004-11-23 08:44:49 [5] DEBUG:   source_addr:
> 
> 2004-11-23 08:44:49 [5] DEBUG:    Octet string at 0x8121e20:
> 
> 2004-11-23 08:44:49 [5] DEBUG:      len:  246
> 
> 2004-11-23 08:44:49 [5] DEBUG:      size: 247
> 
> 2004-11-23 08:44:49 [5] DEBUG:      immutable: 0
> 
> 2004-11-23 08:44:49 [5] DEBUG:      data: 32 32 32 32 32 26 74 65   22222&te
> 
> 2004-11-23 08:44:49 [5] DEBUG:      data: 78 74 3d 78 78 78 78 78   xt=xxxxx
> 
> 2004-11-23 08:44:49 [5] DEBUG:      data: 78 78 78 78 78 78 78 78   xxxxxxxx
> 
> 2004-11-23 08:44:49 [5] DEBUG:      data: 78 78 78 78 78 78 78 78   xxxxxxxx
> 
> 2004-11-23 08:44:49 [5] DEBUG:      data: 78 78 78 78 78 78 78 78   xxxxxxxx
> 
> 2004-11-23 08:44:49 [5] DEBUG:      data: 78 78 78 78 78 78 78 78   xxxxxxxx
> 
> 2004-11-23 08:44:49 [5] DEBUG:      data: 78 78 78 78 78 78 78 78   xxxxxxxx
> 
> 2004-11-23 08:44:49 [5] DEBUG:      data: 78 78 78 78 78 78 78 78   xxxxxxxx
> 
> 2004-11-23 08:44:49 [5] DEBUG:      data: 78 78 78 78 78 78 78 78   xxxxxxxx
> 
> 2004-11-23 08:44:49 [5] DEBUG:      data: 78 78 78 78 78 78 78 78   xxxxxxxx
> 
> 2004-11-23 08:44:49 [5] DEBUG:      data: 78 78 78 78 78 78 78 78   xxxxxxxx
> 
> 2004-11-23 08:44:49 [5] DEBUG:      data: 78 78 78 78 78 78 78 78   xxxxxxxx
> 
> 2004-11-23 08:44:49 [5] DEBUG:      data: 78 78 78 78 78 78 78 78   xxxxxxxx
> 
> 2004-11-23 08:44:49 [5] DEBUG:      data: 78 78 78 78 78 78 78 78   xxxxxxxx
> 
> 2004-11-23 08:44:49 [5] DEBUG:      data: 78 78 78 78 78 78 78 78   xxxxxxxx
> 
> 2004-11-23 08:44:49 [5] DEBUG:      data: 78 78 78 78 78 78 78 78   xxxxxxxx
> 
> 2004-11-23 08:44:49 [5] DEBUG:      data: 78 78 78 78 78 78 78 78   xxxxxxxx
> 
> 2004-11-23 08:44:49 [5] DEBUG:      data: 78 78 78 78 78 78 78 78   xxxxxxxx
> 
> 2004-11-23 08:44:49 [5] DEBUG:      data: 78 78 78 78 78 78 78 78   xxxxxxxx
> 
> 2004-11-23 08:44:49 [5] DEBUG:      data: 78 78 78 78 78 78 78 78   xxxxxxxx
> 
> 2004-11-23 08:44:49 [5] DEBUG:      data: 78 78 78 78 78 78 78 78   xxxxxxxx
> 
> 2004-11-23 08:44:49 [5] DEBUG:      data: 78 78 78 78 78 78 78 78   xxxxxxxx
> 
> 2004-11-23 08:44:49 [5] DEBUG:      data: 78 78 78 78 78 78 78 78   xxxxxxxx
> 
> 2004-11-23 08:44:49 [5] DEBUG:      data: 78 78 78 78 78 78 78 78   xxxxxxxx
> 
> 2004-11-23 08:44:49 [5] DEBUG:      data: 78 78 78 78 78 78 78 78   xxxxxxxx
> 
> 2004-11-23 08:44:49 [5] DEBUG:      data: 78 78 78 78 78 78 78 78   xxxxxxxx
> 
> 2004-11-23 08:44:49 [5] DEBUG:      data: 78 78 78 78 78 78 78 78   xxxxxxxx
> 
> 2004-11-23 08:44:49 [5] DEBUG:      data: 78 78 78 78 78 78 78 78   xxxxxxxx
> 
> 2004-11-23 08:44:49 [5] DEBUG:      data: 78 78 78 78 78 78 78 78   xxxxxxxx
> 
> 2004-11-23 08:44:49 [5] DEBUG:      data: 78 78 78 78 78 78 78 78   xxxxxxxx
> 
> 2004-11-23 08:44:49 [5] DEBUG:      data: 78 78 78 78 78 2e         xxxxx.
> 
> 2004-11-23 08:44:49 [5] DEBUG:    Octet string dump ends.
> 
> 2004-11-23 08:44:49 [5] DEBUG:   dest_addr_ton: 2 = 0x00000002
> 
> 2004-11-23 08:44:49 [5] DEBUG:   dest_addr_npi: 1 = 0x00000001
> 
> 2004-11-23 08:44:49 [5] DEBUG:   destination_addr: "91199999999"
> 
> 2004-11-23 08:44:49 [5] DEBUG:   esm_class: 3 = 0x00000003
> 
> 2004-11-23 08:44:49 [5] DEBUG:   protocol_id: 0 = 0x00000000
> 
> 2004-11-23 08:44:49 [5] DEBUG:   priority_flag: 0 = 0x00000000
> 
> 2004-11-23 08:44:49 [5] DEBUG:   schedule_delivery_time: NULL
> 
> 2004-11-23 08:44:49 [5] DEBUG:   validity_period: NULL
> 
> 2004-11-23 08:44:49 [5] DEBUG:   registered_delivery: 0 = 0x00000000
> 
> 2004-11-23 08:44:49 [5] DEBUG:   replace_if_present_flag: 0 = 0x00000000
> 
> 2004-11-23 08:44:49 [5] DEBUG:   data_coding: 0 = 0x00000000
> 
> 2004-11-23 08:44:49 [5] DEBUG:   sm_default_msg_id: 0 = 0x00000000
> 
> 2004-11-23 08:44:49 [5] DEBUG:   sm_length: 35 = 0x00000023
> 
> 2004-11-23 08:44:49 [5] DEBUG:   short_message:
> 
> 2004-11-23 08:44:49 [5] DEBUG:    Octet string at 0x8121de0:
> 
> 2004-11-23 08:44:49 [5] DEBUG:      len:  35
> 
> 2004-11-23 08:44:49 [5] DEBUG:      size: 36
> 
> 2004-11-23 08:44:49 [5] DEBUG:      immutable: 0
> 
> 2004-11-23 08:44:49 [5] DEBUG:      data: 3c 45 6d 70 74 79 20 72   <Empty r
> 
> 2004-11-23 08:44:49 [5] DEBUG:      data: 65 70 6c 79 20 66 72 6f   eply fro
> 
> 2004-11-23 08:44:49 [5] DEBUG:      data: 6d 20 73 65 72 76 69 63   m servic
> 
> 2004-11-23 08:44:49 [5] DEBUG:      data: 65 20 70 72 6f 76 69 64   e provid
> 
> 2004-11-23 08:44:49 [5] DEBUG:      data: 65 72 3e                  er>
> 
> 2004-11-23 08:44:49 [5] DEBUG:    Octet string dump ends.
> 
> 2004-11-23 08:44:49 [5] DEBUG: SMPP PDU dump ends.
> 
> 2004-11-23 08:44:49 [5] PANIC: gw/smsc/smpp_pdu.def:207: smpp_pdu_pack:
> Assertion `octstr_len(p->source_addr) < 21' failed.
> 
> 2004-11-23 08:45:20 [0] INFO: Added logfile `/var/log/tmp/kannel.log' with
> level `0'.
> 
> 2004-11-23 08:45:20 [0] INFO: Started access logfile
> `/var/log/tmp/bearbox-access.log'.
> 
> 2004-11-23 08:45:20 [0] DEBUG: HTTP: Opening server at port 13000.
> 
> 2004-11-23 08:45:20 [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller)
> 
> 2004-11-23 08:45:20 [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread)
> 
> 2004-11-23 08:45:20 [0] DEBUG: Started thread 3 (gw/bb_http.c:httpadmin_run)
> 
> 2004-11-23 08:45:20 [0] DEBUG: starting smsbox connection module
> 
> 2004-11-23 08:45:20 [0] DEBUG: Started thread 4 (gw/bb_boxc.c:smsboxc_run)
> 
> 2004-11-23 08:45:20 [0] DEBUG: Started thread 5
> (gw/smsc/smsc_smpp.c:io_thread)
> 
> 2004-11-23 08:45:20 [0] DEBUG: Started thread 6
> (gw/smsc/smsc_smpp.c:io_thread)
> 
> 2004-11-23 08:45:20 [0] DEBUG: Started thread 7
> (gw/bb_smscconn.c:sms_router)
> 
> 2004-11-23 08:45:20 [7] DEBUG: sms_router: time to sleep
> 
> 2004-11-23 08:45:20 [0] INFO: ----------------------------------------
> 
> 2004-11-23 08:45:20 [0] INFO: Kannel bearerbox II version 1.3.1 starting
> 
> 2004-11-23 08:45:20 [0] INFO: MAIN: Start-up done, entering mainloop
> 
> 2004-11-23 08:45:20 [7] DEBUG: sms_router: list_len = 0
> 
> 2004-11-23 08:45:20 [5] DEBUG:
> SMPP[SMPP:193.99.99.99:8001/8001:testlogin:smpp]: Sending PDU:
> 
> 2004-11-23 08:45:20 [5] DEBUG: SMPP PDU 0x81219d8 dump:
> 
> 2004-11-23 08:45:20 [5] DEBUG:   type_name: bind_transmitter
> 
> 2004-11-23 08:45:20 [5] DEBUG:   command_id: 2 = 0x00000002
> 
> 2004-11-23 08:45:20 [5] DEBUG:   command_status: 0 = 0x00000000
> 
> 2004-11-23 08:45:20 [5] DEBUG:   sequence_number: 0 = 0x00000000
> 
> 2004-11-23 08:45:20 [5] DEBUG:   system_id: " testlogin"
> 
> ..................
> 
> ..................
> 
> ..................
> 
>  
> 
>  
> 
> After error the bearerbox thread gets restarted!! However the smsbox does
> not respond to the sendsms http script being
> 
> called.
> 
>  
> 
> Regards,
> 
> Amol Patwardhan.
> 
>  
> ****************************************************************************************
> Disclaimer: The information contained in this message is for the intended
> addressee only and may contain confidential and/or privileged information.
> If you are not the intended addressee, please delete this message and notify
> the sender; do not copy or distribute this message or disclose its contents
> to anyone. Any views or opinions expressed in this message are those of the
> author and do not necessarily represent those of Arabian Network Information
> Services or of any of its associated companies. No reliance may be placed on
> this message without written confirmation from an authorised representative
> of the company. 
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.