Re: DLR´s with at smsc

2006-11-07 Thread Enver ALTIN
On Mon, 2006-11-06 at 22:47 -0600, Alvaro Cornejo wrote:
 Is it possible to receive dlrs when using an gsm modem to send sms?

According to the user guide, smsc=at does not support DLRs; but the code
in gw/smsc/smsc_at.c shows the opposite. So either we need the user
guide updated, or add some comments in the source file.

I believe DLRs should work with a GSM modem, but that also depends on
your network operator. They may have disabled it on their side.

 I´ve tried several configs on the phone but was unable to make the phone
 pass any dlr info back to kannel.

My rough guess is that your phone receives the DLR, tries to process it,
can't find an existing DLR record in memory and ignore. What's the model
of your phone?
-- 
.O.
..O   Enver ALTIN   |   http://enveraltin.com/
OOO   Software developer @ Parkyeri | http://www.parkyeri.com/


signature.asc
Description: This is a digitally signed message part


Weird submit_sm in kannel logs

2006-11-07 Thread Cavit Dolgun








Hi,



I am sending sms using sqlbox and kannel cvs-20061026 on
FC4. 



When I send a single sms using my php script it is ok but
when I insert more than one number using my php script to send bulk the submit_sm
pdu for all numbers except the last number is



2006-11-07 12:37:47 [29281] [6] DEBUG: SMPP PDU 0x846e1a8
dump:

2006-11-07 12:37:47 [29281] [6] DEBUG: type_name:
submit_sm

2006-11-07 12:37:47 [29281] [6] DEBUG: command_id:
4 = 0x0004

2006-11-07 12:37:47 [29281] [6] DEBUG: command_status:
0 = 0x

2006-11-07 12:37:47 [29281] [6] DEBUG: sequence_number:
62 = 0x003e

2006-11-07 12:37:47 [29281] [6] DEBUG: service_type:
NULL

2006-11-07 12:37:47 [29281] [6] DEBUG: source_addr_ton:
5 = 0x0005

2006-11-07 12:37:47 [29281] [6] DEBUG: source_addr_npi:
0 = 0x

2006-11-07 12:37:47 [29281] [6] DEBUG: source_addr:
test

2006-11-07 12:37:47 [29281] [6] DEBUG: dest_addr_ton:
2 = 0x0002

2006-11-07 12:37:47 [29281] [6] DEBUG: dest_addr_npi:
1 = 0x0001

2006-11-07 12:37:47 [29281] [6] DEBUG:
destination_addr:

2006-11-07 12:37:47 [29281] [6] DEBUG:
Octet string at 0x8472fe0:

2006-11-07 12:37:47 [29281] [6] DEBUG:
len: 14

2006-11-07 12:37:47 [29281] [6] DEBUG:
size: 15

2006-11-07 12:37:47 [29281] [6] DEBUG:
immutable: 0

2006-11-07 12:37:47 [29281] [6] DEBUG:
data: 39 36 36 35 30 38 38 38 32 33 31 31 0d 0a
966508882311.. - this number is
different for each submit

2006-11-07 12:37:47 [29281] [6] DEBUG:
Octet string dump ends.

2006-11-07 12:37:47 [29281] [6] DEBUG: esm_class:
3 = 0x0003

2006-11-07 12:37:47 [29281] [6] DEBUG: protocol_id:
0 = 0x

2006-11-07 12:37:47 [29281] [6] DEBUG: priority_flag:
0 = 0x

2006-11-07 12:37:47 [29281] [6] DEBUG: schedule_delivery_time:
NULL

2006-11-07 12:37:47 [29281] [6] DEBUG: validity_period:
NULL

2006-11-07 12:37:47 [29281] [6] DEBUG: registered_delivery:
1 = 0x0001

2006-11-07 12:37:47 [29281] [6] DEBUG: replace_if_present_flag:
0 = 0x

2006-11-07 12:37:47 [29281] [6] DEBUG: data_coding:
0 = 0x

2006-11-07 12:37:47 [29281] [6] DEBUG: sm_default_msg_id:
0 = 0x

2006-11-07 12:37:47 [29281] [6] DEBUG: sm_length:
7 = 0x0007

2006-11-07 12:37:47 [29281] [6] DEBUG: short_message:
testing

2006-11-07 12:37:47 [29281] [6] DEBUG: SMPP PDU dump ends.





Which then returns and invalid destination error from the
smsc.



A normal pdu should look like 



2006-11-07 12:37:47 [29281] [6] DEBUG:
destination_addr: 966508882311



I get the normal pdu for the last number that is submitted.

I checked the database the data entered in the sqlbox db is
ok.



Any ideas what may cause this kind of behaviour?





Thanks,



Cavit Dolgun












RE: Weird submit_sm in kannel logs

2006-11-07 Thread Cavit Dolgun










I think I got the answer.



When I was reading the numbers from the
text file line by line I think I was also getting the \0 or \n
at the end of the line which was causing kannel receive the number wrong. 



Although the data entered in the database
looked fine I think it was not actually right. I am still confused about this
but at least it is working now.



So if you are reading numbers from a text
file to send as bulk, make sure that the number you are getting is just the
number and not the \n or \0 included at the end.





Regards,



Cavit Dolgun









