Delivery messages with SMPP

2002-09-11 Thread Kwok Peng Tuck

I have some problems with delivery reports in kannel using a smpp 
connection.
I'm of the assumption that with every sms I send through smpp, I should 
be able to
get a report on the status of the sms through the log file.

All I get from the log is this :
2002-09-11 17:38:44 send-SMS request added - sender:Abc:0888 127.0.0.1 
target:60163472781 request: 'Make money now!'
2002-09-11 17:38:45 Sent SMS [SMSC:Digi] [SVC:Abc] [ACT:] [from:0888] 
[to:60163472781] [flags:0:1:0:0:0] [msg:15:Make money now!] [udh:0:]

which I'm told is incomplete, because it doesn't include the id 
generated by the smsc and the actual status of the sms message 
(undelivered or so forth).I know for a fact that the message went 
through because the phone received it. But I need to be able to see it 
in the log. So my question(s) now is,
a) Is there something I should be setting in my config file to enable 
this ? (I don't remember seeing anything about this in the docs)
b) Does this have something to do with what smsc center itself, like in 
this post  ?
 http://www.mail-archive.com/users@kannel.3glab.org/msg00839.html
Any hints and answers would be nice.
my kannel version  is the cvs version of kannel, release 2.4.7-10, 
running on Redhat 7.2

Thanks.









Re: DLR request flag?

2002-09-18 Thread Kwok Peng Tuck


I was trying to get a dlr from the smpp I connected to send back the 
dlr. So if this is the way to do it then, I have some questions.
a) The dlrmask specified in the documentation wasn't clear to me; Could 
a example be given ?
b) What's this dlr-url ? Specifically, how does it looklike ?

Oded Arbel wrote:

>>-Original Message-
>>From: Otgonbayar Agvaan [mailto:[EMAIL PROTECTED]]
>>
>>
>
>  
>
>>I connected kannel to Comverse SMSC and it works fine. But I 
>>don't receive
>>DLR. So, I traced it on SMSC and I found that Registered 
>>delivery flag is
>>set 0 in SMPP protocol. How can I set it in kannel config?
>>
>>
>
>You don't set that in the kannel config, but seperatly for each message by setting 
>the dlr_mask and dlr_url parameters on the send-sms call or the matching X-Kannel 
>headers on an sms-service response.
>
>--
>Oded Arbel
>m-Wise mobile solutions
>[EMAIL PROTECTED]
>
>+972-9-9581711 (116)
>+972-67-340014
>
>::..
>According to Jon Bentley and Bjarne Stroustrup, rewriting malloc/free is one of 
>the most rewarding forms of entertainment for SW people. 
>   -- Henry Baker, (Re: allocator and GC locality (was Re: cost of malloc), 
>   He did add a smiley to that comment 
>
>
>  
>






Re: DLR request flag?

2002-09-18 Thread Kwok Peng Tuck

Okay, I get the a) bit.
For b) I'm still a bit uncertain by what you mean when you say 'correct 
template for the URL' but I'm going to set up kannel to try it and see 
what happens.
Thanks.

Oded Arbel wrote:

>a) its a bit mapped field, where you setup the bits corresponding the types of 
>delivery notification you want to get. for example, to get all the delivery report 
>types Kannel currently supports, set it to 31 (decimal). to get only "delivered" and 
>"failed", set it to 3
>b) the dlr-url parameter you set for a URL that Kannel will call when it needs to 
>deliver the DLR - its sort of an HTTP based callback. by setting up the correct 
>template for that URL you can get Kannel to send you the type of delivery reports, 
>date, MSISDNs etc'.
>
>--
>Oded Arbel
>m-Wise mobile solutions
>[EMAIL PROTECTED]
>
>+972-9-9581711 (116)
>+972-67-340014
>
>::..
>When reason is away, smiles will play.
>   -- Paul Eluard and Benjamin Peret
>
>  
>
>>-Original Message-
>>From: Kwok Peng Tuck [mailto:[EMAIL PROTECTED]]
>>Sent: Wednesday, September 18, 2002 10:51 AM
>>To: [EMAIL PROTECTED]
>>Subject: Re: DLR request flag?
>>
>>
>>
>>I was trying to get a dlr from the smpp I connected to send back the 
>>dlr. So if this is the way to do it then, I have some questions.
>>a) The dlrmask specified in the documentation wasn't clear to 
>>me; Could 
>>a example be given ?
>>b) What's this dlr-url ? Specifically, how does it looklike ?
>>
>>Oded Arbel wrote:
>>
>>
>>
>>>>-Original Message-
>>>>From: Otgonbayar Agvaan [mailto:[EMAIL PROTECTED]]
>>>>   
>>>>
>>>>
>>>>
>>> 
>>>
>>>  
>>>
>>>>I connected kannel to Comverse SMSC and it works fine. But I 
>>>>don't receive
>>>>DLR. So, I traced it on SMSC and I found that Registered 
>>>>delivery flag is
>>>>set 0 in SMPP protocol. How can I set it in kannel config?
>>>>   
>>>>
>>>>
>>>>
>>>You don't set that in the kannel config, but seperatly for 
>>>  
>>>
>>each message by setting the dlr_mask and dlr_url parameters 
>>on the send-sms call or the matching X-Kannel headers on an 
>>sms-service response.
>>
>>
>>>--
>>>Oded Arbel
>>>m-Wise mobile solutions
>>>[EMAIL PROTECTED]
>>>
>>>+972-9-9581711 (116)
>>>+972-67-340014
>>>
>>>::..
>>>According to Jon Bentley and Bjarne Stroustrup, rewriting 
>>>  
>>>
>>malloc/free is one of 
>>
>>
>>>the most rewarding forms of entertainment for SW people. 
>>> -- Henry Baker, (Re: allocator and GC locality (was Re: 
>>>  
>>>
>>cost of malloc), 
>>
>>
>>> He did add a smiley to that comment 
>>>
>>>
>>> 
>>>
>>>  
>>>
>>
>>
>>
>>
>
>  
>






Re: DLR request flag?

2002-09-18 Thread Kwok Peng Tuck

That's the same as the one used in sms-service isn't it ?


Oded Arbel wrote:

>The userguide has a list of possible values for % expansion that can be set in the 
>DLR URL.
>
>--
>Oded Arbel
>m-Wise mobile solutions
>[EMAIL PROTECTED]
>
>+972-9-9581711 (116)
>+972-67-340014
>
>::..
>The gates in my computer are AND, OR and NOT; they are not Bill.
>
>
>  
>
>>-Original Message-
>>From: Kwok Peng Tuck [mailto:[EMAIL PROTECTED]]
>>Sent: Wednesday, September 18, 2002 11:34 AM
>>To: [EMAIL PROTECTED]
>>Subject: Re: DLR request flag?
>>
>>
>>Okay, I get the a) bit.
>>For b) I'm still a bit uncertain by what you mean when you 
>>say 'correct 
>>template for the URL' but I'm going to set up kannel to try 
>>it and see 
>>what happens.
>>Thanks.
>>
>>Oded Arbel wrote:
>>
>>
>>
>>>a) its a bit mapped field, where you setup the bits 
>>>  
>>>
>>corresponding the types of delivery notification you want to 
>>get. for example, to get all the delivery report types Kannel 
>>currently supports, set it to 31 (decimal). to get only 
>>"delivered" and "failed", set it to 3
>>
>>
>>>b) the dlr-url parameter you set for a URL that Kannel will 
>>>  
>>>
>>call when it needs to deliver the DLR - its sort of an HTTP 
>>based callback. by setting up the correct template for that 
>>URL you can get Kannel to send you the type of delivery 
>>reports, date, MSISDNs etc'.
>>
>>
>>>--
>>>Oded Arbel
>>>m-Wise mobile solutions
>>>[EMAIL PROTECTED]
>>>
>>>+972-9-9581711 (116)
>>>+972-67-340014
>>>
>>>::..
>>>When reason is away, smiles will play.
>>> -- Paul Eluard and Benjamin Peret
>>>
>>> 
>>>
>>>  
>>>
>>>>-Original Message-
>>>>From: Kwok Peng Tuck [mailto:[EMAIL PROTECTED]]
>>>>Sent: Wednesday, September 18, 2002 10:51 AM
>>>>To: [EMAIL PROTECTED]
>>>>Subject: Re: DLR request flag?
>>>>
>>>>
>>>>
>>>>I was trying to get a dlr from the smpp I connected to send 
>>>>
>>>>
>>back the 
>>
>>
>>>>dlr. So if this is the way to do it then, I have some questions.
>>>>a) The dlrmask specified in the documentation wasn't clear to 
>>>>me; Could 
>>>>a example be given ?
>>>>b) What's this dlr-url ? Specifically, how does it looklike ?
>>>>
>>>>Oded Arbel wrote:
>>>>
>>>>   
>>>>
>>>>
>>>>
>>>>>>-Original Message-
>>>>>>From: Otgonbayar Agvaan [mailto:[EMAIL PROTECTED]]
>>>>>>  
>>>>>>
>>>>>>   
>>>>>>
>>>>>>
>>>>>>
>>>>> 
>>>>>
>>>>>  
>>>>>
>>>>>>I connected kannel to Comverse SMSC and it works fine. But I 
>>>>>>don't receive
>>>>>>DLR. So, I traced it on SMSC and I found that Registered 
>>>>>>delivery flag is
>>>>>>set 0 in SMPP protocol. How can I set it in kannel config?
>>>>>>  
>>>>>>
>>>>>>   
>>>>>>
>>>>>>
>>>>>>
>>>>>You don't set that in the kannel config, but seperatly for 
>>>>> 
>>>>>
>>>>>  
>>>>>
>>>>each message by setting the dlr_mask and dlr_url parameters 
>>>>on the send-sms call or the matching X-Kannel headers on an 
>>>>sms-service response.
>>>>   
>>>>
>>>>
>>>>
>>>>>--
>>>>>Oded Arbel
>>>>>m-Wise mobile solutions
>>>>>[EMAIL PROTECTED]
>>>>>
>>>>>+972-9-9581711 (116)
>>>>>+972-67-340014
>>>>>
>>>>>::..
>>>>>According to Jon Bentley and Bjarne Stroustrup, rewriting 
>>>>> 
>>>>>
>>>>>  
>>>>>
>>>>malloc/free is one of 
>>>>   
>>>>
>>>>
>>>>
>>>>>the most rewarding forms of entertainment for SW people. 
>>>>>   -- Henry Baker, (Re: allocator and GC locality (was Re: 
>>>>> 
>>>>>
>>>>>  
>>>>>
>>>>cost of malloc), 
>>>>   
>>>>
>>>>
>>>>
>>>>>   He did add a smiley to that comment 
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> 
>>>>>
>>>>>  
>>>>>
>>>>   
>>>>
>>>>
>>>>
>>> 
>>>
>>>  
>>>
>>
>>
>>
>>
>
>
>  
>






Re: DLR request flag?

2002-09-18 Thread Kwok Peng Tuck

Okay, I've managed to get the dlr-url working , but I'm unsure about 
what the log is saying .
I send a sms and in the access.log I get this:

2002-09-19 09:33:56 send-SMS request added - sender:try:888 192.168.6.63 
target:60162735950 request: 'Get low interest rates for home loans now'

2002-09-19 09:33:56 DLR SMS [SMSC:Digi] [SVC:try] [ACT:] 
[from:60162735950] [to:000] [flags:0:0:0:0:12] [msg:11:0x/] 
[udh:0:]

and finally this:

2002-09-19 09:33:56 Sent SMS [SMSC:Digi] [SVC:try] [ACT:] [from:888] 
[to:60162735950] [flags:0:1:0:0:31] [msg:41:Get low interest rates for 
home loans now] [udh:0:]

That's fine, but in the log file for the bearerbox I get this

2002-09-19 09:34:01 [6] DEBUG: Looking for DLR smsc=Digi, ts=263, 
dst=60162735950, type=1

2002-09-19 09:34:01 [6] DEBUG: DLR not found!
 
2002-09-19 09:34:01 [6] ERROR: SMPP[Digi]: got DLR but could not find 
message or was not interested in it

I've set up a jsp page for dlr-url to use and I find that the delivery 
report is always 12. (8+4) ?
My dlr-url is set as "http://192.168.6.63:8080/testdlr/test.jsp?dlrvalue=%d";

Is it possible that my request for the status of whether the message was 
ultimately sent is being rejected by the smsc ?




Oded Arbel wrote:

>no. different values are transmitted and different expression list is used.
>
>--
>Oded Arbel
>m-Wise mobile solutions
>[EMAIL PROTECTED]
>
>+972-9-9581711 (116)
>+972-67-340014
>
>::..
>When you want to test the depths of a stream, don't use both feet.
>   -- Chinese Proverb
>
>
>  
>
>>-Original Message-
>>From: Kwok Peng Tuck [mailto:[EMAIL PROTECTED]]
>>Sent: Wednesday, September 18, 2002 11:59 AM
>>To: [EMAIL PROTECTED]
>>Subject: Re: DLR request flag?
>>
>>
>>That's the same as the one used in sms-service isn't it ?
>>
>>
>>Oded Arbel wrote:
>>
>>
>>
>>>The userguide has a list of possible values for % expansion 
>>>  
>>>
>>that can be set in the DLR URL.
>>
>>
>>>--
>>>Oded Arbel
>>>m-Wise mobile solutions
>>>[EMAIL PROTECTED]
>>>
>>>+972-9-9581711 (116)
>>>+972-67-340014
>>>
>>>::..
>>>The gates in my computer are AND, OR and NOT; they are not Bill.
>>>
>>>
>>> 
>>>
>>>  
>>>
>>>>-Original Message-
>>>>From: Kwok Peng Tuck [mailto:[EMAIL PROTECTED]]
>>>>Sent: Wednesday, September 18, 2002 11:34 AM
>>>>To: [EMAIL PROTECTED]
>>>>Subject: Re: DLR request flag?
>>>>
>>>>
>>>>Okay, I get the a) bit.
>>>>For b) I'm still a bit uncertain by what you mean when you 
>>>>say 'correct 
>>>>template for the URL' but I'm going to set up kannel to try 
>>>>it and see 
>>>>what happens.
>>>>Thanks.
>>>>
>>>>Oded Arbel wrote:
>>>>
>>>>   
>>>>
>>>>
>>>>
>>>>>a) its a bit mapped field, where you setup the bits 
>>>>> 
>>>>>
>>>>>  
>>>>>
>>>>corresponding the types of delivery notification you want to 
>>>>get. for example, to get all the delivery report types Kannel 
>>>>currently supports, set it to 31 (decimal). to get only 
>>>>"delivered" and "failed", set it to 3
>>>>   
>>>>
>>>>
>>>>
>>>>>b) the dlr-url parameter you set for a URL that Kannel will 
>>>>> 
>>>>>
>>>>>  
>>>>>
>>>>call when it needs to deliver the DLR - its sort of an HTTP 
>>>>based callback. by setting up the correct template for that 
>>>>URL you can get Kannel to send you the type of delivery 
>>>>reports, date, MSISDNs etc'.
>>>>   
>>>>
>>>>
>>>>
>>>>>--
>>>>>Oded Arbel
>>>>>m-Wise mobile solutions
>>>>>[EMAIL PROTECTED]
>>>>>
>>>>>+972-9-9581711 (116)
>>>>>+972-67-340014
>>>>>
>>>>>::..
>>>>>When reason is away, smiles will play.
>>>>>   -- Paul Eluard and Benjamin Peret
>>>>>
>>>>>
>>>>>
>>>>> 
>>>>>
>>>>>   

