R: Re: send sms to application on specific port on phone

2009-02-12 Thread mariellagali...@libero.it
Thanks Falko. When i'll find sometihing i'll  post it to the list.
Regards
Mariella

Messaggio originale
Da: fal...@gmail.com
Data: 12/02/2009 8.51
A: Nikos Balkanasnbalka...@gmail.com, mariellagali...@libero.it
Cc: users@kannel.org Userusers@kannel.org
Ogg: Re: send sms to application on specific port on phone

Sorry Nikos, this time you are wrong.
Mariella, You can send SMS to a specified port. But this is not  
defined inside kannel. You have to set a special UDH. Inside the UDH a  
Port can be specified. But I currently don't find the specification  
for it in my archives. Please google a little bit, try searching for  
UDH, Port and Smart Messaging. And when you find something, please  
post it to the list.

Regards
Falko

Am 12.02.2009 um 01:03 schrieb Nikos Balkanas:

 Hi Mariella,

 What you describe is not possible. It is not even a kannel issue.  
 PPG is sent as a binary SMS. It follows the same route as regular  
 SMS. From bearerbox it is delivered to an SMSc and from there to the  
 mobile. Therefore the SMSc is responsible for delivering the content  
 to the mobile. This happens according to the SMS spec and is not  
 configurable.

 BR,
 Nikos
 - Original Message - From: mariellagali...@libero.it
 To: users@kannel.org
 Sent: Wednesday, February 11, 2009 12:21 PM
 Subject: send sms to application on specific port on phone


 Hi everyone, I have installed kannel and i sended successfully  
 simple sms and
 wap push sms to my nokia phone. Now i would send with kannel a sms  
 (simple or
 wap push) to a midlet installed on my phone on port 5. What i  
 must specifed
 in file.conf and where? Thanks in advance..
 Mariella...









Re: information

2009-02-12 Thread Nikos Balkanas

Hi Tadeus,

You will discover that the user guide apart from syntax and grammatical 
errors is in parts behind date.  The feature you are talking about (smpp 
DLRs) is thoroughly tested and proven in production.


BR,
Nikos
- Original Message - 
From: Tadeus Prastowo tadeus.prast...@infi-nity.com

To: narendra reddy kamaninaren...@gmail.com
Cc: de...@kannel.org
Sent: Thursday, February 12, 2009 10:45 AM
Subject: Re: information



Hi Ho!

On Thu, Feb 12, 2009 at 3:13 PM, Guillaume Cottenceau g...@mnc.ch wrote:

narendra reddy kamaninarendra 'at' gmail.com writes:


Hi,

   i am using smpp protocol .can i get the delivery reports for smpp
protocol.


