Re: Hi to all

2008-12-16 Thread Tharanga
you need to use dlr-mask with unique id when sending the request to the SMSC 
(via ur smpp..or what ever).  I have posted a small how to on this sometimes 
back..

http://www.kannel.org/pipermail/users/2008-June/005035.html

hope that helps to fix ur issue.

good luck!

Tharanga Abeyseela
  - Original Message - 
  From: Kaliya perumal 
  To: users@kannel.org 
  Sent: Tuesday, December 16, 2008 1:52 PM
  Subject: Hi to all


  Hi
  Now i can able to connect my smsc,but i got error while sending message to my 
number,

  My kannel call is below

  
http://127.0.0.1:13131/cgi-bin/sendsms?username=testerpassword=foobarfrom=919362968751to=919986131642text=Hismsc=smppcoding=0

  My bearerbox result is

  2008-12-16 05:55:37 [16043] [7] DEBUG: sms_router: gwlist_len = 5
  2008-12-16 05:55:37 [16043] [7] DEBUG: sms_router: handling message 
(0x8185348 vs 0x8185348)
  2008-12-16 05:55:37 [16043] [7] DEBUG: sms_router: handling message 
(0x81851e0 vs 0x8185348)
  2008-12-16 05:55:37 [16043] [7] DEBUG: sms_router: handling message 
(0x8184030 vs 0x8185348)
  2008-12-16 05:55:37 [16043] [7] DEBUG: sms_router: handling message 
(0x8182210 vs 0x8185348)
  2008-12-16 05:55:37 [16043] [7] DEBUG: sms_router: handling message 
(0x81841a8 vs 0x8185348)
  2008-12-16 05:55:37 [16043] [7] DEBUG: sms_router: handling message 
(0x8185348 vs 0x8185348)
  2008-12-16 05:55:37 [16043] [7] DEBUG: sms_router: time to sleep 30.00 secs.
  2008-12-16 05:55:56 [16043] [6] DEBUG: SMPP[SMPP:xxx.xxx.xxx.xxx:0/ 
:xxx:]: Sending PDU:
  2008-12-16 05:55:56 [16043] [6] DEBUG: SMPP PDU 0x8186a20 dump:
  2008-12-16 05:55:56 [16043] [6] DEBUG:   type_name: bind_receiver
  2008-12-16 05:55:56 [16043] [6] DEBUG:   command_id: 1 = 0x0001
  2008-12-16 05:55:56 [16043] [6] DEBUG:   command_status: 0 = 0x
  2008-12-16 05:55:56 [16043] [6] DEBUG:   sequence_number: 721 = 0x02d1
  2008-12-16 05:55:56 [16043] [6] DEBUG:   system_id: xxx
  2008-12-16 05:55:56 [16043] [6] DEBUG:   password: xxx
  2008-12-16 05:55:56 [16043] [6] DEBUG:   system_type: 
  2008-12-16 05:55:56 [16043] [6] DEBUG:   interface_version: 51 = 0x0033
  2008-12-16 05:55:56 [16043] [6] DEBUG:   addr_ton: 0 = 0x
  2008-12-16 05:55:56 [16043] [6] DEBUG:   addr_npi: 0 = 0x
  2008-12-16 05:55:56 [16043] [6] DEBUG:   address_range: 
  2008-12-16 05:55:56 [16043] [6] DEBUG: SMPP PDU dump ends.
  2008-12-16 05:55:56 [16043] [6] DEBUG: SMPP[SMPP:xxx.xxx.xxx.xxx:0/
  :xxx:]: Got PDU:
  2008-12-16 05:55:56 [16043] [6] DEBUG: SMPP PDU 0x81847f8 dump:
  2008-12-16 05:55:56 [16043] [6] DEBUG:   type_name: bind_receiver_resp
  2008-12-16 05:55:56 [16043] [6] DEBUG:   command_id: 2147483649 = 0x8001
  2008-12-16 05:55:56 [16043] [6] DEBUG:   command_status: 0 = 0x
  2008-12-16 05:55:56 [16043] [6] DEBUG:   sequence_number: 721 = 0x02d1
  2008-12-16 05:55:56 [16043] [6] DEBUG:   system_id: NowSMS
  2008-12-16 05:55:56 [16043] [6] DEBUG: SMPP PDU dump ends.
  2008-12-16 05:55:56 [16043] [6] DEBUG: Optional parameter tag (0x0427)
  2008-12-16 05:55:56 [16043] [6] DEBUG: Optional parameter length read as 1
  2008-12-16 05:55:56 [16043] [6] DEBUG: Optional parameter tag (0x001e)
  2008-12-16 05:55:56 [16043] [6] DEBUG: Optional parameter length read as 9
  2008-12-16 05:55:56 [16043] [6] DEBUG: 
