charset=ISO-8859-1 on the Kannel get-request doesn't show the Latin characters on the mobile receives SMS

2007-11-04 Thread carla godinho
Dear Kannel,
I'm sending sms from kannel using the charset=ISO-8859-1 in the url get request 
to kannel. But I never saw in the sms received on the mobiles the characteres 
ç,Ç,´ wich are suppposed to appear in the sms message.

Is there anything that is missing in my configuration file?


Hope you can help me.

Rgds,
Carla


  ___
Yahoo! Answers - Got a question? Someone out there knows the answer. Try it
now.
http://uk.answers.yahoo.com/ 

RE: international mobile numbering

2007-11-04 Thread Iain Dooley

Hi Stefan,



I would like to add we also need all the prefixes used by each operator in
each country, not only the general mobile prefix.

This would be a huge help for internal routing through different lines, with
different pricing.


Actually it was only ever my intention to provide basic number validation, 
rather than actual routing information. In Australia, for example, 
something like 20% of all numbers have been ported so routing on prefix 
doesn't work very well.


Not sure about other countries ...

If this would be useful, though, I could add in an optional 4th field in 
the file format for operator name, and then incorporate this into the 
validation class so that you can not only validate the number but also 
retrieve the operator name.


Cheers,

Iain



latest round of updates

2007-11-04 Thread Iain Dooley

hi everyone, thanks to:

Raphael Maseko, Thanos Chatziathanassiou, Stefan OLARU, Ivan Stanev, Milan 
P. Stanic and especially Mads N. Vestergaard for his insanely 
comprehensive danish list :)


i've written back for clarification to a couple of others.

thanks again everyone who's helping out!

cheers

iain



Re: latest round of updates

2007-11-04 Thread Alejandro Guerrieri
Hey, Iain, you've created a monster! ;)

It's really encouraging to see so much people contributing to a project.

This is OSS at it's best, and I think it's the same spirit that made kannel
such a wonderful and useful project.

Great work, congratulations.

Alejandro

On 11/4/07, Iain Dooley [EMAIL PROTECTED] wrote:

 hi everyone, thanks to:

 Raphael Maseko, Thanos Chatziathanassiou, Stefan OLARU, Ivan Stanev, Milan
 P. Stanic and especially Mads N. Vestergaard for his insanely
 comprehensive danish list :)

 i've written back for clarification to a couple of others.

 thanks again everyone who's helping out!

 cheers

 iain




-- 
Alejandro Guerrieri
Magicom
http://www.magicom-bcn.net/
LinkedIn: http://www.linkedin.com/in/aguerrieri


nokia 7610 AT smsc

2007-11-04 Thread Trung Nguyen
Hi all,
 
I've been trying to get my nokia 7610 connected via dku-2 usb cable to
kannel as AT smsc.
So far I was able to send sms but could not receive neither sms nor dlr. The
phone receives sms but doesn't pass it to Kannel.
The problem probably because I could not use at+cnmi command, the phone
responds with errors like this:
 
2007-10-30 15:19:42 [16771] [6] DEBUG: AT2[Nokia7610]: --
AT+CNMI=1,2,0,1,0^M
2007-10-30 15:19:42 [16771] [6] DEBUG: AT2[Nokia7610]: -- ERROR
2007-10-30 15:19:42 [16771] [6] ERROR: AT2[Nokia7610]: Generic error: ERROR
2007-10-30 15:19:42 [16771] [6] ERROR: AT2[Nokia7610]: Initialization of
device failed.
2007-10-30 15:19:42 [16771] [6] INFO: AT2[Nokia7610]: closing device

Is there anything I can do about this or 7610 is at all unusable with
Kannel?
 
Any help is highly appreciated.
 
Thanks,
Charlie
 


Re: FW: nokia 7610 AT smsc

2007-11-04 Thread Iain Dooley