According to the user guide
(http://kannel.org/download/1.4.3/userguide-1.4.3/userguide.html#AEN2386),
SMPP may have the feature. But, it has not been tested. So, if you can
test it, and it works, please let us know so that the guide can be
updated.

Thanks.

Best regards,
Eus (FSF member #4445)

In this digital era, where computing technology is pervasive, your
freedom depends on the software controlling those computing devices.

Join free software movement today! It is free as in freedom, not as in
free beer!

Join: http://www.fsf.org/jf?referrer=4445






Sending messages via url stuck

2009-02-12 Thread kriko


Hello! I've got a N95 from which I can send messages in such way:AT+CMGF=1AT+CMGS="##"Now, I've configure kannel in this way:http://pastebin.com/m735918b9but when I try to send a message via URL:http://localhost:13001/cgi-bin/sendsms?username=userpassword=sendto=041443396text=pingI just get:2009-02-12 11:56:25 [26139] [5] INFO: Client connected from 127.0.0.1and here it gets stuck. It doesn't send a message and it doesn't respond to the client.Did I miss something while configuring?Device is initialized and working, no errors in log.-- Kristjan Ugrin





Narendra

2009-02-12 Thread narendra reddy
Hi,

 I am successfully compiled with ./configure -with-mysql and after   i added
in the my config file mysql config file.but no messages are inserted in the
table. can anybody suggest me where i am wrong.


group = mysql-connection
id = mydlr
host = localhost
username = foo
password = bar
database = dlr
max-connections = 1

group = dlr-db
id = mydlr
table = dlr
field-smsc = smsc
field-timestamp = ts
field-destination = destination
field-source = source
field-service = service
field-url = url
field-mask = mask
field-status = status
field-boxc-id = boxc

   but i am not able to see any messages in the table.where i
have to add  dlr-mask and dlr-url in the config file.i added in the send-sms
-users .still i am not getting .
-- 
Best Regards,
Narendra .


Re: Narendra

2009-02-12 Thread seikath
its an old old question, so its nice idea to
read the mailing list, there is a lot of helpful info

and do not mail the dev list, they have NOTHING to do with your
configuration problems.

as a hint,

the mysql/anydb based dlr storage DONT handle the DLR status of a
particular SENT message. Its used to store the queue of the messages NOT
SENT TO THE SMSC. So in the usual case the table is empty, because the
messages are DELETED from the queue AFTER they have been SENT to the SMSC.

in case you want to know the status of a SENT message, set the dlr-mask
to the needed value and the dlr-url pointing to a handler of the DLR
info kannel receives from the SMSC.

agian, in short :  READ the mailing list, and do yourself a favor,
take some time and read the manual from start to the end.
almost everyone here has faced this issue at a time.




narendra reddy wrote:
 Hi,
 
  I am successfully compiled with ./configure -with-mysql and after   i added
 in the my config file mysql config file.but no messages are inserted in the
 table. can anybody suggest me where i am wrong.
 
 
 group = mysql-connection
 id = mydlr
 host = localhost
 username = foo
 password = bar
 database = dlr
 max-connections = 1
 
 group = dlr-db
 id = mydlr
 table = dlr
 field-smsc = smsc
 field-timestamp = ts
 field-destination = destination
 field-source = source
 field-service = service
 field-url = url
 field-mask = mask
 field-status = status
 field-boxc-id = boxc
 
but i am not able to see any messages in the table.where i
 have to add  dlr-mask and dlr-url in the config file.i added in the send-sms
 -users .still i am not getting .



Re: Unknown clenup action defined 1d.

2009-02-12 Thread Nikos Balkanas
Hi,

This is interesting. The unknown cle[a]nup action is defined in queue cleanup, 
which pretty much tries to determine action when waitack is not received 
(resend, reconnect, etc.).

You seem to have a problem with your SMSc. As a result your SMSc is not sending 
any ACKs and therefore kannel stops sending SMS after the few first that go 
through. Depending on the action defined in wait-ack-expire. Default is to wait 
forever for the ack.

0x001D is defined in SMPP 5.0 Spec as additional_status_info_text which 
contains information about your SMSc status:
The additional_status_info_text parameter gives an ASCII textual description 
of the meaning

of a response PDU. It is to be used by an implementation to allow easy 
diagnosis of

problems.

Field Size octets Type Description

Parameter Tag 2 Integer 0x001D

Length 2 Integer Length of Value part in octets

Value 1 - 256 C-Octet String Free format text to allow implementations to

supply the most useful information for problem

diagnosis. Maximum length is 256 octets.

I would try to configure a tlv for this address to get a description of the 
problem, which should get rid of the unknown error as well. Then I would 
contact my SMSc to see how the problem can be corrected.

BR,
Nikos
- Original Message - 
From: manojs.vt manojs...@rediff.co.in
To: users@kannel.org
Sent: Thursday, February 12, 2009 7:44 AM
Subject: Unknown clenup action defined 1d.


 
 anyone knows why this message appear in kannel logs ? I can see only messages
 are coming in queue and its not delivering to users..
 
 2009-02-09 12:45:25 [7597] [7] ERROR: SMPP[TX] Unknown clenup action
 defined 1d.
 2009-02-09 12:45:25 [7597] [7] DEBUG: SMPP[TX]: Manually forced source
 addr ton = 0, source add npi = 1
 2009-02-09 12:45:25 [7597] [7] DEBUG: SMPP[TX]: Manually forced dest
 addr ton = 1, dest add npi = 1
 2009-02-09 12:45:25 [7597] [7] DEBUG: SMPP[TX]: Sending PDU:
 
 
 -
 Manoj Bhamare
 -- 
 View this message in context: 
 http://www.nabble.com/Unknown-clenup-action-defined-1d.-tp21908186p21908186.html
 Sent from the Kannel - User mailing list archive at Nabble.com.
 


Re: Unknown clenup action defined 1d.

2009-02-12 Thread manojs.vt

Thanks for your reply; yes the problem was from SMSC end, after fixed it from
SMSC end it started working again. 
Thanks,
-Manoj Bhamare


Nikos Balkanas wrote:
 
 Hi,
 
 This is interesting. The unknown cle[a]nup action is defined in queue
 cleanup, which pretty much tries to determine action when waitack is not
 received (resend, reconnect, etc.).
 
 You seem to have a problem with your SMSc. As a result your SMSc is not
 sending any ACKs and therefore kannel stops sending SMS after the few
 first that go through. Depending on the action defined in wait-ack-expire.
 Default is to wait forever for the ack.
 
 0x001D is defined in SMPP 5.0 Spec as additional_status_info_text which
 contains information about your SMSc status:
 The additional_status_info_text parameter gives an ASCII textual
 description of the meaning
 
 of a response PDU. It is to be used by an implementation to allow easy
 diagnosis of
 
 problems.
 
 Field Size octets Type Description
 
 Parameter Tag 2 Integer 0x001D
 
 Length 2 Integer Length of Value part in octets
 
 Value 1 - 256 C-Octet String Free format text to allow implementations to
 
 supply the most useful information for problem
 
 diagnosis. Maximum length is 256 octets.
 
 I would try to configure a tlv for this address to get a description of
 the problem, which should get rid of the unknown error as well. Then I
 would contact my SMSc to see how the problem can be corrected.
 
 BR,
 Nikos
 - Original Message - 
 From: manojs.vt manojs...@rediff.co.in
 To: users@kannel.org
 Sent: Thursday, February 12, 2009 7:44 AM
 Subject: Unknown clenup action defined 1d.
 
 
 
 anyone knows why this message appear in kannel logs ? I can see only
 messages
 are coming in queue and its not delivering to users..
 
 2009-02-09 12:45:25 [7597] [7] ERROR: SMPP[TX] Unknown clenup action
 defined 1d.
 2009-02-09 12:45:25 [7597] [7] DEBUG: SMPP[TX]: Manually forced
 source
 addr ton = 0, source add npi = 1
 2009-02-09 12:45:25 [7597] [7] DEBUG: SMPP[TX]: Manually forced dest
 addr ton = 1, dest add npi = 1
 2009-02-09 12:45:25 [7597] [7] DEBUG: SMPP[TX]: Sending PDU:
 
 
 -
 Manoj Bhamare
 -- 
 View this message in context:
 http://www.nabble.com/Unknown-clenup-action-defined-1d.-tp21908186p21908186.html
 Sent from the Kannel - User mailing list archive at Nabble.com.
 

 


-
Manoj Bhamare
-- 
View this message in context: 
http://www.nabble.com/Unknown-clenup-action-defined-1d.-tp21908186p21976522.html
Sent from the Kannel - User mailing list archive at Nabble.com.




Receiving sms

2009-02-12 Thread kriko

Hello!

I'm using GSM modem for sending messages (nokia n95) and it works great.
Starting bearerbox and smsbox in debug mode 0 from 2 separate consoles, I can 
see sms
send requests, but no received messages.

I would like to catch all incoming messages, tried sim-buffering and my phone
doesn't like it (Generic error: ERROR). Setting message storage to SM or ME 
doesn't help either.

My working config:
http://pastebin.com/m1f302bc1

Are there any other settings to explore for controlling incoming messages?



--
kriko





Re: Receiving sms

2009-02-12 Thread Alvaro Cornejo
You need to setup an smsuser and an action for the keyword or define
an default action, then kannel will send MO to your app for processing


|-|
Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
celular y Nextel
en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via
SMS y GPRS online
  Visitenos en www.perusms.NET www.smsglobal.com.mx y
www.pravcom.com



On Thu, Feb 12, 2009 at 9:15 AM, kriko kristjan.ug...@gmail.com wrote:
 Hello!

 I'm using GSM modem for sending messages (nokia n95) and it works great.
 Starting bearerbox and smsbox in debug mode 0 from 2 separate consoles, I
 can see sms
 send requests, but no received messages.

 I would like to catch all incoming messages, tried sim-buffering and my
 phone
 doesn't like it (Generic error: ERROR). Setting message storage to SM or ME
 doesn't help either.

 My working config:
 http://pastebin.com/m1f302bc1

 Are there any other settings to explore for controlling incoming messages?



 --
 kriko







alt-charset on HTTP SMSCs

2009-02-12 Thread Nii Ako Ampa-Sowa
Hello,

Does anyone have experience with converting between different character
encoding schemes for HTTP SMSCs? 

Here's the scenario I'm facing: I receive messages via SMPP interface in
encoded as UCS-2. I need to send these messages out formatted as UTF-8
to an HTTP SMSC. 

For some reason defining the alt-charset as UTF-8 (or anything else, for
that matter) doesn't seem to have an effect on what is sent out in the
HTTP call. Does the alt-charset directive work with HTTP SMSCs?

Any help will be greatly appreciated.

Thanks,

Nii.






Re: Receiving sms

2009-02-12 Thread kriko

Default action like this?

# Default service.
group = sms-service
keyword = default
text = No services defined


Is still cannot see received messages. Maybe it is gsm modem problem? How does 
it pool
the phone for new messages, it does that on keep-alive intervals?

On Thu, 12 Feb 2009 15:21:25 +0100, Alvaro Cornejo cornejo.alv...@gmail.com 
wrote:


You need to setup an smsuser and an action for the keyword or define
an default action, then kannel will send MO to your app for processing


|-|
Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
celular y Nextel
en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via
SMS y GPRS online
  Visitenos en www.perusms.NET www.smsglobal.com.mx y
www.pravcom.com



On Thu, Feb 12, 2009 at 9:15 AM, kriko kristjan.ug...@gmail.com wrote:

Hello!

I'm using GSM modem for sending messages (nokia n95) and it works great.
Starting bearerbox and smsbox in debug mode 0 from 2 separate consoles,  
I

can see sms
send requests, but no received messages.

I would like to catch all incoming messages, tried sim-buffering and my
phone
doesn't like it (Generic error: ERROR). Setting message storage to SM  
or ME

doesn't help either.

My working config:
http://pastebin.com/m1f302bc1

Are there any other settings to explore for controlling incoming  
messages?




--
kriko








--
kriko





Wap push si to windows mobile

2009-02-12 Thread Calle Kabo

Hi guys!

We are currently doing a si wap push by sending an XML to http://ourhost:13021/wappush 
. This works well with most phones. Apart from Windows Mobile and the  
iPhone.
In the case of Windows Mobile we've tracked the issue down to the  
registry key HKEY_LOCAL_MACHINE\Security\Policies\Policies\100d  
being set to the value: SECROLE_PPG_AUTH | SECROLE_PPG_TRUSTED. More  
info can be found at: http://msdn.microsoft.com/en-us/library/ms890494.aspx
Our current understanding is that if we become a Trusted Provisioning  
server (which can be done by setting the Push-Flag parameter) we could  
get the wap push through even with the security policy in place.
Could somebody confirm this? If this is correct, how do we do this in  
Kannel?

Also found this post on the subject: 
http://groups.google.com/group/microsoft.public.smartphone.developer/browse_frm/thread/cf95da3b415fd5d9/8e088cd8b18723b5

As for the iPhone we haven't got a clue as to why it's not working.

Thanks for any help!


Best Regards,
Calle Kabo
Berazy Mobile Entertainment AB



Re: Receiving sms

2009-02-12 Thread Alvaro Cornejo
Hi

You need to set your phone to forward incoming messages to kannel.

What phone do you use? You should use AT+CNMI= command to define
that. Check your modem at manual for more info

as a tip:

For Sony  K510a:  init-string = AT+CNMI=2,3,0,1,0;+CMEE=1
For Sony  T610:  init-string = AT+CNMI=2,3,0,0,0;+CMEE=1
For Sony  T68:  init-string = AT+CNMI=3,1,2,0,0;+CMEE=1
For  Enfora 1218: init-string = AT+CNMI=2,1,2,1,0; +CMEE=2


as a sidenote: CMEE=1/2 is for enable modem error verbose. might not
work with some modems

Hope Helps



|-|
Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
celular y Nextel
en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via
SMS y GPRS online
 Visitenos en www.perusms.NET www.smsglobal.com.mx y
www.pravcom.com



On Thu, Feb 12, 2009 at 9:45 AM, kriko kristjan.ug...@gmail.com wrote:
 Default action like this?

 # Default service.
 group = sms-service
 keyword = default
 text = No services defined


 Is still cannot see received messages. Maybe it is gsm modem problem? How
 does it pool
 the phone for new messages, it does that on keep-alive intervals?

 On Thu, 12 Feb 2009 15:21:25 +0100, Alvaro Cornejo
 cornejo.alv...@gmail.com wrote:

 You need to setup an smsuser and an action for the keyword or define
 an default action, then kannel will send MO to your app for processing



 |-|
 Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
 celular y Nextel
 en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via
 SMS y GPRS online
  Visitenos en www.perusms.NET www.smsglobal.com.mx y
 www.pravcom.com



 On Thu, Feb 12, 2009 at 9:15 AM, kriko kristjan.ug...@gmail.com wrote:

 Hello!

 I'm using GSM modem for sending messages (nokia n95) and it works great.
 Starting bearerbox and smsbox in debug mode 0 from 2 separate consoles, I
 can see sms
 send requests, but no received messages.

 I would like to catch all incoming messages, tried sim-buffering and my
 phone
 doesn't like it (Generic error: ERROR). Setting message storage to SM or
 ME
 doesn't help either.

 My working config:
 http://pastebin.com/m1f302bc1

 Are there any other settings to explore for controlling incoming
 messages?



 --
 kriko







 --
 kriko






Kannel to Kannel Meta-Data problem

2009-02-12 Thread Ishtiaq Ahmed

hi Guyz,



Been working over the forwarding of the SMS from one Kannel to another 
Kannel, using the kannel http smsc  here are the configs



*KANNEL BOX 1*

group = smsc
smsc = http
smsc-id = SomeNetwork
system-type = kannel
smsc-username = ooober
smsc-password = ooober
send-url = http://*KANNELBOX2*:13131/cgi-bin/sendsms;
connect-allow-ip = *.*.*.*
port = 13125
allowed-smsc-id = SomeNetwork



group = sms-service
keyword-regex = somekeyword
max-messages = 0
accepted-smsc= SomeNetwork
get-url = 
http://SERVER:8080/applicationcontext/receivemsg.htm?sender=%ptext=%ashortcode=%PoperatorId=%oprice=%Osmscid=%imeta-data=%D;



*KANNEL BOX 2*
group = sms-service
keyword-regex = somekeyword
max-messages = 0
#GET URL to send messages to APPLICATION
get-url = 
http://*KANNELBOX1*:13125/sms?username=oooberpassword=oooberfrom=%pto=%Ptext=%ameta-data=%D;

accepted-smsc = SomeNetwork




Everything is fine But Kannel Box 1 while sending the message to 
SERVER does not send meta-data tag with it %D has no value...




Regards,


Ishtiaq Ahmed



Re: Receiving sms

2009-02-12 Thread Alvaro Cornejo


There might be someone who uses nSeries phones. I don't know nokia
phones but it should have a way to set that feature... maybe there is
another command to do that.

Have you tried nokia forums?

Regards

On Thu, 2009-02-12 at 16:47 +0100, kriko wrote:
 I was afraid of that.
 I tried on n95 an n73, both doesn't support CNMI.
 
 Thanks for clarifying!
 
 On Thu, 12 Feb 2009 16:42:51 +0100, Alvaro Cornejo cornejo.alv...@gmail.com 
 wrote:
 
  Hi
 
  You need to set your phone to forward incoming messages to kannel.
 
  What phone do you use? You should use AT+CNMI= command to define
  that. Check your modem at manual for more info
 
  as a tip:
 
  For Sony  K510a:  init-string = AT+CNMI=2,3,0,1,0;+CMEE=1
  For Sony  T610:  init-string = AT+CNMI=2,3,0,0,0;+CMEE=1
  For Sony  T68:  init-string = AT+CNMI=3,1,2,0,0;+CMEE=1
  For  Enfora 1218: init-string = AT+CNMI=2,1,2,1,0; +CMEE=2
 
 
  as a sidenote: CMEE=1/2 is for enable modem error verbose. might not
  work with some modems
 
  Hope Helps
 
 
 
  |-|
  Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
  celular y Nextel
  en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via
  SMS y GPRS online
   Visitenos en www.perusms.NET www.smsglobal.com.mx y
  www.pravcom.com
 
 
 
  On Thu, Feb 12, 2009 at 9:45 AM, kriko kristjan.ug...@gmail.com wrote:
  Default action like this?
 
  # Default service.
  group = sms-service
  keyword = default
  text = No services defined
 
 
  Is still cannot see received messages. Maybe it is gsm modem problem?  
  How
  does it pool
  the phone for new messages, it does that on keep-alive intervals?
 
  On Thu, 12 Feb 2009 15:21:25 +0100, Alvaro Cornejo
  cornejo.alv...@gmail.com wrote:
 
  You need to setup an smsuser and an action for the keyword or define
  an default action, then kannel will send MO to your app for processing
 
 
 
  |-|
  Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
  celular y Nextel
  en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via
  SMS y GPRS online
   Visitenos en www.perusms.NET www.smsglobal.com.mx y
  www.pravcom.com
 
 
 
  On Thu, Feb 12, 2009 at 9:15 AM, kriko kristjan.ug...@gmail.com  
  wrote:
 
  Hello!
 
  I'm using GSM modem for sending messages (nokia n95) and it works  
  great.
  Starting bearerbox and smsbox in debug mode 0 from 2 separate  
  consoles, I
  can see sms
  send requests, but no received messages.
 
  I would like to catch all incoming messages, tried sim-buffering and  
  my
  phone
  doesn't like it (Generic error: ERROR). Setting message storage to SM  
  or
  ME
  doesn't help either.
 
  My working config:
  http://pastebin.com/m1f302bc1
 
  Are there any other settings to explore for controlling incoming
  messages?
 
 
 
  --
  kriko
 
 
 
 
 
 
 
  --
  kriko
 
 
 
 
 
 
 




Fwd: Receiving sms

2009-02-12 Thread Pai Peng
hello,


I am searching for also how to use Nokia N-/E-x Handy for receiving incoming
SMS.

But I don't think there is any other AT-commands for CNMI. (I haven't find
one)


Regards,

Pai





On Thu, Feb 12, 2009 at 4:57 PM, Alvaro Cornejo cornejo.alv...@gmail.comwrote:



 There might be someone who uses nSeries phones. I don't know nokia
 phones but it should have a way to set that feature... maybe there is
 another command to do that.

 Have you tried nokia forums?

 Regards

 On Thu, 2009-02-12 at 16:47 +0100, kriko wrote:
  I was afraid of that.
  I tried on n95 an n73, both doesn't support CNMI.
 
  Thanks for clarifying!
 
  On Thu, 12 Feb 2009 16:42:51 +0100, Alvaro Cornejo 
 cornejo.alv...@gmail.com wrote:
 
   Hi
  
   You need to set your phone to forward incoming messages to kannel.
  
   What phone do you use? You should use AT+CNMI= command to define
   that. Check your modem at manual for more info
  
   as a tip:
  
   For Sony  K510a:  init-string = AT+CNMI=2,3,0,1,0;+CMEE=1
   For Sony  T610:  init-string = AT+CNMI=2,3,0,0,0;+CMEE=1
   For Sony  T68:  init-string = AT+CNMI=3,1,2,0,0;+CMEE=1
   For  Enfora 1218: init-string = AT+CNMI=2,1,2,1,0; +CMEE=2
  
  
   as a sidenote: CMEE=1/2 is for enable modem error verbose. might not
   work with some modems
  
   Hope Helps
  
  
  
  
 |-|
   Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
   celular y Nextel
   en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via
   SMS y GPRS online
Visitenos en www.perusms.NET www.smsglobal.com.mx y
   www.pravcom.com
  
  
  
   On Thu, Feb 12, 2009 at 9:45 AM, kriko kristjan.ug...@gmail.com
 wrote:
   Default action like this?
  
   # Default service.
   group = sms-service
   keyword = default
   text = No services defined
  
  
   Is still cannot see received messages. Maybe it is gsm modem problem?
   How
   does it pool
   the phone for new messages, it does that on keep-alive intervals?
  
   On Thu, 12 Feb 2009 15:21:25 +0100, Alvaro Cornejo
   cornejo.alv...@gmail.com wrote:
  
   You need to setup an smsuser and an action for the keyword or define
   an default action, then kannel will send MO to your app for
 processing
  
  
  
  
 |-|
   Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde
 cualquier
   celular y Nextel
   en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias
 via
   SMS y GPRS online
Visitenos en www.perusms.NET www.smsglobal.com.mx y
   www.pravcom.com
  
  
  
   On Thu, Feb 12, 2009 at 9:15 AM, kriko kristjan.ug...@gmail.com
   wrote:
  
   Hello!
  
   I'm using GSM modem for sending messages (nokia n95) and it works
   great.
   Starting bearerbox and smsbox in debug mode 0 from 2 separate
   consoles, I
   can see sms
   send requests, but no received messages.
  
   I would like to catch all incoming messages, tried sim-buffering and
   my
   phone
   doesn't like it (Generic error: ERROR). Setting message storage to
 SM
   or
   ME
   doesn't help either.
  
   My working config:
   http://pastebin.com/m1f302bc1
  
   Are there any other settings to explore for controlling incoming
   messages?
  
  
  
   --
   kriko
  
  
  
  
  
  
  
   --
   kriko
  
  
  
  
 
 
 





Re: alt-charset on HTTP SMSCs

2009-02-12 Thread Nii Ako Ampa-Sowa
The mclass switch isn't set. I forgot to mention I'm dealing with an
HTTP SMSC of type generic. The send-url interface for this is
extremely limited and basically only allows me to pass the following
parameters: from, to, msg

Is there any work around for applying a specific coding scheme to the
message?

Thanks,

Nii.

On Thu, 2009-02-12 at 16:01 +0100, Falko Ziemann wrote:
 Yeah, I think everyone had this problem once: when the mclass switch  
 is set, the alt-charset is ignored.
 
 Regards
 Falko
 
 Am 12.02.2009 um 15:39 schrieb Nii Ako Ampa-Sowa:
 
  Hello,
 
  Does anyone have experience with converting between different  
  character
  encoding schemes for HTTP SMSCs?
 
  Here's the scenario I'm facing: I receive messages via SMPP  
  interface in
  encoded as UCS-2. I need to send these messages out formatted as UTF-8
  to an HTTP SMSC.
 
  For some reason defining the alt-charset as UTF-8 (or anything else,  
  for
  that matter) doesn't seem to have an effect on what is sent out in the
  HTTP call. Does the alt-charset directive work with HTTP SMSCs?
 
  Any help will be greatly appreciated.
 
  Thanks,
 
  Nii.
 
 
 
 
 
-- 
Rancard Solutions Ltd
Web: www.rancardmobility.com
mobile: +233 24 987 9795
office: +233 28 952 9573




Re: Receiving sms

2009-02-12 Thread kriko

I found another phone - some old ericsoon and it supports CNMI, however I get 
this error
when a new message arrives:

---
2009-02-12 17:27:26 [6465] [6] DEBUG: AT2[/dev/rfcomm2]: -- 
2009-02-12 17:27:26 [6465] [6] DEBUG: AT2[/dev/rfcomm2]: -- +CMGS: 0
2009-02-12 17:27:26 [6465] [6] DEBUG: AT2[/dev/rfcomm2]: -- OK
2009-02-12 17:27:26 [6465] [6] DEBUG: AT2[/dev/rfcomm2]: send command status: 0
2009-02-12 17:27:31 [6465] [6] DEBUG: AT2[/dev/rfcomm2]: -- +CMT: 23
2009-02-12 17:27:31 [6465] [6] DEBUG: AT2[/dev/rfcomm2]: -- 
07918346011033F3040B918356312429F19020217172524004F4F29C0E
2009-02-12 17:27:31 [6465] [6] ERROR: AT2[/dev/rfcomm2]: got +CMT but 
pdu_extract failed
2009-02-12 17:27:34 [6465] [8] DEBUG: Dumping 0 messages to store
---

I used this init string:
init-string = AT+CNMI=2,3,2,0,0;+CMGF=0

CNMI is described in ericsson docs:
http://developer.sonyericsson.com/site/global/docstools/misc/p_misc.jsp
(Technical Docs  Training → Developers' Guidelines - AT Commands (5.50 MB))

but I'm not sure how to properly set up parameters.
Also phone seems to be T61 model, not sure.


On Thu, 12 Feb 2009 16:57:04 +0100, Alvaro Cornejo cornejo.alv...@gmail.com 
wrote:




There might be someone who uses nSeries phones. I don't know nokia
phones but it should have a way to set that feature... maybe there is
another command to do that.

Have you tried nokia forums?

Regards

On Thu, 2009-02-12 at 16:47 +0100, kriko wrote:

I was afraid of that.
I tried on n95 an n73, both doesn't support CNMI.

Thanks for clarifying!

On Thu, 12 Feb 2009 16:42:51 +0100, Alvaro Cornejo  
cornejo.alv...@gmail.com wrote:


 Hi

 You need to set your phone to forward incoming messages to kannel.

 What phone do you use? You should use AT+CNMI= command to define
 that. Check your modem at manual for more info

 as a tip:

 For Sony  K510a:  init-string = AT+CNMI=2,3,0,1,0;+CMEE=1
 For Sony  T610:  init-string = AT+CNMI=2,3,0,0,0;+CMEE=1
 For Sony  T68:  init-string = AT+CNMI=3,1,2,0,0;+CMEE=1
 For  Enfora 1218: init-string = AT+CNMI=2,1,2,1,0; +CMEE=2


 as a sidenote: CMEE=1/2 is for enable modem error verbose. might not
 work with some modems

 Hope Helps



  
|-|

 Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
 celular y Nextel
 en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via
 SMS y GPRS online
  Visitenos en www.perusms.NET www.smsglobal.com.mx y
 www.pravcom.com



 On Thu, Feb 12, 2009 at 9:45 AM, kriko kristjan.ug...@gmail.com  
wrote:

 Default action like this?

 # Default service.
 group = sms-service
 keyword = default
 text = No services defined


 Is still cannot see received messages. Maybe it is gsm modem problem?
 How
 does it pool
 the phone for new messages, it does that on keep-alive intervals?

 On Thu, 12 Feb 2009 15:21:25 +0100, Alvaro Cornejo
 cornejo.alv...@gmail.com wrote:

 You need to setup an smsuser and an action for the keyword or define
 an default action, then kannel will send MO to your app for  
processing




  
|-|
 Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde  
cualquier

 celular y Nextel
 en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias  
via

 SMS y GPRS online
  Visitenos en www.perusms.NET www.smsglobal.com.mx y
 www.pravcom.com



 On Thu, Feb 12, 2009 at 9:15 AM, kriko kristjan.ug...@gmail.com
 wrote:

 Hello!

 I'm using GSM modem for sending messages (nokia n95) and it works
 great.
 Starting bearerbox and smsbox in debug mode 0 from 2 separate
 consoles, I
 can see sms
 send requests, but no received messages.

 I would like to catch all incoming messages, tried sim-buffering  
and

 my
 phone
 doesn't like it (Generic error: ERROR). Setting message storage to  
SM

 or
 ME
 doesn't help either.

 My working config:
 http://pastebin.com/m1f302bc1

 Are there any other settings to explore for controlling incoming
 messages?



 --
 kriko







 --
 kriko













--
kriko





Re: send sms to application on specific port on phone

2009-02-12 Thread Nikos Balkanas

Thanks, Falco.

Always a pleasure to learn a few new tricks ;-)
- Original Message - 
From: Falko Ziemann fal...@gmail.com

To: Nikos Balkanas nbalka...@gmail.com; mariellagali...@libero.it
Cc: users@kannel.org
Sent: Thursday, February 12, 2009 9:51 AM
Subject: Re: send sms to application on specific port on phone



Sorry Nikos, this time you are wrong.
Mariella, You can send SMS to a specified port. But this is not  
defined inside kannel. You have to set a special UDH. Inside the UDH a  
Port can be specified. But I currently don't find the specification  
for it in my archives. Please google a little bit, try searching for  
UDH, Port and Smart Messaging. And when you find something, please  
post it to the list.


Regards
Falko

Am 12.02.2009 um 01:03 schrieb Nikos Balkanas:


Hi Mariella,

What you describe is not possible. It is not even a kannel issue.  
PPG is sent as a binary SMS. It follows the same route as regular  
SMS. From bearerbox it is delivered to an SMSc and from there to the  
mobile. Therefore the SMSc is responsible for delivering the content  
to the mobile. This happens according to the SMS spec and is not  
configurable.


BR,
Nikos
- Original Message - From: mariellagali...@libero.it
To: users@kannel.org
Sent: Wednesday, February 11, 2009 12:21 PM
Subject: send sms to application on specific port on phone


Hi everyone, I have installed kannel and i sended successfully  
simple sms and
wap push sms to my nokia phone. Now i would send with kannel a sms  
(simple or
wap push) to a midlet installed on my phone on port 5. What i  
must specifed

in file.conf and where? Thanks in advance..
Mariella...









Re: Receiving sms

2009-02-12 Thread Alvaro Cornejo
Try init string with only cnmi commad, kannel tests if the modem support
pdu format if so, set it that way.

Attach log of modem init to see what kannel detects on your modem

add:

log-file = /var/log/kannel/modem.log
log-level = 0

to your smsc=at config so you have a separate log for the modem
connection



On Thu, 2009-02-12 at 17:33 +0100, kriko wrote:
 obal/docstools/mi




Messages not being forwarded

2009-02-12 Thread Mads N. Vestergaard

Hi There,

We have just compiled 1.4.3 from source.

We are trying to received messages from a Siemens MC35, and it seems  
to work fine:


2009-02-12 19:24:41 [2695] [6] DEBUG: AT2[4550503111]: --  
07916437109901F0240A9154240721279020219142734004D4F29C0E
2009-02-12 19:24:41 [2695] [6] DEBUG: AT2[4550503111]: received  
message from SMSC: +
2009-02-12 19:24:41 [2695] [6] DEBUG: AT2[4550503111]: Numeric sender  
(international) +
2009-02-12 19:24:41 [2695] [6] DEBUG: AT2[4550503111]: User data  
length read as (4)
2009-02-12 19:24:41 [2695] [6] DEBUG: AT2[4550503111]: Udh decoding  
done len=4 udhi=0 udhlen=0 udh=''


But it is never being forwarded to the url.

my sms-service config:

group = sms-service
keyword = default
get-url = http://hostname.dk/service?sender=%ptext=%r;
accept-x-kannel-headers = true
max-messages = 3
concatenation = true

In the log I can see:
2009-02-12 19:31:25 [4557] [15] DEBUG: Dumping 14 messages to store


What could be causing these issues ?



..
Med venlig hilsen / Best Regards
Mads N. Vestergaard
Teknisk ansvarlig / CTO CoolSMS

www.coolsms.com
Phone:  +45 7026 1272
Fax:+45 7630 1046
Mobile: +45 4270 1272
This email and any files transmitted with it are confidential and  
intended solely for the use of the individual or entity to whom they  
are addressed. If you have received this email in error please notify  
the system manager. This message contains confidential information and  
is intended only for the individual named. If you are not the named  
addressee you should not disseminate, distribute or copy this e-mail.  
Please notify the sender immediately by e-mail if you have received  
this e-mail by mistake and delete this e-mail from your system. If you  
are not the intended recipient you are notified that disclosing,  
copying, distributing or taking any action in reliance on the contents  
of this information is strictly prohibited.





Re: Messages not being forwarded

2009-02-12 Thread Nikos Balkanas
Hi,

Try catch-all = true in your sms-service. If this doesn't work please post 
the message you are trying to send and detailed smsbox logs.

BR,
Nikos
  - Original Message - 
  From: Mads N. Vestergaard 
  To: Kannel Users 
  Sent: Thursday, February 12, 2009 8:33 PM
  Subject: Messages not being forwarded


  Hi There,


  We have just compiled 1.4.3 from source.


  We are trying to received messages from a Siemens MC35, and it seems to work 
fine:


  2009-02-12 19:24:41 [2695] [6] DEBUG: AT2[4550503111]: -- 
07916437109901F0240A9154240721279020219142734004D4F29C0E
  2009-02-12 19:24:41 [2695] [6] DEBUG: AT2[4550503111]: received message from 
SMSC: +
  2009-02-12 19:24:41 [2695] [6] DEBUG: AT2[4550503111]: Numeric sender 
(international) +
  2009-02-12 19:24:41 [2695] [6] DEBUG: AT2[4550503111]: User data length read 
as (4)
  2009-02-12 19:24:41 [2695] [6] DEBUG: AT2[4550503111]: Udh decoding done 
len=4 udhi=0 udhlen=0 udh=''


  But it is never being forwarded to the url.


  my sms-service config:


  group = sms-service
  keyword = default
  get-url = http://hostname.dk/service?sender=%ptext=%r;
  accept-x-kannel-headers = true
  max-messages = 3
  concatenation = true


  In the log I can see:
  2009-02-12 19:31:25 [4557] [15] DEBUG: Dumping 14 messages to store




  What could be causing these issues ?





.. 
Med venlig hilsen / Best Regards 
   
Mads N. Vestergaard 
Teknisk ansvarlig / CTO CoolSMS 
   
www.coolsms.com 
Phone: +45 7026 1272 
Fax: +45 7630 1046 
Mobile: +45 4270 1272 

  This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed. If 
you have received this email in error please notify the system manager. This 
message contains confidential information and is intended only for the 
individual named. If you are not the named addressee you should not 
disseminate, distribute or copy this e-mail. Please notify the sender 
immediately by e-mail if you have received this e-mail by mistake and delete 
this e-mail from your system. If you are not the intended recipient you are 
notified that disclosing, copying, distributing or taking any action in 
reliance on the contents of this information is strictly prohibited.




HELP! Patent claim! Can we use an alternate protocol?

2009-02-12 Thread David
Hello,

Us users of SMS Shortcodes are getting hit in the US for violating a patent by 
TCS Inc.  The patent claims to cover: 
A gateway, comprising: a first communication path to accept a short message 
from a mobile device; a translation module to insert said short message into an 
Hypertext Transfer Protocol (HTTP) message; a second communication path to push 
said HTTP message to at least one Universal Resource Locator (URL); and a 
return communication path to receive a return message relating to said HTTP 
message.

The patent goes on to mention a whole bunch of stuff, ie, using HTTP POST to 
send the http message, etc.

I just got out of a meeting with my lawyer.  He says, the only way to get 
around this is to NOT use HTTP.  

Over the weekend, I tried to use the sms-service using EXEC instead of GET-URL, 
which worked fine... and then the server crashed... i'm guessing too many 
spawned processes?

My question to you all is:  how can we NOT use HTTP but have the same end 
result?  ideally, it would use a command-line exec, but push it into a waiting 
server, instead of spawning a new thread.  Does anybody have any ideas on how 
to do this?

Thank you very much,

David




  

Re: Invalid PDU mode parameter error

2009-02-12 Thread Bogus Bill

Nikos:

I just downloaded and compiled per the instructions...I don't remember
having any difficulties.  It's version 1.4.1, though.

I have scoured the web looking for ways to diagnose Error 304, but all I
know is it's an Invalid PDU Parameter.  I seem to cross the threshold when
my reply message exceeds 125 characters.  The limit for single SMS messages
is 160, and I'm well below that.

I'd like to be able to figure out what the PDU Parameters are and how to
distinguish the Invalid one.  The only setting I send to the modem is in
my modem group:

group = modems
id = sierra_881U
name = Sierra Wireless AirCard 881U
detect-string = Sierra Wireless Inc.
init-string = AT+CNMI=1,2,0,1,0

For my test, I am sending a string of asterisks from my web page in response
to an MO text message.  As long as my message is shorter than 126,
everything works great.  However, I need to send longer messages.

Bill Rigdon



Nikos Balkanas wrote:
 
 Hi,
 
 I guess the right direction would be to call the place you bought it, or 
 sierra wireless and ask them what error 304 means.
 
 Meanwhile a question: How were you able to compile kannel on Cygwin? last
 I 
 know of it doesn't because of some issues Cygwin has with thread locking. 
 Are these corrected? At what version?
 
 BR,
 Nikos
 
 

-- 
View this message in context: 
http://www.nabble.com/Invalid-PDU-mode-parameter-error-tp21926828p21982905.html
Sent from the Kannel - User mailing list archive at Nabble.com.




Re: Messages not being forwarded

2009-02-12 Thread Mads N. Vestergaard

Hi Nikos,

catch-all is set to true:

group = sms-service
catch-all = true
keyword = default
get-url = http://hostname.dk/?sender=%ptext=%r;
accept-x-kannel-headers = true
max-messages = 3
concatenation = true

Log:

== /var/log/kannel/4550503111.log ==
2009-02-12 20:24:54 [10740] [6] DEBUG: AT2[4550503111]: -- 
2009-02-12 20:24:54 [10740] [6] DEBUG: AT2[4550503111]: -- +CMGS: 1
2009-02-12 20:24:54 [10740] [6] DEBUG: AT2[4550503111]: -- OK
2009-02-12 20:24:54 [10740] [6] DEBUG: AT2[4550503111]: send command  
status: 0

2009-02-12 20:24:54 [10740] [6] DEBUG: AT2[4550503111]: -- +CMT: ,22
2009-02-12 20:24:54 [10740] [6] DEBUG: AT2[4550503111]: --  
06915404939099040A9154050513119020210242354004D4F29C0E
2009-02-12 20:24:54 [10740] [6] DEBUG: AT2[4550503111]: received  
message from SMSC: +xx
2009-02-12 20:24:54 [10740] [6] DEBUG: AT2[4550503111]: Numeric sender  
(international) +XX
2009-02-12 20:24:54 [10740] [6] DEBUG: AT2[4550503111]: User data  
length read as (4)
2009-02-12 20:24:54 [10740] [6] DEBUG: AT2[4550503111]: Udh decoding  
done len=4 udhi=0 udhlen=0 udh=''

2009-02-12 20:24:54 [10740] [6] WARNING: smsbox_list empty!
2009-02-12 20:24:54 [10740] [6] DEBUG: AT2[4550503111]: -- AT+CNMA^M
2009-02-12 20:24:54 [10740] [6] DEBUG: AT2[4550503111]: -- OK
2009-02-12 20:24:58 [10740] [6] DEBUG: AT2[4550503111]: -- AT^M
2009-02-12 20:24:58 [10740] [6] DEBUG: AT2[4550503111]: -- OK
2009-02-12 20:25:02 [10740] [6] DEBUG: AT2[4550503111]: -- AT^M
2009-02-12 20:25:02 [10740] [6] DEBUG: AT2[4550503111]: -- OK

== /var/log/kannel/bearerbox.log ==
2009-02-12 20:25:03 [10740] [15] DEBUG: Dumping 19 messages to store

I did send the message Test to the modem

Still nothing happens.

Nothing is beeing wrote to the smsbox.log


..
Med venlig hilsen / Best Regards
Mads N. Vestergaard
Teknisk ansvarlig / CTO CoolSMS

www.coolsms.com
Phone:  +45 7026 1272
Fax:+45 7630 1046
Mobile: +45 4270 1272
This email and any files transmitted with it are confidential and  
intended solely for the use of the individual or entity to whom they  
are addressed. If you have received this email in error please notify  
the system manager. This message contains confidential information and  
is intended only for the individual named. If you are not the named  
addressee you should not disseminate, distribute or copy this e-mail.  
Please notify the sender immediately by e-mail if you have received  
this e-mail by mistake and delete this e-mail from your system. If you  
are not the intended recipient you are notified that disclosing,  
copying, distributing or taking any action in reliance on the contents  
of this information is strictly prohibited.



Den 12/02/2009 kl. 19.57 skrev Nikos Balkanas:


Hi,

Try catch-all = true in your sms-service. If this doesn't work  
please post the message you are trying to send and detailed smsbox  
logs.


BR,
Nikos
- Original Message -
From: Mads N. Vestergaard
To: Kannel Users
Sent: Thursday, February 12, 2009 8:33 PM
Subject: Messages not being forwarded

Hi There,

We have just compiled 1.4.3 from source.

We are trying to received messages from a Siemens MC35, and it seems  
towork fine:


2009-02-12 19:24:41 [2695] [6] DEBUG: AT2[4550503111]: --  
07916437109901F0240A9154240721279020219142734004D4F29C0E
2009-02-12 19:24:41 [2695] [6] DEBUG: AT2[4550503111]: received  
message from SMSC: +
2009-02-12 19:24:41 [2695] [6] DEBUG: AT2[4550503111]: Numeric  
sender (international) +
2009-02-12 19:24:41 [2695] [6] DEBUG: AT2[4550503111]: User data  
length read as (4)
2009-02-12 19:24:41 [2695] [6] DEBUG: AT2[4550503111]: Udh decoding  
done len=4 udhi=0 udhlen=0 udh=''


But it is never being forwarded to the url.

my sms-service config:

group = sms-service
keyword = default
get-url = http://hostname.dk/service?sender=%ptext=%r;
accept-x-kannel-headers = true
max-messages = 3
concatenation = true

In the log I can see:
2009-02-12 19:31:25 [4557] [15] DEBUG: Dumping 14 messages to store


What could be causing these issues ?



..
Med venlig hilsen / Best Regards
Mads N. Vestergaard
Teknisk ansvarlig / CTO CoolSMS

www.coolsms.com
Phone:  +45 7026 1272
Fax:+45 7630 1046
Mobile: +45 4270 1272
This email and any files transmitted with it are confidential and  
intended solely for the use of the individual or entity to whom they  
are addressed. If you have received this email in error please  
notify the system manager. This message contains confidential  
information and is intended only for the individual named. If you  
are not the named addressee you should not disseminate, distribute  
or copy this e-mail. Please notify the sender immediately by e-mail  
if you have received this e-mail by mistake and delete this e-mail  
from your system. If you are not the intended recipient you are  
notified that disclosing, copying, distributing or taking any action  
in reliance on 

Re: HELP! Patent claim! Can we use an alternate protocol?

2009-02-12 Thread Nikos Balkanas
Hi,

You probably have a problem in your exec code. Since it is a different process 
it doesn't affect kannel and only the server or its target. Mind posting it?

BR,
Nikos
  - Original Message - 
  From: David 
  To: users@kannel.org 
  Sent: Thursday, February 12, 2009 9:00 PM
  Subject: HELP! Patent claim! Can we use an alternate protocol?


Hello,

Us users of SMS Shortcodes are getting hit in the US for violating a 
patent by TCS Inc.  The patent claims to cover: 
A gateway, comprising: a first communication path to accept a short 
message from a mobile device; a translation module to insert said short message 
into an Hypertext Transfer Protocol (HTTP) message; a second communication path 
to push said HTTP message to at least one Universal Resource Locator (URL); and 
a return communication path to receive a return message relating to said HTTP 
message.

The patent goes on to mention a whole bunch of stuff, ie, using HTTP 
POST to send the http message, etc.

I just got out of a meeting with my lawyer.  He says, the only way to 
get around this is to NOT use HTTP.  

Over the weekend, I tried to use the sms-service using EXEC instead of 
GET-URL, which worked fine... and then the server crashed... i'm guessing too 
many spawned processes?

My question to you all is:  how can we NOT use HTTP but have the same 
end result?  ideally, it would use a command-line exec, but push it into a 
waiting server, instead of spawning a new thread.  Does anybody have any ideas 
on how to do this?

Thank you very much,

David

   



Re: send sms to application on specific port on phone

2009-02-12 Thread Falko Ziemann

;-)