From: Cavit Dolgun
[mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 07, 2006
13:29
To: users@kannel.org
Subject: Weird submit_sm in kannel
logs





Hi,



I am sending sms using sqlbox and kannel cvs-20061026 on
FC4. 



When I send a single sms using my php script it is ok
but when I insert more than one number using my php script to send bulk the
submit_sm pdu for all numbers except the last number is



2006-11-07 12:37:47 [29281] [6] DEBUG: SMPP PDU 0x846e1a8
dump:

2006-11-07 12:37:47 [29281] [6] DEBUG:
type_name: submit_sm

2006-11-07 12:37:47 [29281] [6] DEBUG:
command_id: 4 = 0x0004

2006-11-07 12:37:47 [29281] [6] DEBUG:
command_status: 0 = 0x

2006-11-07 12:37:47 [29281] [6] DEBUG:
sequence_number: 62 = 0x003e

2006-11-07 12:37:47 [29281] [6] DEBUG: service_type:
NULL

2006-11-07 12:37:47 [29281] [6] DEBUG:
source_addr_ton: 5 = 0x0005

2006-11-07 12:37:47 [29281] [6] DEBUG:
source_addr_npi: 0 = 0x

2006-11-07 12:37:47 [29281] [6] DEBUG:
source_addr: test

2006-11-07 12:37:47 [29281] [6] DEBUG:
dest_addr_ton: 2 = 0x0002

2006-11-07 12:37:47 [29281] [6] DEBUG:
dest_addr_npi: 1 = 0x0001

2006-11-07 12:37:47 [29281] [6]
DEBUG: destination_addr:

2006-11-07 12:37:47 [29281] [6]
DEBUG: Octet string at 0x8472fe0:

2006-11-07 12:37:47 [29281] [6]
DEBUG: len: 14

2006-11-07 12:37:47 [29281] [6]
DEBUG: size: 15

2006-11-07 12:37:47 [29281] [6]
DEBUG: immutable: 0

2006-11-07 12:37:47 [29281] [6]
DEBUG: data: 39 36 36 35 30 38 38 38 32 33 31 31
0d 0a
966508882311.. - this number is
different for each submit

2006-11-07 12:37:47 [29281] [6]
DEBUG: Octet string dump ends.

2006-11-07 12:37:47 [29281] [6] DEBUG:
esm_class: 3 = 0x0003

2006-11-07 12:37:47 [29281] [6] DEBUG:
protocol_id: 0 = 0x

2006-11-07 12:37:47 [29281] [6] DEBUG:
priority_flag: 0 = 0x

2006-11-07 12:37:47 [29281] [6] DEBUG:
schedule_delivery_time: NULL

2006-11-07 12:37:47 [29281] [6] DEBUG:
validity_period: NULL

2006-11-07 12:37:47 [29281] [6] DEBUG:
registered_delivery: 1 = 0x0001

2006-11-07 12:37:47 [29281] [6] DEBUG:
replace_if_present_flag: 0 = 0x

2006-11-07 12:37:47 [29281] [6] DEBUG:
data_coding: 0 = 0x

2006-11-07 12:37:47 [29281] [6] DEBUG:
sm_default_msg_id: 0 = 0x

2006-11-07 12:37:47 [29281] [6] DEBUG:
sm_length: 7 = 0x0007

2006-11-07 12:37:47 [29281] [6] DEBUG:
short_message: testing

2006-11-07 12:37:47 [29281] [6] DEBUG: SMPP PDU dump ends.





Which then returns and invalid destination error from the
smsc.



A normal pdu should look like 



2006-11-07 12:37:47 [29281] [6]
DEBUG: destination_addr: 966508882311



I get the normal pdu for the last number that is submitted.

I checked the database the data entered in the sqlbox db is
ok.



Any ideas what may cause this kind of behaviour?





Thanks,



Cavit Dolgun












Re: 2nd Post: Sending SMS message to FakeSMSC

2006-11-07 Thread Mustafa Cayci
Hi Rodrigo,I am trying to do exactly what has shown in Figure 1-2 Logical position of SMS gateway between a phone and a content server in chapter 1 page 4 in Users Guide. My J2ME application in this case is the phone which has been depicted in that figure. As I said since I don't have the actual phone, I am using the emulator. So I am putting functionality as such that I can run that functionalty from the emulator to talk to SMSC. Why are you saying Kannel has nothing to do with this?
Thanks,MustafaOn 11/4/06, Rodrigo Cremaschi [EMAIL PROTECTED] wrote:
Hi Mustafa: Now it is clear what you are trying to do. But Kannel can't help
you because it sits at the other side of the line Service - Kannel - SMSC - Your phone What your application is trying to do (send an SMS from a J2ME
application) unfortunately has nothing to do with Kannel. I advise you to post your questiong to forum.java.sun.com. Best regards,Rodrigo.
On 11/4/06, Mustafa Cayci [EMAIL PROTECTED] wrote: I don't know what you're trying to achieve with that, what is MessageConnection and TextMessage is for and what library they are
 coming from so I can't speculate on that. I am using Java 2 Platform Micro Edition (J2ME) to write and deploy Java code in mobile devices.Since I don't have real mobile device, I am using
 Sun Java Wireless ToolKit (WTK) to emulate one.So the code sniplet in my previous email is a J2ME code and the libraries are from javax.microedition.io.*.Now my goal is to write a simple Java code and
 deploy to the WTK emulator that sends a SMS message to a SMSC.Can I use Kannel to do what I explained above? I don't want to use HTTP interface as shown below to send SMS message. That is not what I want to do.
 http://smsbox.host.name:13013/cgi-bin/sendsms?username=foopassword=barto=0123456text=Hello+world
 Regards, Mustafa On 11/3/06, Enver ALTIN [EMAIL PROTECTED] wrote:  On Fri, 2006-11-03 at 13:28 -0500, Mustafa Cayci wrote:
   Thanks Enver.I was playing with the   http://yourserver:sendsms-port/cgi-bin/sendsms. However, J2ME does not like the connection this is returning.I am
   getting java.lang.ClassCastException   [...]String address =   
http://138.1.117.234:13013/cgi-bin/sendsms?username=testerpassword=foobarto=0123456 ;   conn = (MessageConnection)Connector.open(address);   TextMessage txtmessage =
 (TextMessage)conn.newMessage(MessageConnection.TEXT_MESSAGE);   I don't know what you're trying to achieve with that, what is  MessageConnection and TextMessage is for and what library they are
  coming from so I can't speculate on that.   What I can tell is, if you click on the URL link above, Kannel should  receive an HTTP GET request via the sendsms CGI interface and process it
  appropriately.   -HTH  --  .O.  ..O Enver ALTIN | http://enveraltin.com/  OOO Software developer @ Parkyeri | 
http://www.parkyeri.com/   


Re: 2nd Post: Sending SMS message to FakeSMSC

2006-11-07 Thread Rodrigo Cremaschi

Hi Mustafa,

   Are you developing the content server too? That is where Kannel
comes into play. If this is the case, I would develop and test
separately the J2ME app. and the content server app. behind Kannel.

   Regards,

Rodrigo.

On 11/7/06, Mustafa Cayci [EMAIL PROTECTED] wrote:

Hi Rodrigo,

I am trying to do exactly what has shown in Figure 1-2 Logical position of
SMS gateway between a phone and a content server in chapter 1 page 4 in
Users Guide.   My J2ME application in this case is the phone which has
been depicted in that figure. As I said since I don't have the actual phone,
I am using the emulator.  So I am putting functionality as such that I can
run that functionalty from the emulator to talk to SMSC.  Why are you saying
Kannel has nothing to do with this?

Thanks,

Mustafa


On 11/4/06, Rodrigo Cremaschi [EMAIL PROTECTED] wrote:
 Hi Mustafa:

  Now it is clear what you are trying to do. But Kannel can't help
 you because it sits at the other side of the line

Service - Kannel - SMSC - Your phone

  What your application is trying to do (send an SMS from a J2ME
 application) unfortunately has nothing to do with Kannel.

  I advise you to post your questiong to forum.java.sun.com.

  Best regards,

 Rodrigo.

 On 11/4/06, Mustafa Cayci [EMAIL PROTECTED] wrote:
  I don't know what you're trying to achieve with that, what is
  MessageConnection and TextMessage is for and what library they are
  coming from so I can't speculate on that.
  I am using Java 2 Platform Micro Edition (J2ME) to write and deploy Java
  code in mobile devices.  Since I don't have real mobile device, I am
using
  Sun Java Wireless ToolKit (WTK) to emulate one.  So the code sniplet in
my
  previous email is a J2ME code and the libraries are from
  javax.microedition.io.*.  Now my goal is to write a simple Java code and
  deploy to the WTK emulator that sends a SMS message to a SMSC.  Can I
use
  Kannel to do what I explained above?
 
  I don't want to use HTTP interface as shown below to send SMS message.
  That is not what I want to do.
 
 
http://smsbox.host.name:13013/cgi-bin/sendsms?username=foopassword=barto=0123456text=Hello+world
 
  Regards,
 
  Mustafa
 
 
 
 
  On 11/3/06, Enver ALTIN [EMAIL PROTECTED] wrote:
   On Fri, 2006-11-03 at 13:28 -0500, Mustafa Cayci wrote:
Thanks Enver.  I was playing with the
http://yourserver:sendsms-port/cgi-bin/sendsms.
   
However, J2ME does not like the connection this is returning.  I am
getting java.lang.ClassCastException
  
   [...]
  
String address =
   
  
http://138.1.117.234:13013/cgi-bin/sendsms?username=testerpassword=foobarto=0123456
  ;
conn = (MessageConnection)Connector.open(address);
TextMessage txtmessage =
   
(TextMessage)conn.newMessage(MessageConnection.TEXT_MESSAGE);
  
   I don't know what you're trying to achieve with that, what is
   MessageConnection and TextMessage is for and what library they are
   coming from so I can't speculate on that.
  
   What I can tell is, if you click on the URL link above, Kannel should
   receive an HTTP GET request via the sendsms CGI interface and process
it
   appropriately.
  
   -HTH
   --
   .O.
   ..O   Enver ALTIN   |   http://enveraltin.com/
   OOO   Software developer @ Parkyeri | http://www.parkyeri.com/
  
  
  
 
 







Re: 2nd Post: Sending SMS message to FakeSMSC

2006-11-07 Thread Mustafa Cayci
Hi Rodrigo,Yes effectively, I am going to be developing the content server too. It should listen and service requests forwarded by Kannel. Please note the following post in forums.java.sun.com
. That is exactly what I am trying to do. If you have any insight on the BOLD, I would like to hear.


	bgoyanna
	




Posts:4
 
Registered: 3/17/02






Re: J2ME SMS sending



Mar 18, 2004 10:56 PM

	(reply 1 of 52)










	
	
	
	
	

	
	

 










Hi James,you cannot send a SMS directly
to a web page. When you send a SMS this message goes to a SMS-C (Short
Message Service Centre) then you need an TCP/IP application that
usually talks UCP or SMPP protocol to receive the message. You can use
one famous gateway called kannel http://www.kannel.org
to connect to a SMSC and receive the message. So this gateway will get
the SMS that you send and then you can configure it to forward to a
URL. Thanks,Mustafa
On 11/7/06, Rodrigo Cremaschi [EMAIL PROTECTED] wrote:
Hi Mustafa,Are you developing the content server too? That is where Kannelcomes into play. If this is the case, I would develop and testseparately the J2ME app. and the content server app. behind Kannel.
Regards,Rodrigo.On 11/7/06, Mustafa Cayci [EMAIL PROTECTED] wrote: Hi Rodrigo, I am trying to do exactly what has shown in Figure 1-2 Logical position of
 SMS gateway between a phone and a content server in chapter 1 page 4 in Users Guide. My J2ME application in this case is the phone which has been depicted in that figure. As I said since I don't have the actual phone,
 I am using the emulator.So I am putting functionality as such that I can run that functionalty from the emulator to talk to SMSC.Why are you saying Kannel has nothing to do with this?
 Thanks, Mustafa On 11/4/06, Rodrigo Cremaschi [EMAIL PROTECTED] wrote:  Hi Mustafa: 
 Now it is clear what you are trying to do. But Kannel can't help  you because it sits at the other side of the line  Service - Kannel - SMSC - Your phone
  What your application is trying to do (send an SMS from a J2ME  application) unfortunately has nothing to do with Kannel.  I advise you to post your questiong to 
forum.java.sun.com.  Best regards,   Rodrigo.   On 11/4/06, Mustafa Cayci 
[EMAIL PROTECTED] wrote:   I don't know what you're trying to achieve with that, what is   MessageConnection and TextMessage is for and what library they are   coming from so I can't speculate on that.
   I am using Java 2 Platform Micro Edition (J2ME) to write and deploy Java   code in mobile devices.Since I don't have real mobile device, I am using   Sun Java Wireless ToolKit (WTK) to emulate one.So the code sniplet in
 my   previous email is a J2ME code and the libraries are from   javax.microedition.io.*.Now my goal is to write a simple Java code and   deploy to the WTK emulator that sends a SMS message to a SMSC.Can I
 use   Kannel to do what I explained above? I don't want to use HTTP interface as shown below to send SMS message.   That is not what I want to do.
 http://smsbox.host.name:13013/cgi-bin/sendsms?username=foopassword=barto=0123456text=Hello+world
 Regards, Mustafa   On 11/3/06, Enver ALTIN 
[EMAIL PROTECTED] wrote:On Fri, 2006-11-03 at 13:28 -0500, Mustafa Cayci wrote: Thanks Enver.I was playing with the 
http://yourserver:sendsms-port/cgi-bin/sendsms. However, J2ME does not like the connection this is returning.I am getting java.lang.ClassCastException
   [...]String address =
http://138.1.117.234:13013/cgi-bin/sendsms?username=testerpassword=foobarto=0123456   ; conn = (MessageConnection)Connector.open(address); TextMessage txtmessage =
 (TextMessage)conn.newMessage(MessageConnection.TEXT_MESSAGE);   I don't know what you're trying to achieve with that, what is
MessageConnection and TextMessage is for and what library they arecoming from so I can't speculate on that.   What I can tell is, if you click on the URL link above, Kannel should
receive an HTTP GET request via the sendsms CGI interface and process itappropriately.   -HTH--
.O...O Enver ALTIN | http://enveraltin.com/OOO Software developer @ Parkyeri | 
http://www.parkyeri.com/  


Re: 2nd Post: Sending SMS message to FakeSMSC

2006-11-07 Thread Rodrigo Cremaschi
For a better understanding of what Kannel can do, take a look at this doc:http://www.kannel.org/download/kannel-arch-snapshot/arch.html
Specially Chapter 4, from Gateway Architecture on.On 11/7/06, Mustafa Cayci [EMAIL PROTECTED]
 wrote:Hi Rodrigo,Yes effectively, I am going to be developing the content server too. It should listen and service requests forwarded by Kannel. Please note the following post in 
forums.java.sun.com
. That is exactly what I am trying to do. If you have any insight on the BOLD, I would like to hear.



	bgoyanna
	




Posts:4
 
Registered: 3/17/02






Re: J2ME SMS sending



Mar 18, 2004 10:56 PM

	(reply 1 of 52)










	
	
	
	
	

	
	

 










Hi James,you cannot send a SMS directly
to a web page. When you send a SMS this message goes to a SMS-C (Short
Message Service Centre) then you need an TCP/IP application that
usually talks UCP or SMPP protocol to receive the message. You can use
one famous gateway called kannel http://www.kannel.org
to connect to a SMSC and receive the message. So this gateway will get
the SMS that you send and then you can configure it to forward to a
URL. Thanks,Mustafa
On 11/7/06, Rodrigo Cremaschi 
[EMAIL PROTECTED] wrote:
Hi Mustafa,Are you developing the content server too? That is where Kannelcomes into play. If this is the case, I would develop and testseparately the J2ME app. and the content server app. behind Kannel.
Regards,Rodrigo.On 11/7/06, Mustafa Cayci [EMAIL PROTECTED] wrote:
 Hi Rodrigo, I am trying to do exactly what has shown in Figure 1-2 Logical position of
 SMS gateway between a phone and a content server in chapter 1 page 4 in Users Guide. My J2ME application in this case is the phone which has been depicted in that figure. As I said since I don't have the actual phone,
 I am using the emulator.So I am putting functionality as such that I can run that functionalty from the emulator to talk to SMSC.Why are you saying Kannel has nothing to do with this?

 Thanks, Mustafa On 11/4/06, Rodrigo Cremaschi [EMAIL PROTECTED]
 wrote:  Hi Mustafa: 
 Now it is clear what you are trying to do. But Kannel can't help  you because it sits at the other side of the line  Service - Kannel - SMSC - Your phone
  What your application is trying to do (send an SMS from a J2ME  application) unfortunately has nothing to do with Kannel.  I advise you to post your questiong to 
forum.java.sun.com.  Best regards,   Rodrigo. 
  On 11/4/06, Mustafa Cayci 
[EMAIL PROTECTED] wrote:   I don't know what you're trying to achieve with that, what is   MessageConnection and TextMessage is for and what library they are   coming from so I can't speculate on that.
   I am using Java 2 Platform Micro Edition (J2ME) to write and deploy Java   code in mobile devices.Since I don't have real mobile device, I am using   Sun Java Wireless ToolKit (WTK) to emulate one.So the code sniplet in
 my   previous email is a J2ME code and the libraries are from   javax.microedition.io.*.Now my goal is to write a simple Java code and   deploy to the WTK emulator that sends a SMS message to a SMSC.Can I
 use   Kannel to do what I explained above? I don't want to use HTTP interface as shown below to send SMS message.   That is not what I want to do.
 
http://smsbox.host.name:13013/cgi-bin/sendsms?username=foopassword=barto=0123456text=Hello+world
 Regards, Mustafa   On 11/3/06, Enver ALTIN 

[EMAIL PROTECTED] wrote:On Fri, 2006-11-03 at 13:28 -0500, Mustafa Cayci wrote: Thanks Enver.I was playing with the 

http://yourserver:sendsms-port/cgi-bin/sendsms. However, J2ME does not like the connection this is returning.I am getting java.lang.ClassCastException

   [...]String address =

http://138.1.117.234:13013/cgi-bin/sendsms?username=testerpassword=foobarto=0123456   ; conn = (MessageConnection)Connector.open(address); TextMessage txtmessage =
 (TextMessage)conn.newMessage(MessageConnection.TEXT_MESSAGE);   I don't know what you're trying to achieve with that, what is
MessageConnection and TextMessage is for and what library they arecoming from so I can't speculate on that.   What I can tell is, if you click on the URL link above, Kannel should
receive an HTTP GET request via the sendsms CGI interface and process itappropriately.   -HTH--

.O...O Enver ALTIN | http://enveraltin.com/
OOO Software developer @ Parkyeri | 
http://www.parkyeri.com/  




Fwd: Re: Mail2SMS with Kannel

2006-11-07 Thread David Szanto

Hi everyone,
You could try using Exim as an SMTP.  Its configuration files are almost
 like a simple scripting language and it can allow you to do tricky things
 like getting a mail who's recipient is a regular expression and send its
 content to a URL or external script or basicly anything you want, at SMTP 
time (or later :-D )
This would be a more direct and simple way of aproching the problem with out
falling into mail boxes. (IMAP or POP).

Hope it helps...

Cheers,
David

El Martes, 7 de Noviembre de 2006 05:57, Alvaro Cornejo escribió:
 I´ve also been trying to dicover a way to have the system send an alert to
 an app in order to wakeup a process that will go get the message instead of
 having my e-mail client periodically look at the inbox for new messages.
 Still unable to doit

 Does anybody knows if this is possible? ideas?

 Regards

 Alvaro


---
David Szanto Cori
Genasys II Spain, S.A.U.

Ventura de la Vega, 5
28014 - Madrid, SPAIN
Phone   + 34 91 364 91 00
Fax + 34 91 364 91 19
Email   [EMAIL PROTECTED]
www.genasys.com


Este mensaje se dirige exclusivamente a su destinatario y
puede contener información privilegiada o confidencial. Si no
es Vd. el destinatario indicado, queda notificado de que la
utilización, divulgación y/o copia sin autorización está
prohibida en virtud de la legislación vigente. Si ha recibido
este mensaje por error, le rogamos nos lo comunique
inmediatamente por esta misma vía y proceda a su destrucción.

This message is intended exclusively for its addressee and
may contain information that is confidential and protected by
professional privilege. If you are not the intended recipient
you are hereby notified that any dissemination, copy or
disclosure of this communication is strictly prohibited by
law. If this message has been received in error, please
inmediately notify us via e-mail and delete it.


---

-- 
---
David Szanto Cori
Genasys II Spain, S.A.U.

Ventura de la Vega, 5
28014 - Madrid, SPAIN
Phone   + 34 91 364 91 00
Fax + 34 91 364 91 19
Email   [EMAIL PROTECTED]
www.genasys.com


Este mensaje se dirige exclusivamente a su destinatario y 
puede contener información privilegiada o confidencial. Si no 
es Vd. el destinatario indicado, queda notificado de que la 
utilización, divulgación y/o copia sin autorización está 
prohibida en virtud de la legislación vigente. Si ha recibido 
este mensaje por error, le rogamos nos lo comunique 
inmediatamente por esta misma vía y proceda a su destrucción.

This message is intended exclusively for its addressee and 
may contain information that is confidential and protected by 
professional privilege. If you are not the intended recipient 
you are hereby notified that any dissemination, copy or 
disclosure of this communication is strictly prohibited by 
law. If this message has been received in error, please 
inmediately notify us via e-mail and delete it.




RE: Mail2SMS with Kannel

2006-11-07 Thread Cidar Ramirez








Try using procmail to preprocess the mail
and send the data to kannel



Regards



Cidar











De: Divyesh
Amipara [mailto:[EMAIL PROTECTED] 
Enviado el: Monday, November 06,
2006 10:39 PM
Para: Ady Wicaksono; Lars-Hendrik
Schneider
CC: users@kannel.org
Asunto: RE: Mail2SMS with Kannel





Hi,



Is there anythingwhen user receives
and mail, MTA will run a script or contact kannel at sendsms port to send sms
(kind of forwarding mechanism)?



And how it can be achieved?



Thanks,

 Divyesh A.











From: Ady Wicaksono [mailto:[EMAIL PROTECTED]

Sent: Tuesday, November 07, 2006
6:58 AM
To: Lars-Hendrik Schneider
Cc: users@kannel.org
Subject: Re: Mail2SMS with Kannel





Another approach is

Mail (Anything which accessible through IMAP/POP3) -- new mail -- [create
session id] -- send URL over WAP Push -- User click on WAP Push SMS
-- email opened through web/wap 

:)



On 11/6/06, Lars-Hendrik
Schneider [EMAIL PROTECTED]
wrote:

HI Gottfried,

Huber, Gottfried schrieb:

 Hi to all kannel-professionals

 Does anybody have expierience or solution forMAIL2SMS
usingkannel ?

are you looking for something like: 

Linux - fetchmail - procmail - php - kannel?

I used this to get processed information from a sensor device that sent
its data as email when I was in the field.


This is where I started, 

Lars-Hendrik








-- 
Regards,

Ady Wicaksono
Email:
adiwicaksono at yahoo.com
ady.wicaksono at {
yahoo.com/gmail.com/switchlab.com/beasiswamagelang.net/cbn.net.id} 








UCP/EMI greek 7bit encoding does not work

2006-11-07 Thread Κωνσταντίνος Λιαδάκης








Hello,



I had stable version 1.4.1
installed and was able to send greek
through ucp/emi connection fine.



Now formatted and installed
latest cvs version, and although greek work for smpp
connections they dont anymore work for ucp
connections.



Neither I changed anything
from my script, nor provider did. All that changed is kannel version. Is there any problem with greek in cvs
kannel?



Also, If
I wanted to install kannel 1.4.1 stable, do I have to
format again, or I can do it in the same machine, and if I can, what do I have
to do



Thank you very much in
advance for your help



Dinos 








Re: UCP/EMI greek 7bit encoding does not work

2006-11-07 Thread Enver ALTIN
Hi,

On Tue, 2006-11-07 at 17:47 +0200, Κωνσταντίνος Λιαδάκης wrote:
 I had stable version 1.4.1 installed and was able to send greek
 through ucp/emi connection fine.
 Now formatted and installed latest cvs version, and although greek
 work for smpp connections they don’t anymore work for ucp connections.

I'd love to help you with your problem, but now I just can't. Can you
provide some output from smsbox and bearerbox logs and an example of the
request you're doing?

Thanks,
-- 
.O.
..O   Enver ALTIN   |   http://enveraltin.com/
OOO   Software developer @ Parkyeri | http://www.parkyeri.com/


signature.asc
Description: This is a digitally signed message part


Sqlbox: my experience

2006-11-07 Thread Julien Buratto
Really great!
Downloaded from the http://www.kannel.org/~mconte/sqlbox/
Unpacked, launched bootstrap program, installed a few required
components with yum (automake and libtool) and the compiled successfully.

Made some edits on the provided conf file under example and launched
sqlbox with the just edited conf file.
An INSERT in the db caused the sms to leave and get delivered to the phone.

My server is:

Fedora Core release 4 (Stentz)
Kannel bearerbox version `1.4.1'
MySQL 4.1.20


The only things missing in the INSTALL file is the fact that sqlbox will
automagically create the two send_sms and sent_sms tables in the db
accordingly, however, really entusiast on it.

Will try to deploy on production use asap and let you know.

Cheers
Julien



Re: UCP/EMI greek 7bit encoding does not work

2006-11-07 Thread Stipe Tolj

Κωνσταντίνος Λιαδάκης wrote:


Hello,
 
I had stable version 1.4.1 installed and was able to send greek through

ucp/emi connection fine.
 
Now formatted and installed latest cvs version, and although greek work

for smpp connections they don't anymore work for ucp connections.
 
Neither I changed anything from my script, nor provider did. All that

changed is kannel version. Is there any problem with greek in cvs
kannel?


indeed we have a huge difference concerning internal character encoding 
between 1.4.1 stable and current CVS HEAD.


We changed internal encoding from latin1 to utf-8 as default. I'm not aware 
without reviewing code, but this ma be the cause...


Stipe


Also, If I wanted to install kannel 1.4.1 stable, do I have to format
again, or I can do it in the same machine, and if I can, what do I have
to do


format??? the HDD?

Stipe

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

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

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



max-messages = 0

2006-11-07 Thread Diego Helmann
Hi
I am writing because I am starting with kannel.
I solved most of my questions with the user guide, but:
This is part of the guide:




max-messages
number
If the message to be sent is longer than maximum length of an SMS it will be split into several parts. max-messages lets you specify a maximum number of individual SMS messages that can be used. If 
max-messages is set to 0, no reply is sent, except for error messages. 

The problem is that when I set it to 0 I get no auto-response at all, when I should receive one in case the application server is down.
I don´t want the kannel to respond the client with the response it get´s from the application server, I want the application server to do a SMS Push.
If I sent it to 0, there is no auto response, but no response for errors, when there you be!
How can I get kannel to auto-responde a cliente only when the app server is down???

Thanks for taking the time to read my problem
Regards


Diego


Re: Sqlbox: my experience

2006-11-07 Thread Mi Reflejo

:)

...and now supports unicode.

(Thanks to Cavit).

Regards,
Martín Conte.



On 11/7/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

same here

Kannel bearerbox version `cvs-20060723'.
Build `Aug 29 2006 00:38:52', compiler `4.0.1 20050727 (Red Hat 4.0.1-5)'.
System Linux, release 2.6.14-1.1637_FC4smp, version #1 SMP Wed Nov 9 18:34:11 
EST 2005, machine i686.

working with postgresql 8.1.5 on 10 permanent connectons

tested with reallife hight load MT traffic

stable so far, but there is a need to set watchdog process in a view
of restart or no responding SQL server

i use postgresql for ldr storage as well  :)


seik



-Original Message-
From: users@kannel.org [EMAIL PROTECTED]
Sent: 07 Íîåìâðè 2006 ã.
To: Ivan Stoykov
Subject:Sqlbox: my experience

Julien Buratto Really great!
Julien Buratto Downloaded from the http://www.kannel.org/~mconte/sqlbox/
Julien Buratto Unpacked, launched bootstrap program, installed a few required
Julien Buratto components with yum (automake and libtool) and the compiled 
successfully.

Julien Buratto Made some edits on the provided conf file under example and 
launched
Julien Buratto sqlbox with the just edited conf file.
Julien Buratto An INSERT in the db caused the sms to leave and get delivered 
to the phone.

Julien Buratto My server is:

Julien Buratto Fedora Core release 4 (Stentz)
Julien Buratto Kannel bearerbox version `1.4.1'
Julien Buratto MySQL 4.1.20


Julien Buratto The only things missing in the INSTALL file is the fact that 
sqlbox will
Julien Buratto automagically create the two send_sms and sent_sms tables 
in the db
Julien Buratto accordingly, however, really entusiast on it.

Julien Buratto Will try to deploy on production use asap and let you know.

Julien Buratto Cheers
Julien Buratto Julien







RE: Problem with USB to serial for GSM Modem

2006-11-07 Thread Divyesh Amipara








Hi,



Thanks it does work under /dev/ttyUSB0.



 Divyesh A.











From: Allison Almeida
[mailto:[EMAIL PROTECTED] 
Sent: Monday, November 06, 2006
3:29 PM
To: Divyesh Amipara
Cc: users@kannel.org
Subject: Re: Problem with USB to
serial for GSM Modem





Hi All.


Do you need to load a usbserial module on your linux box.

- Disconnect your usb-serial cable;
- Like root user: modprobe usbserial enter
- Connect your usb-serial cable, with your modem connected. 

You'll see a message informing the sucessfull conection.

If don't appear on screen, try dmesg to see some message.


[]s





2006/11/6, Divyesh Amipara  [EMAIL PROTECTED]:





Hi,



I
am using Nokia 12i GSM modem with Fedora Core 5 with USB to serial connector as
I don't have serial port on my

laptop
(Dell Inspiron 6400).



Now,
it does not get detected at ttyUSB0, what could be the problem?



Could
any one help me out?



Thanks,


Divyesh A.






















RE: Problem with USB to serial for GSM Modem

2006-11-07 Thread Divyesh Amipara








Hi All,



Another problem with sms-service, it does
not show SVC in access log.



I tried access-log-format and name in
sms-servicebut could not get through.



#access-log-format = %t %l [SMSC:%i]
[SVC:%n] [ACT:%A] [BINF:%B] [from:%p] [to:%P] [flags:%m:%c:%M:%C:%d]
[msg:%L:%b] [udh:%U:%u]



Can anyone tell me what could be wrong? Need
help, please.



Thanks,

 Divyesh A.





Access.log



2006-11-07 21:31:46 Receive SMS
[SMSC:NokiaGSM] [SVC:] [ACT:]
[BINF:] [from:+96899002067] [to: 0096892980968] [flags:-1:0:-1:0:-1]
[msg:4:mast] [udh:0:]

2006-11-07 21:31:46 SMS request
sender:+96899002067 request: 'mast'
fixed answer: 'Testing 1234...'

2006-11-07 21:31:54 Sent SMS
[SMSC:NokiaGSM] [SVC:] [ACT:] [BINF:] [from: 0096892980968] [to:+96899002067]
[flags:-1:0:-1:-1:-1] [msg:15:Testing 1234...] [udh:0:]



Kannel.log



2006-11-07 21:31:46 [10463] [6] DEBUG:
AT2[NokiaGSM]: -- +CMT: ,23

2006-11-07 21:31:46 [10463] [6] DEBUG:
AT2[NokiaGSM]: -- 07916998390016F0240B916998092060F76011701203716104EDF09C0E

2006-11-07 21:31:46 [10463] [6] DEBUG:
AT2[NokiaGSM]: received message from SMSC: +96899300610

2006-11-07 21:31:46 [10463] [6] DEBUG:
AT2[NokiaGSM]: Numeric sender (international) +96899002067

2006-11-07 21:31:46 [10463] [6] DEBUG:
AT2[NokiaGSM]: User data length read as (4)

2006-11-07 21:31:46 [10463] [6] DEBUG:
AT2[NokiaGSM]: Udh decoding done len=4 udhi=0 udhlen=0 udh=''

2006-11-07 21:31:46 [10463] [6] DEBUG:
AT2[NokiaGSM]: -- AT+CNMA^M

2006-11-07 21:31:46 [10463] [9] DEBUG:
send_msg: sending msg to box: 127.0.0.1

2006-11-07 21:31:46 [10463] [9] DEBUG:
boxc_sender: sent message to 127.0.0.1

2006-11-07 21:31:46 [10463] [8] DEBUG:
boxc_receiver: sms received

2006-11-07 21:31:46 [10463] [8] DEBUG:
send_msg: sending msg to box: 127.0.0.1

2006-11-07 21:31:46 [10463] [8] DEBUG:
boxc_receiver: got ack

2006-11-07 21:31:47 [10463] [6] DEBUG:
AT2[NokiaGSM]: -- OK

2006-11-07 21:31:47 [10463] [6] DEBUG:
AT2[NokiaGSM]: TP-Validity-Period: 24.0 hours

2006-11-07 21:31:47 [10463] [6] DEBUG:
AT2[NokiaGSM]: -- AT+CMGS=28^M

2006-11-07 21:31:47 [10463] [6] DEBUG:
AT2[NokiaGSM]: -- 

2006-11-07 21:31:47 [10463] [6] DEBUG:
AT2[NokiaGSM]: send command status: 1

2006-11-07 21:31:47 [10463] [6] DEBUG:
AT2[NokiaGSM]: -- 0011000B9169980920

2006-11-07 21:31:47 [10463] [6] DEBUG:
AT2[NokiaGSM]: -- 60F7A70FD4F29C

2006-11-07 21:31:47 [10463] [6] DEBUG:
AT2[NokiaGSM]: -- 9E769F4131D98CE672

2006-11-07 21:31:47 [10463] [6] DEBUG:
AT2[NokiaGSM]: -- B900

2006-11-07 21:31:54 [10463] [6] DEBUG:
AT2[NokiaGSM]: -- 

2006-11-07 21:31:54 [10463] [6] DEBUG:
AT2[NokiaGSM]: -- +CMGS: 10

2006-11-07 21:31:54 [10463] [6] DEBUG:
AT2[NokiaGSM]: -- OK

2006-11-07 21:31:54 [10463] [6] DEBUG:
AT2[NokiaGSM]: send command status: 0



Smsbox.log



2006-11-07 21:31:46 [10473] [4] INFO:
Starting to service mast
from +96899002067 to 0096892980968

2006-11-07 21:31:46 [10473] [4] DEBUG:
formatted text answer: Testing 1234...

2006-11-07 21:31:46 [10473] [4] DEBUG:
message length 15, sending 1 messages

2006-11-07 21:31:46 [10473] [0] DEBUG: Got
ACK (0) of 10bf23ae-cdb0-4361-af57-b4f694431d36



Kannel.conf



group = smsc

smsc = at

smsc-id = NokiaGSM

modemtype = nokiaphone

device = /dev/ttyUSB0

speed = 0

pin = 

keepalive = 30

my-number = 0096892980968



group = modems

id = nokiaphone

name = Nokia Phone

detect-string = Nokia

detect-string2 = Nokia 12i





group = sms-service

name = mast

keyword = mast

send-sender = true

text = Testing 1234...

catch-all = true

accept-x-kannel-headers = true



group = sms-service

name = Default

keyword = default

send-sender = true

text = Hey Dude, You have not
specified service. Please contact customer care for further details.

catch-all = true

accept-x-kannel-headers = true











From: Divyesh Amipara
[mailto:[EMAIL PROTECTED] 
Sent: Monday, November 06, 2006
1:40 PM
To: users@kannel.org
Subject: Problem with USB to
serial for GSM Modem
Importance: High





Hi,



I am using Nokia 12i GSM modem with Fedora Core 5 with USB
to serial connector as I dont have serial port on my

laptop (Dell Inspiron 6400).



Now, it does not get detected at ttyUSB0, what could be the
problem?



Could any one help me out?



Thanks,

 Divyesh A.












Queued for later delivery (where is the problem and where I should check?)

2006-11-07 Thread Marcelo Aguila
Hi.

I'm recently started to work with an operator that use SMPP 3.4 so I'm using 
kannel 1.4.1 (CVS) in a Dell PowerEdge 2950 with one intel xeon dual core 
processor.

Since the problem started I've not touched nor reinitializing anything to see 
what is happening.

Well, after several days of testing suddenly my logs shows that since 
2006-11-02 16:55 to 2006-11-07 17:43 (for 5 days) the sendsms started to 
return Queued for later delivery (158 messages).

So, without any intervention since 2006-11-07 17:53 until now (17 new 
messages), sendsms started to return Accepted for delivery

I could check that first queued message was delivered to SMSC  at 2006-11-03 
02:41 (almost 12 hours after its creation) and the delivery to the phone was 
made a minute later at 2:42.

Why the messages could be queued for later delivey and why the problem stopped 
5 days later without any manual intervention.

I'm lost because I can't find any clue in the logs (they are configured in 
debug mode).
What could it be, a configuration problem, a communication problem with 
operator ?

Please, any tip?

M.



Re: UCP/EMI greek 7bit encoding does not work

2006-11-07 Thread Stipe Tolj

Κωνσταντίνος Λιαδάκης wrote:


Hello,
 
I had stable version 1.4.1 installed and was able to send greek through

ucp/emi connection fine.
 
Now formatted and installed latest cvs version, and although greek work

for smpp connections they don't anymore work for ucp connections.
 
Neither I changed anything from my script, nor provider did. All that

changed is kannel version. Is there any problem with greek in cvs


Dinos,

can you please forward us the bearerblox debug-log dump for the UCP stream 
handled a) via 1.4.1, b) via CVS HEAD. (for the same content), so we can compare?!


Stipe

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

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

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