Re: DLR request flag?

2002-09-19 Thread Kwok Peng Tuck

How much more of  the logs do you need to see ?


Oded Arbel wrote:

>>-Original Message-
>>From: Kwok Peng Tuck [mailto:[EMAIL PROTECTED]]
>>
>>
>
>  
>
>>2002-09-19 09:33:56 DLR SMS [SMSC:Digi] [SVC:try] [ACT:] 
>>[from:60162735950] [to:000] [flags:0:0:0:0:12] [msg:11:0x/] 
>>[udh:0:]
>>
>>
>
>looks ok.
>
>  
>
>>That's fine, but in the log file for the bearerbox I get this
>>
>>2002-09-19 09:34:01 [6] DEBUG: Looking for DLR smsc=Digi, ts=263, 
>>dst=60162735950, type=1
>>2002-09-19 09:34:01 [6] DEBUG: DLR not found!
>>2002-09-19 09:34:01 [6] ERROR: SMPP[Digi]: got DLR but could not find 
>>message or was not interested in it
>>
>>
>
>Not sure what this is all about,  but SMPP failed to locate the message it got a 
>delivery report on. w/o more of the logs I can't say for sure, but my guess is that 
>this is not the same message as you've sent.
>
>  
>
>>I've set up a jsp page for dlr-url to use and I find that the 
>>delivery 
>>report is always 12. (8+4) ?
>>
>>
>That's correct. for some reason the SMPP driver treaks an ACK as a combination 
>SMSC_SUCCESS + BUFFERED. I'm not sure if this is correct, but it doesn't annoy me 
>much, so I haven't changed that weird behaviour.
>
>
>  
>
>>Is it possible that my request for the status of whether the 
>>message was 
>>ultimately sent is being rejected by the smsc ?
>>
>>
>
>Unlikely.
>
>--
>Oded Arbel
>m-Wise mobile solutions
>[EMAIL PROTECTED]
>
>+972-9-9581711 (116)
>+972-67-340014
>
>::..
>"What do you mean, my birth certificate has expired ?!"
>
>  
>






Re: DLR request flag?

2002-09-19 Thread Kwok Peng Tuck

Here's the two log files, I've made sure that the time frame is correct ,
but in the access log  I couldn't locate the reference to 2002-09-19 
09:34:01 .
Thanks in advance for any insight.


Oded Arbel wrote:

>Can't say for sure - all of the log for the time frame, I guess
>
>--
>Oded Arbel
>m-Wise mobile solutions
>[EMAIL PROTECTED]
>
>+972-9-9581711 (116)
>+972-67-340014
>
>::..
>A clear conscience is usually the sign of a bad memory.
>
>
>  
>
>>-Original Message-
>>From: Kwok Peng Tuck [mailto:[EMAIL PROTECTED]]
>>Sent: Thursday, September 19, 2002 10:10 AM
>>To: [EMAIL PROTECTED]
>>Subject: Re: DLR request flag?
>>
>>
>>How much more of  the logs do you need to see ?
>>
>>
>>Oded Arbel wrote:
>>
>>
>>
>>>>-Original Message-
>>>>From: Kwok Peng Tuck [mailto:[EMAIL PROTECTED]]
>>>>   
>>>>
>>>>
>>>>
>>> 
>>>
>>>  
>>>
>>>>2002-09-19 09:33:56 DLR SMS [SMSC:Digi] [SVC:try] [ACT:] 
>>>>[from:60162735950] [to:000] [flags:0:0:0:0:12] [msg:11:0x/] 
>>>>[udh:0:]
>>>>   
>>>>
>>>>
>>>>
>>>looks ok.
>>>
>>> 
>>>
>>>  
>>>
>>>>That's fine, but in the log file for the bearerbox I get this
>>>>
>>>>2002-09-19 09:34:01 [6] DEBUG: Looking for DLR smsc=Digi, ts=263, 
>>>>dst=60162735950, type=1
>>>>2002-09-19 09:34:01 [6] DEBUG: DLR not found!
>>>>2002-09-19 09:34:01 [6] ERROR: SMPP[Digi]: got DLR but 
>>>>
>>>>
>>could not find 
>>
>>
>>>>message or was not interested in it
>>>>   
>>>>
>>>>
>>>>
>>>Not sure what this is all about,  but SMPP failed to locate 
>>>  
>>>
>>the message it got a delivery report on. w/o more of the logs 
>>I can't say for sure, but my guess is that this is not the 
>>same message as you've sent.
>>
>>
>>> 
>>>
>>>  
>>>
>>>>I've set up a jsp page for dlr-url to use and I find that the 
>>>>delivery 
>>>>report is always 12. (8+4) ?
>>>>   
>>>>
>>>>
>>>>
>>>That's correct. for some reason the SMPP driver treaks an 
>>>  
>>>
>>ACK as a combination SMSC_SUCCESS + BUFFERED. I'm not sure if 
>>this is correct, but it doesn't annoy me much, so I haven't 
>>changed that weird behaviour.
>>
>>
>>> 
>>>
>>>  
>>>
>>>>Is it possible that my request for the status of whether the 
>>>>message was 
>>>>ultimately sent is being rejected by the smsc ?
>>>>   
>>>>
>>>>
>>>>
>>>Unlikely.
>>>
>>>--
>>>Oded Arbel
>>>m-Wise mobile solutions
>>>[EMAIL PROTECTED]
>>>
>>>+972-9-9581711 (116)
>>>+972-67-340014
>>>
>>>::..
>>>"What do you mean, my birth certificate has expired ?!"
>>>
>>> 
>>>
>>>  
>>>
>>
>>
>>
>>
>
>
>  
>