And now I found the real trick in my archives:
The UDH has to be 060504
where  is the destination- and  is the source-port in hex.

You can find the technical details in GSM 03.40 specification Chapter  
9.2.3.24.3 Application Port Addressing 8 bit address


Regards
Falko

Am 12.02.2009 um 17:37 schrieb Nikos Balkanas:


Thanks, Falco.

Always a pleasure to learn a few new tricks ;-)
- Original Message - From: Falko Ziemann fal...@gmail.com
To: Nikos Balkanas nbalka...@gmail.com;  
mariellagali...@libero.it

Cc: users@kannel.org
Sent: Thursday, February 12, 2009 9:51 AM
Subject: Re: send sms to application on specific port on phone



Sorry Nikos, this time you are wrong.
Mariella, You can send SMS to a specified port. But this is not   
defined inside kannel. You have to set a special UDH. Inside the  
UDH a  Port can be specified. But I currently don't find the  
specification  for it in my archives. Please google a little bit,  
try searching for  UDH, Port and Smart Messaging. And when you find  
something, please  post it to the list.

Regards
Falko
Am 12.02.2009 um 01:03 schrieb Nikos Balkanas:

Hi Mariella,

What you describe is not possible. It is not even a kannel issue.   
PPG is sent as a binary SMS. It follows the same route as regular   
SMS. From bearerbox it is delivered to an SMSc and from there to  
the  mobile. Therefore the SMSc is responsible for delivering the  
content  to the mobile. This happens according to the SMS spec and  
is not  configurable.


