Re: Problem with SMPP 3.3 SMSC in message delivery

2003-02-13 Thread Ritesh Shah
Thanks a lot, the CVS version solved the prob.

Regards
Ritesh

- Original Message -
From: Stipe Tolj [EMAIL PROTECTED]
To: Ritesh Shah [EMAIL PROTECTED]
Cc: Kannel [EMAIL PROTECTED]
Sent: Friday, February 14, 2003 4:44 AM
Subject: Re: Problem with SMPP 3.3 SMSC in message delivery


 Ritesh Shah wrote:
 
  The Kannel 1.0.3 version works fine, but the later versions give
  this error when the gw. receives the msg. (got DLR but could not
  find message or was not interested in it)
  This prob. is happening only with logica SMSC, I haven't faced this
  issue with any other SMSC.

 try the current cvs snapshot or the upcoming 1.3.1 version. It
 contains some fixes for the SMPP optional parameter parsing code.

 Stipe

 [EMAIL PROTECTED]
 ---
 Wapme Systems AG

 Vogelsanger Weg 80
 40470 Düsseldorf

 Tel: +49-211-74845-0
 Fax: +49-211-74845-299

 E-Mail: [EMAIL PROTECTED]
 Internet: http://www.wapme-systems.de
 ---
 wapme.net - wherever you are






Re: Problem with SMPP 3.3 SMSC in message delivery

2003-02-12 Thread Ritesh Shah



Hi ,

The Kannel 1.0.3 version works fine, but the later 
versions give this error when the gw. receives the msg. (got DLR but could not 
find message or was not interested in it) 
This prob. is happening only with logica SMSC, I 
haven't faced this issue with any other SMSC.


2003-02-12 01:00:55 [5] DEBUG: SMPP PDU 0x811eb20 
dump:2003-02-12 01:00:55 [5] DEBUG: type_name: 
deliver_sm2003-02-12 01:00:55 [5] DEBUG: command_id: 5 = 
0x00052003-02-12 01:00:55 [5] DEBUG: command_status: 0 = 
0x2003-02-12 01:00:55 [5] DEBUG: sequence_number: 3 = 
0x00032003-02-12 01:00:55 [5] DEBUG: service_type: 
NULL2003-02-12 01:00:55 [5] DEBUG: source_addr_ton: 1 = 
0x00012003-02-12 01:00:55 [5] DEBUG: source_addr_npi: 1 = 
0x00012003-02-12 01:00:55 [5] DEBUG: source_addr: 
"12323434344"2003-02-12 01:00:55 [5] DEBUG: dest_addr_ton: 1 = 
0x00012003-02-12 01:00:55 [5] DEBUG: dest_addr_npi: 1 = 
0x00012003-02-12 01:00:55 [5] DEBUG: destination_addr: 
"1234567892"2003-02-12 01:00:55 [5] DEBUG: esm_class: 2 = 
0x00022003-02-12 01:00:55 [5] DEBUG: protocol_id: 0 = 
0x2003-02-12 01:00:55 [5] DEBUG: priority_flag: 0 = 
0x2003-02-12 01:00:55 [5] DEBUG: schedule_delivery_time: 
NULL2003-02-12 01:00:55 [5] DEBUG: validity_period: 
NULL2003-02-12 01:00:55 [5] DEBUG: registered_delivery: 0 = 
0x2003-02-12 01:00:55 [5] DEBUG: 
replace_if_present_flag: 0 = 0x2003-02-12 01:00:55 [5] 
DEBUG: data_coding: 0 = 0x2003-02-12 01:00:55 [5] 
DEBUG: sm_default_msg_id: 0 = 0x2003-02-12 01:00:55 [5] 
DEBUG: sm_length: 15 = 0x000f2003-02-12 01:00:55 [5] 
DEBUG: short_message: "another message"2003-02-12 01:00:55 [5] 
DEBUG: SMPP PDU dump ends.2003-02-12 01:00:55 [5] DEBUG: SMPP[tt] 
handle_pdu, got DLR2003-02-12 01:00:55 [5] ERROR: SMPP[tt]: got DLR but 
could not find message or was not interested in it2003-02-12 01:00:55 [5] 
DEBUG: SMPP[tt]: Sending PDU:2003-02-12 01:00:55 [5] DEBUG: SMPP PDU 
0x811ecc0 dump:2003-02-12 01:00:55 [5] DEBUG: type_name: 
deliver_sm_resp2003-02-12 01:00:55 [5] DEBUG: command_id: 
2147483653 = 0x80052003-02-12 01:00:55 [5] DEBUG: 
command_status: 0 = 0x2003-02-12 01:00:55 [5] DEBUG: 
sequence_number: 3 = 0x00032003-02-12 01:00:55 [5] DEBUG: 
message_id: NULL2003-02-12 01:00:55 [5] DEBUG: SMPP PDU dump 
ends.2003-02-12 01:01:03 [5] DEBUG: SMPP[tt]: Sending enquire 
link:2003-02-12 01:01:03 [5] DEBUG: SMPP PDU 0x811ecc0 dump:2003-02-12 
01:01:03 [5] DEBUG: type_name: enquire_link2003-02-12 01:01:03 
[5] DEBUG: command_id: 21 = 0x00152003-02-12 01:01:03 [5] 
DEBUG: command_status: 0 = 0x2003-02-12 01:01:03 [5] 
DEBUG: sequence_number: 24 = 0x00182003-02-12 01:01:03 [5] 
DEBUG: SMPP PDU dump ends.

