Re: One SMSC conf per shot code

2007-04-03 Thread Linkas
Normally SMPP can act as a transmitter, a receiver or a transceiver 
(transmit+receiver).
The carrier want you to know that you need to create a connection with 
transmit and one connection with receive, and not only one with 
transceiver.


J

Diego Helmann ha scritto:

Hi all
I have to connect to one cell operartor that is asking me to make one 
connection per shortnumber:
 
Information for connecting:

---
(Shortcode 1234)
 
IP: aaa.bbb.ccc.ddd

Port: 4000
*Source: 1234*
System ID: 
Password: 
System Type: smpp
Source TON: 2
Source NPI: 1
Destination TON: 2
Destination NPI: 1
 
One bind for Rx, and one bind for Tx.

---
 
My conf is like:
 
group = smsc

smsc = smpp
smsc-id = carrier1
allowed-smsc-id = carrier1
host = aaa.bbb.ccc.ddd
port = 4000
receive-port = 4000
smsc-username = 
smsc-password = 
system-type = smpp
reconnect-delay = 10
address-range = 
connect-allow-ip = aaa.bbb.ccc.ddd
source-addr-ton = 2
source-addr-npi = 1
dest-addr-ton = 2
dest-addr-npi = 1
 
But, I need to connec for short number 1234 and 5678

1) How can I tell kannel that a connection is for certain short number?
2) What  One bind for Rx, and one bind for Tx. means? That I have to 
set:

port = 4000
receive-port = 4000
???
 
Thanks in advance

Regards
 
Diego
 
 


Re: WAP Push to a variety of phones/carriers

2007-03-23 Thread Linkas
Many US operators simply don't allow binary messages to pass and Verizon 
is CDMA... let's wait the get to the modern age :-D


Julien

Justin Foell ha scritto:


Hello,

I have kannel working on Linux 2.6.19 sending SMS through a MultiTech 
modem with a T-Mobile SIM card. However, I only seem to be able to 
send (successfully) WAP Push messages to T-Mobile phones. I have used 
test_ppg with a SI and PAP document, as well as sending a raw wbxml 
encoded SI document to http://localhost:13013/cgi-bin/sendsms. Both of 
these worked for WAP enabled T-Mobile phones, but not others.


Is there anything I can do with the wbxml message or udh to 
successfully deliver WAP Push messages to phones on other 
(non-T-mobile) carriers like Cingular, Sprint, Verizon, et. al? Are 
there any already-known hurdles preventing me from accomplish this?


--

Justin Foell
Software Architect
The Selling Source, Inc.
Technology Driven Marketing Solutions
http://.SellingSource.com http://.sellingsource.com/
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
Direct P: 702-407-0707 ext. 2188
F: 702-407-0711
P: 800-397-7706



Re: problem in running bearerbox

2006-09-14 Thread Linkas

You should maybe find a more suitable string for that specific modem...

J

Subramanya H S ha scritto:

Hi All,

Ihave a problem in running the bearerbox

the below is the output
..
.
2006-09-14 11:42:58 [3943] [6] DEBUG: AT2[/dev/ttyACM0]: -- AT+CSMS=?^M
2006-09-14 11:42:58 [3943] [6] DEBUG: AT2[/dev/ttyACM0]: -- +CSMS: (128)
2006-09-14 11:42:58 [3943] [6] DEBUG: AT2[/dev/ttyACM0]: -- OK
2006-09-14 11:42:58 [3943] [6] INFO: AT2[/dev/ttyACM0]: closing device
2006-09-14 11:42:58 [3943] [6] INFO: AT2[/dev/ttyACM0]: opening device
2006-09-14 11:42:58 [3943] [6] DEBUG: AT2[/dev/ttyACM0]: device opened
2006-09-14 11:42:58 [3943] [6] DEBUG: AT2[/dev/ttyACM0]: device opened
2006-09-14 11:42:58 [3943] [6] INFO: AT2[/dev/ttyACM0]: init device
2006-09-14 11:42:58 [3943] [6] INFO: AT2[/dev/ttyACM0]: speed set to 9600
2006-09-14 11:42:58 [3943] [6] DEBUG: AT2[/dev/ttyACM0]: -- ATZ^M
2006-09-14 11:42:58 [3943] [6] DEBUG: AT2[/dev/ttyACM0]: -- OK
2006-09-14 11:42:58 [3943] [6] DEBUG: AT2[/dev/ttyACM0]: -- AT^M
2006-09-14 11:42:58 [3943] [6] DEBUG: AT2[/dev/ttyACM0]: -- AT
2006-09-14 11:42:58 [3943] [6] DEBUG: AT2[/dev/ttyACM0]: -- OK
2006-09-14 11:42:58 [3943] [6] DEBUG: AT2[/dev/ttyACM0]: -- ATF^M
2006-09-14 11:42:59 [3943] [6] DEBUG: AT2[/dev/ttyACM0]: -- ATF
2006-09-14 11:42:59 [3943] [6] DEBUG: AT2[/dev/ttyACM0]: -- OK
2006-09-14 11:42:59 [3943] [6] DEBUG: AT2[/dev/ttyACM0]: -- ATE0^M
2006-09-14 11:42:59 [3943] [6] DEBUG: AT2[/dev/ttyACM0]: -- ATE0
2006-09-14 11:42:59 [3943] [6] DEBUG: AT2[/dev/ttyACM0]: -- OK
2006-09-14 11:42:59 [3943] [6] DEBUG: AT2[/dev/ttyACM0]: -- AT+IFC=2,2^M
2006-09-14 11:42:59 [3943] [6] DEBUG: AT2[/dev/ttyACM0]: -- OK
2006-09-14 11:42:59 [3943] [6] DEBUG: AT2[/dev/ttyACM0]: -- AT+CPIN?^M
2006-09-14 11:42:59 [3943] [6] DEBUG: AT2[/dev/ttyACM0]: -- +CPIN: READY
2006-09-14 11:42:59 [3943] [6] DEBUG: AT2[/dev/ttyACM0]: -- OK
2006-09-14 11:42:59 [3943] [6] DEBUG: AT2[/dev/ttyACM0]: -- AT+CMGF=0^M
2006-09-14 11:42:59 [3943] [6] DEBUG: AT2[/dev/ttyACM0]: -- OK
2006-09-14 11:42:59 [3943] [6] DEBUG: AT2[/dev/ttyACM0]: -- AT+CSMS=?^M
2006-09-14 11:42:59 [3943] [6] DEBUG: AT2[/dev/ttyACM0]: -- +CSMS: (128)
2006-09-14 11:42:59 [3943] [6] DEBUG: AT2[/dev/ttyACM0]: -- OK
2006-09-14 11:42:59 [3943] [6] DEBUG: AT2[/dev/ttyACM0]: -- 
AT+CNMI=1,2,0,1,0^M2006-09-14 11:42:59 [3943] [6] DEBUG: 
AT2[/dev/ttyACM0]: -- ERROR
2006-09-14 11:42:59 [3943] [6] ERROR: AT2[/dev/ttyACM0]: Error occurs: 
ERROR (error number not known to us. ask google and add it.)
2006-09-14 11:42:59 [3943] [6] ERROR: AT2[/dev/ttyACM0]: Opening 
failed. Terminating

.
.