BR,
Nikos
- Original Message - From: mariellagali...@libero.it
To: users@kannel.org
Sent: Wednesday, February 11, 2009 12:21 PM
Subject: send sms to application on specific port on phone


Hi everyone, I have installed kannel and i sended successfully   
simple sms and
wap push sms to my nokia phone. Now i would send with kannel a  
sms  (simple or
wap push) to a midlet installed on my phone on port 5. What  
i  must specifed

in file.conf and where? Thanks in advance..
Mariella...










Re: Receiving sms

2009-02-12 Thread Alvaro Cornejo
you might need to test other values for CNMI...

I passed the PDU to http://twit88.com/home/utility/sms-pdu-encode-decode

and it decoded Ok

Can you post your kannel conf?

Also, note that the doc from sony regarding AT commands is generic and
not all phones support the same commads/parameters. See my examples
for CNMI for diferent sony phones



|-|
Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
celular y Nextel
en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via
SMS y GPRS online
  Visitenos en www.perusms.NET www.smsglobal.com.mx y
www.pravcom.com



On Thu, Feb 12, 2009 at 12:03 PM, kriko kristjan.ug...@gmail.com wrote:
 I've attached shots from ericsson document, without init-string it doesn't
 detect incoming message at all.
 Modem log also attached.

 With CNMI=2,3,2,0,0 I get this:

 2009-02-12 18:02:15 [7581] [6] DEBUG: AT2[/dev/rfcomm2]: --
 07918346011033F3040B918346413493F69020218120014004D6F29C0E
 2009-02-12 18:02:15 [7581] [6] ERROR: AT2[/dev/rfcomm2]: got +CMT but
 pdu_extract failed

 Following this mail:
 http://osdir.com/ml/mobile.kannel.user/2003-08/msg00135.html

 seems I get PDU message as intended


 On Thu, 12 Feb 2009 17:50:29 +0100, Alvaro Cornejo
 cornejo.alv...@gmail.com wrote:

 Try init string with only cnmi commad, kannel tests if the modem support
 pdu format if so, set it that way.

 Attach log of modem init to see what kannel detects on your modem

 add:

 log-file = /var/log/kannel/modem.log
 log-level = 0

 to your smsc=at config so you have a separate log for the modem
 connection



 On Thu, 2009-02-12 at 17:33 +0100, kriko wrote:

 obal/docstools/mi




 --
 kriko