Regards
Ritesh




Problem with SMPP 3.3 SMSC in message delivery

2003-01-09 Thread Ritesh Shah



Hi YJ,

How did u solved the prob. of Incomplete 
replies

I am trying to connect with logica smsc. 

I am also getting the same prob. which
The Kannel bearer's log text indicated that 
it: SMPP handle_pdu Got DELIVER REPORTBut then it followed 
up with ERROR:Got DELIV REPORT but couldnt find messageor was 
not interested in it
For deliver_sm I am getting service_type "NOREP" 
(No Reply), We have defined the system-type = Ext.


###deliver_sm 
dump
2003-01-09 19:44:28 [6] DEBUG: 
type_name: deliver_sm2003-01-09 19:44:28 [6] DEBUG: command_id: 
5 = 0x00052003-01-09 19:44:28 [6] DEBUG: command_status: 0 = 
0x2003-01-09 19:44:28 [6] DEBUG: sequence_number: 3 = 
0x00032003-01-09 19:44:28 [6] DEBUG: service_type: 
"NOREP"2003-01-09 19:44:28 [6] DEBUG: source_addr_ton: 1 = 
0x00012003-01-09 19:44:28 [6] DEBUG: source_addr_npi: 1 = 
0x00012003-01-09 19:44:28 [6] DEBUG: source_addr: 
"919029392923"2003-01-09 19:44:28 [6] DEBUG: dest_addr_ton: 0 = 
0x2003-01-09 19:44:28 [6] DEBUG: dest_addr_npi: 1 = 
0x00012003-01-09 19:44:28 [6] DEBUG: destination_addr: 
"1234"##
and then there is no submit_sm for this 
msg.


following is the dump of bind_transmitter and 
bind_receiver
##

2003-01-09 17:37:41 [5] DEBUG: 
type_name: bind_transmitter2003-01-09 17:37:41 [5] DEBUG: 
command_id: 2 = 0x00022003-01-09 17:37:41 [5] DEBUG: 
command_status: 0 = 0x2003-01-09 17:37:41 [5] DEBUG: 
sequence_number: 0 = 0x2003-01-09 17:37:41 [5] DEBUG: 
system_id: "test"2003-01-09 17:37:41 [5] DEBUG: password: 
"test"2003-01-09 17:37:41 [5] DEBUG: system_type: 
"Ext"2003-01-09 17:37:41 [5] DEBUG: interface_version: 51 = 
0x00332003-01-09 17:37:41 [5] DEBUG: addr_ton: 0 = 
0x2003-01-09 17:37:41 [5] DEBUG: addr_npi: 1 = 
0x00012003-01-09 17:37:41 [5] DEBUG: address_range: 
"^1234"