i am using motorol SLVR L7 mobile for this and it is assigned to 
/dev/ttyACM0


Thanks
Subramanya





J2ME and kannel wap gateway to access http servlet

2006-08-14 Thread Linkas

Hello list!

I'm a happy kannel user since more than a couple of years now, but I've 
used it only as a sms interface from http to some protocols like smpp, 
emi or at-commands and for these I really need to THANK the guys 
outthere: Andreas, Bruno, Stipe and Aarno(also thanks for helping in the 
userlist), Alexander, Lars  and Kalle.


Actually I'm shaking toghether many tecnologies from jsp, php, j2me, sms 
and so on to develop a new service.


First I've used kannel to send sms messages to a j2me application to 
interact with them, and succeed :-D

I've also used kannel to configure SyncML services :-D
Then I've tryed to send the j2me application with sms/ota tecnologies 
using wappushes, and also succeed in delivery contents to phones.


The second step was to let a j2me application talk to my servlet on an 
http server (such as apache) and, as soon as my j2me phone uses a gprs 
internet connection, everything works fine.


Now I'm facing that using wap connection, my telco wap-gateway don't 
like the HttpConnection my j2me application tries to open.
So to let my j2me application talk to my webserver using a wap 
connection, what should I do ?


1) configure the kannel wap gateway, use the telco's wap connection 
and access to the wap-gateway url wich access the webserver


OR

2) configure the kannel wap gateway, create a own wap connection using 
my wap gateway ip address in the proxy setting


So, any idea ?

Also, a detail: should my webserver speak wml or html ?

Does anyone has experience with this ?

Thanks
J



Re: USB Modem supported ?

2006-06-20 Thread Linkas




Yes, the solution I found is the same and costs around 150€.
Usb powered with antenna really easy to access, has also gprs for mms.
I am using it under fedora core 3.

J

Souza, Jeffrey R. ha scritto:

  I've gotten MultiTech (formerly Wavecom) USB GSM Modems Model MTCBA-G-U-F1
to work with Kannel under Linux kernel 2.6.12.2 and Debian. As near as
I can tell these modems are the same guts as their serial versions but
they added a USB-Serial device inside and they get their power from the
USB bus (so if you use a hub it may need to be a powered hub). Seems
like a sensible solution. You access them through /dev/ttyUSB# rather
than /dev/ttyS#. I believe they cost in the area of 200-300 USD.
http://www.multitech.com/PRODUCTS/Families/MultiModemGPRS/

J.R.(Sydd)Souza

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Stipe Tolj
Sent: Sunday, June 11, 2006 10:03 PM
To: Julien Buratto
Cc: users@kannel.org
Subject: Re: USB Modem supported ?


Julien Buratto wrote:

  
  
Leonard ha scritto:



  Could not say for sure, but if it supports AT command set and is CDC-ACM
complaint it should work.. (on linux box anyways.)

Can you please mail me off list with the details. we require a stack of
modems as well
  


Yep it works! :D
I have some problems with my Redhat 9 USB support, but it works perfect
on  Fedora Core 3.

Note: on that redhat 9 I always had usb problems, so is not
modem-related trouble.

If you need some, write me directly.

  
  
nevertheless it may be interesting for others from the list to know which vendor 
this is of the specific GSM modem and how much the pricing is?

We may get into touch with the manufacturer to promote the device if it works 
reliable and it's a price breaker ;)

Stipe

---
Kölner Landstrasse 419
40589 Düsseldorf, NRW, Germany

tolj.org system architecture  Kannel Software Foundation (KSF)
http://www.tolj.org/  http://www.kannel.org/

mailto:st_{at}_tolj.org   mailto:stolj_{at}_kannel.org
---



  





Re: make error

2006-06-13 Thread Linkas
You need to install some more libraries to compile, check docs for 
minimum requirements.


Julien

sarwat jabeen ha scritto:

the following error occurs with the make command :

[EMAIL PROTECTED] gateway-1.4.0]# make
gcc -D_REENTRANT=1 -I. -Igw  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE 
-I/usr/include/libxml2 -I/usr/include/openssl -o gw/bb_alog.o -c 
gw/bb_alog.c

In file included from /usr/include/openssl/ssl.h:179,
from gwlib/conn.h:274,
from gwlib/gwlib.h:94,
from gw/bb_alog.c:64:
/usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory
In file included from /usr/include/openssl/ssl.h:179,
from gwlib/conn.h:274,
from gwlib/gwlib.h:94,
from gw/bb_alog.c:64:
/usr/include/openssl/kssl.h:132: parse error before krb5_enctype
/usr/include/openssl/kssl.h:134: parse error before FAR
/usr/include/openssl/kssl.h:135: parse error before '}' token
/usr/include/openssl/kssl.h:147: parse error before kssl_ctx_setstring
/usr/include/openssl/kssl.h:147: parse error before '*' token
/usr/include/openssl/kssl.h:148: parse error before '*' token
/usr/include/openssl/kssl.h:149: parse error before '*' token
/usr/include/openssl/kssl.h:149: parse error before '*' token
/usr/include/openssl/kssl.h:150: parse error before '*' token
/usr/include/openssl/kssl.h:151: parse error before kssl_ctx_setprinc
/usr/include/openssl/kssl.h:151: parse error before '*' token
/usr/include/openssl/kssl.h:153: parse error before kssl_cget_tkt
/usr/include/openssl/kssl.h:153: parse error before '*' token
/usr/include/openssl/kssl.h:155: parse error before kssl_sget_tkt
/usr/include/openssl/kssl.h:155: parse error before '*' token
/usr/include/openssl/kssl.h:157: parse error before kssl_ctx_setkey
/usr/include/openssl/kssl.h:157: parse error before '*' token
/usr/include/openssl/kssl.h:159: parse error before context
/usr/include/openssl/kssl.h:160: parse error before 
kssl_build_principal_2

/usr/include/openssl/kssl.h:160: parse error before context
/usr/include/openssl/kssl.h:163: parse error before kssl_validate_times
/usr/include/openssl/kssl.h:163: parse error before atime
/usr/include/openssl/kssl.h:165: parse error before kssl_check_authent
/usr/include/openssl/kssl.h:165: parse error before '*' token
/usr/include/openssl/kssl.h:167: parse error before enctype
In file included from gwlib/conn.h:274,
from gwlib/gwlib.h:94,
from gw/bb_alog.c:64:
/usr/include/openssl/ssl.h:909: parse error before KSSL_CTX
/usr/include/openssl/ssl.h:915: `debug' redeclared as different kind 
of symbol

gwlib/log.h:114: previous declaration of `debug'
/usr/include/openssl/ssl.h:931: parse error before '}' token
make: *** [gw/bb_alog.o] Error 1

thanks 4 the help
regards,
sarwat and tayyaba

_
Express yourself instantly with MSN Messenger! Download today it's 
FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/








Re: j2me kannel: Sms to different port

2006-06-12 Thread Linkas




try to hold the phone to a loudspeaker in order to have an 
electro-magnetic indication that the SMS is in fact arriving the device.


Stipe

Hi Stipe,

I did also that :-D I'm pleased such uncommons techniques are used by 
you too :-D


However I got it solved: my application was waiting for TEXT messages, 
but kannel sends BINARY messages.
I wasn't expecting that changing the udh would also changing the 
implicit nature of the sms, but it was.