2002-09-19 09:33:56 [9] DEBUG: boxc_receiver: sms received
2002-09-19 09:33:56 [6] DEBUG: SMPP[Digi]: Manually forced source addr ton = 65, 
source add npi = 0
2002-09-19 09:33:56 [6] DEBUG: SMPP[Digi]: Manually forced dest addr ton = 1, source 
add npi = 1
2002-09-19 09:33:56 [6] DEBUG: Looking for DLR smsc=Digi, ts=9791, dst=60162735950, 
type=12
2002-09-19 09:33:56 [6] DEBUG: created DLR message:
2002-09-19 09:33:56 [6] INFO: dlr not destroyed, still waiting for other delivery 
report
2002-09-19 09:33:56 [1] DEBUG: Dumping 1 messages and 0 acks to store
2002-09-19 09:33:56 [11] DEBUG: boxc_sender: sent message to <127.0.0.1>
2002-09-19 09:33:56 [9] DEBUG: boxc_receiver: got ack
2002-09-19 09:34:01 [6] DEBUG: SMPP[Digi] handle_pdu, got DLR
2002-09-19 09:34:01 [6] DEBUG: Looking for DLR smsc=Digi, ts=263, dst=60162735950, 
type=1
2002-09-19 09:34:01 [6] DEBUG: DLR not found!
2002-09-19 09:34:01 [6] ERROR: SMPP[Digi]: got DLR but could not find message or was 
not interested in it

2002-09-19 09:33:56 send-SMS request added - sender:try:888 192.168.6.63 
target:60162735950 request: 'Get low interest rates for home loans now'
2002-09-19 09:33:56 DLR SMS [SMSC:Digi] [SVC:try] [ACT:] [from:60162735950] [to:000] 
[flags:0:0:0:0:12] [msg:11:0x/] [udh:0:]
2002-09-19 09:33:56 Sent SMS [SMSC:Digi] [SVC:try] [ACT:] [from:888] [to:60162735950] 
[flags:0:1:0:0:31] [msg:41:Get low interest rates for home loans now] [udh:0:]


Re: DLR request flag?

2002-09-19 Thread Kwok Peng Tuck

The  tarball version of the snapshot.

Oded Arbel wrote:

>Which version of Kannel are you using ?
>
>--
>Oded Arbel
>m-Wise mobile solutions
>[EMAIL PROTECTED]
>
>+972-9-9581711 (116)
>+972-67-340014
>
>::..
>Immature poets imitate, mature poets steal.
>   -- T.S. Eliot, "Philip Massinger"
>
>
>
>
>  
>
>>-Original Message-
>>From: Kwok Peng Tuck [mailto:[EMAIL PROTECTED]]
>>Sent: Thursday, September 19, 2002 10:25 AM
>>To: [EMAIL PROTECTED]
>>Subject: Re: DLR request flag?
>>
>>
>>Here's the two log files, I've made sure that the time frame 
>>is correct ,
>>but in the access log  I couldn't locate the reference to 2002-09-19 
>>09:34:01 .
>>Thanks in advance for any insight.
>>
>>
>>Oded Arbel wrote:
>>
>>
>>
>>>Can't say for sure - all of the log for the time frame, I guess
>>>
>>>--
>>>Oded Arbel
>>>m-Wise mobile solutions
>>>[EMAIL PROTECTED]
>>>
>>>+972-9-9581711 (116)
>>>+972-67-340014
>>>
>>>::..
>>>A clear conscience is usually the sign of a bad memory.
>>>
>>>
>>> 
>>>
>>>  
>>>
>>>>-----Original Message-
>>>>From: Kwok Peng Tuck [mailto:[EMAIL PROTECTED]]
>>>>Sent: Thursday, September 19, 2002 10:10 AM
>>>>To: [EMAIL PROTECTED]
>>>>Subject: Re: DLR request flag?
>>>>
>>>>
>>>>How much more of  the logs do you need to see ?
>>>>
>>>>
>>>>Oded Arbel wrote:
>>>>
>>>>   
>>>>
>>>>
>>>>
>>>>>>-Original Message-
>>>>>>From: Kwok Peng Tuck [mailto:[EMAIL PROTECTED]]
>>>>>>  
>>>>>>
>>>>>>   
>>>>>>
>>>>>>
>>>>>>
>>>>> 
>>>>>
>>>>>  
>>>>>
>>>>>>2002-09-19 09:33:56 DLR SMS [SMSC:Digi] [SVC:try] [ACT:] 
>>>>>>[from:60162735950] [to:000] [flags:0:0:0:0:12] 
>>>>>>
>>>>>>
>>[msg:11:0x/] 
>>
>>
>>>>>>[udh:0:]
>>>>>>  
>>>>>>
>>>>>>   
>>>>>>
>>>>>>
>>>>>>
>>>>>looks ok.
>>>>>
>>>>>
>>>>>
>>>>> 
>>>>>
>>>>>  
>>>>>
>>>>>>That's fine, but in the log file for the bearerbox I get this
>>>>>>
>>>>>>2002-09-19 09:34:01 [6] DEBUG: Looking for DLR smsc=Digi, ts=263, 
>>>>>>dst=60162735950, type=1
>>>>>>2002-09-19 09:34:01 [6] DEBUG: DLR not found!
>>>>>>2002-09-19 09:34:01 [6] ERROR: SMPP[Digi]: got DLR but 
>>>>>>   
>>>>>>
>>>>>>
>>>>>>
>>>>could not find 
>>>>   
>>>>
>>>>
>>>>
>>>>>>message or was not interested in it
>>>>>>  
>>>>>>
>>>>>>   
>>>>>>
>>>>>>
>>>>>>
>>>>>Not sure what this is all about,  but SMPP failed to locate 
>>>>> 
>>>>>
>>>>>  
>>>>>
>>>>the message it got a delivery report on. w/o more of the logs 
>>>>I can't say for sure, but my guess is that this is not the 
>>>>same message as you've sent.
>>>>   
>>>>
>>>>
>>>>
>>>>> 
>>>>>
>>>>>  
>>>>>
>>>>>>I've set up a jsp page for dlr-url to use and I find that the 
>>>>>>delivery 
>>>>>>report is always 12. (8+4) ?
>>>>>>  
>>>>>>
>>>>>>   
>>>>>>
>>>>>>
>>>>>>
>>>>>That's correct. for some reason the SMPP driver treaks an 
>>>>> 
>>>>>
>>>>>  
>>>>>
>>>>ACK as a combination SMSC_SUCCESS + BUFFERED. I'm not sure if 
>>>>this is correct, but it doesn't annoy me much, so I haven't 
>>>>changed that weird behaviour.
>>>>   
>>>>
>>>>
>>>>
>>>>> 
>>>>>
>>>>>  
>>>>>
>>>>>>Is it possible that my request for the status of whether the 
>>>>>>message was 
>>>>>>ultimately sent is being rejected by the smsc ?
>>>>>>  
>>>>>>
>>>>>>   
>>>>>>
>>>>>>
>>>>>>
>>>>>Unlikely.
>>>>>
>>>>>--
>>>>>Oded Arbel
>>>>>m-Wise mobile solutions
>>>>>[EMAIL PROTECTED]
>>>>>
>>>>>+972-9-9581711 (116)
>>>>>+972-67-340014
>>>>>
>>>>>::..
>>>>>"What do you mean, my birth certificate has expired ?!"
>>>>>
>>>>>
>>>>>
>>>>> 
>>>>>
>>>>>  
>>>>>
>>>>   
>>>>
>>>>
>>>>
>>> 
>>>
>>>  
>>>
>>
>>
>
>
>  
>