SMPP[SMPP:xxx.xxx.xxx.xxx:0/:xxx:]: Got PDU:
  2008-12-16 05:55:56 [16043] [6] DEBUG: SMPP PDU 0x81847f8 dump:
  2008-12-16 05:55:56 [16043] [6] DEBUG:   type_name: deliver_sm
  2008-12-16 05:55:56 [16043] [6] DEBUG:   command_id: 5 = 0x0005
  2008-12-16 05:55:56 [16043] [6] DEBUG:   command_status: 0 = 0x
  2008-12-16 05:55:56 [16043] [6] DEBUG:   sequence_number: 104986 = 0x00019a1a
  2008-12-16 05:55:56 [16043] [6] DEBUG:   service_type: NULL
  2008-12-16 05:55:56 [16043] [6] DEBUG:   source_addr_ton: 1 = 0x0001
  2008-12-16 05:55:56 [16043] [6] DEBUG:   source_addr_npi: 1 = 0x0001
  2008-12-16 05:55:56 [16043] [6] DEBUG:   source_addr: 919880517000
  2008-12-16 05:55:56 [16043] [6] DEBUG:   dest_addr_ton: 1 = 0x0001
  2008-12-16 05:55:56 [16043] [6] DEBUG:   dest_addr_npi: 1 = 0x0001
  2008-12-16 05:55:56 [16043] [6] DEBUG:   destination_addr: 919880517000
  2008-12-16 05:55:56 [16043] [6] DEBUG:   esm_class: 4 = 0x0004
  2008-12-16 05:55:56 [16043] [6] DEBUG:   protocol_id: 0 = 0x
  2008-12-16 05:55:56 [16043] [6] DEBUG:   priority_flag: 0 = 0x
  2008-12-16 05:55:56 [16043] [6] DEBUG:   schedule_delivery_time: NULL
  2008-12-16 05:55:56 [16043] [6] DEBUG:   validity_period: NULL
  2008-12-16 05:55:56 [16043] [6] DEBUG:   registered_delivery: 1 = 0x0001
  2008-12-16 05:55:56 [16043] [6] DEBUG:   replace_if_present_flag: 0 = 
0x
  2008-12-16 05:55:56 [16043] [6] DEBUG:   data_coding: 0 = 0x
  2008-12-16 05:55:56 [16043] [6] DEBUG:   sm_default_msg_id: 0 = 0x
  2008-12-16 05:55:56 [16043] [6] DEBUG:   sm_length: 104 = 0x0068
  2008-12-16 05:55:56 [16043] [6] DEBUG:  

Re: Hi to all

2008-12-16 Thread Nikos Balkanas
Just a minor clarification for the unworry...
dlr-mask is not a unique id. Its fields are documented in the User Manual (min 
0 - no dlr, max 31 - all dlrs). If missing you shouldn't get any DLRs. 

In summary just try to add dlr-mask=31 (or whatever) to your URL to see if it 
helps. Just add in your URL: ...dlr-mask=31

I wouldn't worry about the DLRs in red, they clearly are not related to your 
message, the destination is different. They propably are lefovers in the queue.

BR,
Nikos
  - Original Message - 
  From: Tharanga 
  To: Kaliya perumal ; users@kannel.org 
  Sent: Tuesday, December 16, 2008 11:52 AM
  Subject: Re: Hi to all


  you need to use dlr-mask with unique id when sending the request to the SMSC 
(via ur smpp..or what ever).  I have posted a small how to on this sometimes 
back..

  http://www.kannel.org/pipermail/users/2008-June/005035.html

  hope that helps to fix ur issue.

  good luck!

  Tharanga Abeyseela
- Original Message - 
From: Kaliya perumal 
To: users@kannel.org 
Sent: Tuesday, December 16, 2008 1:52 PM
Subject: Hi to all


Hi
Now i can able to connect my smsc,but i got error while sending message to 
my number,

My kannel call is below


http://127.0.0.1:13131/cgi-bin/sendsms?username=testerpassword=foobarfrom=919362968751to=919986131642text=Hismsc=smppcoding=0

My bearerbox result is