2003-01-09 17:37:41 [6] DEBUG: 
type_name: bind_receiver2003-01-09 17:37:41 [6] DEBUG: 
command_id: 1 = 0x00012003-01-09 17:37:41 [6] DEBUG: 
command_status: 0 = 0x2003-01-09 17:37:41 [6] DEBUG: 
sequence_number: 1 = 0x00012003-01-09 17:37:41 [6] DEBUG: 
system_id: "test"2003-01-09 17:37:41 [6] DEBUG: password: 
"test"2003-01-09 17:37:41 [6] DEBUG: system_type: 
"Ext"2003-01-09 17:37:41 [6] DEBUG: interface_version: 51 = 
0x00332003-01-09 17:37:41 [6] DEBUG: addr_ton: 1 = 
0x00012003-01-09 17:37:41 [6] DEBUG: addr_npi: 1 = 
0x00012003-01-09 17:37:41 [6] DEBUG: address_range: 
"^1234"
#

This prob. is only coming with logica smsc, there 
was no prob. connecting with other types of SMSC's.


RegardsRitesh 
Shah


pull binary sms

2002-12-24 Thread Ritesh Shah



Hi,

Is it possible to get binary sms(logo, ring tones, 
picture msgs.)in the same pull push. Currently for a logo pull request I 
send a separate push, andsupress the warning of the push (Empty Reply from 
the Service Provider)with omit-empty= True.

In my kannel conf I have defined in sms-service

group = sms-servicekeyword = logo
url = "" 
href="">http://1.1.1.1/cgi-bin/prog.cgi?mobileno=%pto=%Pkeyvalue=%a
omit-empty = "true"
max-messages = 3


Regards
Ritesh


Re: Howto send ott files

2002-11-28 Thread Ritesh Shah



Hi,

I got the prob. My concatenate is not 
working.
When I am sending the picture msgs. by splitting 
manually it comes properly.

The below code works perfectly well.

lynx --dump "http://127.0.0.1:12013/cgi-bin/sendsms?user=foopass=barto=mobilenoudh=%0B%05%04%15%8A%00%00%00%03%02%03%01text=%30%00%00%.."

lynx --dump "http://127.0.0.1:12013/cgi-bin/sendsms?user=foopass=barto=mobilenoudh=%0B%05%04%15%8A%00%00%00%03%02%03%02text=%7F%FF%FF%..."lynx 
--dump "http://127.0.0.1:12013/cgi-bin/sendsms?user=foopass=barto=mobilenoudh=%0B%05%04%15%8A%00%00%00%03%02%03%03text=%FF%FF%FF%FF%FF%FF%FF%FF%FF"
but when I amsending as onemsg. kannel 
splits them into 3 butI get in my mobile as message cannot be displayed 
here.

lynx --dump "http://127.0.0.1:12013/cgi-bin/sendsms?user=foopass=barto=mobilenoudh=%0B%05%04%15%8A%00%00text=%30%00%00%.."

Pls. let me know how to pass the proper udh which 
will do the concatenation.

I am already using 
group = sendsms-userconcatenation = 
truemax-messages = 3
Thanks  Regards
Ritesh


  - Original Message - 
  From: 
  Dziugas 
  Baltrunas 
  To: Ritesh Shah 
  Cc: [EMAIL PROTECTED] 
  Sent: Thursday, November 28, 2002 1:24 
  AM
  Subject: Re: Howto send ott files
  
  
  Rithes,
  
  firstly, your code is not right - there 
  should be "text=$data", not "data". 
  
  furthermore, you should include "coding=2" 
  in the URL and $data should 
  be in format as UDH, ie. %3C%45%6D7 and so 
  on. 
  
  hope it will help.
  
  regards,
  Dziugas Baltrunas
  