Cheers
J





Re: j2me kannel: Sms to different port

2006-06-08 Thread Linkas

I think you misunderstood my question or my question was not clear:

the problem is not an HTTP port to call for kannel url, but special 
ports used in sms to get different services.


Example: RTTTL (ringtones) normally go to phone in a special port - in 
this way the phone can understand it's not a standard sms but a ringtone.


Cheers.
Julien

Wayne Khan ha scritto:

Hi Linkas,
When you specify in the kannel config file:

.
.
.

group = smsbox
bearerbox-host = localhost
sendsms-port = 14013
global-sender = 123
log-file = /export/home/sites/sms/kannel/smsbox.log
log-level = 1
access-log = /export/home/sites/sms/kannel/smsaccess.log

The server will listen for sms requests on port 14013 of your server. 
You can say:


http://localhost:14013/cgi-bin/sendsms?username=foopassword=barto=xxxtext=helloworld 



Now I've never heard of Kannel running on a phone proper, but J2ME 
should have some library to make a standard HTTP GET request.


Linkas wrote:

Hello,
as I'm working with a J2ME application runnning on my phone in wich I 
can specify on which port I can listen for sms messages, I was 
wondering if anyone knows how to specify a specific destination port 
number with kannel when sending messages.


I think this can be done setting the destination port in the UDH of 
a message...

So I did my UDH as %06%05%04 %40%74 %00
Where the %40%74 is 16500 in HEX.

Am I missing something ?

Thanks
Julien

My java code:

For example in Java I do write (it works):
// Server waiting for SMS
// This listen to SMS messages to port 16500 of my phone
sconn = (MessageConnection) Connector.open(sms://:16500);

If I do send an SMS with:
// Client sending SMS
// Open connection and create a message
TextMessage msg = (TextMessage) sconn.newMessage( 
MessageConnection.TEXT_MESSAGE);


// Set recipient to my phone number
msg.setAddress(sms://+123456789:16500);
// Set the body of the message
msg.setPayloadText( Hello World );
// Send the SMS
sconn.send(msg);

This works perfectly, but how to send that sms with kannel?
Should I use








j2me kannel: Sms to different port

2006-06-07 Thread Linkas

Hello,
as I'm working with a J2ME application runnning on my phone in wich I 
can specify on which port I can listen for sms messages, I was wondering 
if anyone knows how to specify a specific destination port number with 
kannel when sending messages.


I think this can be done setting the destination port in the UDH of a 
message...

So I did my UDH as %06%05%04 %40%74 %00
Where the %40%74 is 16500 in HEX.

Am I missing something ?

Thanks
Julien

My java code:

For example in Java I do write (it works):
// Server waiting for SMS
// This listen to SMS messages to port 16500 of my phone
sconn = (MessageConnection) Connector.open(sms://:16500);

If I do send an SMS with:
// Client sending SMS
// Open connection and create a message
TextMessage msg = (TextMessage) sconn.newMessage( 
MessageConnection.TEXT_MESSAGE);


// Set recipient to my phone number
msg.setAddress(sms://+123456789:16500);
// Set the body of the message
msg.setPayloadText( Hello World );
// Send the SMS
sconn.send(msg);

This works perfectly, but how to send that sms with kannel?
Should I use



Re: sending Jad files

2006-02-28 Thread Linkas




If the JAD file is well written, you can send a wappush with the JAD
url.
Then the phone will download the jad file, read it, download the JAR
and start installation.

I've done it right now, so it works

J

Hanna Kreitem ha scritto:

  Thanks for your reply, but can I send JAD/JAR via MMS?, if yes, how to start 
with that...




On Tuesday 28 February 2006 11:45, Catalin Trifu wrote:
  
  
	As far as I know the only way is that users download the JAR
from the web server; there is no other binary SMS message.

Catalin

Hanna Kreitem wrote:


  Hello,

I am using sendsms with modified udh to send wap push messages. and
looking for a better way to send users link to purchased online games, is
there a way to send JAD files to users?, I have an SMSC connection.

Thank you,
  

  
  
  





Re: Turning off SMS Services

2005-12-18 Thread Linkas




Read from the MANUAL, should be a max-messages variable that has to be
set to 0 or something similar.

J

Brent Goldspring wrote:

  
  
  
  
  
  
  Hi,
   
  How do I turn off SMS
Services in Kannel, i.e., I want it
so that when someone replies to an SMS or sends an SMS to one our
modems, it
won’t send a reply back
   
  Thanks,
  Brent
  
  
   
  





Re: DIFFERENT ENCODING IN HTTP SENDSMS[GREEK]

2005-12-10 Thread Linkas




I would suggest first of all to make an html page to prepare the
sendsms command with encoding to UTF-8

Also check for this options:

  

  charset
  string
   Charset of text message. Used
to convert to a format suitable for 7 bits or to UCS2. Defaults to
ISO-8859-1 if coding is 7bits and UTF16BE if coding is UCS2.

  


And the returning vars

  

  %c
  message coding: 0 (default, 7
bits), 1 (7 bits),
2 (8 bits) or 3 (Unicode)


  %C
  message charset: for a "normal"
message, it will be "GSM" (coding=1), "binary" (coding=2) or "UTF16-BE"
(coding=3). If the message was successfully
recoded from Unicode, it will be "ISO-8859-1"

  



George Katsanos wrote:

  
  
  
  
  

  
  
  Hello , 
  
  I
am trying to find out how I can use GREEK characters
in the http query to send sms messages.
  What
are the actions I should make ?
[kannel.conf , http settings , o/s
settings?.]
  I
have to tell that my KDE / FBSD writes greek chars
normally , so maybe no problem with that , But they send as chinese [
%C %F
etc..]
  
  Thank
you
  





{Spam?} Re: WAP Push question

2005-11-14 Thread Linkas




Maybe you need to configure a SMSBOX to send the message ? :-D

Jim Cullen wrote:

  
  
  
  Hello All,
  
  Pretty new to this but here goes.
  
  Have installed Kannel, all working
well, can send and recieve SMS over various providers.
  
  Trying to send WAP push now. Set
everything up and send message using test_ppg.exe. the wap box receives
the message, accepts it and says 'push mesage accepted for processing'.
Then it doesn't do anything. no warnings no messages, just sits there.
It will accept multiple mesages but will not seem to send anything. I
have come to a bit of a dead end here and any pointers would be greatly
appreciated.
  
  many thanks in advance
  
  relevant extracts (I think) from
conf file etc below.
  
  conf file
  
  # Core Group
--
  
  group = core
admin-port = 13000
admin-password = bar
smsbox-port = 13001
wapbox-port = 13002
#status-password = foo
#admin-deny-ip = ""
#admin-allow-ip = ""
log-file = "/tmp/kannel.log"
log-level = 0
access-log = "/tmp/access.log"
udp-allow-ip = "*.*.*.*"
wdp-interface-name = "*"
  
  
  
# Wapbox related
group = wapbox
bearerbox-host = vmad-1
log-file = /tmp/wapbox.log
log-level = 0
syslog-level = none
timer-freq = 1
  
  # Push Stuff --
  
  group = ppg
ppg-url = "">
ppg-port = 13003
concurrent-pushes = 100
users = 1024
ppg-allow-ip = 127.0.0.1; 192.168.0.6
trusted-pi = false
  
  
group = wap-push-user
wap-push-user = jim
ppg-username = jim
ppg-password = jim
allow-ip = 127.0.0.1; 192.168.0.6
  
  
  ***wapbox log **
  
2005-11-14 20:34:31 [11] DEBUG: HTTP: Creating HTTPClient for
`192.168.0.6'.
2005-11-14 20:34:33 [14] DEBUG: PPG: ip_allowed_by_ppg: ip found from
allowed list
2005-11-14 20:34:33 [14] INFO: PPG: Accept request /wappush
from 192.168.0.6
  
  2005-11-14 20:34:33 [14] DEBUG: PPG: http_read_thread: pap
multipart accepted
2005-11-14 20:34:33 [14] INFO: client address was
+0041793947863, accepted
2005-11-14 20:34:33 [14] DEBUG: PAP COMPILER: doing semantic analysis
for address type a phone number
2005-11-14 20:34:33 [14] DEBUG: using defaults instead of anys
2005-11-14 20:34:33 [14] DEBUG: PPG: http_read_thread: pap control
entity compiled ok
2005-11-14 20:34:33 [14] DEBUG: PPG: transform_message: push message
content andheaders valid
2005-11-14 20:34:33 [14] DEBUG: PPG: push machine 0 created
2005-11-14 20:34:33 [14] DEBUG: PPG: store_push_data: push machine 0
appended tounit push list
2005-11-14 20:34:33 [14] DEBUG: PPG: too early to push the message,
waiting
2005-11-14 20:34:33 [14] DEBUG: PPG: send_push_response: telling pi
2005-11-14 20:34:33 [14] DEBUG: HTTP: Resetting HTTPClient for
`192.168.0.6'.
2005-11-14 20:34:33 [14] INFO: PPG: handle_push_message: push message
accepted for processing
  
  ***control file - real number deleted***
  
  ?xml version="1.0"?
!DOCTYPE pap PUBLIC "-//WAPFORUM//DTD PAP//EN"
"http://www.wapforum.org/DTD/pap_1.0.dtd"
pap
push-message push-id="3"
deliver-before-timestamp="2005-11-14T20:35:00Z"
deliver-after-timestamp="2005-11-14T20:35:00Z"
progress-notes-requested="false"
address address-value="WAPPUSH=+999/[EMAIL PROTECTED]"/
quality-of-service 
priority="high" 
delivery-method="unconfirmed"
network-required="true"
network="GSM"
bearer-required="true"
bearer="SMS"/
  
  /push-message
/pap
  
  
  ***content file**
  ?xml version="1.0"?
!DOCTYPE si PUBLIC "-//WAPFORUM//DTD SI 1.0//EN"
"http://www.wapforum.org/DTD/si.dtd"
si
indication href=""http://wap.yahoo.com">http://wap.yahoo.com"
si-id="[EMAIL PROTECTED]" 
action=""
created="2005-11-14T13:33:09Z"
si-expires="2005-11-15T17:00:00Z"

You have got mail.
/indication
/si
  

  




Re: what's the dlr ?

2005-10-29 Thread Linkas
DeLivery Report - that is a back-message that works as a receipe telling 
the SMS has been received by the handset (phone).

It does not guarantee the message has been read.

J

Zouari Fourat wrote:


I found that on the user guide, it speas about dlr storage... is there
anybody  who can explain to me what is the dlr intended for ?


 





Re: Determining Success or Failure

2005-09-23 Thread Linkas




Brent Goldspring wrote:

  
  
  
  
  
  
  Hello all,
   
  We are using Kannel
with a GSM modem: what is the
quickest and easiest way (for an application) to determine if the modem
sent
the SMS or not? I do not need delivery reports, just wether the modem
said,
“OK” or “Error”. Am I going to have to run a web-server and use dlr-url
etc? I
could probably parse the bearerbox access log, but that is a bit ugly,
clunky
and will get really slow when the log gets full.
   
  
  
  

DLR url is quick, easy and no time consuming for you as soon as you
have a webserver running, but can also implement it as a simple
listening port 80 on that machine.
Don't use dlr-mask 31 but a simple 28 (error+sent to smsc+queued to
smsc)
Parsing logs it's a very bad idea I think, it's really better than to
modify the C code of the log writing snip.





Re: Off Topic Query Re Kannel Mailing List Information Security

2005-09-22 Thread Linkas

I do agree with Milton.
Sometimes mailinglists are not so clearly open - infact it should be 
mentioned that everything here goes to google.
Newsgroups are different than mailing lists ... we do expect newsgroups 
to go around and be open, this is not the same as mailing lists.


About the fact that Milton information are already on the internet, this 
is not up to you to decide whether or not he should care: for example I 
also had the privacy problem about kannel when started to test it for 
production use because I was aware someone of my business competitors 
could also use kannel.


Not only to the fact that in this way we can get spam and messages from 
people who does not care about my privacy (as it just happened some days 
ago).


Bye



Re: [REPOST] DLR on wappushes ?

2005-09-16 Thread Linkas
Well, that's what I have, my real problem is that NO DLR at all is 
received by bearerbox because the wapbox/ppg does NOT set dlr-mask = 31 
nor dlr-url is set while sending the sms.


Infact, ppg get xml files, convert them, pass binary to bearerer 
(without setteing dlr correctly) - bearer sends the sms and that's all.


It looks like the dlr-url and dlr-mask parameters are not considered at 
all by the wapbox.


J

Alexander Malysh wrote:


Hi,

nope... You need wapbox, bearerbox and smsbox running.

You send you PPG requests to wapbox then wapbox sends it to bearerbox 
which then deliver to handset. When bearerbox receives DLR then it's 
forwarded to smsbox insetad of wapbox (because wapbox doesn't handle 
SMS which DLR is...). Then if you running smsbox it will call dlr-url 
equal to simple SMS.


Hope that helps...

Thanks,
Alex

Julien Buratto wrote:


Alexander Malysh wrote:


Hi,

I believe you need to run smsbox in order to be able to process dlrs.

Thanks,
Alex



I do have wapbox/ppg to convert XML files (SID and PAP) to binary.
Then kannel, internally, give the binary to smsbox and sends it to 
the smsgateway.


right ? :D

J










{Spam?} Re: [REPOST] DLR on wappushes ?

2005-09-14 Thread Linkas




Ok guys, the problem in NOT in the url syntax 

Julien

Mike Nwaogu wrote:

  hello,
I'm not sure how you'll impliment it, but you need to
be sure that the URL has no spaces inbetween the
values for the parameters. when there's a break the
URL may not be properly represented.

EG: BAD
username=ppgusernamepassword=ppgpassworddlr-mask=31dlr-url="" class="moz-txt-link-freetext" href="http://192.168.0.1/my">http://192.168.0.1/my
midi file.mid

EG: GOOD
username=ppgusernamepassword=ppgpassworddlr-mask=31dlr-url="" class="moz-txt-link-freetext" href="http://192.168.0.1/my%20midi%20file.mid">http://192.168.0.1/my%20midi%20file.mid



--- Julien Buratto [EMAIL PROTECTED] wrote:

  
  
Mike Nwaogu wrote:


  Hello Julien,
The position on your dlr-mask in the post command
  

is


  what I think the issue is.
  

Maybe you are true, but if I do

POST /wappush HTTP/1.1
Host: 10.100.10.5:8080
Connection: close
Content-Type: multipart/related; boundary=123321;
type="application/xml"
Content-Length: 1174



  
  username=ppgusernamepassword=ppgpassworddlr-mask=31dlr-url=""
  
  
url]

XML ATTACHMENT CUT

then the ppg says:

HTTP/1.1 401 Unauthorized
Server: Kannel/1.4.0
Content-Length: 32
Connection: close
WWW-Authenticate: Basic realm=berlinzoo"wappush"

You must show your credentials.

if I do:

POST
/wappush?username=ppgusernamepassword=ppgpassword
HTTP/1.1
Host: 10.100.10.5:8080
Connection: close
Content-Type: multipart/related; boundary=123321;
type="application/xml"
Content-Length: 1174



  
  username=ppgusernamepassword=ppgpassworddlr-mask=31dlr-url=""
  
  
url]

(same as before but with user/pass in the POST url)
the I get:

HTTP/1.1 202 Accepted



  Perhaps you should URL ENCODE the content or
  

relocate


  the dlr-mask parameter before the actual message.
  

I


  could be wrong though but I think that's what it
  

is.

It is encoded,the protocol implementation seems ok
to me, I think is 
something different related to the box receiving and
decoding the 
paramenters.

Cheers
Julien



  --- Julien Buratto [EMAIL PROTECTED] wrote:


  
  
Hello

I'm reposting this question because I have still

  

no


  
clue.

1) In the past I used binary SMS messages to send
WAP-PUSHES
in that way I was able to set dlr-mask=31 and a
dlr-url and I have been 
receiving DLRs easily when the phone received the
SMS.