Re: HELP! Patent claim! Can we use an alternate protocol?

2009-02-12 Thread Falko Ziemann

Hi,

I have never used this module, but very much of the users here did it:  
won't sqlbox solve your problem? Insert the message into a database  
and get it out of the database. No http and a fine, tested and  
supported module...


Regards
Falko

OffTopicIt is so much unbeliveable what you can claim a patent for  
and that US courts even enforce them/Offtopic

Am 12.02.2009 um 20:39 schrieb Nikos Balkanas:


Hi,

You probably have a problem in your exec code. Since it is a  
different process it doesn't affect kannel and only the server or  
its target. Mind posting it?


BR,
Nikos
- Original Message -
From: David
To: users@kannel.org
Sent: Thursday, February 12, 2009 9:00 PM
Subject: HELP! Patent claim! Can we use an alternate protocol?

Hello,

Us users of SMS Shortcodes are getting hit in the US for violating a  
patent by TCS Inc.  The patent claims to cover:
A gateway, comprising: a first communication path to accept a short  
message from a mobile device; a translation module to insert said  
short message into an Hypertext Transfer Protocol (HTTP) message; a  
second communication path to push said HTTP message to at least one  
Universal Resource Locator (URL); and a return communication path to  
receive a return message relating to said HTTP message.


The patent goes on to mention a whole bunch of stuff, ie, using HTTP  
POST to send the http message, etc.


I just got out of a meeting with my lawyer.  He says, the only way  
to get around this is to NOT use HTTP.


Over the weekend, I tried to use the sms-service using EXEC instead  
of GET-URL, which worked fine... and then the server crashed... i'm  
guessing too many spawned processes?


My question to you all is:  how can we NOT use HTTP but have the  
same end result?  ideally, it would use a command-line exec, but  
push it into a waiting server, instead of spawning a new thread.   
Does anybody have any ideas on how to do this?


Thank you very much,

David







Re: Messages not being forwarded

2009-02-12 Thread Nikos Balkanas
Hi,

Logs tell your story. It seems that you have not defined an smsbox in your 
configuration. Therefore, no routing to your sms-service and no smsbox-logs.

BR,
Nikos
  - Original Message - 
  From: Mads N. Vestergaard 
  To: Kannel Users 
  Sent: Thursday, February 12, 2009 9:26 PM
  Subject: Re: Messages not being forwarded


  Hi Nikos,


  catch-all is set to true:


  group = sms-service
  catch-all = true
  keyword = default
  get-url = http://hostname.dk/?sender=%ptext=%r;
  accept-x-kannel-headers = true
  max-messages = 3
  concatenation = true


  Log:


  == /var/log/kannel/4550503111.log ==
  2009-02-12 20:24:54 [10740] [6] DEBUG: AT2[4550503111]: -- 
  2009-02-12 20:24:54 [10740] [6] DEBUG: AT2[4550503111]: -- +CMGS: 1
  2009-02-12 20:24:54 [10740] [6] DEBUG: AT2[4550503111]: -- OK
  2009-02-12 20:24:54 [10740] [6] DEBUG: AT2[4550503111]: send command status: 0
  2009-02-12 20:24:54 [10740] [6] DEBUG: AT2[4550503111]: -- +CMT: ,22
  2009-02-12 20:24:54 [10740] [6] DEBUG: AT2[4550503111]: -- 
06915404939099040A9154050513119020210242354004D4F29C0E
  2009-02-12 20:24:54 [10740] [6] DEBUG: AT2[4550503111]: received message from 
SMSC: +xx
  2009-02-12 20:24:54 [10740] [6] DEBUG: AT2[4550503111]: Numeric sender 
(international) +XX
  2009-02-12 20:24:54 [10740] [6] DEBUG: AT2[4550503111]: User data length read 
as (4)
  2009-02-12 20:24:54 [10740] [6] DEBUG: AT2[4550503111]: Udh decoding done 
len=4 udhi=0 udhlen=0 udh=''
  2009-02-12 20:24:54 [10740] [6] WARNING: smsbox_list empty!
  2009-02-12 20:24:54 [10740] [6] DEBUG: AT2[4550503111]: -- AT+CNMA^M
  2009-02-12 20:24:54 [10740] [6] DEBUG: AT2[4550503111]: -- OK
  2009-02-12 20:24:58 [10740] [6] DEBUG: AT2[4550503111]: -- AT^M
  2009-02-12 20:24:58 [10740] [6] DEBUG: AT2[4550503111]: -- OK
  2009-02-12 20:25:02 [10740] [6] DEBUG: AT2[4550503111]: -- AT^M
  2009-02-12 20:25:02 [10740] [6] DEBUG: AT2[4550503111]: -- OK


  == /var/log/kannel/bearerbox.log ==
  2009-02-12 20:25:03 [10740] [15] DEBUG: Dumping 19 messages to store


  I did send the message Test to the modem


  Still nothing happens.


  Nothing is beeing wrote to the smsbox.log



.. 
Med venlig hilsen / Best Regards 
   
Mads N. Vestergaard 
Teknisk ansvarlig / CTO CoolSMS 
   
www.coolsms.com 
Phone: +45 7026 1272 
Fax: +45 7630 1046 
Mobile: +45 4270 1272 

  This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed. If 
you have received this email in error please notify the system manager. This 
message contains confidential information and is intended only for the 
individual named. If you are not the named addressee you should not 
disseminate, distribute or copy this e-mail. Please notify the sender 
immediately by e-mail if you have received this e-mail by mistake and delete 
this e-mail from your system. If you are not the intended recipient you are 
notified that disclosing, copying, distributing or taking any action in 
reliance on the contents of this information is strictly prohibited.



  Den 12/02/2009 kl. 19.57 skrev Nikos Balkanas:


Hi,

Try catch-all = true in your sms-service. If this doesn't work please 
post the message you are trying to send and detailed smsbox logs.

BR,
Nikos
  - Original Message -
  From: Mads N. Vestergaard
  To: Kannel Users
  Sent: Thursday, February 12, 2009 8:33 PM
  Subject: Messages not being forwarded


  Hi There,


  We have just compiled 1.4.3 from source.


  We are trying to received messages from a Siemens MC35, and it seems to   
 work fine:


  2009-02-12 19:24:41 [2695] [6] DEBUG: AT2[4550503111]: -- 
07916437109901F0240A9154240721279020219142734004D4F29C0E
  2009-02-12 19:24:41 [2695] [6] DEBUG: AT2[4550503111]: received message 
from SMSC: +
  2009-02-12 19:24:41 [2695] [6] DEBUG: AT2[4550503111]: Numeric sender 
(international) +
  2009-02-12 19:24:41 [2695] [6] DEBUG: AT2[4550503111]: User data length 
read as (4)
  2009-02-12 19:24:41 [2695] [6] DEBUG: AT2[4550503111]: Udh decoding done 
len=4 udhi=0 udhlen=0 udh=''


  But it is never being forwarded to the url.


  my sms-service config:


  group = sms-service
  keyword = default
  get-url = http://hostname.dk/service?sender=%ptext=%r;
  accept-x-kannel-headers = true
  max-messages = 3
  concatenation = true


  In the log I can see:
  2009-02-12 19:31:25 [4557] [15] DEBUG: Dumping 14 messages to store




  What could be causing these issues ?





.. 
Med venlig hilsen / Best Regards 
   
Mads N. Vestergaard 
Teknisk ansvarlig / CTO CoolSMS 
   
www.coolsms.com 
Phone: +45 7026 1272 

Re: Messages not being forwarded

2009-02-12 Thread Mads N. Vestergaard

Hi Nikos,

For the record, the full config, including smsbox definition:

group = core
admin-port = 13000
admin-password = xx
status-password = xx
admin-deny-ip = *.*.*.*
admin-allow-ip = 127.0.0.1;xx.xx.xx.xx
smsbox-port = 13001
wapbox-port = 13002
wdp-interface-name = *
log-file = /var/log/kannel/bearerbox.log
log-level = 0
box-deny-ip = *.*.*.*
box-allow-ip = 127.0.0.1;xx.xx.xx.xx
dlr-storage = mysql
store-file = /var/lib/kannel/store
sms-resend-freq = 60
sms-resend-retry = 10

group = wapbox
bearerbox-host = localhost
log-file = /var/log/kannel/wapbox.log

group = smsbox
smsbox-id = smsbox
bearerbox-host = 127.0.0.1
sendsms-port = 13003
log-file = /var/log/kannel/smsbox.log
access-log = /var/log/kannel/access.log
immediate-sendsms-reply = true
reply-emptymessage = 

group = mysql-connection
id = dlrdb
host = dbserver
username = dbuser
password = dbpass
database = db
max-connections = 1

group = dlr-db
id = dlrdb
table = kannel_dlr_modem
field-smsc = smsc
field-timestamp = ts
field-source = `from`
field-destination = `to`
field-service = service
field-url = url
field-mask = mask
field-status = status
field-boxc-id = boxc