2008-12-16 05:55:37 [16043] [7] DEBUG: sms_router: gwlist_len = 5
2008-12-16 05:55:37 [16043] [7] DEBUG: sms_router: handling message 
(0x8185348 vs 0x8185348)
2008-12-16 05:55:37 [16043] [7] DEBUG: sms_router: handling message 
(0x81851e0 vs 0x8185348)
2008-12-16 05:55:37 [16043] [7] DEBUG: sms_router: handling message 
(0x8184030 vs 0x8185348)
2008-12-16 05:55:37 [16043] [7] DEBUG: sms_router: handling message 
(0x8182210 vs 0x8185348)
2008-12-16 05:55:37 [16043] [7] DEBUG: sms_router: handling message 
(0x81841a8 vs 0x8185348)
2008-12-16 05:55:37 [16043] [7] DEBUG: sms_router: handling message 
(0x8185348 vs 0x8185348)
2008-12-16 05:55:37 [16043] [7] DEBUG: sms_router: time to sleep 30.00 secs.
2008-12-16 05:55:56 [16043] [6] DEBUG: SMPP[SMPP:xxx.xxx.xxx.xxx:0/ 
:xxx:]: Sending PDU:
2008-12-16 05:55:56 [16043] [6] DEBUG: SMPP PDU 0x8186a20 dump:
2008-12-16 05:55:56 [16043] [6] DEBUG:   type_name: bind_receiver
2008-12-16 05:55:56 [16043] [6] DEBUG:   command_id: 1 = 0x0001
2008-12-16 05:55:56 [16043] [6] DEBUG:   command_status: 0 = 0x
2008-12-16 05:55:56 [16043] [6] DEBUG:   sequence_number: 721 = 0x02d1
2008-12-16 05:55:56 [16043] [6] DEBUG:   system_id: xxx
2008-12-16 05:55:56 [16043] [6] DEBUG:   password: xxx
2008-12-16 05:55:56 [16043] [6] DEBUG:   system_type: 
2008-12-16 05:55:56 [16043] [6] DEBUG:   interface_version: 51 = 0x0033
2008-12-16 05:55:56 [16043] [6] DEBUG:   addr_ton: 0 = 0x
2008-12-16 05:55:56 [16043] [6] DEBUG:   addr_npi: 0 = 0x
2008-12-16 05:55:56 [16043] [6] DEBUG:   address_range: 
2008-12-16 05:55:56 [16043] [6] DEBUG: SMPP PDU dump ends.
2008-12-16 05:55:56 [16043] [6] DEBUG: SMPP[SMPP:xxx.xxx.xxx.xxx:0/ 
:xxx:]: Got PDU:
2008-12-16 05:55:56 [16043] [6] DEBUG: SMPP PDU 0x81847f8 dump:
2008-12-16 05:55:56 [16043] [6] DEBUG:   type_name: bind_receiver_resp
2008-12-16 05:55:56 [16043] [6] DEBUG:   command_id: 2147483649 = 0x8001
2008-12-16 05:55:56 [16043] [6] DEBUG:   command_status: 0 = 0x
2008-12-16 05:55:56 [16043] [6] DEBUG:   sequence_number: 721 = 0x02d1
2008-12-16 05:55:56 [16043] [6] DEBUG:   system_id: NowSMS
2008-12-16 05:55:56 [16043] [6] DEBUG: SMPP PDU dump ends.
2008-12-16 05:55:56 [16043] [6] DEBUG: Optional parameter tag (0x0427)
2008-12-16 05:55:56 [16043] [6] DEBUG: Optional parameter length read as 1
2008-12-16 05:55:56 [16043] [6] DEBUG: Optional parameter tag (0x001e)
2008-12-16 05:55:56 [16043] [6] DEBUG: Optional parameter length read as 9
2008-12-16 05:55:56 [16043] [6] DEBUG: 
SMPP[SMPP:xxx.xxx.xxx.xxx:0/:xxx:]: Got PDU:
2008-12-16 05:55:56 [16043] [6] DEBUG: SMPP PDU 0x81847f8 dump:
2008-12-16 05:55:56 [16043] [6] DEBUG:   type_name: deliver_sm
2008-12-16 05:55:56 [16043] [6] DEBUG:   command_id: 5 = 0x0005
2008-12-16 05:55:56 [16043] [6] DEBUG:   command_status: 0 = 0x
2008-12-16 05:55:56 [16043] [6] DEBUG:   sequence_number: 104986 = 
0x00019a1a
2008-12-16 05:55:56 [16043] [6] DEBUG:   service_type: NULL
2008-12-16 05:55:56 [16043] [6] DEBUG:   source_addr_ton: 1 = 0x0001
2008-12-16 05:55:56 [16043] [6] DEBUG:   source_addr_npi: 1 = 0x0001
2008-12-16 05:55:56 [16043] [6] DEBUG:   source_addr: 919880517000
2008-12-16 05:55:56 [16043] [6] DEBUG:   dest_addr_ton: 1 = 0x0001
2008-12-16 05:55:56 [16043] [6] DEBUG:   dest_addr_npi: 1 = 0x0001
2008-12-16 05:55:56 [16043] [6] DEBUG:   destination_addr