Sometimes the phone did not understand the

  

wap-push


  
message as a 
binary-message but the DLR arrived in any case.

The 'call' was something like GET /sendsms? and I
was using the 
bearerbox and the smsbox to send those binary sms.

2) Now I use the bearerbox, smsbox and wapbox and

  

I


  
send XML files to 
the wapbox using a POST but when I set the dlr-url
and dlr-mark 
variables in the POST, I receive no DLRs at all.

Does anyone know if the transcodification from XML
to BINARY made by the 
wapbox do include dlr ?

Thanks

PS: I'm not interested to be notified if the

  

wappush


  
is understood or 
not, I just want to know if the wappush sms is got
by the phone.



  
  

Mike Nwaogu
Metro Technologies  Resources Ltd.
48 Tunde Idiagbon Road, Tanke, Ilorin.


		
__ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com


  



  
  

Mike Nwaogu
Metro Technologies  Resources Ltd.
48 Tunde Idiagbon Road, Tanke, Ilorin.


		
__ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com


  





Re: SMS Concatenation

2005-08-03 Thread Linkas




The right question should have been:
Where is the documentation ? Will I find the answer to my questions
there ? :-D

Ehehe just kiddin' however:


  

  concatenation
  bool
   Long messages can be sent as
independent SMS messages with concatenation = false
or as concatenated messages with concatenation =
true. Concatenated messages are reassembled into one long message
by the receiving device.

  


This is taken from the userguide, please read it:
http://kannel.org/download/1.4.0/userguide-1.4.0/userguide.html



enzo labrador wrote:
To All,
  
Hi!
  
  
How to send concatenated sms using the sendsms script?
  
  
TIA
  
Regards,
  
enzo
  
  
  





PPG DLR

2005-07-25 Thread Linkas

I've set the
ppg-smsbox-id in the ppg core group and also set the smsbox-id in the 
smsbox group.


When I call the /wappush url to send wappushes I do set the 
dlr-url=CUT and dlr-mask=31 like:


POST 
/wappush?username=ppgusernamepassword=ppgpassworddlr-mask=31dlr-url='.urlencode($my_dlr_url).' 
HTTP/1.1'


but the DLRs are not saved in the DB and no DLR are getting in from the 
SMSC.


Can anyone help?

--
my Config

group = ppg
ppg-url = /wappush
ppg-port = 8080
concurrent-pushes = 50
users = 52
trusted-pi = false
ppg-smsbox-id = boxinterna

group = smsbox
smsbox-id = boxinterna
bearerbox-host = 10.100.10.5
sendsms-port = 13013
sendsms-url = /cgi-bin/invia
log-file = /var/log/kannel/smsbox.log
access-log = /var/log/kannel/access.log
log-level = 0



POST syntax help

2005-07-23 Thread Linkas

Hello,
I'm trying to POST two files (PAP and SI) to the wapbox.

I send:

POST /wappush?username=ppgusernamepassword=ppgpassword HTTP/1.1
Host: 10.100.20.10:8080
User-Agent: PEAR HTTP_Request class ( http://pear.php.net/ )
Connection: close
Accept-Encoding: gzip
Content-Type: multipart/form-data; 
boundary=HTTP_Request_18fad3f770099328fe008948b6c4f889

Content-Length: 1225
CONTENT FOLLOW

and as an error, I get:

?xml version=1.0?!DOCTYPE pap PUBLIC -//WAPFORUM//DTD PAP 1.0//EN 
http://www.wapforum.org/DTD/pap_1.0.dtd;papbadmessage-response 
code=2000 desc=Not understood due to malformed syntax 
bad-message-fragment==/badmessage-response/pap


I'm using a pear.php.net HTTP_Request class.
Any suggestion ?

Thanks
J



Re: Receiving SMPP connections.

2005-06-15 Thread Linkas



Ricky Wibowo wrote:


Any one have a simple script for fetching incoming message??
Or any URL, that I can download it??
thanx

Check for PERL and SMPP module, you will be able to find a simple server 
solution to modify for your needs, but with very very slow troughtput.


J



MMS indication only

2005-05-21 Thread Linkas

Hello,

I would like to send the SMS indication about a MMS direcly with kannel.

I don't want to send an MMS with kannel - I just want to send the SMS 
that tells the phone about the MMS.


Can anyone help me composing the headers and contents ?

Thanks
J



Re: Sender ID [SOLVED]

2005-05-12 Thread Linkas
Can you please explain a little more ?
Thanks
J
Willy Mularto wrote:
Hi I just solve the problem,
We need to modify the smsc options:
source-addr-ton = 0
source-addr-npi = 1
dest-addr-ton = 1
dest-addr-npi = 1
or maybe just add this:
#source-addr-autodetect = yes
Hope it can helps others to :)
Regards
Willy





Re: SMPP server???

2005-05-04 Thread Linkas




Kannel cannot accept SMPP connections from clients

J

[EMAIL PROTECTED] wrote:

  did anyone got any answer how to config kannel as smpp-server?

Anders


- Vidarebefodrat meddelande frn Julien Buratto [EMAIL PROTECTED] -
   Datum: Wed, 20 Apr 2005 09:37:08 +0200
Frn: Julien Buratto [EMAIL PROTECTED]
Svar till: Julien Buratto [EMAIL PROTECTED]
mne: Re: SMPP server???
Till: "\"Alejandro J. Ramrez\"" [EMAIL PROTECTED]

  
  
Is there any patch or plugin that allows Kannel to accept SMPP
conections?? To act as a SMPP server???

  
  
No Stipe can help you, ask [EMAIL PROTECTED]