- Original Message - 
From: 
Ritesh 
Shah 
To: Dziugas Baltrunas 
Sent: 2002 m. lapkrièio 27 d. 
17:35
Subject: Re: Howto send ott files
HiI have put your code in my php file, but still I am 
getting the same error.I am attaching my sendlogo.php in this 
mail.I use logoedit to get MCC and MNC values.For our operator 
MCC-404 and MNC-07so after conversion 04F470in my 
kannel log I am getting 
thismsg:35:3C456D707479207265706C792066726F6D20736572766963652070726F76696465723E] 
[udh:7:0605041582]Thanks  RegardsRitesh- 
Original Message -From: "Dziugas Baltrunas" [EMAIL PROTECTED]To: 
"Ritesh Shah" [EMAIL PROTECTED]Cc: 
"Kannel" [EMAIL PROTECTED]Sent: 
Wednesday, November 27, 2002 7:35 PMSubject: Re: Howto send ott 
files ok, here is a snip from my php code: 
$image = $path . "/logo/$id.otb"; if (!empty($image)  
file_exists($image)) { $fd = @fopen($image, "r"); $data = 
"" 4096); @fclose($fd); for ($i = 0; $i 
 strlen($data); $i++) { $IMG .= sprintf("%02X", 
ord($data[$i])); } } else { die("Logotipas 
numeriu $id neegzistuoja. Bandykite dar karta"); } 
//$code['omnitel'] = '42F610'; // Lithuania Omnitel $code['bite'] = 
'42F620'; // Lithuania UAB Bite GSM $data = "" . 
$IMG; and UDH should be: 0605041582 I 
use ImageMagick to convet gif or jpeg images into Over The air 
Bitmap. try to search google for your operator code. if something 
goes wrong, write again. regards, 
Dziugas On Wed, 27 Nov 2002, Ritesh Shah 
wrote:  Hi,   I am using nokia 
3310.   Pls. correct me do I have to send the MCC 
    and MNC for picture msg. also.   Regards 
 Ritesh   - Original Message - 
 From: "Dziugas Baltrunas" [EMAIL PROTECTED] 
 To: "Ritesh Shah" [EMAIL PROTECTED]  
Cc: "Kannel" [EMAIL PROTECTED] 
 Sent: Wednesday, November 27, 2002 6:57 PM  Subject: Re: 
Howto send ott files 
Hello, what model of Nokia are you 
using? actually, i have the same problem -   nokia 5110 
shows the picutre correctly, but others don't.   
  and are you using correct code of your mobile phone 
operator? Dziugas  
   On Wed, 27 Nov 2002, Ritesh Shah wrote:  
Hi All,  
 I am having two problems.   
(1.) Howto send ott files through kannel 
  (2.) I am able to send hexadecimal codes of logos and 
ringtones but  when Iam sending picture 
msg. I am getting   
 message not displayed 
here.   I am sending the pic 
msg. like this, Pls. let me know where I amdoing
wrong. 
 
/cgi-bin/sendsms?username=userpassword=passfrom=fromnoto=mobilenoudh=%06 
   
%05%04%15%8A%00%00text=%00%48%1C%01%00%00%00%00%03%F0%00%36%66%00%00%00%00% 
   
03%18%00%30%CC%00%00%00%00%03%18%00%30%CC%00%00%0C%00%03%18%F1%F6%EE%00%00%E 
   
F%80%03%F1%9B%36%CC%00%07%3B%60%03%19%FB%36%CC%00%08%F9%90%03%19%83%36%CC%00 
   
%10%EA%88%03%19%9B%36%CC%00%27%CA%74%03%18%F1%F6%CC%00%23%8E%E7%00%00%00%00% 
   
00%00%33%84%CC%80%01%F0%00%00%01%79%C7%98%20%00%D8%0C%00%0F%3C%7E%3E%30%00%D 
   
9%DE%00%3F%07%1C%F8%60%00%DB%6C%00%7F%8F%CF