Re: 2-way Asian SMS

2002-09-19 Thread Kwok Peng Tuck

Yes, you can use a modem or a phone to send sms, Kannel does support 
unicode with the at2 driver. The other smscs are listed as ? . I'm not 
sure how you are going to get the 8210 to work with kannel but you are 
quite welcome to try and post your findings. Or you could buy a wavecom 
modem. They are pretty decent and can definately send chinese 
characters. I've tried it with a different gateway and it works.


loz wrote:

>c) In the architecture drawing of Kannel an SMSC is needed. Supposing I do
>not have access to an SMSC, the docs mention a pseudo SMSC can be created by
>using "some types of GSM phones and GSM modems". If I want to have two-way
>Asian SMS, does that mean the GSM phone needs support for Asian characters,
>or is that irrelevant? Would for example a Nokia 8210 bought in the UK work?
>
>
>
>loz
>
>
>
>
>  
>






Using a HTTP smsc

2002-09-19 Thread Kwok Peng Tuck

I have a question(s) with regards to the usage of the HTTP smsc.

I have read the docs regarding the variables and seen the sample config.
Ok here's my situation.
I have to kannel boxes running, one is to be configured with the HTTP 
smsc(let's call it A) as a relay to the other (let's call it B) .
B is configured to connect to a smpp smsc and to send out sms. So what I 
want to test is essentially the relaying ability of kannel, send a 
message from A , A relays it
to B and B uses the smpp connection to send it out.

Suppose I use the sendsms interface of A, and I specify that the HTTP 
smsc to be used, that will trigger the push to B right ?
If so , how does the HTTP relay forward the message, sender & all the 
other important things to B ? What do I configure in the send-url since 
the other gateway is kannel?  

Thanks.





Re: Installation issues

2002-09-20 Thread Kwok Peng Tuck


have you executed ldconfig ?

Daniel Wood wrote:

>Hi guys, im currently having some installtion problems with the kannel rpm.
>What should be a simple operation is taking a stupid amount of time to do. 
>Its keeps hanging on the following:
>error: failed dependencies:
>libcrypto.so.0.9.6   is needed by kannel-1.2.0-1
>libssl.so.0.9.6   is needed by kannel-1.2.0-1
>
>now both these files are in /lib and /usr/lib on a redhat 7.2 box with
>read/execute permissions, and LD_LIBRARY_PATH=/lib:/usr/lib is in teh env,
>so I dont know what is going on. Does any one have any ideas? (its probably
>quiet obvious, but I cant see it).
>
>Thanks,
>Dan
>
>
>  
>






Re: DLR request flag?

2002-09-22 Thread Kwok Peng Tuck

Okay, will ask the guys who manage our smsc connection to check it out.
Thanks.

Oded Arbel wrote:

>Weird. it looks like a the old behaviour of SMPP which was broken but was fixed quite 
>a long time ago. maybe you have a problem with the message ID received from the SMSC 
>being hex instead of decimal or the other way around. check the message id 
>configuration feature recently introduced by Nisan Bloch and see if some setting of 
>it allows you to over come the problem.
>
>--
>Oded Arbel
>m-Wise mobile solutions
>[EMAIL PROTECTED]
>
>+972-9-9581711 (116)
>+972-67-340014
>
>::..
>"If Stupidity got us into this mess, then why can't it get us out?"
>   -- Will Rogers (1879-1935)
>
>
>
>  
>
>>-Original Message-
>>From: Kwok Peng Tuck [mailto:[EMAIL PROTECTED]]
>>Sent: Friday, September 20, 2002 2:01 AM
>>To: [EMAIL PROTECTED]
>>Subject: Re: DLR request flag?
>>
>>
>>The  tarball version of the snapshot.
>>
>>Oded Arbel wrote:
>>
>>
>>
>>>Which version of Kannel are you using ?
>>>
>>>--
>>>Oded Arbel
>>>m-Wise mobile solutions
>>>[EMAIL PROTECTED]
>>>
>>>+972-9-9581711 (116)
>>>+972-67-340014
>>>
>>>::..
>>>Immature poets imitate, mature poets steal.
>>> -- T.S. Eliot, "Philip Massinger"
>>>
>>>
>>>
>>>
>>> 
>>>
>>>  
>>>
>>>>-Original Message-
>>>>From: Kwok Peng Tuck [mailto:[EMAIL PROTECTED]]
>>>>Sent: Thursday, September 19, 2002 10:25 AM
>>>>To: [EMAIL PROTECTED]
>>>>Subject: Re: DLR request flag?
>>>>
>>>>
>>>>Here's the two log files, I've made sure that the time frame 
>>>>is correct ,
>>>>but in the access log  I couldn't locate the reference to 
>>>>
>>>>
>>2002-09-19 
>>    
>>
>>>>09:34:01 .
>>>>Thanks in advance for any insight.
>>>>
>>>>
>>>>Oded Arbel wrote:
>>>>
>>>>   
>>>>
>>>>
>>>>
>>>>>Can't say for sure - all of the log for the time frame, I guess
>>>>>
>>>>>--
>>>>>Oded Arbel
>>>>>m-Wise mobile solutions
>>>>>[EMAIL PROTECTED]
>>>>>
>>>>>+972-9-9581711 (116)
>>>>>+972-67-340014
>>>>>
>>>>>::..
>>>>>A clear conscience is usually the sign of a bad memory.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> 
>>>>>
>>>>>  
>>>>>
>>>>>>-Original Message-
>>>>>>From: Kwok Peng Tuck [mailto:[EMAIL PROTECTED]]
>>>>>>Sent: Thursday, September 19, 2002 10:10 AM
>>>>>>To: [EMAIL PROTECTED]
>>>>>>Subject: Re: DLR request flag?
>>>>>>
>>>>>>
>>>>>>How much more of  the logs do you need to see ?
>>>>>>
>>>>>>
>>>>>>Oded Arbel wrote:
>>>>>>
>>>>>>  
>>>>>>
>>>>>>   
>>>>>>
>>>>>>
>>>>>>
>>>>>>>>-Original Message-
>>>>>>>>From: Kwok Peng Tuck [mailto:[EMAIL PROTECTED]]
>>>>>>>> 
>>>>>>>>
>>>>>>>>  
>>>>>>>>
>>>>>>>>   
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> 
>>>>>>>
>>>>>>>  
>>>>>>>
>>>>>>>>2002-09-19 09:33:56 DLR SMS [SMSC:Digi] [SVC:try] [ACT:] 
>>>>>>>>[from:60162735950] [to:000] [flags:0:0:0:0:12] 
>>>>>>>>   
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>[msg:11:0x/] 
>>>>   
>>>>
>>>>
>>>>
>>>>>>>>[udh:0:]
>>>