Julien


- Slut p vidarebefordrat meddelande -





This message was sent using IMP, the Internet Messaging Program.

- Slut p vidarebefordrat meddelande -





This message was sent using IMP, the Internet Messaging Program.



  





Duplicated sms upon receive

2005-05-02 Thread Linkas
Hello,
I don't know why, my fastrak gsm modem receives 3-4-6 times the same 
message.

well, no, infact it receive 1 message but then it call many time the 
service.
It appears to me link if some messages are stored in memory and then 
read again.

Has anyone had such experience ?
My conf:
group = modems
id = wavecom
name = Wavecom
# In memory
message-storage = SM
# Fond in wavecom docs - also fetch number on call
init-string = AT+CNMI=2,3,0,0,1;+CLIP=1
detect-string = WAVECOM
reset-string = AT+CFUN=1
# Monitors antenna signal and if modem is registered on network
keepalive-cmd = AT+CREG?;+CSQ
group = smsc
smsc = at
sim-buffering = true
modemtype = wavecom
device = /dev/ttyS0
my-number = +39**
pin = 5*0*
speed = 19200
keepalive = 120


Re: ringtones, images... all that stuff.

2005-04-28 Thread Linkas






Alejandro J. Ramrez wrote:

  
  
  
  
  
  

  
  
  
  
  
  Hello All!
  
   Ive
been reading a LOT of the
mails of this mailing list and thanks to that Ive been able to
set up the PPG, and send a simple wap
push. Now
the one million dollar question. How can I send a ringtone?
I mean SEND the ringtone not just be able
to
send the URL for the mobile to fetch (im
talking Midi now..i imagine simple SKC ringtones can be sent as VCARDs).
I have read about MBUNI which seems really really
nice. But before I get into that I wished to ask you guys can I send a
midi ringtone using simple SI, or SLs
with the PPG? If so please post a
sample XML that does that.
  
  Thank you Kannel boys  girls.
  
  
  Alejandro Ramrez
  


However, Stipe said in april 2003:
http://www.kannel.org/pipermail/devel-reports/2003-April/002544.html

Kannel can *only* be used as MMS Proxy in terms of a WAP gateway. It
is *not* an MMSC or MMS Server that handles MMS.
J




Who want to add some modem features ?

2005-04-23 Thread Linkas
Hello,
I've started working with a Wavecom Fastrack GSM modem and I saw some 
things are very missing:

- Network registration monitoring (if the modem is lost connection with 
the GSM network)
- Antenna's signal monitoring (signal power check)
- RING answer with an SMS (SMS answering machine to RING)

Anyone wants to help me to implements these ?
Ciao
Jul


Re: [Kannel-Users] message id

2005-04-14 Thread Linkas
Also depends on the type of connection you have with your provider/smsc.
Using EMI/UCP protocol is know not to have a unique id to any message.
Infact if your kannel will send more than one message in a single 
second, ts will confuse the DLR and the reply is not unique.

J
Anand Gupta wrote:
Thx Beckman for taking time to reply.
Well the whole reason for which i want to track the message_id is based on
that only. My smsc has the reports available in csv format after 24hrs.
Now when the reports come in, how will i know which report is for which
message ? There can be multiple sender id, multiple messages to same
numbers... This is the reason i was looking for getting the message_id.
When kannel sends the message id to mysql db, its strange why it can't
send it to the dlr url as well.
I thought about a small hack on this, not perfect though.
The mysql db stores the dlr-url as well which has a unique sequence number
called slid. If inside my url php file i search the db using regex with
the slid number (since the same number is available inside the php file
also as one of the parameters) and then copy the message id from there.
The above is not perfect and nor is efficient for when the messages volume
increase, so will the db.
I hope someone else on this list has a better solution.
 




Re: SMS ID problem

2005-04-05 Thread Linkas




Are you sure you haven't set a wrong type in the MySQL ?
Something like tinyint or similar ...

J

JML wrote:

  
  Message
  
  Hi ,
  Does someone knows why our SMS ID (also
identified as timestamp when using with mysql) only went from 0 (zero)
to 255).
  We are using kannel 1.3.2 and mysql DLR's, with
wavecom modems.
  This valueare returned by the modem we
think...not generating by kannel...
  
  Any idea would be very appreciated !!
  
  Marco
  





Re: help with recieving SMSes

2005-04-03 Thread Linkas

Can someone please tell me how i can simulate the sms
sending and recieving process on my machine ?.
 

First of all, read the User guide.
(http://kannel.org/download/1.4.0/userguide-1.4.0/userguide.html)
Second, in the User guide check the 'Fake SMSC'
(http://kannel.org/download/1.4.0/userguide-1.4.0/userguide.html#AEN2073)
Bye
J


Re: unsubscribe;

2005-03-29 Thread Linkas
This is undocumented under the kannel docs :-D
J
 




Re: Hi

2005-03-21 Thread Linkas

Alejandro Guerrieri wrote:
Yes, it's a very popular issue! That could cause problems specially on
heavy loaded systems, where the probability of many messages being
queued on the same ts second increases.
I partially agree.
Infact my system is not heavily loaded. It's just a login and shot 
system, so you do a mass sending of many messages in a short amount of 
time, then you logoff.
But my sms/s is very low.

That seems to be a design
flaw not really tied to MySQL nor any other relational database. It
does not have nothing to do with 3.x or 4.x MySQL versions... It will
ruin your DLRs whether you are using 3.x or 4.x.
 

Yes, true, infact bug 193 is not related to MySQL.
As I had introduced there a little statistical patch to it, that was 
interesting knowing from you your experience upon this.

Does MySQL 4.x have a magical solution for the DLR's problem? I don't
think so! Apart from many (many!) optimizations and improvements (ie,
the query cache), and a richer language, IMHO it's not the holy grial
that'll solve the DLR problem.
 

True again :-D
You don't need transactions or nested queries. What's needed is a
non-ambiguous and unique parameter to be used as primary key for the
DLR table. Some sort of unique message_id, at least capable of
non-repeating (and retrievable) numbers given any given second (that
would suffice if used along with the existing ts).
Given that, any regular relational database could handle many DLR's on
the same second using just plain INSERT, DELETE and UPDATE queries.
Regards
I Agree again.
:-D
J


Re: Reply to number

2005-03-14 Thread Linkas

Rafael Ugolini Trussardi wrote:
Your cell phone doesnt offer you to put Reply-to number ?!
No...
On Mon, 14 Mar 2005 21:04:01 +0100
 Linkas [EMAIL PROTECTED] wrote:
Hi,
   Im using kannel to send sms messages, but i cant find a variable 
for me to put a Reply to number.
   I want to send a message with a number e put a Reply to number 
diferent.

Thanks
It's not email here :-D It's SMS
J





Re: Getting stupid on WahPush Service Load

2005-02-28 Thread Linkas
Then the only thing remaining is the phone (Nokia 6600) on wich I'm 
making tests!

Gosh
Thanks Aarno
J
Aarno Syvänen wrote:
There is few things here:
a) All phones to not allow Service Loading, which is consired quite  
unsave by some.
Are you sure that your phone accepts SLS at all ?

b) You can try to send SL over PPG. Then all these hex bytes will go 
to  PPG, and
 we need not handle them separately many times over.

