Re: Problem with kannel

spameden <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <CAHCALexZZAoBBY_4dOtn+RbbopHS9yXurYf2y1L42NbpThvf_g@mail.gmail.com>
       Change the "esm_class" parameter sent from Kannel.

       Accepted values are 0 (Default SMSC Mode) and 3 (Store and Forward).

       Defaults to 3.

so you can use esm_class parameter to set ESM class, thanks to Alan!

2013/2/18 Alan McNatty <[email protected]>:
> Hi Rene,
>
> That's incorrect ..
>
> r4926 | amalysh | 2011-09-15 08:07:10 +1200 (Thu, 15 Sep 2011) | 3 lines
>
>     *  doc/userguide/userguide.xml, gw/smsc/smsc_smpp.c, gwlib/cfg.def:
> applied
>        patch that allows setting of esm_class in SMPP module.
>        Thanks to Alan McNatty <alan at catalyst.net.nz> for the patch.
>
> Please check the user-guide.
>
> Cheers,
> Alan
>
>
> On Sat, 2013-02-16 at 11:51 +0100, Rene Kluwen wrote:
>> You cannot change esm class by configuration.
>>
>> It’s hard coded.
>>
>> For data-coding, see the alt-dcs field.
>>
>>
>>
>> From: [email protected] [mailto:[email protected]] On
>> Behalf Of orlis moreta
>> Sent: zaterdag 2 februari 2013 1:02
>> To: Willy Mularto
>> Cc: kannel_dev_mailinglist devel@kannel. org
>> Subject: Re: Problem with kannel
>>
>>
>>
>>
>> Thanks for help
>>
>>
>>
>>
>>
>> I have an other question, i need to set Data Coding = 0x00 (SMSC
>> default Alphabet) and esm_class = 0 (Default)
>>
>>
>>
>>
>>
>> Is it possible to do that in conf file?
>>
>>
>>
>>
>>
>>
>>
>>
>>  SMPP PDU 0x97b5670 dump:
>>
>>
>> 2013-02-01 19:17:42 [6011] [6] DEBUG:   type_name: submit_sm
>>
>>
>> 2013-02-01 19:17:42 [6011] [6] DEBUG:   command_id: 4 = 0x00000004
>>
>>
>> 2013-02-01 19:17:42 [6011] [6] DEBUG:   command_status: 0 = 0x00000000
>>
>>
>> 2013-02-01 19:17:42 [6011] [6] DEBUG:   sequence_number: 3 =
>> 0x00000003
>>
>>
>> 2013-02-01 19:17:42 [6011] [6] DEBUG:   service_type: NULL
>>
>>
>> 2013-02-01 19:17:42 [6011] [6] DEBUG:   source_addr_ton: 1 =
>> 0x00000001
>>
>>
>> 2013-02-01 19:17:42 [6011] [6] DEBUG:   source_addr_npi: 1 =
>> 0x00000001
>>
>>
>> 2013-02-01 19:17:42 [6011] [6] DEBUG:   source_addr: "18299620518"
>>
>>
>> 2013-02-01 19:17:42 [6011] [6] DEBUG:   dest_addr_ton: 1 = 0x00000001
>>
>>
>> 2013-02-01 19:17:42 [6011] [6] DEBUG:   dest_addr_npi: 1 = 0x00000001
>>
>>
>> 2013-02-01 19:17:43 [6011] [6] DEBUG:   destination_addr:
>> "18299622439"
>>
>>
>> 2013-02-01 19:17:43 [6011] [6] DEBUG:   esm_class: 3 =
>> 0x00000003------------------------------------------------------------------->
>>
>>
>> 2013-02-01 19:17:43 [6011] [6] DEBUG:   protocol_id: 0 = 0x00000000
>>
>>
>> 2013-02-01 19:17:43 [6011] [6] DEBUG:   priority_flag: 0 = 0x00000000
>>
>>
>> 2013-02-01 19:17:43 [6011] [6] DEBUG:   schedule_delivery_time: NULL
>>
>>
>> 2013-02-01 19:17:43 [6011] [6] DEBUG:   validity_period: NULL
>>
>>
>> 2013-02-01 19:17:43 [6011] [6] DEBUG:   registered_delivery: 1 =
>> 0x00000001
>>
>>
>> 2013-02-01 19:17:43 [6011] [6] DEBUG:   replace_if_present_flag: 0 =
>> 0x00000000
>>
>>
>> 2013-02-01 19:17:43 [6011] [6] DEBUG:   data_coding: 241 = 0x000000f1
>>  --------------------------------------------------------------->
>>
>>
>> 2013-02-01 19:17:43 [6011] [6] DEBUG:   sm_default_msg_id: 0 =
>> 0x00000000
>>
>>
>> 2013-02-01 19:17:43 [6011] [6] DEBUG:   sm_length: 10 = 0x0000000a
>>
>>
>> 2013-02-01 19:17:43 [6011] [6] DEBUG:   short_message:
>>
>>
>> 2013-02-01 19:17:43 [6011] [6] DEBUG:    Octet string at 0x97b5760:
>>
>>
>> 2013-02-01 19:17:43 [6011] [6] DEBUG:      len:  10
>>
>>
>>
>>
>>
>>
>>
>>
>> Thanks
>>
>>
>> Orlis
>>
>>
>>
>>
>>
>>
>> ______________________________________________________________________
>> De: Willy Mularto <[email protected]>
>> Para: orlis moreta <[email protected]>
>> CC: "kannel_dev_mailinglist devel@kannel. org" <[email protected]>
>> Enviado: Domingo, 20 de enero, 2013 10:31 A.M.
>> Asunto: Re: Problem with kannel
>>
>>
>>
>>
>> You need to use http smsc not smpp
>>
>>
>> SlyDroid
>>
>>
>> On Jan 19, 2013 4:32 AM, "orlis moreta" <[email protected]> wrote:
>>
>>
>>
>>
>> Hi All
>>
>>
>>
>>
>>
>> I have GW 1.4-3 version installed but i'm failing to bind an SMSC.:
>>
>>
>>
>>
>>
>>
>>
>>
>> Any help would be apreciated
>>
>>
>>
>>
>>
>>
>>
>>
>>  SMPP PDU 0x9e5f740 dump:
>>
>>
>> 2013-01-18 13:05:16 [9859] [6] DEBUG:   type_name: bind_transceiver
>>
>>
>> 2013-01-18 13:05:16 [9859] [6] DEBUG:   command_id: 9 = 0x00000009
>>
>>
>> 2013-01-18 13:05:16 [9859] [6] DEBUG:   command_status: 0 = 0x00000000
>>
>>
>> 2013-01-18 13:05:16 [9859] [6] DEBUG:   sequence_number: 1 =
>> 0x00000001
>>
>>
>> 2013-01-18 13:05:16 [9859] [6] DEBUG:   system_id: "ivan"
>>
>>
>> 2013-01-18 13:05:16 [9859] [6] DEBUG:   password: "ivan1234"
>>
>>
>> 2013-01-18 13:05:16 [9859] [6] DEBUG:   system_type: "'VMA'"
>>
>>
>> 2013-01-18 13:05:16 [9859] [6] DEBUG:   interface_version: 48 =
>> 0x00000030
>>
>>
>> 2013-01-18 13:05:16 [9859] [6] DEBUG:   addr_ton: 0 = 0x00000000
>>
>>
>> 2013-01-18 13:05:16 [9859] [6] DEBUG:   addr_npi: 0 = 0x00000000
>>
>>
>> 2013-01-18 13:05:16 [9859] [6] DEBUG:   address_range: NULL
>>
>>
>> 2013-01-18 13:05:16 [9859] [6] DEBUG: SMPP PDU dump ends.
>>
>>
>> 2013-01-18 13:05:16 [9859] [7] DEBUG:
>> SMPP[SMPP:sms.secure-mytouchtone.net:9501/9501:ivan:'VMA']: Sending
>> PDU:
>>
>>
>> 2013-01-18 13:05:16 [9859] [7] DEBUG: SMPP PDU 0x9e5f888 dump:
>>
>>
>> 2013-01-18 13:05:16 [9859] [7] DEBUG:   type_name: bind_receiver
>>
>>
>> 2013-01-18 13:05:16 [9859] [7] DEBUG:   command_id: 1 = 0x00000001
>>
>>
>> 2013-01-18 13:05:16 [9859] [7] DEBUG:   command_status: 0 = 0x00000000
>>
>>
>> 2013-01-18 13:05:16 [9859] [7] DEBUG:   sequence_number: 2 =
>> 0x00000002
>>
>>
>> 2013-01-18 13:05:16 [9859] [7] DEBUG:   system_id: "ivan"
>>
>>
>> 2013-01-18 13:05:16 [9859] [7] DEBUG:   password: "ivan1234"
>>
>>
>> 2013-01-18 13:05:16 [9859] [7] DEBUG:   system_type: "'VMA'"
>>
>>
>> 2013-01-18 13:05:16 [9859] [7] DEBUG:   interface_version: 48 =
>> 0x00000030
>>
>>
>> 2013-01-18 13:05:16 [9859] [7] DEBUG:   addr_ton: 0 = 0x00000000
>>
>>
>> 2013-01-18 13:05:16 [9859] [7] DEBUG:   addr_npi: 0 = 0x00000000
>>
>>
>> 2013-01-18 13:05:16 [9859] [7] DEBUG:   address_range: NULL
>>
>>
>> 2013-01-18 13:05:16 [9859] [7] DEBUG: SMPP PDU dump ends.
>>
>>
>> 2013-01-18 13:05:16 [9859] [6] ERROR: SMPP: PDU length was too large
>> (1213486160, maximum is 7424).
>>
>>
>> 2013-01-18 13:05:16 [9859] [6] ERROR:
>> SMPP[SMPP:sms.secure-mytouchtone.net:9501/9501:ivan:'VMA']: Server
>> sent garbage, ignored.
>>
>>
>> 2013-01-18 13:05:16 [9859] [6] ERROR:
>> SMPP[SMPP:sms.secure-mytouchtone.net:9501/9501:ivan:'VMA']: I/O error
>> or other error. Re-connecting.
>>
>>
>> 2013-01-18 13:05:16 [9859] [6] ERROR:
>> SMPP[SMPP:sms.secure-mytouchtone.net:9501/9501:ivan:'VMA']: Couldn't
>> connect to SMS center (retrying in 10 seconds).
>>
>>
>> 2013-01-18 13:05:16 [9859] [7] ERROR: SMPP: PDU length was too large
>> (1213486160, maximum is 7424).
>>
>>
>> 2013-01-18 13:05:16 [9859] [7] ERROR:
>> SMPP[SMPP:sms.secure-mytouchtone.net:9501/9501:ivan:'VMA']: Server
>> sent garbage, ignored.
>>
>>
>> 2013-01-18 13:05:16 [9859] [7] ERROR:
>> SMPP[SMPP:sms.secure-mytouchtone.net:9501/9501:ivan:'VMA']: I/O error
>> or other error. Re-connecting.
>>
>>
>> 2013-01-18 13:05:16 [9859] [7] ERROR:
>> SMPP[SMPP:sms.secure-mytouchtone.net:9501/9501:ivan:'VMA']: Couldn't
>> connect to SMS center (retrying in 10 seconds).
>>
>>
>>
>>
>>
>>
>>
>>
>> Thanks
>>
>>
>> orlis
>>
>>
>>
>>
>>
>
> --
> Alan McNatty
>
> e: [email protected]
> m: 64 (0) 21 02950201
> d: 64 (0) 9 9721320
> p: 64 (0) 4 4992267
>
> Catalyst IT (Auckland)
> Level 12, 48 Emily Place
> Auckland 1010
> New Zealand
>
> http://www.catalyst.net.nz
>
>
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.