Re: receive number? global-sender? %P

2002-09-23 Thread Kwok Peng Tuck

You can add a additional parameter called from  which will determine the 
sender of the sms. You'll also note that if you don't specify a sender 
in the http request then global sender is used. Also this value can be 
overridden in the sendsms-user group.  Hope it helps.


Otgonbayar Agvaan wrote:

>I have connected kannel to SMPP.
>
>I want to use several special numbers. I can send from any number. So, now I
>need to receive message on several special numbers and then I need redirect
>these depending on on what number I have recieved.
>When I send from mobile to special number 500 it is loged as following. 
>In the log:
>
>2002-09-23 16:33:21 [4] INFO: Starting to service  from
><97699117144
>  
>
>>to <500>
>>
>>
>2002-09-23 16:33:21 [8] DEBUG: HTTP: Opening connection to
>`192.168.2.2:8100' (f
>d=28).
>2002-09-23 16:33:21 [8] DEBUG: HTTP: Sending request:
>2002-09-23 16:33:21 [8] DEBUG: Octet string at 0x80e0ec0:
>2002-09-23 16:33:21 [8] DEBUG:   len:  141
>2002-09-23 16:33:21 [8] DEBUG:   size: 142
>2002-09-23 16:33:21 [8] DEBUG:   immutable: 0
>2002-09-23 16:33:21 [8] DEBUG:   data: 47 45 54 20 2f 72 65 64   GET /red
>2002-09-23 16:33:21 [8] DEBUG:   data: 69 72 65 63 74 6f 72 2f   irector/
>2002-09-23 16:33:21 [8] DEBUG:   data: 72 65 64 69 72 65 63 74   redirect
>2002-09-23 16:33:21 [8] DEBUG:   data: 6f 72 2e 6a 73 70 3f 73   or.jsp?s
>2002-09-23 16:33:21 [8] DEBUG:   data: 65 6e 64 65 72 3d 39 37   ender=97
>2002-09-23 16:33:21 [8] DEBUG:   data: 36 39 39 31 31 37 31 34   69911714
>2002-09-23 16:33:21 [8] DEBUG:   data: 34 26 74 65 78 74 3d 65   4&text=e
>2002-09-23 16:33:21 [8] DEBUG:   data: 6e 65 62 6f 6c 67 6f 62   nebolgob
>2002-09-23 16:33:21 [8] DEBUG:   data: 69 26 72 65 63 65 69 76   i&receiv
>2002-09-23 16:33:21 [8] DEBUG:   data: 65 72 3d 35 35 35 20 48   er=555 H
>2002-09-23 16:33:21 [8] DEBUG:   data: 54 54 50 2f 31 2e 31 0d   TTP/1.1.
>2002-09-23 16:33:21 [8] DEBUG:   data: 0a 48 6f 73 74 3a 20 31   .Host: 1
>2002-09-23 16:33:21 [8] DEBUG:   data: 39 32 2e 31 36 38 2e 32   92.168.2
>2002-09-23 16:33:21 [8] DEBUG:   data: 2e 32 3a 38 31 30 30 0d   .2:8100.
>2002-09-23 16:33:21 [8] DEBUG:   data: 0a 55 73 65 72 2d 41 67   .User-Ag
>2002-09-23 16:33:21 [8] DEBUG:   data: 65 6e 74 3a 20 4b 61 6e   ent: Kan
>2002-09-23 16:33:21 [8] DEBUG:   data: 6e 65 6c 20 31 2e 32 2e   nel 1.2.
>2002-09-23 16:33:21 [8] DEBUG:   data: 30 0d 0a 0d 0a0
>2002-09-23 16:33:21 [8] DEBUG: Octet string dump ends.
>
>You notice that message was sent from <97699117144> to <500>
>But in the get-url,  you see a different number 555 which is the
>global-sender in my config.
>
>My get-url is set in config:
>get-url =
>"http://192.168.2.2:8100/redirector/redirector.jsp?sender=%p&text=%a&receive
>r=%P"
>
>As I understand %P is receiver number, so it must be 500 in my case. But I
>see the globel sender number. What is the problem?
>
>Otgo,
>Ub,
>Mgl.
>
>  
>






Cimd 2.0 question.

2002-09-29 Thread Kwok Peng Tuck

I've successfully connected to a cimd 2.0 smsc, and can send a sms. But 
there is a strange problem.
On the recepients phone, the sender number is not displayed. I only get 
'Message' as the sender number.
Am I doing something wrong here? I have set the sender number in my url 
using the 'from' parameter .
 
Here's a sample of my log output :

2002-09-30 10:14:48 send-SMS request added - sender:guest:60123759341 
127.0.0.1 target:60163402281 request: 'Testing word'
2002-09-30 10:14:49 Sent SMS [SMSC:NokiaCimd] [SVC:guest] [ACT:] 
[from:60123759341] [to:60163402281] [flags:0:1:0:0:0] [msg:12:Testing 
word] [udh:0:]

I have previously tested with smpp and the sender number is ok, and 
there are no other errors reported in the logs.

Comments and suggestions would be helpful.





DLR for mysql

2002-10-02 Thread Kwok Peng Tuck

I have a question about dlr using mysql,
If I use it to store my dlr with a smpp connection, do I have to specify 
a dlrmask as well as a dlr url in sendsms user ?
If possible can someone post a sample on how the table output looks like?  
Also is there a chance that there would be support for postgresql ?





Re: DLR for mysql

2002-10-02 Thread Kwok Peng Tuck



>IMO you should not set the dlr url and dlr mask in the sendsms user configuration but 
>per message with the dlrurl and dlrmask parameter in the HTTP call.
>  
>
That's ok, I was just using it for testing. Will shift it later.

>>
>>
>>Also is there a chance that there would be support for postgresql ?
>>
>>
>
>there is support for LibSDB which IIRC supports postgresql.
>
In that case how do I configure kannel for this and where can I go to 
find more info about LibSDB ?

Thanks.





Re: Problems compiling and installing Kannel 1.2.0

2002-10-06 Thread Kwok Peng Tuck

Try compiling without the docs.
Do a  'make clean' first.
See ./configure --help.
And start the process all over again.

Jarrod Hermer wrote:

>Hi All,
>
>I am a new user to both Linux and Kannel so I have been quite
>overwhelmed with the process required to get Kannel working.
>
>I am using Mandrake 9.0 / gcc 3.2
>When I run "./configure" some things are reported missing but I get no
>errors. The compilation then runs without any issues. If I look in the
>gw directory I see the three boxes and I can run them. Therefore I
>assume that the compilation was successful. However when I try to run
>"make install" I get an error stating that the aliga... .pdf file could
>not be generated (sorry I forgot the exact name). And no files are
>copied to /usr/share/...
>
>In order to get some help in fixing this problem what information do I
>need to provide?
>
>Any assistance in getting Kannel up and running would be appreciated. If
>this is the wrong forum for this type of question I apologise in
>advance.
>
>Regards,
>Jarrod
>
>
>
>  
>






Re: (no subject)

2002-10-07 Thread Kwok Peng Tuck

The kannel user guide doesn't say anything about the system-id in the 
smpp section.
I think the password is test, but you should really double check with 
your provider.
Doesn't hurt to try the password 'test' first :) .


Cipher Strength wrote:

>
> While trying to connect through SMPP . I got the follwoing error.
>
>
> 2002-10-07 12:08:23 [0] INFO: Debug_lvl = 1, log_file = , 
> log_lvl = 0
> 2002-10-07 12:08:23 [0] WARNING: DLR: using default 'internal' for 
> storage type.
> 2002-10-07 12:08:23 [0] INFO: Added logfile `/gdev116/core.log' with 
> level `0'.
> 2002-10-07 12:08:23 [0] INFO: 
> 2002-10-07 12:08:23 [0] INFO: Kannel bearerbox II version 1.2.0 starting
> 2002-10-07 12:08:23 [0] INFO: Started access logfile 
> `/gstab12/coreaccess.log'.
> 2002-10-07 12:08:23 [0] INFO: SSL not supported, no SSL initialization 
> done.
> 2002-10-07 12:08:23 [0] INFO: MAIN: Start-up done, entering mainloop
> 2002-10-07 12:08:23 [5] ERROR: 
> SMPP[SMPP:192.168.1.1:5005/5005:test:VMA]: SMSC rejected login to 
> transmit, code 0x000d.
> 2002-10-07 12:08:23 [6] ERROR: 
> SMPP[SMPP:192.168.1.1:5005/5005:test:VMA]: SMSC rejected login to 
> receive, code 0x000d.
>
>
> I got the following information from my operator
>
> IP_ADDRESS = 192.168.1.1
> PORT = 5005
> SYSTEM_ID = test
> SYSTEM_TYPE = test
>
> I have configured the follwoing entries in conf file.
>
> group = smsc
> smsc = smpp
> host = 192.168.1.1
> smsc-username = "test"
> smsc-password = ""
> port = 5005
> receive-port = 5005
> system-type = "VMA"
> address-range = ""
>
> from the user guide what i understand is, system-id is username  but i 
> have no password . kindly help me
> Regards
> CIPHER
>
>
> _
> Chat with friends online, try MSN Messenger: http://messenger.msn.com
>
>
>