c) As per your question, see between the lines
Aarno
On 26.2.2005, at 11:50, Linkas wrote:
In the the contrib/web/sendsms.php I have Service Indication  
(WAPPUSHSI) working fine, but not the WAPPUSHSL.

I've tried to modify a couple of strange things I saw, and here is  
the job:

My UDH is: %06%05%04%0B%84%23%F0
(same ad Wap Push SI)

This is right, both go to the push port
While the text message is:
$fields['text'] .= %01;  # Transaction ID
$fields['text'] .= %06;  # PDU Type (push)
$fields['text'] .= %04;  # Headers Length
$fields['text'] .= %03; # Length of content type
// The next line looks strange - in the contrib was different
$fields['text'] .= %B0; # Content-Type: application/vnd.wap.slc
// End of strange line
$fields['text'] .= %81; # Charset
$fields['text'] .= %EA; # UTF-8

Content type is right, too, sse http://www.wapforun.org/wina
$fields['text'] .= %02;  # Version number (wbxml_version)
$fields['text'] .= %06;  # WBXML Public Identifier (sL_public_id)
// THIS line is strange too - why SIbxml and not SLbxml ?
$fields['text'] .= %6A;  # charset= (sibxml-charset)
// END of strange line
$fields['text'] .= %00;  # String table length

Charset are same is all cases
// The 'real' content I need to send where $URL is my wap page
$fields['text'] .= %85; # sl
$fields['text'] .= %06; # action=signal-high
// Quite strange the URL is not 'urlencoded' but on the SI works ok  
like that
$fields['text'] .= %08 . %03 . $URL . %00;
$fields['text'] .= %01; # /si

execute-hing is right, too
The resulting HTTP GET is:
udh=%06%05%04%0B%84%23%F0
text=%01%06%04%03%B0%81%EA%02%06%6A%00%85%06%08%03http://www.info- 
me.it/wap/index.wml%00%01

Can anyone help?
Thanks
Julien

Aarno




Re: Getting stupid on WahPush Service Load

2005-02-28 Thread Linkas




Let me quote this:

 Definitely *not*. Nokia does not support SL,
considering it dangerous.

 Aarno


On 26.2.2005, at 16:17, JJ wrote:


Did you had success on sending Wap Push SL
messages to Nokia with kannel ?
  
  
Bye
  
Julien
  
  




Linkas wrote:
Then the
only thing remaining is the phone (Nokia 6600) on wich I'm making
tests!
  
  
Gosh
  
Thanks Aarno
  
  
J
  
  
Aarno Syvnen wrote:
  
  
  There is few things here:


a) All phones to not allow Service Loading, which is consired quite
unsave by some.

 Are you sure that your phone accepts SLS at all ?


b) You can try to send SL over PPG. Then all these hex bytes will go
to PPG, and

 we need not handle them separately many times over.


c) As per your question, see between the lines


Aarno


On 26.2.2005, at 11:50, Linkas wrote:


In the the contrib/web/sendsms.php I have
Service Indication (WAPPUSHSI) working fine, but not the WAPPUSHSL.
  
  
I've tried to modify a couple of "strange things" I saw, and here is
the "job":
  
  
My UDH is: %06%05%04%0B%84%23%F0
  
(same ad Wap Push SI)
  



This is right, both go to the push port



While the text message is:
  
$fields['text'] .= "%01"; # Transaction ID
  
$fields['text'] .= "%06"; # PDU Type (push)
  
$fields['text'] .= "%04"; # Headers Length
  
$fields['text'] .= "%03"; # Length of content type
  
// The next line looks strange - in the contrib was different
  
$fields['text'] .= "%B0"; # Content-Type: application/vnd.wap.slc
  
// End of strange line
  
  
$fields['text'] .= "%81"; # Charset
  
$fields['text'] .= "%EA"; # UTF-8
  



Content type is right, too, sse http://www.wapforun.org/wina



$fields['text'] .= "%02"; # Version number (wbxml_version)
  
$fields['text'] .= "%06"; # WBXML Public Identifier (sL_public_id)
  
// THIS line is strange too - why SIbxml and not SLbxml ?
  
$fields['text'] .= "%6A"; # charset= (sibxml-charset)
  
// END of strange line
  
$fields['text'] .= "%00"; # String table length
  



Charset are same is all cases



// The 'real' content I need to send where $URL is my wap page
  
$fields['text'] .= "%85"; # sl
  
$fields['text'] .= "%06"; # action=""
  
// Quite strange the URL is not 'urlencoded' but on the SI works ok
like that
  
$fields['text'] .= "%08" . "%03" . $URL . "%00";
  
$fields['text'] .= "%01"; # /si
  
  


execute-hing is right, too



The resulting HTTP GET is:
  
  
udh=%06%05%04%0B%84%23%F0
  
text=%01%06%04%03%B0%81%EA%02%06%6A%00%85%06%08%03http://www.info-
me.it/wap/index.wml%00%01
  
  
Can anyone help?
  
  
Thanks
  
Julien
  
  
  


Aarno




  
  
  





Re: [Kannel-Users] Re: [Kannel-Users] Getting stupid on WahPush Service Load

2005-02-27 Thread Linkas
Uhmm I see that you are using Wap Push Service Indication - and that one 
works ok for me (even without hex_encode), my problems are in the Wap 
Push Service Load.

The problem is in the very first bytes, not in the URL, so I write it 
down again:

// I think the problem is in this block
%01 // Transaction ID
%06 // Push
%04 // Lenght of headers
%03 // Lenght of content-type
%B0 // Content type is application/vnd.wap.slc
%81 // Charset is
%EA // UTF-8
// End of block
Thanks
J
 UDH will always be the same.
 Text needs to have the binary encoded data you mention above.
 Here's an example, without the percent signs
   UDH: 0605040B8423F0
  Text: 1B0601AE 02056A00 45C60C03736D732E6B6174617A6F2...17A6F2E000101
 Some PHP:
   $udh  = '0605040B8423F0';
   $text = '1B0601AE02056A0045C60C03'
   .hex_encode($url, '')
   .'000103'.
   hex_encode($title, '').
   '000101';
function hex_encode( $text, $joiner='' ) {
for ($l=0; $lstrlen($text); $l++) {
$letter = substr($text, $l, 1);
$ret .= sprintf(%s%02X, $joiner, ord($letter));
}
return $ret;
}
 Make more sense? (yes, I know the hex_encode function could be 
written better)

Beckman
--- 

Peter Beckman  
Internet Guy
[EMAIL PROTECTED] 
http://www.purplecow.com/
--- 





Re: Sending a VCARD

2005-02-26 Thread Linkas

Navjot Singh wrote:
Hi,
Here's a sample.
VCard

BEGIN:VCARD\r\nVERSION:2.1\r\nN:Navjot
Singh\r\nTEL;PREF:9811178486\r\nEND:VCARD\r\n
http://localhost:13013/cgi-bin/sendsms?user=adminpass=navisto=9811178486udh=%06%05%04%23%F4%00%00text=
%42%45%47%49%4e%3a%56%43%41%52%44%0d%0a%56%45%52%53%49%4f%4e%3a%32%2e%31%0d%0a%4e%3a%4e%61%76%6a%6f%74%20%53%69%6e%67%68%0d%0a%54%45%4c%3b%50%52%45%46%3a%39%38%31%31%31%37%38%34%38%36%0d%0a%45%4e%44%3a%56%43%41%52%44%0d%0a
HTH
Navjot Singh
 