I've been trying to get my nokia 7610 connected via dku-2 usb cable to
kannel as AT smsc.
So far I was able to send sms but could not receive neither sms nor dlr. The
phone receives sms but doesn't pass it to Kannel.
The problem probably because I could not use at+cnmi command, the phone
responds with errors like this:

2007-10-30 15:19:42 [16771] [6] DEBUG: AT2[Nokia7610]: --
AT+CNMI=1,2,0,1,0^M
2007-10-30 15:19:42 [16771] [6] DEBUG: AT2[Nokia7610]: -- ERROR
2007-10-30 15:19:42 [16771] [6] ERROR: AT2[Nokia7610]: Generic error: ERROR
2007-10-30 15:19:42 [16771] [6] ERROR: AT2[Nokia7610]: Initialization of
device failed.
2007-10-30 15:19:42 [16771] [6] INFO: AT2[Nokia7610]: closing device

Is there anything I can do about this or 7610 is at all unusable with
Kannel?


okay, if you connect directly to the phone using ckermit or cu, are you 
able to issue that same AT command? where did you source that AT command 
from?


i'd say you're right that the reason you're not receiving is due to 
rem'ing out the init string ...


cheers

iain



multi-part sms order

2007-11-04 Thread Aaron Simmons
My system is sending a lot of multi-part smses.  While the sending works,
I've noticed that the parts usually arrive in reverse order or out of
order.  e.g., if I'm sending a three-part sms, part three will arrive at the
user's phone first, followed by part two, followed by part one.  The user's
phone will of course reassemble the message, but they must wait to read
their message until part one arrives.

Is anyone else seeing this?  Or is it an idiosyncracy of the gsm phone I'm
using to send the messages?  I'm using kannel 1.4.1 with a nokia.


Thanks,
aaron


Re: multi-part sms order

2007-11-04 Thread Iain Dooley




My system is sending a lot of multi-part smses.  While the sending works,
I've noticed that the parts usually arrive in reverse order or out of
order.  e.g., if I'm sending a three-part sms, part three will arrive at the
user's phone first, followed by part two, followed by part one.  The user's
phone will of course reassemble the message, but they must wait to read
their message until part one arrives.

Is anyone else seeing this?  Or is it an idiosyncracy of the gsm phone I'm
using to send the messages?  I'm using kannel 1.4.1 with a nokia.


yeah i sometimes have messages arrive out of order using SMPP. not often. 
if the message has more than 3 parts often the 4th part takes a long time 
to arrive (sometimes even a couple of minutes).


cheers

iain



Re: multi-part sms order

2007-11-04 Thread Ady Wicaksono
It's normal, and offcourse mobile phone must wait all messages to arrive
first until it can reassemble the message.



On 11/5/07, Aaron Simmons [EMAIL PROTECTED] wrote:

 My system is sending a lot of multi-part smses.  While the sending works,
 I've noticed that the parts usually arrive in reverse order or out of
 order.  e.g., if I'm sending a three-part sms, part three will arrive at
 the user's phone first, followed by part two, followed by part one.  The
 user's phone will of course reassemble the message, but they must wait to
 read their message until part one arrives.

 Is anyone else seeing this?  Or is it an idiosyncracy of the gsm phone I'm
 using to send the messages?  I'm using kannel 1.4.1 with a nokia.


 Thanks,
 aaron




-- 
Regards,

Ady Wicaksono
Email:
ady.wicaksono at gmail.com
http://adywicaksono.wordpress.com/


RE: multi-part sms order

2007-11-04 Thread info.ubichip
Hi all,

 

AFAIK, send content through SMS should be  managed by a protocol such as SAR
: Segmentation And Reassembly, this is a  Mécanism used to segment and
reassemble the different paquets

 

SAR is used with wap gateway and is supposed to be handled by the phone as
well.

 

The fact that the packets are arrived in the correct order is upon the
operator responsibility (typically differents SMS are not always proceed by
the same SMSC), there is nothing to do on the kannel side.

 

Hope that helps,

 

Regards

 

  _  