# SMSCs
group = smsc
smsc = at
smsc-id = 4550503111
allowed-smsc-id = 4550503111
device = telnet
modemtype = mc35
host = 192.168.1.241
port = 7014
my-number = 4550503111
preferred-smsc-id = MC35
keepalive = 2
alt-dcs = 1
log-file = /var/log/kannel/4550503111.log
log-level = 0

# MODEM Configuration
group = modems
id = mc35
name = mc35
detect-string = SIEMENS
detect-string2 = MC35
init-string = AT+CNMI=3,2,0,1,1
enable-hwhs = AT\\Q3
need-sleep = true
speed = 57600

# Default SMS Service
group = sms-service
catch-all = true
keyword = default
get-url = http://hostname.dk/?sender=%ptext=%r;
accept-x-kannel-headers = true
max-messages = 3
concatenation = true
accepted-smsc   = 4550503111


# user
group = sendsms-user
username = user
password = password
concatenation = true
max-messages = 10


..
Med venlig hilsen / Best Regards
Mads N. Vestergaard
Teknisk ansvarlig / CTO CoolSMS

www.coolsms.com
Phone:  +45 7026 1272
Fax:+45 7630 1046
Mobile: +45 4270 1272
This email and any files transmitted with it are confidential and  
intended solely for the use of the individual or entity to whom they  
are addressed. If you have received this email in error please notify  
the system manager. This message contains confidential information and  
is intended only for the individual named. If you are not the named  
addressee you should not disseminate, distribute or copy this e-mail.  
Please notify the sender immediately by e-mail if you have received  
this e-mail by mistake and delete this e-mail from your system. If you  
are not the intended recipient you are notified that disclosing,  
copying, distributing or taking any action in reliance on the contents  
of this information is strictly prohibited.



Den 12/02/2009 kl. 21.43 skrev Nikos Balkanas:


Hi,

Logs tell your story. It seems that you have not defined an smsbox  
in your configuration. Therefore, no routing to your sms-service and  
no smsbox-logs.


BR,
Nikos
- Original Message -
From: Mads N. Vestergaard
To: Kannel Users
Sent: Thursday, February 12, 2009 9:26 PM
Subject: Re: Messages not being forwarded

Hi Nikos,

catch-all is set to true:

group = sms-service
catch-all = true
keyword = default
get-url = http://hostname.dk/?sender=%ptext=%r;
accept-x-kannel-headers = true
max-messages = 3
concatenation = true

Log:

== /var/log/kannel/4550503111.log ==
2009-02-12 20:24:54 [10740] [6] DEBUG: AT2[4550503111]: -- 
2009-02-12 20:24:54 [10740] [6] DEBUG: AT2[4550503111]: -- +CMGS: 1
2009-02-12 20:24:54 [10740] [6] DEBUG: AT2[4550503111]: -- OK
2009-02-12 20:24:54 [10740] [6] DEBUG: AT2[4550503111]: send command  
status: 0

2009-02-12 20:24:54 [10740] [6] DEBUG: AT2[4550503111]: -- +CMT: ,22
2009-02-12 20:24:54 [10740] [6] DEBUG: AT2[4550503111]: --  
06915404939099040A9154050513119020210242354004D4F29C0E
2009-02-12 20:24:54 [10740] [6] DEBUG: AT2[4550503111]: received  
message from SMSC: +xx
2009-02-12 20:24:54 [10740] [6] DEBUG: AT2[4550503111]: Numeric  
sender (international) +XX
2009-02-12 20:24:54 [10740] [6] DEBUG: AT2[4550503111]: User data  
length read as (4)
2009-02-12 20:24:54 [10740] [6] DEBUG: AT2[4550503111]: Udh decoding  
done len=4 udhi=0 udhlen=0 udh=''

2009-02-12 20:24:54 [10740] [6] WARNING: smsbox_list empty!
2009-02-12 20:24:54 [10740] [6] DEBUG: AT2[4550503111]: -- AT+CNMA^M
2009-02-12 20:24:54 [10740] [6] DEBUG: AT2[4550503111]: -- OK
2009-02-12 20:24:58 [10740] [6] DEBUG: AT2[4550503111]: -- AT^M
2009-02-12 20:24:58 [10740] [6] DEBUG: AT2[4550503111]: -- OK
2009-02-12 20:25:02 [10740] [6] DEBUG: AT2[4550503111]: -- AT^M
2009-02-12 20:25:02 [10740] [6] DEBUG: AT2[4550503111]: -- OK

== /var/log/kannel/bearerbox.log ==
2009-02-12 20:25:03 [10740] [15] DEBUG: Dumping 19 messages to store

I did send the message Test to the modem

Still 

Re: Messages not being forwarded

2009-02-12 Thread Nikos Balkanas
Are you sure smsbox is running? smsbox-list is empty means that bbox thinks 
there is no smsbox. Maybe your smsbox-id smsbox is causing problems.

Kill all kannel processes. From a shell type:

bearerbox -v 0 confifile

In another shell repeat:

smsbox -v 0 conffile

If both get up, please run your test.
Post all your logs (bearerbox + smslog).

BR,
Nikos
  - Original Message - 
  From: Mads N. Vestergaard 
  To: Kannel Users 
  Sent: Thursday, February 12, 2009 10:51 PM
  Subject: Re: Messages not being forwarded


  Hi Nikos,


  For the record, the full config, including smsbox definition:


  group = core
  admin-port = 13000
  admin-password = xx
  status-password = xx
  admin-deny-ip = *.*.*.*
  admin-allow-ip = 127.0.0.1;xx.xx.xx.xx
  smsbox-port = 13001
  wapbox-port = 13002
  wdp-interface-name = *
  log-file = /var/log/kannel/bearerbox.log
  log-level = 0
  box-deny-ip = *.*.*.*
  box-allow-ip = 127.0.0.1;xx.xx.xx.xx
  dlr-storage = mysql
  store-file = /var/lib/kannel/store
  sms-resend-freq = 60
  sms-resend-retry = 10


  group = wapbox
  bearerbox-host = localhost
  log-file = /var/log/kannel/wapbox.log


  group = smsbox
  smsbox-id = smsbox
  bearerbox-host = 127.0.0.1
  sendsms-port = 13003
  log-file = /var/log/kannel/smsbox.log
  access-log = /var/log/kannel/access.log
  immediate-sendsms-reply = true
  reply-emptymessage = 


  group = mysql-connection
  id = dlrdb
  host = dbserver
  username = dbuser
  password = dbpass
  database = db
  max-connections = 1


  group = dlr-db
  id = dlrdb
  table = kannel_dlr_modem
  field-smsc = smsc
  field-timestamp = ts
  field-source = `from`
  field-destination = `to`
  field-service = service
  field-url = url
  field-mask = mask
  field-status = status
  field-boxc-id = boxc




  # SMSCs
  group = smsc
  smsc = at
  smsc-id = 4550503111
  allowed-smsc-id = 4550503111
  device = telnet
  modemtype = mc35
  host = 192.168.1.241
  port = 7014
  my-number = 4550503111
  preferred-smsc-id = MC35
  keepalive = 2
  alt-dcs = 1
  log-file = /var/log/kannel/4550503111.log
  log-level = 0


  # MODEM Configuration
  group = modems
  id = mc35
  name = mc35
  detect-string = SIEMENS
  detect-string2 = MC35
  init-string = AT+CNMI=3,2,0,1,1
  enable-hwhs = AT\\Q3
  need-sleep = true
  speed = 57600


  # Default SMS Service
  group = sms-service
  catch-all = true
  keyword = default
  get-url = http://hostname.dk/?sender=%ptext=%r;
  accept-x-kannel-headers = true
  max-messages = 3
  concatenation = true
  accepted-smsc   = 4550503111




  # user
  group = sendsms-user
  username = user
  password = password
  concatenation = true
  max-messages = 10



.. 
Med venlig hilsen / Best Regards 
   
Mads N. Vestergaard 
Teknisk ansvarlig / CTO CoolSMS 
   
www.coolsms.com 
Phone: +45 7026 1272 
Fax: +45 7630 1046 
Mobile: +45 4270 1272 

  This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed. If 
you have received this email in error please notify the system manager. This 
message contains confidential information and is intended only for the 
individual named. If you are not the named addressee you should not 
disseminate, distribute or copy this e-mail. Please notify the sender 
immediately by e-mail if you have received this e-mail by mistake and delete 
this e-mail from your system. If you are not the intended recipient you are 
notified that disclosing, copying, distributing or taking any action in 
reliance on the contents of this information is strictly prohibited.



  Den 12/02/2009 kl. 21.43 skrev Nikos Balkanas:


Hi,

Logs tell your story. It seems that you have not defined an smsbox in your 
configuration. Therefore, no routing to your sms-service and no smsbox-logs.

BR,
Nikos
  - Original Message -
  From: Mads N. Vestergaard
  To: Kannel Users
  Sent: Thursday, February 12, 2009 9:26 PM
  Subject: Re: Messages not being forwarded


  Hi Nikos,


  catch-all is set to true:


  group = sms-service
  catch-all = true
  keyword = default
  get-url = http://hostname.dk/?sender=%ptext=%r;
  accept-x-kannel-headers = true
  max-messages = 3
  concatenation = true


  Log:


  == /var/log/kannel/4550503111.log ==
  2009-02-12 20:24:54 [10740] [6] DEBUG: AT2[4550503111]: -- 
  2009-02-12 20:24:54 [10740] [6] DEBUG: AT2[4550503111]: -- +CMGS: 1
  2009-02-12 20:24:54 [10740] [6] DEBUG: AT2[4550503111]: -- OK
  2009-02-12 20:24:54 [10740] [6] DEBUG: AT2[4550503111]: send command 
status: 0
  2009-02-12 20:24:54 [10740] [6] DEBUG: AT2[4550503111]: -- +CMT: ,22
  2009-02-12 20:24:54 [10740] [6] DEBUG: AT2[4550503111]: -- 
06915404939099040A9154050513119020210242354004D4F29C0E
  2009-02-12 20:24:54 [10740] [6] 

Re: HELP! Patent claim! Can we use an alternate protocol?

2009-02-12 Thread David
my php script is this really, really long php script that controls all
logic in our company.  my concern is that having 10+ running copies of
the php script (vs being handled by apache which probably does a better
job of managing overhead) caused the server to crash (or kannel to be
unresponsive.  the command i had is:

exec = /var/www/vhosts/.../httpdocs/exec.php msg=%a phone=%p shortcod
e=%P operatorid=%o metadata=%D /dev/null 21

now looking at it, if I add a  to the end, would that fix it as it detaches 
the process? ie: 
exec = /var/www/vhosts/.../httpdocs/exec.php msg=%a phone=%p shortcode=%P 
operatorid=%o metadata=%D /dev/null 21 

--- On Thu, 2/12/09, Nikos Balkanas nbalka...@gmail.com wrote:
From: Nikos Balkanas nbalka...@gmail.com
Subject: Re: HELP! Patent claim! Can we use an alternate protocol?
To: dbw1...@yahoo.com, users@kannel.org
Date: Thursday, February 12, 2009, 1:39 PM



 
 

Hi,
 
You probably have a problem in your exec code. Since it is a 
different process it doesn't affect kannel and only the server or its target. 
Mind posting it?
 
BR,
Nikos

  - Original Message - 
  From: 
  David 
  To: users@kannel.org 
  Sent: Thursday, February 12, 2009 9:00 
  PM
  Subject: HELP! Patent claim! Can we use 
  an alternate protocol?
  

  


  Hello,

Us users of SMS Shortcodes are getting hit 
in the US for violating a patent by TCS Inc.  The patent claims to 
cover: 
A gateway, comprising: a first communication path to accept 
a short message from a mobile device; a translation module to insert 
said short message into an Hypertext Transfer Protocol (HTTP) message; 
a 
second communication path to push said HTTP message to at least one 
Universal Resource Locator (URL); and a return communication path to 
receive a return message relating to said HTTP message.

The 
patent goes on to mention a whole bunch of stuff, ie, using HTTP POST 
to 
send the http message, etc.

I just got out of a meeting with my 
lawyer.  He says, the only way to get around this is to NOT use 
HTTP.  

Over the weekend, I tried to use the sms-service 
using EXEC instead of GET-URL, which worked fine... and then the server 
crashed... i'm guessing too many spawned processes?

My question 
to you all is:  how can we NOT use HTTP but have the same end 
result?  ideally, it would use a command-line exec, but push it 
into a waiting server, instead of spawning a new thread.  Does 
anybody have any ideas on how to do this?

Thank you very 
much,

David





  

Re: HELP! Patent claim! Can we use an alternate protocol?

2009-02-12 Thread seikath
Hi David,

Falko gave the solution - use sqlbox for internal communication.

Anyway, I'd love to know more of this like patent ID etc.
In short, I have my doubts that they will claim violation.
In short you do use http as internal communication INSIDE your boxes.
HTTP is NOT used to receive MO traffic from mobile devices.
The SMPP/OtherProtocols are used to communicate with mobile operators SMSC.
the SMPP protocol DOES not send short text messages at all ..:)