Re: Problems compiling and installing Kannel 1.2.0

2002-10-07 Thread Kwok Peng Tuck

Uh, if you compiled and install ok, the binary(s) should be in /usr/sbin 
if you didn't change the location at compile time.


Jarrod Hermer wrote:

>Hi,
>
>I did as you suggested but now it seems like the only components that
>are installed are:
>
>seewbmp
>wmlsc
>wmlsdasm
>And the documentation.
>
>I compile as a standard user then install as root.
>
>Regards,
>Jarrod
>
>-Original Message-
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
>On Behalf Of Kwok Peng Tuck
>Sent: Monday, October 07, 2002 2:03 AM
>To: [EMAIL PROTECTED]
>Subject: Re: Problems compiling and installing Kannel 1.2.0
>
>Try compiling without the docs.
>Do a  'make clean' first.
>See ./configure --help.
>And start the process all over again.
>
>Jarrod Hermer wrote:
>
>  
>
>>Hi All,
>>
>>I am a new user to both Linux and Kannel so I have been quite
>>overwhelmed with the process required to get Kannel working.
>>
>>I am using Mandrake 9.0 / gcc 3.2
>>When I run "./configure" some things are reported missing but I get no
>>errors. The compilation then runs without any issues. If I look in the
>>gw directory I see the three boxes and I can run them. Therefore I
>>assume that the compilation was successful. However when I try to run
>>"make install" I get an error stating that the aliga... .pdf file could
>>not be generated (sorry I forgot the exact name). And no files are
>>copied to /usr/share/...
>>
>>In order to get some help in fixing this problem what information do I
>>need to provide?
>>
>>Any assistance in getting Kannel up and running would be appreciated.
>>
>>
>If
>  
>
>>this is the wrong forum for this type of question I apologise in
>>advance.
>>
>>Regards,
>>Jarrod
>>
>>
>>
>> 
>>
>>
>>
>
>
>
>
>
>
>  
>






Re: Making slow progress but can't connect to SMSC

2002-10-07 Thread Kwok Peng Tuck

It's for smpp isn't it ?
If it is here's the four entries that you can use :

dest-addr-npi
dest-addr-ton
source-addr-npi
source-addr-ton
The values have to be in hex.
Hope it helps.


Jarrod Hermer wrote:

>Hi all,
>
>I think I have Kannel configured, compiled and installed correctly. I am
>however unable to connect to the SMSC, when I run the bearerbox I get
>the following error:
>
>SMSC rejected login to receive, code 0x000d
>
>Now I know that all my settings are correct as I have successfully sent
>and received messages using another open source Java api.
>
>I am unable to find the ability to configure the following options:
>Source TON and NPI, I require these values to be 1. I noticed in all
>other software that I tested this seemed to default to 0.
>
>
>Many thanks,
>Jarrod
>
>
>
>  
>






Re: Kannel 1.2 problems installing on Redhat 8

2002-10-13 Thread Kwok Peng Tuck

If you build from source it build it by default if the platform supports 
it. for example, the start-stop-daemon doesn't build on cygwin platform.


Pate Mark-marpate1 wrote:

>Hi Alan & Gustavo,
>
>This is not a Kannel problem, it is related to the OS that you are using.
>The "start-stop-daemon" is included with Debian, I believe. It does not come
>with any other distribution.
>
>What you need to do is either run the bearerbox and wapbox manually, or
>create your own init scripts to do this.
>
>So, if you install Kannel in /usr/local, to run this manually execute :
>
>/usr/local/sbin/bearerbox /usr/local/etc/wapkannel.conf &
>/usr/local/sbin/wapbox /usr/local/etc/wapkannel.conf &
>
>There's more info on this in the "users" list archives.
>
>Hope this helps,
>Mark
>
>
>
>
>-Original Message-
>From: Alan Wong [mailto:[EMAIL PROTECTED]]
>Sent: 13 October 2002 23:24
>To: [EMAIL PROTECTED]
>Subject: Re: Kannel 1.2 problems installing on Redhat 8
>
>
>Thanks Lars-Hendrik.
>I did what you specified but now it gives me this error when I try to run
>it.
>
>Starting WAP gateway: bearerbox/etc/rc.d/init.d/kannel: line 25:
>start-stop-daemon: command not found
> wapbox/etc/rc.d/init.d/kannel: line 33: start-stop-daemon: command not
>found
>
>Which is the same as Gustavo...
>Can you please help?
>
>Thanks in advance
>
>
>
>
>  
>






