Hi Folks,

Any suggestions ??????

Raj..


>From: "Rajendra rait" <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED], [email protected]
>Subject: Re: Class 2 SMS
>Date: Mon, 03 Jul 2006 19:54:11 +0530
>
>Colin,
>
>Thankyou for your reply...
>
>As per your mail i did the changes in my kannel.conf and also i changed the
>paramaters in the http url and this is what i tried
>
>http://xxx.xxx.xxx.xxx:13013/cgi-bin/sendsms?username=xxx&password=xxx&pid=127&dcs=0xF2&mclass=2&from=xxxxxxxx&to=xxxxxxxxxxxx&text=0969620401100103
>
>Now if you look at the data_encoding field its what we were expecting
>data_coding: 242 = 0x000000f2, also now i can't see the sms, but i am not
>sure that i m receing it or not, the way i tested was kept the phone near 
>my
>speakers to test the sms.
>
>See we are trying to send sim designated binary sms through kannel an 
>actual
>Class 2 SMS. The app in the SIM would read this sms and then act
>accordingly.
>
>Raj.......
>
>*****************************************************************************
>2006-07-03 15:14:05 [11453] [17] DEBUG: boxc_receiver: sms received
>2006-07-03 15:14:05 [11453] [17] DEBUG: send_msg: sending msg to box:
><127.0.0.1>
>2006-07-03 15:14:05 [11453] [7] DEBUG: SMPP[Matchtip]: Manually forced
>source addr ton = 0, source add npi = 0
>2006-07-03 15:14:05 [11453] [7] DEBUG: SMPP[Matchtip]: Manually forced dest
>addr ton = 1, dest add npi = 1
>2006-07-03 15:14:05 [11453] [7] DEBUG: SMPP[Matchtip]: Sending PDU:
>2006-07-03 15:14:05 [11453] [7] DEBUG: SMPP PDU 13ed68 dump:
>2006-07-03 15:14:05 [11453] [7] DEBUG:   type_name: submit_sm
>2006-07-03 15:14:05 [11453] [7] DEBUG:   command_id: 4 = 0x00000004
>2006-07-03 15:14:05 [11453] [7] DEBUG:   command_status: 0 = 0x00000000
>2006-07-03 15:14:05 [11453] [7] DEBUG:   sequence_number: 445 = 0x000001bd
>2006-07-03 15:14:05 [11453] [7] DEBUG:   service_type: NULL
>2006-07-03 15:14:05 [11453] [7] DEBUG:   source_addr_ton: 0 = 0x00000000
>2006-07-03 15:14:05 [11453] [7] DEBUG:   source_addr_npi: 0 = 0x00000000
>2006-07-03 15:14:05 [11453] [7] DEBUG:   source_addr: "xxxxxxx"
>2006-07-03 15:14:05 [11453] [7] DEBUG:   dest_addr_ton: 1 = 0x00000001
>2006-07-03 15:14:05 [11453] [7] DEBUG:   dest_addr_npi: 1 = 0x00000001
>2006-07-03 15:14:05 [11453] [7] DEBUG:   destination_addr: "xxxxxxxxxxxx"
>2006-07-03 15:14:05 [11453] [7] DEBUG:   esm_class: 3 = 0x00000003
>2006-07-03 15:14:05 [11453] [7] DEBUG:   protocol_id: 127 = 0x0000007f
>2006-07-03 15:14:05 [11453] [7] DEBUG:   priority_flag: 0 = 0x00000000
>2006-07-03 15:14:05 [11453] [7] DEBUG:   schedule_delivery_time: NULL
>2006-07-03 15:14:05 [11453] [7] DEBUG:   validity_period: NULL
>2006-07-03 15:14:05 [11453] [7] DEBUG:   registered_delivery: 0 = 
>0x00000000
>2006-07-03 15:14:05 [11453] [7] DEBUG:   replace_if_present_flag: 0 =
>0x00000000
>2006-07-03 15:14:05 [11453] [7] DEBUG:   data_coding: 242 = 0x000000f2
>2006-07-03 15:14:05 [11453] [7] DEBUG:   sm_default_msg_id: 0 = 0x00000000
>2006-07-03 15:14:05 [11453] [7] DEBUG:   sm_length: 16 = 0x00000010
>2006-07-03 15:14:05 [11453] [7] DEBUG:   short_message: "0969620401100103"
>2006-07-03 15:14:05 [11453] [7] DEBUG: SMPP PDU dump ends.
>2006-07-03 15:14:05 [11453] [7] DEBUG: SMPP[Matchtip]: Got PDU:
>2006-07-03 15:14:05 [11453] [7] DEBUG: SMPP PDU 13ed68 dump:
>2006-07-03 15:14:05 [11453] [7] DEBUG:   type_name: submit_sm_resp
>2006-07-03 15:14:05 [11453] [7] DEBUG:   command_id: 2147483652 = 
>0x80000004
>2006-07-03 15:14:05 [11453] [7] DEBUG:   command_status: 0 = 0x00000000
>2006-07-03 15:14:05 [11453] [7] DEBUG:   sequence_number: 445 = 0x000001bd
>2006-07-03 15:14:05 [11453] [7] DEBUG:   message_id: "21F79494"
>2006-07-03 15:14:05 [11453] [7] DEBUG: SMPP PDU dump ends.
>2006-07-03 15:14:05 [11453] [1] DEBUG: Dumping 0 messages and 0 acks to
>store
>2006-07-03 15:14:16 [11453] [7] DEBUG: SMPP[Matchtip]: Sending enquire 
>link:
>2006-07-03 15:14:16 [11453] [7] DEBUG: SMPP PDU 13fb78 dump:
>2006-07-03 15:14:16 [11453] [7] DEBUG:   type_name: enquire_link
>2006-07-03 15:14:16 [11453] [7] DEBUG:   command_id: 21 = 0x00000015
>2006-07-03 15:14:16 [11453] [7] DEBUG:   command_status: 0 = 0x00000000
>2006-07-03 15:14:16 [11453] [7] DEBUG:   sequence_number: 446 = 0x000001be
>2006-07-03 15:14:16 [11453] [7] DEBUG: SMPP PDU dump ends.
>
>******************************************************************************
> >From: Colin Pitrat <[EMAIL PROTECTED]>
> >Reply-To: [EMAIL PROTECTED]
> >To: Rajendra rait <[EMAIL PROTECTED]>
> >Subject: Re: Class 2 SMS
> >Date: Mon, 03 Jul 2006 12:45:02 +0200
> >
> >Hi,
> >You should turn on logging on level 0 for the smsc that forwards the
> >message :
> >kannel.conf :
> >   [...]
> >   group = smsc
> >   log-file = "kannel-smsc.log"
> >   log-level = 0
> >   [...]
> >
> >  and then look at the submit_sm PDU corresponding to your message, you
> >should see something like this :
> >   2006-07-06 12:35:28 [4243] [7] DEBUG: SMPP PDU 0x81b3290 dump:
> >   2006-07-06 12:35:28 [4243] [7] DEBUG:   type_name: submit_sm
> >   [...]
> >   2006-07-06 12:35:28 [4243] [7] DEBUG:   data_coding: 242 = 0x000000f2
> >   [...]
> >   2006-07-06 12:35:28 [4243] [7] DEBUG:   short_message: "Test for 
>class2"
> >   2006-07-06 12:35:28 [4243] [7] DEBUG: SMPP PDU dump ends.
> >
> >The class of the SMS is coded in the data_coding field, that should be 
>set
> >to f2 (at least for a SMPP SMSC). The meaning of the fields is specified 
>in
> >GSM 3.38 and in SMPP specification (the second one is available for free 
>at
> >http://www.smsforum.net/).
> >
> >If the data_coding is good, then kannel do its job, and it's certainly 
>the
> >phone that is handling the SMS this way. Maybe it doesn't do what it 
>should
> >with class 2 sms, or maybe it's just because the data it contains is not
> >good (the SIM can't do anything of "Test for class2" message).
> >
> >Regards,
> >Colin
> >
> >Rajendra rait wrote:
> >>Hi,
> >>
> >>I have configured kannel 1.4.0 on my sun box running solaris 8, i have
> >>successfully sent class 1 sms through http interface, rightnow i am 
>trying
> >>to send class 2 sms, but what happens is the sms gets displayed on the
> >>phone as an normal sms, what i am looking for is an actual class 2 
>through
> >>the http interface.
> >>
> >>I tried the following from my browser:-
> >>
> >>http://xxx.xxx.xxx.xxx:13013/cgi-bin/sendsms?username=xxx&password=xxxr&pid=127&alt-dcs=246&mclass=2&from=xxxxxxxx&to=xxxxxxxxxxxx&text=Test+for+class2
> >>
> >>Can someone please let me know what am i doing wrong.
> >>
> >>Thank you in advance.
> >>
> >>Regards,
> >>
> >>Rajendra Rait.
> >>
> >>
> >>
> >>_______________________________________________
> >>users mailing list
> >>[email protected]
> >>http://www.kannel.org/mailman/listinfo/users
> >>
> >>
>
>
>
>_______________________________________________
>users mailing list
>[email protected]
>http://www.kannel.org/mailman/listinfo/users



_______________________________________________
users mailing list
[email protected]
http://www.kannel.org/mailman/listinfo/users

Reply via email to