I've read on the RFC's about vCard (http://www.ietf.org/rfc/rfc2426.txt) 
that there MUST be a field called FN that I've never seen on a mobile vCard.
Is there any different RFC from the one I wrote should I refer to ?

J


Getting stupid on WahPush Service Load

2005-02-26 Thread Linkas
In the the contrib/web/sendsms.php I have Service Indication (WAPPUSHSI) 
working fine, but not the WAPPUSHSL.

I've tried to modify a couple of strange things I saw, and here is the 
job:

My UDH is: %06%05%04%0B%84%23%F0
(same ad Wap Push SI)
While the text message is:
$fields['text'] .= %01;  # Transaction ID
$fields['text'] .= %06;  # PDU Type (push)
$fields['text'] .= %04;  # Headers Length
$fields['text'] .= %03; # Length of content type
// The next line looks strange - in the contrib was different
$fields['text'] .= %B0; # Content-Type: application/vnd.wap.slc
// End of strange line
$fields['text'] .= %81; # Charset
$fields['text'] .= %EA; # UTF-8
$fields['text'] .= %02;  # Version number (wbxml_version)
$fields['text'] .= %06;  # WBXML Public Identifier (sL_public_id)
// THIS line is strange too - why SIbxml and not SLbxml ?
$fields['text'] .= %6A;  # charset= (sibxml-charset)
// END of strange line
$fields['text'] .= %00;  # String table length
// The 'real' content I need to send where $URL is my wap page
$fields['text'] .= %85; # sl
$fields['text'] .= %06; # action=signal-high
// Quite strange the URL is not 'urlencoded' but on the SI works ok like 
that
$fields['text'] .= %08 . %03 . $URL . %00;
$fields['text'] .= %01; # /si

The resulting HTTP GET is:
udh=%06%05%04%0B%84%23%F0
text=%01%06%04%03%B0%81%EA%02%06%6A%00%85%06%08%03http://www.info-me.it/wap/index.wml%00%01
Can anyone help?
Thanks
Julien


Re: [Kannel-Users] Getting stupid on WahPush Service Load

2005-02-26 Thread Linkas
I know it could look strange, but as it works on Wap Push SI not 
encoded, why shouldn't work on SL like that ?

Julien
Peter Beckman wrote:
It should be 100% binary.  You need to encode the URL.
$fields['text'] .= %08 . %03 . $URL . %00;
$fields['text'] .= %01; # /si
The resulting HTTP GET is:
udh=%06%05%04%0B%84%23%F0
text=%01%06%04%03%B0%81%EA%02%06%6A%00%85%06%08%03http://www.info-me.it/wap/index.wml%00%01 





Stupid Q: where do incoming SMS go ?

2005-02-07 Thread Linkas
I've never even tried to do it, so pardon me in advance.
If I do connect a phone with a cable to a pc with kannel on it and 
ensure a serial communication, where do I receive messages ?

I use kannel to send, and I use to work on the db where DLR are stored.
Will the kannel act as an HTTP client to a URL I set where receives an 
SMS ? Will the kannel store it somewhere in a db ?

Thanks
J


DLR receiving date

2005-02-06 Thread Linkas
Hi, I would like to know how to get the time the SMS has been delivered 
to phone (I'm using DLR mask code 31).

Wich is the % variable ? :)
Thanks
J


Re: Kannel Benchmarking

2005-01-31 Thread Linkas






  Hi,
  
  I want to test how many users
canKannel handleat the same time, simulating wap connections. Does
anybody know how to do it?, or does anyone knows any tool that i can
use.
  
  Thanks,
  
  
  Carlos

Try to "stress" it a little :-D
http://support.microsoft.com/kb/231282/en-us




Replying a kannel-sent SMS

2005-01-26 Thread Linkas
Hello, I need a piece of suggestion :)
I would like to know if it's possible to set a special header in a SMS 
and get it back when someone replies to the SMS it receives.

Example:
1) Use kannel and send an SMS to my friend's phone Joe (I set inside the 
SMS a special header like: CODE:987)
2) Joe hits reply on his cellular phone and send me a reply
3) I get that SMS and parse it internally and I can get back the CODE:987

Do you think it's possible ?
What do I need to send such SMS ?
What do I need to get the reply and parse it ?
Thanks in advance! :)
Julien


V.1.4 - Store locks on multi sms

2004-11-30 Thread Linkas



When sending many SMS at once, the bearerbox 
(version 1.4 compiled on RedHat 9) seems to have strange 
behaviours.

It gets the first 2-3 messages, then send them 
upon the EMI smsc I have.
All the remaining SMS goes into the STORE and 
are sent really VERY VERY slowly.
Restarting the bearerbox causes some other 2-3 
messages to be sent quick, than the thing re-happen.

I've noticed that this can be causes, in some 
obscure circumstances, by the way you start the kannel.
I've tryed the start-stop daemon but are really 
bad documented, the -d option, and actually using the nohup with '' sign to 
background the process.

Can anyone help in understanding how comes the 
SMS goes into the store and don't get sent quickly even if the 'operator' is 
connected ?
Can this be related by the 'fake' operator 
?

thanks
Julien

Mi "status" is like this:
 Kannel bearerbox version 
`1.4.0'. Build `Nov 25 2004 18:44:17', compiler `3.2.2 20030222 (Red Hat Linux 
3.2.2-5)'. System Linux, release 2.4.20-8, version 
#1 Thu Mar 13 17:54:28 EST 2003, machine i686. Hostname berlinzoo, IP 
127.0.0.1. Libxml version 2.5.4. Compiled with MySQL 3.23.54, 
using MySQL 3.23.54. Using native malloc.

 Status: running, uptime 0d 0h 9m 
43s

 WDP: received 0 (0 queued), sent 0 
(0 queued)

 SMS: received 4 (0 queued), sent 3 
(0 queued), store size 3

 SMS: inbound 0.01 msg/sec, outbound 
0.01 msg/sec

 DLR: 2 queued, using mysql 
storage

 Box 
connections: smsbox:(none), IP 
10.100.10.5 (0 queued), (on-line 0d 0h 9m 24s)

 SMSC 
connections:operator 
EMI2:212.XXX.251.XXX:1000:7253 (online 349s, rcvd 4, sent 3, failed 0, queued 0 
msgs) fake FAKE:1 
(connecting, rcvd 0, sent 0, failed 0, queued 0 
msgs)


Delivery reports: asked or not ?

2004-09-21 Thread Linkas
My SMSC operator ask a fee for each delivery receipt I get.
In the user guide I can read:
The value is a bit mask composed of: 1: Delivered to phone, 2: 
Non-Delivered to Phone, 4: Queued on SMSC, 8: Delivered to SMSC, 16: 
Non-Delivered to SMSC (...)

So, my question is:
will my operator bill me the Delivery Reports upon setting the dlr-mask as 
4+8+16 or it will bill me only upon any sum in which the 1bit or the 2bit is 
present ?

This is very important to me because I cant' ask the operator about kannel 
and because I will receive the bill of my messages after 2 months and cannot 
do a debug check.

Thanks
Julien