Re: Urgent!-[PLEASE HELP ON SMS-conf.](TS.Kong)

2002-10-14 Thread Kwok Peng Tuck



tuckseng kong wrote:

> Dear Kannel User:
>
> System status:
> -Kennel version : Kannel 1.2.0
> -Running on Linux
> Purpose:
> -Using Kannel to test new model phone
>
> 
>
> I have successfully run Kannel as a WAP gateway and able to connect to
> HTTP server ,on requesting and receiving CONTENT.(on a simulated phone)
>
That's great.

> BUT, I having troble on setting up a SMS gateway.
>
> Question:
>
> 1.If I just want to sent & received message by SMS ,
>   must I use a Real SMS center or a virtual SMS center(GSM phone) ?
>   IS there any other way to do this.
>   * because I don't have a GSM phone or a SMS center.
>
You need either one to be able to send sms.

> 2.If I just want to run  SMS Gateway as  SMS push only ,
>   is REAL or VIRTUAL SMS center must be set ?
>
See answer above.

>  How can I set up the Config.file.
>
Read the documentation. It really depends on which smsc you are setting up.

> 3.for example if I do have a valid SMS center to connect to ,
>   and I want to able to request and receive http content by sms.
>
>   Then I should set this on sms-service:
>
>   keyword = www
>  
>   get-url = "http:// %S"
>
That looks about right.

>
> -
>
> TS.Kong
> Computer Convenience Inc.
> Tokyo. JAPAN
>
> E-mail:
>
>[EMAIL PROTECTED]  (Office)
>[EMAIL PROTECTED](Office 
> )
>[EMAIL PROTECTED](personal 
> )
>
>
>
> 
> Chat with friends online, try MSN Messenger: Click Here 
> 







Feedback on databases to store dlrs.

2002-10-14 Thread Kwok Peng Tuck

I need feedback from kannel users, so any response from your experiences 
would be great.
I intend to use SAP db from http://www.sapdb.org to store dlrs(using 
dlr-url) from kannel.
Does anyone have experience with this database and could share their 
experiences? I'd just like to know how it fares that's all.
If anyone thinks SAP db is a bad idea compared to other solutions could 
you also post a response, I'd like to hear arguments with
regards to it.
Thanks .





SMPP question.

2002-10-30 Thread Kwok Peng Tuck
Is it possible for a smsc server using SMPP to connect to a instance of 
kannel and redirect sms traffic to another smsc using SMPP server within 
the same kannel instance ? I'm familiar with sending out sms through 
smpp but never thought about traffic comming in.so i'm a bit thin this 
area.




Re: long MO msg problem?

2002-11-07 Thread Kwok Peng Tuck
It does concatenate it if you tell it to.
It splits it up if max-messages is not set.

Otgonbayar Agvaan wrote:


When user sends long text message from phone supports long message then
however, kannel receives the message but the message in readable.

As I think kannel should automatically concatenate the message. Or
automatically split it?

Otgo,
Ub,
Mgl.
---
Get paid cash every time you receive email!
Sign up FREE at: http://www.MintMail.com/?m=1977202



 







Re: redirect all requests from Kannel (wapbox) to a proxy

2002-11-19 Thread Kwok Peng Tuck
If you mean determining the sender of the incoming sms, yes. You can 
create a sms-service for that.

Manuel Villalta Villalta wrote:


Hi,

Is it possible to redirec all request from Kannel to a proxy?

we have an intranet and we have to pass through a proxy to access to 
public sites,, other question is: Is it possible to known the MSISDN's 
who is accessing to kannel?



thanks for all









Problem replying to sms.

2002-11-27 Thread Kwok Peng Tuck
Having received a sms from kannel from the http interface, I tried to 
reply to the number , but instead I got the error number not in use. 
Does anyone know how I can configure kannel properly so that I can reply 
to the sender of the sms ? 




Re: dlr-mask example

2003-02-28 Thread Kwok Peng Tuck
If you read chapter 9 you'll see that it says for multiple report types, 
you simply add the values together (togeter in the manual, seems to be a 
spelling error) .

Edwin R. Poot wrote:

Hello Peng,

Is the value 31 the sum of
1. delivered to phone
2. Non-delivered to phone
4. Queued on SMSc
8. Delivered on SMSc
16. Non-delivered on SMSc
But the value 31 is not a bitmask, isn't it?
Shouldn't it be 37, (octet value/binary value)?
Regards,

Edwin Poot

-Original Message-
From: Peng Tuck Kwok [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 28, 2003 1:35 AM
To: Edwin R. Poot
Cc: [EMAIL PROTECTED]
Subject: Re: dlr-mask example

If you look in chapter 9 of the docs it's actually explained to you how 
you can get the various combinations. The value you are after is 
actually 31 which is all the values added together.

Edwin R. Poot wrote:
 

Does someone have an example of all types of statusreports, such as
delivered on SMS-c, etc that I could use within the  tag of
the XML to be posted to Kannel for a submitmessage? According to the 
documentation the value should be a bitmask value.

In the kannel.log I see a message that the dlr mask is ignored.

Thanks in advance...

Regards,

Edwin Poot



   





 





Re: dlr-mask example

2003-02-28 Thread Kwok Peng Tuck
What is the error you are getting ?

Edwin R. Poot wrote:

Peng,

If I use the 31 value, I get an error with Kannel. But just adding the
values, is not a bitmask, isn't it?
Have you used the value 31 in the  element without problems?

Regards,

Edwin

-Original Message-
From: Kwok Peng Tuck [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 28, 2003 9:55 AM
To: Edwin R. Poot
Cc: [EMAIL PROTECTED]
Subject: Re: dlr-mask example

If you read chapter 9 you'll see that it says for multiple report types,

you simply add the values together (togeter in the manual, seems to be a

spelling error) .

Edwin R. Poot wrote:

 

Hello Peng,

Is the value 31 the sum of
1. delivered to phone
2. Non-delivered to phone
4. Queued on SMSc
8. Delivered on SMSc
16. Non-delivered on SMSc
But the value 31 is not a bitmask, isn't it?
Shouldn't it be 37, (octet value/binary value)?
Regards,

Edwin Poot

-Original Message-
From: Peng Tuck Kwok [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 28, 2003 1:35 AM
To: Edwin R. Poot
Cc: [EMAIL PROTECTED]
Subject: Re: dlr-mask example

If you look in chapter 9 of the docs it's actually explained to you how
   

 

you can get the various combinations. The value you are after is 
actually 31 which is all the values added together.

Edwin R. Poot wrote:

   

Does someone have an example of all types of statusreports, such as
delivered on SMS-c, etc that I could use within the  tag of
the XML to be posted to Kannel for a submitmessage? According to the 
documentation the value should be a bitmask value.

In the kannel.log I see a message that the dlr mask is ignored.

Thanks in advance...

Regards,

Edwin Poot