From: Ady Wicaksono [mailto:[EMAIL PROTECTED] 
Sent: dimanche 4 novembre 2007 20:37
To: [EMAIL PROTECTED]
Cc: users@kannel.org
Subject: Re: multi-part sms order

 

It's normal, and offcourse mobile phone must wait all messages to arrive
first until it can reassemble the message.




On 11/5/07, Aaron Simmons [EMAIL PROTECTED] wrote:

My system is sending a lot of multi-part smses.  While the sending works,
I've noticed that the parts usually arrive in reverse order or out of order.
e.g., if I'm sending a three-part sms, part three will arrive at the user's
phone first, followed by part two, followed by part one.  The user's phone
will of course reassemble the message, but they must wait to read their
message until part one arrives. 

Is anyone else seeing this?  Or is it an idiosyncracy of the gsm phone I'm
using to send the messages?  I'm using kannel 1.4.1 with a nokia.


Thanks,
aaron




-- 
Regards,

Ady Wicaksono
Email:
ady.wicaksono at gmail.com
http://adywicaksono.wordpress.com/ 



  _  

Antivirus avast! http://www.avast.com : message Sortant sain. 


Base de donnees virale (VPS) : 071104-0, 04/11/2007
Analyse le : 04/11/2007 20:44:24
avast! - copyright (c) 1988-2007 ALWIL Software.




RE: How do you set the sender MSISDN in the HTTP request (without using default-sender in the config file)? (Sender missing and no global set, rejected error)

2007-11-04 Thread Richard Cooke
Thanks to Iain and Ismail for your answers.  One more related question : Is
it possible to send a message and leave the sender blank? 

 

One of my operators\networks won't accept any sender numbers because it uses
its own, but I get a Sender missing and no global set, rejected error if I
leave it blank.  Can I alter the source code to allow this, or will that
break the SMPP protocol?

 

 



Re: building sqlbox

2007-11-04 Thread Aaron Simmons
Now I'm trying to build sqlbox on Mac OS X and getting multiple  
definitions errors like the following.  Anyone know what could be  
causing this??


gcc -g -O2 -DDARWIN=1 -I/usr/local/include/kannel -g -O2 -DDARWIN=1  
-I/Developer/SDKs/MacOSX10.4u.sdk/usr/include -I/sw/include/libxml2  
-I/sw/include -I/usr/include/openssl -I/sw/include/mysql -o sqlbox  
sqlbox.o sqlbox_mysql.o sqlbox_pgsql.o sqlbox_sql.o  -L/Developer/ 
SDKs/MacOSX10.4u.sdk/usr/lib -L/usr/local/lib/kannel -lgw -lwap - 
lresolv -L/sw/lib -lxml2 -lpthread -liconv -L/usr/lib -lcrypto - 
lssl -L/sw/lib/mysql /sw/lib/mysql/libmysqlclient.dylib -lz -lm - 
lgwlib

/usr/bin/ld: multiple definitions of symbol _uuid_clear
/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/libpthread.dylib(clear.So)  
definition of _uuid_clear
/usr/local/lib/kannel/libgwlib.a(gw_uuid.o) definition of  
_uuid_clear in section (__TEXT,__text)

/usr/bin/ld: multiple definitions of symbol _uuid_copy
/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/libpthread.dylib(copy.So)  
definition of _uuid_copy
/usr/local/lib/kannel/libgwlib.a(gw_uuid.o) definition of  
_uuid_copy in section (__TEXT,__text)

/usr/bin/ld: multiple definitions of symbol _uuid_generate
/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/libpthread.dylib 
(gen_uuid.So) definition of _uuid_generate
/usr/local/lib/kannel/libgwlib.a(gw_uuid.o) definition of  
_uuid_generate in section (__TEXT,__text)

/usr/bin/ld: multiple definitions of symbol _uuid_generate_random
/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/libpthread.dylib 
(gen_uuid.So) definition of _uuid_generate_random
/usr/local/lib/kannel/libgwlib.a(gw_uuid.o) definition of  
_uuid_generate_random in section (__TEXT,__text)

/usr/bin/ld: multiple definitions of symbol _uuid_generate_time
/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/libpthread.dylib 
(gen_uuid.So) definition of _uuid_generate_time
/usr/local/lib/kannel/libgwlib.a(gw_uuid.o) definition of  
_uuid_generate_time in section (__TEXT,__text)

/usr/bin/ld: multiple definitions of symbol _uuid_parse
/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/libpthread.dylib(parse.So)  
definition of _uuid_parse
/usr/local/lib/kannel/libgwlib.a(gw_uuid.o) definition of  
_uuid_parse in section (__TEXT,__text)

/usr/bin/ld: multiple definitions of symbol _uuid_unparse
/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/libpthread.dylib 
(unparse.So) definition of _uuid_unparse
/usr/local/lib/kannel/libgwlib.a(gw_uuid.o) definition of  
_uuid_unparse in section (__TEXT,__text)

collect2: ld returned 1 exit status
make[2]: *** [sqlbox] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2




On Nov 5, 2007, at 1:17 PM, Aaron Simmons wrote:

I finally figured out what was wrong with my sqlbox configure on  
mac os x.  Had to dig around in the configure log.  The test for  
whether gwlib works tries to compile a little test program that  
links to it.  The test build was failing, complaining that it  
couldn't link to gwlib.a because its table of contents is out of  
date; rerun ranlib(1) (can't load from it).  So I did

sudo ranlib /usr/local/lib/kannel/*.a
and now the configure works fine.  :)

Don't know what happened to the libs to make them goof up like that...


On Oct 23, 2007 10:09 PM, Alejandro Guerrieri   
[EMAIL PROTECTED] wrote:

I've built on Mac OSX 10.4 with no problems before.

Check the configure script output, where is it searching for the libs?

Running ./configure --help should print the available switches.

Regards,

Alejandro


On 10/23/07, Aaron Simmons [EMAIL PROTECTED]  wrote:
I did install kannel.  I rebuilt it for mysql and did 'sudo make  
install' on it before starting on sqlbox.  I checked and the built  
kannel libs are installed to where they're supposed to be.


Perhaps on the mac the libs are being put somewhere different than  
normal and the sqlbox configure isn't taking that into account.   
How do you tell the configure script to look in a specific place  
for the kannel libs?



On 10/23/07, Alejandro Guerrieri  [EMAIL PROTECTED]  
wrote:
It happened to me before. sqlbox looks for gwlib on it's  
_installed_ location. If you have installed kannel on that machine,  
you shouldn't have any problems, otherwise you'll have to point the  
configure script to an alternate gwlib path.


Hope it helps,

Alejandro


On 10/22/07, info.ubichip  [EMAIL PROTECTED] wrote:
Hi,


If the « configure » process is not finding the path of kannel, you  
have to tell it with options like you build kannel before.



Hope that helps


From: Aaron Simmons [mailto:[EMAIL PROTECTED]
Sent: lundi 22 octobre 2007 06:35
To: users@kannel.org
Subject: building sqlbox


I've re-built kannel 1.4.1 by doing a configure with these options

--with-mysql --with-mysql-dir=/usr/local/mysql --with-dlr=mysql -- 
enable-mysql-dlr --enable-start-stop-daemon


followed by a make and a 'sudo make install'.


Now I'm trying to build sqlbox-standalone. However, the configure  
is failing on:





checking Kannel version... 1.4.1

checking Kannel 

Re: users Digest, Vol 18, Issue 13

2007-11-04 Thread J4nus
All,

Is there already a way to route the sms following the destination
number ? For example, you have 3 SMPP connections to different SMSC
and you send the message to the cheaper. Or if the first one is
unavailable, the message is sent to the second.

J4nus



 I would like to add we also need all the prefixes used by each operator in
 each country, not only the general mobile prefix.

 This would be a huge help for internal routing through different lines, with
 different pricing.