These people claims sound not serious to me at all.
So relax a bit :)
hint: the exec module has its issues with escaping non usual characters...

I could be wrong, but they have to prove something non even existing ...

cheers

David wrote:
 Hello,
 
 Us users of SMS Shortcodes are getting hit in the US for violating a
 patent by TCS Inc.  The patent claims to cover:
 A gateway, comprising: a first communication path to accept a short
 message from a mobile device; a translation module to insert said short
 message into an Hypertext Transfer Protocol (HTTP) message; a second
 communication path to push said HTTP message to at least one Universal
 Resource Locator (URL); and a return communication path to receive a
 return message relating to said HTTP message.
 
 The patent goes on to mention a whole bunch of stuff, ie, using HTTP
 POST to send the http message, etc.
 
 I just got out of a meeting with my lawyer.  He says, the only way to
 get around this is to NOT use HTTP. 
 
 Over the weekend, I tried to use the sms-service using EXEC instead of
 GET-URL, which worked fine... and then the server crashed... i'm
 guessing too many spawned processes?
 
 My question to you all is:  how can we NOT use HTTP but have the same
 end result?  ideally, it would use a command-line exec, but push it into
 a waiting server, instead of spawning a new thread.  Does anybody have
 any ideas on how to do this?
 
 Thank you very much,
 
 David
 
 



Re: HELP! Patent claim! Can we use an alternate protocol?

2009-02-12 Thread Nikos Balkanas
Hi,

What happens, if it is a really long script, is that you tie up Kannel for too 
long. Since it is in essence single-threaded, this will make it apparently 
unresponsive. But this is so, only until your script exits. I think it would be 
an excellent idea to send in the background. Please try it.

BR,
Nikos
  - Original Message - 
  From: David 
  To: users@kannel.org ; Nikos Balkanas 
  Sent: Thursday, February 12, 2009 11:43 PM
  Subject: Re: HELP! Patent claim! Can we use an alternate protocol?


my php script is this really, really long php script that controls all 
logic in our company.  my concern is that having 10+ running copies of the php 
script (vs being handled by apache which probably does a better job of managing 
overhead) caused the server to crash (or kannel to be unresponsive.  the 
command i had is:

exec = /var/www/vhosts/.../httpdocs/exec.php msg=%a phone=%p shortcod\
e=%P operatorid=%o metadata=%D /dev/null 21

now looking at it, if I add a  to the end, would that fix it as it 
detaches the process? ie, 
exec = /var/www/vhosts/.../httpdocs/exec.php msg=%a phone=%p shortcod\
e=%P operatorid=%o metadata=%D /dev/null 21 

--- On Thu, 2/12/09, Nikos Balkanas nbalka...@gmail.com wrote:

  From: Nikos Balkanas nbalka...@gmail.com
  Subject: Re: HELP! Patent claim! Can we use an alternate protocol?
  To: dbw1...@yahoo.com, users@kannel.org
  Date: Thursday, February 12, 2009, 1:39 PM


  Hi,

  You probably have a problem in your exec code. Since it is a 
different process it doesn't affect kannel and only the server or its target. 
Mind posting it?

  BR,
  Nikos
- Original Message - 
From: David 
To: users@kannel.org 
Sent: Thursday, February 12, 2009 9:00 PM
Subject: HELP! Patent claim! Can we use an alternate protocol?


  Hello,

  Us users of SMS Shortcodes are getting hit in the US for 
violating a patent by TCS Inc.  The patent claims to cover: 
  A gateway, comprising: a first communication path to accept 
a short message from a mobile device; a translation module to insert said short 
message into an Hypertext Transfer Protocol (HTTP) message; a second 
communication path to push said HTTP message to at least one Universal Resource 
Locator (URL); and a return communication path to receive a return message 
relating to said HTTP message.

  The patent goes on to mention a whole bunch of stuff, ie, 
using HTTP POST to send the http message, etc.

  I just got out of a meeting with my lawyer.  He says, the 
only way to get around this is to NOT use HTTP.  

  Over the weekend, I tried to use the sms-service using EXEC 
instead of GET-URL, which worked fine... and then the server crashed... i'm 
guessing too many spawned processes?

  My question to you all is:  how can we NOT use HTTP but have 
the same end result?  ideally, it would use a command-line exec, but push it 
into a waiting server, instead of spawning a new thread.  Does anybody have any 
ideas on how to do this?

  Thank you very much,

  David

 

   



Re: Sending messages via url stuck

2009-02-12 Thread Monim Benaiad
I didn't see your configuration, but I think the port is 13003 instead of
13001.

Good Luck...

-
Abdulmnem Benaiad
Almontaha ICT Co.


On Thu, Feb 12, 2009 at 12:59 PM, kriko kristjan.ug...@gmail.com wrote:

 Hello! I've got a N95 from which I can send messages in such way:
 AT+CMGF=1
 AT+CMGS=##

 Now, I've configure kannel in this way:
 http://pastebin.com/m735918b9

 but when I try to send a message via URL:

 http://localhost:13001/cgi-bin/sendsms?username=userpassword=sendto=041443396text=ping

 I just get:
 2009-02-12 11:56:25 [26139] [5] INFO: Client connected from 127.0.0.1

 and here it gets stuck. It doesn't send a message and it doesn't respond to
 the client.
 Did I miss something while configuring?

 Device is initialized and working, no errors in log.

 --
 Kristjan Ugrin



Re: Sending messages via url stuck

2009-02-12 Thread kriko

I already fixed that, thanks.

On Thu, 12 Feb 2009 23:47:09 +0100, Monim Benaiad bena...@gmail.com wrote:


I didn't see your configuration, but I think the port is 13003 instead of
13001.

Good Luck...

-
Abdulmnem Benaiad
Almontaha ICT Co.


On Thu, Feb 12, 2009 at 12:59 PM, kriko kristjan.ug...@gmail.com wrote:


Hello! I've got a N95 from which I can send messages in such way:
AT+CMGF=1
AT+CMGS=##

Now, I've configure kannel in this way:
http://pastebin.com/m735918b9

but when I try to send a message via URL:

http://localhost:13001/cgi-bin/sendsms?username=userpassword=sendto=041443396text=ping

I just get:
2009-02-12 11:56:25 [26139] [5] INFO: Client connected from 127.0.0.1

and here it gets stuck. It doesn't send a message and it doesn't  
respond to

the client.
Did I miss something while configuring?

Device is initialized and working, no errors in log.

--
Kristjan Ugrin





--
kriko





Re: HELP! Patent claim! Can we use an alternate protocol?

2009-02-12 Thread Falko Ziemann

http://findarticles.com/p/articles/mi_pwwi/is_200804/ai_n25346966

The patent describes a means for triggering an Internet informational  
query or search using a simple text message originated from a cell  
phone or mobile device, and is widely used today for two-way premium  
messaging services.


Well, I didn't read the whole patent, but this really sounds like they  
should sue Google mobile (I would really love to see this), not you...


Regards
Falko

Am 12.02.2009 um 23:31 schrieb seikath:


Hi David,

Falko gave the solution - use sqlbox for internal communication.

Anyway, I'd love to know more of this like patent ID etc.
In short, I have my doubts that they will claim violation.
In short you do use http as internal communication INSIDE your boxes.
HTTP is NOT used to receive MO traffic from mobile devices.
The SMPP/OtherProtocols are used to communicate with mobile  
operators SMSC.

the SMPP protocol DOES not send short text messages at all ..:)

These people claims sound not serious to me at all.
So relax a bit :)
hint: the exec module has its issues with escaping non usual  
characters...


I could be wrong, but they have to prove something non even  
existing ...


cheers

David wrote:

Hello,

Us users of SMS Shortcodes are getting hit in the US for violating a
patent by TCS Inc.  The patent claims to cover:
A gateway, comprising: a first communication path to accept a short
message from a mobile device; a translation module to insert said  
short

message into an Hypertext Transfer Protocol (HTTP) message; a second
communication path to push said HTTP message to at least one  
Universal

Resource Locator (URL); and a return communication path to receive a
return message relating to said HTTP message.

The patent goes on to mention a whole bunch of stuff, ie, using HTTP
POST to send the http message, etc.

I just got out of a meeting with my lawyer.  He says, the only way to
get around this is to NOT use HTTP.

Over the weekend, I tried to use the sms-service using EXEC instead  
of

GET-URL, which worked fine... and then the server crashed... i'm
guessing too many spawned processes?

My question to you all is:  how can we NOT use HTTP but have the same
end result?  ideally, it would use a command-line exec, but push it  
into
a waiting server, instead of spawning a new thread.  Does anybody  
have

any ideas on how to do this?

Thank you very much,

David








Re: HELP! Patent claim! Can we use an alternate protocol?

2009-02-12 Thread Falko Ziemann

Uhh, found a even better one here:
http://www.cellitmarketing.com/blog/the-tcs-patent-dispute-cellits-viewpoint/

As many of you know, TeleCommunication Systems, Inc. is currently  
pursuing legal actions against many players in the mobile space.

(bla bla)
It is Cellit’s belief this patent claim is without merit.
Freely available software, namely Kannel (available at Kannel.org),  
enables this exact type of interaction (conversion of MOs into web  
requests) and has been available since 1999.  While I am not a lawyer,  
it is my belief the existence of Kannel in 1999 constitutes “prior  
art” and thus nullifies TCS’s 2000 and 2005 patent claims.


Am 12.02.2009 um 23:56 schrieb Falko Ziemann:


http://findarticles.com/p/articles/mi_pwwi/is_200804/ai_n25346966

The patent describes a means for triggering an Internet  
informational query or search using a simple text message originated  
from a cell phone or mobile device, and is widely used today for two- 
way premium messaging services.


Well, I didn't read the whole patent, but this really sounds like  
they should sue Google mobile (I would really love to see this), not  
you...


Regards
Falko

Am 12.02.2009 um 23:31 schrieb seikath:


Hi David,

Falko gave the solution - use sqlbox for internal communication.

Anyway, I'd love to know more of this like patent ID etc.
In short, I have my doubts that they will claim violation.
In short you do use http as internal communication INSIDE your boxes.
HTTP is NOT used to receive MO traffic from mobile devices.
The SMPP/OtherProtocols are used to communicate with mobile  
operators SMSC.

the SMPP protocol DOES not send short text messages at all ..:)

These people claims sound not serious to me at all.
So relax a bit :)
hint: the exec module has its issues with escaping non usual  
characters...


I could be wrong, but they have to prove something non even  
existing ...


cheers

David wrote:

Hello,

Us users of SMS Shortcodes are getting hit in the US for violating a
patent by TCS Inc.  The patent claims to cover:
A gateway, comprising: a first communication path to accept a short
message from a mobile device; a translation module to insert said  
short

message into an Hypertext Transfer Protocol (HTTP) message; a second
communication path to push said HTTP message to at least one  
Universal

Resource Locator (URL); and a return communication path to receive a
return message relating to said HTTP message.

The patent goes on to mention a whole bunch of stuff, ie, using HTTP
POST to send the http message, etc.

I just got out of a meeting with my lawyer.  He says, the only way  
to

get around this is to NOT use HTTP.

Over the weekend, I tried to use the sms-service using EXEC  
instead of

GET-URL, which worked fine... and then the server crashed... i'm
guessing too many spawned processes?

My question to you all is:  how can we NOT use HTTP but have the  
same
end result?  ideally, it would use a command-line exec, but push  
it into
a waiting server, instead of spawning a new thread.  Does anybody  
have

any ideas on how to do this?

Thank you very much,

David










Re: HELP! Patent claim! Can we use an alternate protocol?

