Hi All,

I installed kannel successfully and tested it with control.html and this is
what was reported on the http interface;

Kannel bearerbox version `1.4.3'. Build `Apr 6 2010 13:16:08', compiler
`4.4.3'. System Linux, release 2.6.32-24-generic, version #41-Ubuntu SMP Thu
Aug 19 01:12:52 UTC 2010, machine i686. Hostname ubuntu104, IP 127.0.1.1.
Libxml version 2.7.6. Using OpenSSL 0.9.8k 25 Mar 2009. Compiled with MySQL
5.1.41, using MySQL 5.1.41. Using native malloc.

Status: running, uptime 0d 0h 11m 58s

WDP: received 0 (0 queued), sent 0 (0 queued)

SMS: received 0 (0 queued), sent 0 (0 queued), store size -1

SMS: inbound (0.00,0.00,0.00) msg/sec, outbound (0.00,0.00,0.00) msg/sec

DLR: 0 queued, using internal storage

Box connections:
    wapbox, IP 127.0.0.1 (on-line 0d 0h 11m 57s)
    smsbox:(none), IP 127.0.0.1 (0 queued), (on-line 0d 0h 11m 57s)
 SMSC connections:
    *+2348050001501*    AT2[+2348050001501] (connecting, rcvd 0, sent 0,
failed 0, queued 0 msgs),

I sent sms message, and refreshed the page, but nothing showed that an sms
was received but when i put my sim back into my mobile phone, the sms was
there.

Where do I find the message received in the gsm model using kannel?

Thanks in advance!

David



On Tue, Aug 31, 2010 at 4:30 PM, <[email protected]> wrote:

> Send users mailing list submissions to
>        [email protected]
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://www.kannel.org/mailman/listinfo/users
> or, via email, send a message with subject or body 'help' to
>        [email protected]
>
> You can reach the person managing the list at
>        [email protected]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of users digest..."
>
>
> Today's Topics:
>
>   1. Please guide me to install Kannel SMPP Servers over red hat 5
>      OS (Amritesh Rachelwar)
>   2. getting: "Submit failed" in response to submit_sm (mug azr)
>   3. Re: getting: "Submit failed" in response to submit_sm
>      (Elton Hoxha)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 31 Aug 2010 19:45:57 +0530
> From: Amritesh Rachelwar <[email protected]>
> To: users <[email protected]>
> Subject: Please guide me to install Kannel SMPP Servers over red hat 5
>        OS
> Message-ID:
>        <[email protected]>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi All,
>
> I am new to Kannel SMPP server. Please guide me where I can get this server
> to download and steps to install it. We need to run SMPP server and create
> users to bind with my servers. also we have connectivity to SMSC via kannel
> gateway server over SMPP. Thanks in advance.
>
> Thanks and Regards
> Amritesh
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://www.kannel.org/pipermail/users/attachments/20100831/15069948/attachment-0001.html
> >
>
> ------------------------------
>
> Message: 2
> Date: Tue, 31 Aug 2010 18:12:51 +0300
> From: mug azr <[email protected]>
> To: [email protected]
> Subject: getting: "Submit failed" in response to submit_sm
> Message-ID:
>        
> <[email protected]<d6y%[email protected]>
> >
> Content-Type: text/plain; charset="iso-8859-1"
>
> Dear list,
>
> I have a Kannel setup with an SMPP 3.4 SMSC. There are no problem with
> receiving MOs. But for MTs I always get the following error:
> SMSC returned error code 0x00000045 (Submit failed) in response to
> submit_sm.
>
> I am using the sendsms HTTP interface to send test SMSs like this:
> "http://
>
> $domain:$port$script?$username&$password&$to&$from&$text&$smsc&$mclass&$coding"
>
> If I am not wrong this situation should mean:
> 1. the sms get delivered to the smsc.
> 2. the smsc did not like one (or more) parameter in the sms PDU.
> 3. and so it replies with error.
>
> could some one advice me as what might be wrong? I am not getting
> sufficient
> help from the tech guys of the smsc!
>
> Thank you
>
> notes:
> 1- the values of TONs and NPIs were given to us by the smsc
> 2- I had set esm_class to zero (hard coding and re-compiling). But still
> receiving the same error
>
> Transaction Log:
>
> 2010-08-16 14:44:33 [28821] [6] DEBUG: SMPP[mysmsc]: Manually forced source
> addr ton = 5, source add npi = 0
> 2010-08-16 14:44:33 [28821] [6] DEBUG: SMPP[mysmsc]: Manually forced dest
> addr ton = 1, dest add npi = 1
> 2010-08-16 14:44:33 [28821] [6] DEBUG: SMPP[mysmsc]: Sending PDU:
> 2010-08-16 14:44:33 [28821] [6] DEBUG: SMPP PDU 0x8f6adc0 dump:
> 2010-08-16 14:44:33 [28821] [6] DEBUG:   type_name: submit_sm
> 2010-08-16 14:44:33 [28821] [6] DEBUG:   command_id: 4 = 0x00000004
> 2010-08-16 14:44:33 [28821] [6] DEBUG:   command_status: 0 = 0x00000000
> 2010-08-16 14:44:33 [28821] [6] DEBUG:   sequence_number: 2 = 0x00000002
> 2010-08-16 14:44:33 [28821] [6] DEBUG:   service_type: "myservice"
> 2010-08-16 14:44:33 [28821] [6] DEBUG:   source_addr_ton: 5 = 0x00000005
> 2010-08-16 14:44:33 [28821] [6] DEBUG:   source_addr_npi: 0 = 0x00000000
> 2010-08-16 14:44:33 [28821] [6] DEBUG:   source_addr:
> "AlphaNumGivenByTheSMSC"
> 2010-08-16 14:44:33 [28821] [6] DEBUG:   dest_addr_ton: 1 = 0x00000001
> 2010-08-16 14:44:33 [28821] [6] DEBUG:   dest_addr_npi: 1 = 0x00000001
> 2010-08-16 14:44:33 [28821] [6] DEBUG:   destination_addr: "MyOwnMobileNo"
> 2010-08-16 14:44:33 [28821] [6] DEBUG:   esm_class: 3 = 0x00000003
> 2010-08-16 14:44:33 [28821] [6] DEBUG:   protocol_id: 0 = 0x00000000
> 2010-08-16 14:44:33 [28821] [6] DEBUG:   priority_flag: 0 = 0x00000000
> 2010-08-16 14:44:33 [28821] [6] DEBUG:   schedule_delivery_time: NULL
> 2010-08-16 14:44:33 [28821] [6] DEBUG:   validity_period: NULL
> 2010-08-16 14:44:33 [28821] [6] DEBUG:   registered_delivery: 0 =
> 0x00000000
> 2010-08-16 14:44:33 [28821] [6] DEBUG:   replace_if_present_flag: 0 =
> 0x00000000
> 2010-08-16 14:44:33 [28821] [6] DEBUG:   data_coding: 242 = 0x000000f2
> 2010-08-16 14:44:33 [28821] [6] DEBUG:   sm_default_msg_id: 0 = 0x00000000
> 2010-08-16 14:44:33 [28821] [6] DEBUG:   sm_length: 5 = 0x00000005
> 2010-08-16 14:44:33 [28821] [6] DEBUG:   short_message: "hello"
> 2010-08-16 14:44:33 [28821] [6] DEBUG: SMPP PDU dump ends.
> 2010-08-16 14:44:33 [28821] [6] WARNING: SMPP: PDU NULL terminated string
> (message_id) has no NULL.
> 2010-08-16 14:44:33 [28821] [6] DEBUG: SMPP[mysmsc]: Got PDU:
> 2010-08-16 14:44:33 [28821] [6] DEBUG: SMPP PDU 0x8f6adc0 dump:
> 2010-08-16 14:44:33 [28821] [6] DEBUG:   type_name: submit_sm_resp
> 2010-08-16 14:44:33 [28821] [6] DEBUG:   command_id: 2147483652 =
> 0x80000004
> 2010-08-16 14:44:33 [28821] [6] DEBUG:   command_status: 69 = 0x00000045
> 2010-08-16 14:44:33 [28821] [6] DEBUG:   sequence_number: 2 = 0x00000002
> 2010-08-16 14:44:33 [28821] [6] DEBUG:   message_id: NULL
> 2010-08-16 14:44:33 [28821] [6] DEBUG: SMPP PDU dump ends.
> 2010-08-16 14:44:33 [28821] [6] ERROR: SMPP[mysmsc]: SMSC returned error
> code 0x00000045 (Submit failed) in response to submit_sm.
>
> ===============================
>
> SMSC configuration file:
> ===============================
> group = smsc
> smsc = smpp
> interface-version = 34
> my-number = xxxx
> keepalive = 60
> system-type = smpp
> service-type = "myservice"
> host = y.y.y.y
> port = z
> transceiver-mode = true
> smsc-username = "######"
> smsc-password = "$$$$$"
> smsc-id = mysmsc
> allowed-smsc-id = "mysmsc"
> #preferred-smsc-id = "mysmsc"
> denied-smsc-id = www; uuu
> #alt-charset = ISO-8859-6
> #enquire-link-interval = 30
> max-pending-submits = 15
> reconnect-delay = 30
> source-addr-ton = 5
> source-addr-npi = 0
> source-addr-autodetect = no
> dest-addr-ton = 1
> dest-addr-npi = 1
> connection-timeout = 100
>
> ===============================
>
> senduser Configuration file:
> ===============================
> group = sendsms-user
> username = aaaaaa
> password = bbbbbb
> user-deny-ip = "*.*.*.*"
> user-allow-ip = "127.0.0.1"
> default-sender = myservice
> default-smsc = mysmsc
> #max-messages = 3
> concatenation = false
>
> ===============================
>
> main Configuration file:
> ===============================
> group = core
> admin-port = ####
> admin-password = xxxxxxxx
> status-password = yyyyyyy
> admin-deny-ip = "*.*.*.*"
> admin-allow-ip = "127.0.0.1"
> # wapbox-port = 13002
> # wdp-interface-name = "*"
> smsbox-port = 13004
> log-file = "/var/log/kannel/bearerbox.log"
> log-level = 0
> access-log = "/var/log/kannel/bearerbox.access"
> access-log-clean = false
> box-deny-ip = "*.*.*.*"
> box-allow-ip = "127.0.0.1"
> udp-deny-ip = "*.*.*.*"
> udp-allow-ip = "127.0.0.1"
> # white-list = URL
> # black-list = URL
> store-type = file
> store-location = "/var/log/kannel/bearerbox.crash"
> store-dump-freq = 10
> dlr-storage = internal
> #sms-incoming-queue-limit = -1
> #sms-outgoing-queue-limit = -1
> #smsbox-max-pending = -1
> #### -1 = infinite
> #sms-resend-freq = 60
> #sms-resend-retry = -1
> #sms-combine-concatenated-mo = true
> #sms-combine-concatenated-mo-timeout = 1800
>
> group = smsbox
> bearerbox-host = 127.0.0.1
> bearerbox-port = 13004
> sendsms-port = 13006
> log-level = 0
> log-file = "/var/log/kannel/smsbox.log"
> #smsbox-id = "mysmsbox"
> mo-recode = true
> sendsms-chars = "0123456789 +-"
>
> include = "smscenters/mysmsc.conf"
>
> #include = "wapboxes/"
>
> include = "sendsms-users/"
>
> group = sms-service
> keyword =
> catch-all = true
> get-url = "script of mine"
> concatenation = true
> max-messages = 10
> assume-plain-text = yes
> accept-x-kannel-headers = yes
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://www.kannel.org/pipermail/users/attachments/20100831/92f0681a/attachment-0001.html
> >
>
> ------------------------------
>
> Message: 3
> Date: Tue, 31 Aug 2010 17:29:51 +0200
> From: Elton Hoxha <[email protected]>
> To: mug azr <[email protected]>
> Cc: [email protected]
> Subject: Re: getting: "Submit failed" in response to submit_sm
> Message-ID:
>        <[email protected]>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hi,
>
> What are u trying to sent by using mclass and coding? What are their
> values?
>
> Maybe its related to data coding. 242 seems a bit strange.
>
>
>
> On Tue, Aug 31, 2010 at 5:12 PM, mug azr <[email protected]> wrote:
> > Dear list,
> >
> > I have a Kannel setup with an SMPP 3.4 SMSC. There are no problem with
> > receiving MOs. But for MTs I always get the following error:
> > SMSC returned error code 0x00000045 (Submit failed) in response to
> > submit_sm.
> >
> > I am using the sendsms HTTP interface to send test SMSs like this:
> > "http://
> $domain:$port$script?$username&$password&$to&$from&$text&$smsc&$mclass&$coding"
> >
> > If I am not wrong this situation should mean:
> > 1. the sms get delivered to the smsc.
> > 2. the smsc did not like one (or more) parameter in the sms PDU.
> > 3. and so it replies with error.
> >
> > could some one advice me as what might be wrong? I am not getting
> sufficient
> > help from the tech guys of the smsc!
> >
> > Thank you
> >
> > notes:
> > 1- the values of TONs and NPIs were given to us by the smsc
> > 2- I had set esm_class to zero (hard coding and re-compiling). But still
> > receiving the same error
> >
> > Transaction Log:
> >
> > 2010-08-16 14:44:33 [28821] [6] DEBUG: SMPP[mysmsc]: Manually forced
> source
> > addr ton = 5, source add npi = 0
> > 2010-08-16 14:44:33 [28821] [6] DEBUG: SMPP[mysmsc]: Manually forced dest
> > addr ton = 1, dest add npi = 1
> > 2010-08-16 14:44:33 [28821] [6] DEBUG: SMPP[mysmsc]: Sending PDU:
> > 2010-08-16 14:44:33 [28821] [6] DEBUG: SMPP PDU 0x8f6adc0 dump:
> > 2010-08-16 14:44:33 [28821] [6] DEBUG:?? type_name: submit_sm
> > 2010-08-16 14:44:33 [28821] [6] DEBUG:?? command_id: 4 = 0x00000004
> > 2010-08-16 14:44:33 [28821] [6] DEBUG:?? command_status: 0 = 0x00000000
> > 2010-08-16 14:44:33 [28821] [6] DEBUG:?? sequence_number: 2 = 0x00000002
> > 2010-08-16 14:44:33 [28821] [6] DEBUG:?? service_type: "myservice"
> > 2010-08-16 14:44:33 [28821] [6] DEBUG:?? source_addr_ton: 5 = 0x00000005
> > 2010-08-16 14:44:33 [28821] [6] DEBUG:?? source_addr_npi: 0 = 0x00000000
> > 2010-08-16 14:44:33 [28821] [6] DEBUG:?? source_addr:
> > "AlphaNumGivenByTheSMSC"
> > 2010-08-16 14:44:33 [28821] [6] DEBUG:?? dest_addr_ton: 1 = 0x00000001
> > 2010-08-16 14:44:33 [28821] [6] DEBUG:?? dest_addr_npi: 1 = 0x00000001
> > 2010-08-16 14:44:33 [28821] [6] DEBUG:?? destination_addr:
> "MyOwnMobileNo"
> > 2010-08-16 14:44:33 [28821] [6] DEBUG:?? esm_class: 3 = 0x00000003
> > 2010-08-16 14:44:33 [28821] [6] DEBUG:?? protocol_id: 0 = 0x00000000
> > 2010-08-16 14:44:33 [28821] [6] DEBUG:?? priority_flag: 0 = 0x00000000
> > 2010-08-16 14:44:33 [28821] [6] DEBUG:?? schedule_delivery_time: NULL
> > 2010-08-16 14:44:33 [28821] [6] DEBUG:?? validity_period: NULL
> > 2010-08-16 14:44:33 [28821] [6] DEBUG:?? registered_delivery: 0 =
> 0x00000000
> > 2010-08-16 14:44:33 [28821] [6] DEBUG:?? replace_if_present_flag: 0 =
> > 0x00000000
> > 2010-08-16 14:44:33 [28821] [6] DEBUG:?? data_coding: 242 = 0x000000f2
> > 2010-08-16 14:44:33 [28821] [6] DEBUG:?? sm_default_msg_id: 0 =
> 0x00000000
> > 2010-08-16 14:44:33 [28821] [6] DEBUG:?? sm_length: 5 = 0x00000005
> > 2010-08-16 14:44:33 [28821] [6] DEBUG:?? short_message: "hello"
> > 2010-08-16 14:44:33 [28821] [6] DEBUG: SMPP PDU dump ends.
> > 2010-08-16 14:44:33 [28821] [6] WARNING: SMPP: PDU NULL terminated string
> > (message_id) has no NULL.
> > 2010-08-16 14:44:33 [28821] [6] DEBUG: SMPP[mysmsc]: Got PDU:
> > 2010-08-16 14:44:33 [28821] [6] DEBUG: SMPP PDU 0x8f6adc0 dump:
> > 2010-08-16 14:44:33 [28821] [6] DEBUG:?? type_name: submit_sm_resp
> > 2010-08-16 14:44:33 [28821] [6] DEBUG:?? command_id: 2147483652 =
> 0x80000004
> > 2010-08-16 14:44:33 [28821] [6] DEBUG:?? command_status: 69 = 0x00000045
> > 2010-08-16 14:44:33 [28821] [6] DEBUG:?? sequence_number: 2 = 0x00000002
> > 2010-08-16 14:44:33 [28821] [6] DEBUG:?? message_id: NULL
> > 2010-08-16 14:44:33 [28821] [6] DEBUG: SMPP PDU dump ends.
> > 2010-08-16 14:44:33 [28821] [6] ERROR: SMPP[mysmsc]: SMSC returned error
> > code 0x00000045 (Submit failed) in response to submit_sm.
> >
> > ===============================
> >
> > SMSC configuration file:
> > ===============================
> > group = smsc
> > smsc = smpp
> > interface-version = 34
> > my-number = xxxx
> > keepalive = 60
> > system-type = smpp
> > service-type = "myservice"
> > host = y.y.y.y
> > port = z
> > transceiver-mode = true
> > smsc-username = "######"
> > smsc-password = "$$$$$"
> > smsc-id = mysmsc
> > allowed-smsc-id = "mysmsc"
> > #preferred-smsc-id = "mysmsc"
> > denied-smsc-id = www; uuu
> > #alt-charset = ISO-8859-6
> > #enquire-link-interval = 30
> > max-pending-submits = 15
> > reconnect-delay = 30
> > source-addr-ton = 5
> > source-addr-npi = 0
> > source-addr-autodetect = no
> > dest-addr-ton = 1
> > dest-addr-npi = 1
> > connection-timeout = 100
> >
> > ===============================
> >
> > senduser Configuration file:
> > ===============================
> > group = sendsms-user
> > username = aaaaaa
> > password = bbbbbb
> > user-deny-ip = "*.*.*.*"
> > user-allow-ip = "127.0.0.1"
> > default-sender = myservice
> > default-smsc = mysmsc
> > #max-messages = 3
> > concatenation = false
> >
> > ===============================
> >
> > main Configuration file:
> > ===============================
> > group = core
> > admin-port = ####
> > admin-password = xxxxxxxx
> > status-password = yyyyyyy
> > admin-deny-ip = "*.*.*.*"
> > admin-allow-ip = "127.0.0.1"
> > # wapbox-port = 13002
> > # wdp-interface-name = "*"
> > smsbox-port = 13004
> > log-file = "/var/log/kannel/bearerbox.log"
> > log-level = 0
> > access-log = "/var/log/kannel/bearerbox.access"
> > access-log-clean = false
> > box-deny-ip = "*.*.*.*"
> > box-allow-ip = "127.0.0.1"
> > udp-deny-ip = "*.*.*.*"
> > udp-allow-ip = "127.0.0.1"
> > # white-list = URL
> > # black-list = URL
> > store-type = file
> > store-location = "/var/log/kannel/bearerbox.crash"
> > store-dump-freq = 10
> > dlr-storage = internal
> > #sms-incoming-queue-limit = -1
> > #sms-outgoing-queue-limit = -1
> > #smsbox-max-pending = -1
> > #### -1 = infinite
> > #sms-resend-freq = 60
> > #sms-resend-retry = -1
> > #sms-combine-concatenated-mo = true
> > #sms-combine-concatenated-mo-timeout = 1800
> >
> > group = smsbox
> > bearerbox-host = 127.0.0.1
> > bearerbox-port = 13004
> > sendsms-port = 13006
> > log-level = 0
> > log-file = "/var/log/kannel/smsbox.log"
> > #smsbox-id = "mysmsbox"
> > mo-recode = true
> > sendsms-chars = "0123456789 +-"
> >
> > include = "smscenters/mysmsc.conf"
> >
> > #include = "wapboxes/"
> >
> > include = "sendsms-users/"
> >
> > group = sms-service
> > keyword =
> > catch-all = true
> > get-url = "script of mine"
> > concatenation = true
> > max-messages = 10
> > assume-plain-text = yes
> > accept-x-kannel-headers = yes
> >
> >
>
>
>
> ------------------------------
>
> _______________________________________________
> users mailing list
> [email protected]
> http://www.kannel.org/mailman/listinfo/users
>
>
> End of users Digest, Vol 48, Issue 214
> **************************************
>

Reply via email to