2009-02-12 Thread seikath
it ups to the handler you call with exec, the system resources you posses ...
in case you dont experience high loads exec is acceptable as short term solution
otherwise, use sqlbox, or, what about XML POST ?:)

i do parallel processing of MO traffic with invoking php script from kernel 
inotify.h
in short when xml file is being moved to a directory, i spawn php script like 
this one
/usr/bin/nohup ${php} ${loopScript} ${key} PAYMENT ${filename} 

so far i have no issues, but for this particular service the max load is like
40 MO messages in same time, which is nothing.
i measure the load level before the each new process start ...

in case you have high load peaks,
1. make sure you know what will happen when the execution of the php scrip 
fails.
2. make sure you control the level of the box load ... do not let kannel crash 
the box :)
with processes the box cant handle.

last thing - do not let these people change your way of work ...
well its your call anyway :)

cheers


David wrote:
 Thanks!
 Does anybody know if EXEC can handle large loads if we spawn new
 processes (with the  at the end of the command?)  this seems to be our
 short term solution
 
 thanks
  
 
 --- On *Thu, 2/12/09, Falko Ziemann /fal...@gmail.com/* wrote:
 
 From: Falko Ziemann fal...@gmail.com
 Subject: Re: HELP! Patent claim! Can we use an alternate protocol?
 To: dbw1...@yahoo.com
 Cc: seikath seik...@gmail.com, users@kannel.org User
 users@kannel.org
 Date: Thursday, February 12, 2009, 5:02 PM
 
 Uhh, found a even better one here:
 
 http://www.cellitmarketing.com/blog/the-tcs-patent-dispute-cellits-viewpoint/
 
 As many of you know, TeleCommunication Systems, Inc. is currently
 pursuing legal actions against many players in the mobile space.
 (bla bla)
 It is Cellit’s belief this patent claim is without merit. 
 
 Freely available software, namely Kannel (available at Kannel.org),
 enables this exact type of interaction (conversion of MOs into web
 requests) and has been available since 1999.  While I am not a
 lawyer, it is my belief the existence of Kannel in 1999 constitutes
 “prior art” and thus nullifies TCS’s 2000 and 2005 patent claims.
 
 
 Am 12.02.2009 um 23:56 schrieb Falko Ziemann:
 
 http://findarticles.com/p/articles/mi_pwwi/is_200804/ai_n25346966

 The patent describes a means for triggering an Internet
 informational query or search using a simple text message
 originated from a cell phone or mobile device, and is widely used
 today for two-way premium messaging services.

 Well, I didn't read the whole patent, but this really sounds like
 they should sue Google mobile (I would really love to see this),
 not you...

 Regards
 Falko

 Am 12.02.2009 um 23:31 schrieb seikath:

 Hi David,

 Falko gave the solution - use sqlbox for internal communication.

 Anyway, I'd love to know more of this like patent ID etc.
 In short, I have my doubts that they will claim violation.
 In short you do use http as internal communication INSIDE your boxes.
 HTTP is NOT used to receive MO traffic from mobile devices.
 The SMPP/OtherProtocols are used to communicate with mobile
 operators SMSC.
 the SMPP protocol DOES not send short text messages at all ..:)

 These people claims sound not serious to me at all.
 So relax a bit :)
 hint: the exec module has its issues with escaping non usual
 characters...

 I could be wrong, but they have to prove something non even
 existing ...

 cheers

 David wrote:
 Hello,

 Us users of SMS Shortcodes are getting hit in the US for violating a
 patent by TCS Inc.  The patent claims to cover:
 A gateway, comprising: a first communication path to accept a short
 message from a mobile device; a translation module to insert
 said short
 message into an Hypertext Transfer Protocol (HTTP) message; a second
 communication path to push said HTTP message to at least one
 Universal
 Resource Locator (URL); and a return communication path to receive a
 return message relating to said HTTP message.

 The patent goes on to mention a whole bunch of stuff, ie, using HTTP
 POST to send the http message, etc.

 I just got out of a meeting with my lawyer.  He says, the only
 way to
 get around this is to NOT use HTTP.

 Over the weekend, I tried to use the sms-service using EXEC
 instead of
 GET-URL, which worked fine... and then the server crashed... i'm
 guessing too many spawned processes?

 My question to you all is:  how can we NOT use HTTP but have the
 same
 end result?  ideally, it would use a command-line exec, but push
 it into
 a waiting server, instead of spawning a new thread.  Does
 anybody have
 any ideas on how to do this?

 Thank you very much,

 David




 
 



Re: HELP! Patent claim! Can we use an alternate protocol?

2009-02-12 Thread Nikos Balkanas
Great! You put David's lawyer to shame. I hope that they realize that sueing 
kannel's users, they run in a case that they end up sueing themselves :-)

BR,
Nikos
  - Original Message - 
  From: Falko Ziemann 
  To: dbw1...@yahoo.com 
  Cc: seikath ; users@kannel.org User 
  Sent: Friday, February 13, 2009 1:02 AM
  Subject: Re: HELP! Patent claim! Can we use an alternate protocol?


  Uhh, found a even better one here:
  http://www.cellitmarketing.com/blog/the-tcs-patent-dispute-cellits-viewpoint/


  As many of you know, TeleCommunication Systems, Inc. is currently pursuing 
legal actions against many players in the mobile space.
  (bla bla)
  It is Cellit’s belief this patent claim is without merit. 
  Freely available software, namely Kannel (available at Kannel.org), enables 
this exact type of interaction (conversion of MOs into web requests) and has 
been available since 1999.  While I am not a lawyer, it is my belief the 
existence of Kannel in 1999 constitutes “prior art” and thus nullifies TCS’s 
2000 and 2005 patent claims.




  Am 12.02.2009 um 23:56 schrieb Falko Ziemann:


http://findarticles.com/p/articles/mi_pwwi/is_200804/ai_n25346966


The patent describes a means for triggering an Internet informational 
query or search using a simple text message originated from a cell phone or 
mobile device, and is widely used today for two-way premium messaging services.


Well, I didn't read the whole patent, but this really sounds like they 
should sue Google mobile (I would really love to see this), not you...


Regards
Falko


Am 12.02.2009 um 23:31 schrieb seikath:


  Hi David,

  Falko gave the solution - use sqlbox for internal communication.

  Anyway, I'd love to know more of this like patent ID etc.
  In short, I have my doubts that they will claim violation.
  In short you do use http as internal communication INSIDE your boxes.
  HTTP is NOT used to receive MO traffic from mobile devices.
  The SMPP/OtherProtocols are used to communicate with mobile operators 
SMSC.
  the SMPP protocol DOES not send short text messages at all ..:)

  These people claims sound not serious to me at all.
  So relax a bit :)
  hint: the exec module has its issues with escaping non usual characters...

  I could be wrong, but they have to prove something non even existing ...

  cheers

  David wrote:

Hello,



Us users of SMS Shortcodes are getting hit in the US for violating a

patent by TCS Inc.  The patent claims to cover:

A gateway, comprising: a first communication path to accept a short

message from a mobile device; a translation module to insert said short

message into an Hypertext Transfer Protocol (HTTP) message; a second

communication path to push said HTTP message to at least one Universal

Resource Locator (URL); and a return communication path to receive a

return message relating to said HTTP message.



The patent goes on to mention a whole bunch of stuff, ie, using HTTP

POST to send the http message, etc.



I just got out of a meeting with my lawyer.  He says, the only way to

get around this is to NOT use HTTP. 



Over the weekend, I tried to use the sms-service using EXEC instead of

GET-URL, which worked fine... and then the server crashed... i'm

guessing too many spawned processes?



My question to you all is:  how can we NOT use HTTP but have the same

end result?  ideally, it would use a command-line exec, but push it into

a waiting server, instead of spawning a new thread.  Does anybody have

any ideas on how to do this?



Thank you very much,



David












Re: HELP! Patent claim! Can we use an alternate protocol?

2009-02-12 Thread Nikos Balkanas
Just an ounce of care. People can inject malicious code in the arguments, 
i.e.  Sender = 1234;rm -rf . that unless carefully quoted can lead to 
disaster.


BR,
Nikos
- Original Message - 
From: seikath seik...@gmail.com

To: dbw1...@yahoo.com
Cc: users@kannel.org
Sent: Friday, February 13, 2009 1:35 AM
Subject: Re: HELP! Patent claim! Can we use an alternate protocol?


it ups to the handler you call with exec, the system resources you posses 
...
in case you dont experience high loads exec is acceptable as short term 
solution

otherwise, use sqlbox, or, what about XML POST ?:)

i do parallel processing of MO traffic with invoking php script from 
kernel inotify.h
in short when xml file is being moved to a directory, i spawn php script 
like this one

/usr/bin/nohup ${php} ${loopScript} ${key} PAYMENT ${filename} 

so far i have no issues, but for this particular service the max load is 
like

40 MO messages in same time, which is nothing.
i measure the load level before the each new process start ...

in case you have high load peaks,
1. make sure you know what will happen when the execution of the php scrip 
fails.
2. make sure you control the level of the box load ... do not let kannel 
crash the box :)

with processes the box cant handle.

last thing - do not let these people change your way of work ...
well its your call anyway :)

cheers


David wrote:

Thanks!
Does anybody know if EXEC can handle large loads if we spawn new
processes (with the  at the end of the command?)  this seems to be our
short term solution

thanks


--- On *Thu, 2/12/09, Falko Ziemann /fal...@gmail.com/* wrote:

From: Falko Ziemann fal...@gmail.com
Subject: Re: HELP! Patent claim! Can we use an alternate protocol?
To: dbw1...@yahoo.com
Cc: seikath seik...@gmail.com, users@kannel.org User
users@kannel.org
Date: Thursday, February 12, 2009, 5:02 PM

Uhh, found a even better one here:

http://www.cellitmarketing.com/blog/the-tcs-patent-dispute-cellits-viewpoint/

As many of you know, TeleCommunication Systems, Inc. is currently
pursuing legal actions against many players in the mobile space.
(bla bla)
It is Cellit’s belief this patent claim is without merit.

Freely available software, namely Kannel (available at Kannel.org),
enables this exact type of interaction (conversion of MOs into web
requests) and has been available since 1999.  While I am not a
lawyer, it is my belief the existence of Kannel in 1999 constitutes
“prior art” and thus nullifies TCS’s 2000 and 2005 patent claims.


Am 12.02.2009 um 23:56 schrieb Falko Ziemann:


http://findarticles.com/p/articles/mi_pwwi/is_200804/ai_n25346966

The patent describes a means for triggering an Internet
informational query or search using a simple text message
originated from a cell phone or mobile device, and is widely used
today for two-way premium messaging services.

Well, I didn't read the whole patent, but this really sounds like
they should sue Google mobile (I would really love to see this),
not you...

Regards
Falko

Am 12.02.2009 um 23:31 schrieb seikath:


Hi David,

Falko gave the solution - use sqlbox for internal communication.

Anyway, I'd love to know more of this like patent ID etc.
In short, I have my doubts that they will claim violation.
In short you do use http as internal communication INSIDE your 
boxes.

HTTP is NOT used to receive MO traffic from mobile devices.
The SMPP/OtherProtocols are used to communicate with mobile
operators SMSC.
the SMPP protocol DOES not send short text messages at all ..:)

These people claims sound not serious to me at all.
So relax a bit :)
hint: the exec module has its issues with escaping non usual
characters...

I could be wrong, but they have to prove something non even
existing ...

cheers

David wrote:

Hello,

Us users of SMS Shortcodes are getting hit in the US for violating 
a

patent by TCS Inc.  The patent claims to cover:
A gateway, comprising: a first communication path to accept a 
short

message from a mobile device; a translation module to insert
said short
message into an Hypertext Transfer Protocol (HTTP) message; a 
second

communication path to push said HTTP message to at least one
Universal
Resource Locator (URL); and a return communication path to receive 
a

return message relating to said HTTP message.

The patent goes on to mention a whole bunch of stuff, ie, using 
HTTP

POST to send the http message, etc.

I just got out of a meeting with my lawyer.  He says, the only
way to
get around this is to NOT use HTTP.

Over the weekend, I tried to use the sms-service using EXEC
instead of
GET-URL, which worked fine... and then the server crashed... i'm
guessing too many spawned processes?

My question to you all is:  how can we NOT