Re: [fix (sort of)] Re: Freebsd 6.1 and SQLbox

2008-12-06 Thread Pedro B.
Thanks again for your insight, Nikos, very helpful indeed.

I will do some more tests with my LD_LIBRARY_PATH because... today, i do
admit i tried -SO- many things to compile this thing, i might have
slaughtered it too much. Now that i got the binary i can let adrenaline cool
off and do it properly. :)

Hopefully, i will have a clean (and correct) LD when/if any changes are
made, and i can report more.

Also, BSD 6.1 now has an end-of-life tag, i do have to upgrade that server
(it just hurts me to ruin a good uptime right now).

Cheers,

\\ pb

2008/12/6 Nikos Balkanas <[EMAIL PROTECTED]>

>  OK. I am happy you got it working. I suspect that you have an issue with
> incorrect LD_LIBRARY_PATH, otherwise it is not up to BSD to reject it. It is
> part of the linker from gcc. And it is reading it from LD_LIBRARY_PATH
> regardless what the configure script is doing or not (short of resetting the
> LD_LIBRARY_PATH, of course). You might want to play with LD_LIBRARY_PATH a
> bit until you get it right. I think it preferable to moving everything to
> your own subdir - not maintainable. Of course it is the responsibility of
> the configure script to find out all require packages & libraries and pass
> them directly at compile time. But it doesn't hurt to help it a bit with a
> correct LD_LIBRARY_PATH.
>
> -lkse: Good, Alej is making a note of this.
> lock_timeout: This is for Alej, too. Seems that source code isn't
> compiling, which I am sure is not the case. Maybe some #define cpp directive
> going wild.
>
> Alej is looking into it, and I hope that soon you will be able to compile
> cleanly in BSD, sqlite and all.
>
> BR,
> Nikos
>
> - Original Message -
> *From:* Pedro B. <[EMAIL PROTECTED]>
> *To:* Nikos Balkanas <[EMAIL PROTECTED]>
> *Cc:* Alejandro Guerrieri <[EMAIL PROTECTED]> ;
> users@kannel.org
> *Sent:* Sunday, December 07, 2008 12:40 AM
> *Subject:* [fix (sort of)] Re: Freebsd 6.1 and SQLbox
>
> Hi Nikos,
>
> The default configure didn't like the (working for 2 years now) default 
> LD_LIBRARY_PATH,
> so i added ./, and put everything needed in the sqlbox dir.
>
> the CFLAGS came from the SQLBOX userguide: "CFLAGS='-pthread' ./configure
> The above, for instance, seems to be required on FreeBSD. " - just following
> the guide here.
>
> Not pretty, but i just wanted it to compile.
>
> Also, changes to the original files:
>
> -lkse replaced by -lpthread on configure (this is really a must, -lkse is
> deprecated in BSD for a while)
>
> Then i had this:
>
> sqlbox_sqlite3.c: In function `sqlbox_init_sqlite3':
> sqlbox_sqlite3.c:278: warning: passing arg 1 of `cfg_get_integer' from
> incompatible pointer type
> sqlbox_sqlite3.c:290: error: structure has no member named `lock_timeout'
>
> Removed the references to sqlbox_sqlite from gw/Makefile, gw/Makefile.am;
> Deleted the .Pos from .deps;
> Edited gwlib/gw-config.h ;
> Removed the #ifdefs from sqlbox_sqlc;
>
> and ... $ ls -la sqlbox
> -rwxr-xr-x 1 root wheel 493740 Dec 6 20:53 sqlbox
>
> Not pretty, but i reached the goal, which was the binary, and i dont need
> sqlite. I hope this info might help someone (and hopefully, lead to a
> cleaner BSD compile).
>
> 2008/12/6 Nikos Balkanas <[EMAIL PROTECTED]>
>
>>  OK. This is different output than in the previous mail. So I guess you
>> fixed LD_LIBRARY_PATH and now it finds gwlib. Before it couldn't. Now it
>> seems that it cannot find libxml2.a (or it is not in the compilation flags).
>>
>> Alej is the main guy for sqlbox, and I am glad he is on the thread.
>>
>> But in the meantime let's try a couple more things. Please run "find
>> /usr/local -name "libxml*". I imagine that it is under /usr/local/lib. You
>> are using 32bit OS right? 64bit libraries are elsewhere.
>>
>> After you verify location of libxml2.a and agries with LD_LIBRARY_PATH,
>> try to hardcode it to your compile flags. I see that you use CLAGS to
>> declare extra libraries. That's not standard, this should be a placeholder
>> for "-O6 -s -Wall...". There should be a variable "extra-libs" or smt like
>> that for libraries. configure --help should help you. Try putting "-lpthread
>> -lgwlib" in there and let's see.
>>
>> BR,
>> Nikos
>>
>> - Original Message -
>> *From:* Alejandro Guerrieri <[EMAIL PROTECTED]>
>> *To:* Pedro B. <[EMAIL PROTECTED]>
>> *Cc:* Nikos Balkanas <[EMAIL PROTECTED]> ; users@kannel.org
>> *Sent:* Saturday, December 06, 2008 10:04 PM
>> *Subject:* Re: Freebsd 6.1 and SQLbox
>>
&

[fix (sort of)] Re: Freebsd 6.1 and SQLbox

2008-12-06 Thread Pedro B.
Hi Nikos,

The default configure didn't like the (working for 2 years now)
default LD_LIBRARY_PATH,
so i added ./, and put everything needed in the sqlbox dir.

the CFLAGS came from the SQLBOX userguide: "CFLAGS='-pthread' ./configure
The above, for instance, seems to be required on FreeBSD. " - just following
the guide here.

Not pretty, but i just wanted it to compile.

Also, changes to the original files:

-lkse replaced by -lpthread on configure (this is really a must, -lkse is
deprecated in BSD for a while)

Then i had this:

sqlbox_sqlite3.c: In function `sqlbox_init_sqlite3':
sqlbox_sqlite3.c:278: warning: passing arg 1 of `cfg_get_integer' from
incompatible pointer type
sqlbox_sqlite3.c:290: error: structure has no member named `lock_timeout'

Removed the references to sqlbox_sqlite from gw/Makefile, gw/Makefile.am;
Deleted the .Pos from .deps;
Edited gwlib/gw-config.h ;
Removed the #ifdefs from sqlbox_sqlc;

and ... $ ls -la sqlbox
-rwxr-xr-x 1 root wheel 493740 Dec 6 20:53 sqlbox

Not pretty, but i reached the goal, which was the binary, and i dont need
sqlite. I hope this info might help someone (and hopefully, lead to a
cleaner BSD compile).

2008/12/6 Nikos Balkanas <[EMAIL PROTECTED]>

>  OK. This is different output than in the previous mail. So I guess you
> fixed LD_LIBRARY_PATH and now it finds gwlib. Before it couldn't. Now it
> seems that it cannot find libxml2.a (or it is not in the compilation flags).
>
> Alej is the main guy for sqlbox, and I am glad he is on the thread.
>
> But in the meantime let's try a couple more things. Please run "find
> /usr/local -name "libxml*". I imagine that it is under /usr/local/lib. You
> are using 32bit OS right? 64bit libraries are elsewhere.
>
> After you verify location of libxml2.a and agries with LD_LIBRARY_PATH, try
> to hardcode it to your compile flags. I see that you use CLAGS to declare
> extra libraries. That's not standard, this should be a placeholder for "-O6
> -s -Wall...". There should be a variable "extra-libs" or smt like that for
> libraries. configure --help should help you. Try putting "-lpthread -lgwlib"
> in there and let's see.
>
> BR,
> Nikos
>
> - Original Message -
> *From:* Alejandro Guerrieri <[EMAIL PROTECTED]>
> *To:* Pedro B. <[EMAIL PROTECTED]>
> *Cc:* Nikos Balkanas <[EMAIL PROTECTED]> ; users@kannel.org
> *Sent:* Saturday, December 06, 2008 10:04 PM
> *Subject:* Re: Freebsd 6.1 and SQLbox
>
> Pedro,
>
> sqlbox's configure script "should" be able to compile, though that's
> clearly not the case. I'll look into it as soon as I finish installing a
> FreeBSD VM.
>
> Regards,
>
> Alejandro
>
> On Sat, Dec 6, 2008 at 5:28 PM, Pedro B. <[EMAIL PROTECTED]> wrote:
>
>> Thanks for your replies, Nikos.
>>
>> Kannel (cvs) is installed, built flawlessly.
>>
>> LD_LIBRARY_PATH=/usr/lib:/usr/local/lib:/usr/local/lib/kannel
>>
>> CFLAGS=-pthread
>>
>> The BSD-deprecated -lkse shouldn't be in configure, but that can be easily
>> bypassed. However, it clearly shows SQLbox's bootstrap/configure are not
>> BSD-friendly.
>>
>> From config.log:
>>
>> configure:22302: checking for cfg_create in -lgwlib
>> configure:22337: gcc -o conftest -g -O2 -pthread -I/usr/include/openssl
>> -I/usr/include/kannel -I/usr/include/kannel -L/usr/lib/kannel conftest.c
>> -lgwlib -lssl -lc_r -L/usr/li$
>> /usr/lib/libgwlib.a(charset.o)(.text+0x23): In function `charset_init':
>> gwlib/charset.c:206: undefined reference to `xmlAddEncodingAlias'
>> /usr/lib/libgwlib.a(charset.o)(.text+0x829): In function
>> `charset_to_utf8':
>> gwlib/charset.c:539: undefined reference to `xmlFindCharEncodingHandler'
>> /usr/lib/libgwlib.a(charset.o)(.text+0x83c):gwlib/charset.c:544: undefined
>> reference to `xmlBufferCreate'
>> /usr/lib/libgwlib.a(charset.o)(.text+0x843):gwlib/charset.c:545: undefined
>> reference to `xmlBufferCreate'
>> /usr/lib/libgwlib.a(charset.o)(.text+0x878):gwlib/charset.c:546: undefined
>> reference to `xmlBufferAdd'
>> /usr/lib/libgwlib.a(charset.o)(.text+0x883):gwlib/charset.c:548: undefined
>> reference to `xmlCharEncInFunc'
>> /usr/lib/libgwlib.a(charset.o)(.text+0x8b6):gwlib/charset.c:553: undefined
>> reference to `xmlBufferFree'
>> /usr/lib/libgwlib.a(charset.o)(.text+0x8be):gwlib/charset.c:554: undefined
>> reference to `xmlBufferFree'
>> /usr/lib/libgwlib.a(charset.o)(.text+0x8f1): In function
>> `charset_from_utf8':
>> gwlib/charset.c:566: undefined reference to

Re: Freebsd 6.1 and SQLbox

2008-12-06 Thread Pedro B.
Thanks for your replies, Nikos.

Kannel (cvs) is installed, built flawlessly.

LD_LIBRARY_PATH=/usr/lib:/usr/local/lib:/usr/local/lib/kannel

CFLAGS=-pthread

The BSD-deprecated -lkse shouldn't be in configure, but that can be easily
bypassed. However, it clearly shows SQLbox's bootstrap/configure are not
BSD-friendly.

>From config.log:

configure:22302: checking for cfg_create in -lgwlib
configure:22337: gcc -o conftest -g -O2 -pthread -I/usr/include/openssl
-I/usr/include/kannel -I/usr/include/kannel -L/usr/lib/kannel conftest.c
-lgwlib -lssl -lc_r -L/usr/li$
/usr/lib/libgwlib.a(charset.o)(.text+0x23): In function `charset_init':
gwlib/charset.c:206: undefined reference to `xmlAddEncodingAlias'
/usr/lib/libgwlib.a(charset.o)(.text+0x829): In function `charset_to_utf8':
gwlib/charset.c:539: undefined reference to `xmlFindCharEncodingHandler'
/usr/lib/libgwlib.a(charset.o)(.text+0x83c):gwlib/charset.c:544: undefined
reference to `xmlBufferCreate'
/usr/lib/libgwlib.a(charset.o)(.text+0x843):gwlib/charset.c:545: undefined
reference to `xmlBufferCreate'
/usr/lib/libgwlib.a(charset.o)(.text+0x878):gwlib/charset.c:546: undefined
reference to `xmlBufferAdd'
/usr/lib/libgwlib.a(charset.o)(.text+0x883):gwlib/charset.c:548: undefined
reference to `xmlCharEncInFunc'
/usr/lib/libgwlib.a(charset.o)(.text+0x8b6):gwlib/charset.c:553: undefined
reference to `xmlBufferFree'
/usr/lib/libgwlib.a(charset.o)(.text+0x8be):gwlib/charset.c:554: undefined
reference to `xmlBufferFree'
/usr/lib/libgwlib.a(charset.o)(.text+0x8f1): In function
`charset_from_utf8':
gwlib/charset.c:566: undefined reference to `xmlFindCharEncodingHandler'
/usr/lib/libgwlib.a(charset.o)(.text+0x908):gwlib/charset.c:571: undefined
reference to `xmlBufferCreate'
/usr/lib/libgwlib.a(charset.o)(.text+0x90f):gwlib/charset.c:572: undefined
reference to `xmlBufferCreate'
/usr/lib/libgwlib.a(charset.o)(.text+0x944):gwlib/charset.c:573: undefined
reference to `xmlBufferAdd'
/usr/lib/libgwlib.a(charset.o)(.text+0x94f):gwlib/charset.c:575: undefined
reference to `xmlCharEncOutFunc'
/usr/lib/libgwlib.a(charset.o)(.text+0x98b):gwlib/charset.c:584: undefined
reference to `xmlBufferFree'
/usr/lib/libgwlib.a(charset.o)(.text+0x993):gwlib/charset.c:585: undefined
reference to `xmlBufferFree'
/usr/lib/libgwlib.a(charset.o)(.text+0x41): In function `charset_shutdown':
gwlib/charset.c:213: undefined reference to `xmlCleanupEncodingAliases

$ pkg_version -v | grep libxml
libxml2-2.6.32_2 = up-to-date with port

The more i look at this, the less i find hope in making it compile on BSD...

\\ pb

2008/12/6 Nikos Balkanas <[EMAIL PROTECTED]>

>  OK. Now I see. This is sqlbox installation, not kannel. First you need to
> install Kannel (CVS) and then sqlbox. Your LD_LIBRARY_PATH should be set
> correctly. I have no experience with sqlbox configuration, but I suspect no
> hack-n-slash is necessary. Could you please echo your $LD_LIBRARY_PATH?
>
> - Original Message -
> *From:* Pedro B. <[EMAIL PROTECTED]>
> *To:* Nikos Balkanas <[EMAIL PROTECTED]>
> *Cc:* users@kannel.org
> *Sent:* Saturday, December 06, 2008 8:11 PM
> *Subject:* Re: Freebsd 6.1 and SQLbox
>
> { $as_echo "$as_me:$LINENO: checking for cfg_create in -lgwlib" >&5
>
> $as_echo_n "checking for cfg_create in -lgwlib... " >&6; }
>
> (line 22261 of configure on sqlbox-snapshot-20081121.tar.gz and
> sqlbox-latest.tar.gz)
> Regards,
> \\Pedro
>
> 2008/12/6 Nikos Balkanas <[EMAIL PROTECTED]>
>
>>  Please download latest CVS source and CVS documentation. They are
>> production quality. I couldn't grep cfg_create in any of the conf* from the
>> latest CVS.
>>
>> BR,
>> Nikos
>>
>> - Original Message -
>>
>> *From:* Pedro B. <[EMAIL PROTECTED]>
>> *To:* users@kannel.org
>> *Sent:* Saturday, December 06, 2008 6:39 PM
>> *Subject:* Freebsd 6.1 and SQLbox
>>
>> Hello list,
>>
>> We have some woes with FreeBSD 6.1, so i would like to ask if anyone
>> successfully compiled it, or if anyone has any binaries available.
>>
>> The errors we encountered:
>>
>> First:
>>
>> checking for cfg_create in -lgwlib... no
>> configure: error: Kannel gwlib is required!
>>
>> Then, after hack/n/slask on the .configure (yes, we are THAT desperate),
>> gmake gives the following:
>>
>>
>> : undefined reference to `octstr_imm'
>> sqlbox.o(.text+0x25): In function `sqlbox_is_allowed_in_group':
>> : undefined reference to `octstr_imm'
>> sqlbox.o(.text+0x2e): In function `sqlbox_is_allowed_in_group':
>> : undefined reference to `octstr_compare'
>>
>> (etc, snip, you get the idea).
>>
>> Any and all feedback is truly appreciated.
>>
>> Regards,
>>
>> 
>>
>> \\ Pedro
>>
>> 010101100101011001000111001001100010011000101110
>>
>>
>
>


Re: Freebsd 6.1 and SQLbox

2008-12-06 Thread Pedro B.
{ $as_echo "$as_me:$LINENO: checking for cfg_create in -lgwlib" >&5

$as_echo_n "checking for cfg_create in -lgwlib... " >&6; }

(line 22261 of configure on sqlbox-snapshot-20081121.tar.gz and
sqlbox-latest.tar.gz)
Regards,
\\Pedro

2008/12/6 Nikos Balkanas <[EMAIL PROTECTED]>

>  Please download latest CVS source and CVS documentation. They are
> production quality. I couldn't grep cfg_create in any of the conf* from the
> latest CVS.
>
> BR,
> Nikos
>
> - Original Message -
>
> *From:* Pedro B. <[EMAIL PROTECTED]>
> *To:* users@kannel.org
> *Sent:* Saturday, December 06, 2008 6:39 PM
> *Subject:* Freebsd 6.1 and SQLbox
>
> Hello list,
>
> We have some woes with FreeBSD 6.1, so i would like to ask if anyone
> successfully compiled it, or if anyone has any binaries available.
>
> The errors we encountered:
>
> First:
>
> checking for cfg_create in -lgwlib... no
> configure: error: Kannel gwlib is required!
>
> Then, after hack/n/slask on the .configure (yes, we are THAT desperate),
> gmake gives the following:
>
>
> : undefined reference to `octstr_imm'
> sqlbox.o(.text+0x25): In function `sqlbox_is_allowed_in_group':
> : undefined reference to `octstr_imm'
> sqlbox.o(.text+0x2e): In function `sqlbox_is_allowed_in_group':
> : undefined reference to `octstr_compare'
>
> (etc, snip, you get the idea).
>
> Any and all feedback is truly appreciated.
>
> Regards,
>
> 
>
> \\ Pedro
>
> 010101100101011001000111001001100010011000101110
>
>


Freebsd 6.1 and SQLbox

2008-12-06 Thread Pedro B.
Hello list,

We have some woes with FreeBSD 6.1, so i would like to ask if anyone
successfully compiled it, or if anyone has any binaries available.

The errors we encountered:

First:

checking for cfg_create in -lgwlib... no
configure: error: Kannel gwlib is required!

Then, after hack/n/slask on the .configure (yes, we are THAT desperate),
gmake gives the following:


: undefined reference to `octstr_imm'
sqlbox.o(.text+0x25): In function `sqlbox_is_allowed_in_group':
: undefined reference to `octstr_imm'
sqlbox.o(.text+0x2e): In function `sqlbox_is_allowed_in_group':
: undefined reference to `octstr_compare'

(etc, snip, you get the idea).

Any and all feedback is truly appreciated.

Regards,



\\ Pedro

010101100101011001000111001001100010011000101110


Re: SMSC Connection Errors

2004-09-14 Thread Pedro B.
The first "nice solution" - provide real log excerpts.
\\pb
Omer Bin Fateh wrote:
Dear Concerned:
We are having multiple SMSC Connect errors 

The error messages we are getting in our Kannel SMS Gateway's
"core.log" file are as under:
1. "I/O error or other error. Re-connecting."
2. "Couldn't connect to SMS center (retrying in
10 seconds)."
3. "connect failed"
4. "System error 111: Connection refused"
5. "error connecting to server `xxx.xxx.xxx.xxx' at port `' "
6. "Couldn't connect to server."
7. "Error reading from fd 27:"
8. "System error 104: Connection reset by peer"
9. "Error reading from fd 26:"
10. "System error 111: Connection refused"
11. "System error 110: Connection timed out"

Awaiting for your reply with nice solutions
Regards:
Omer




Re: Commerical Support

2004-09-02 Thread Pedro B.
Please check the devel list archives, on 11/08.
\\pb
Bret Kumler wrote:
Is there any commercial support for Kannel?




Re: SMS Charging Examples

2004-08-30 Thread Pedro B.
Also, what are some of the more payment schemes?  There are some 
copmanies where credits will expire after one month and must be 
purchased again, others, a little longer, while others do not have an 
expiry date on credits purchased.
I think you have covered pretty much the "logical" ways to make that 
approach. I'd suggest you really decide the pros and cons of your 
implementation of the aforementioned methods, and decide on your own 
which one applies better to your intents.
On this "market", i have heard/read some experiences where the 
implementators end up being tagged as copycats due to the exagerated 
concerns in "keeping consistent", and thus making no effort whatsoever 
to be innovative, which proved to be ... a deadly shot in the foot.

\\pb



Re: SyncML & Kannel

2004-08-26 Thread Pedro B.
Tested on a Motorola V525 - sorry i can't reach the guy i know that has 
a V600 at 2am ;) - and what happened was:

- new message (same notification as a normal sms)
- when reading, i got the same "invalid content" icon (actually, 2 of 
them) that i got trying normal ringtones unsucessfully with the Motorola.

When i tried the ringtones some months ago, i pulled some of my hairs 
off until i was finally told by someone at Motorola that they still 
didn't manage to match specifications 100%. Meaning, what everyone else 
does for the last 5 years, they still can't do flawlessly.

I don't wanna discourage you by telling you this, but the truth is these 
continued incompatibilities were one of the reasons i changed most of my 
test phones to Nokias. The Motorolas and the Siemens are in the "shelf 
of headaches" now.

\\pb
Bret Kumler wrote:
We're using a Motorola V600 and it should trigger an application on the
phone.
-Original Message-
From: Pedro B. [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 26, 2004 5:30 PM
To: Bret Kumler
Cc: 'Stipe Tolj'; [EMAIL PROTECTED]
Subject: Re: SyncML & Kannel

Apparently, this is a somewhat valid hexa code:
I tested it with clickatell and i got a "196 new messages in mailbox", 
along with a new mail icon (Nokia 6230, icon in upper left corner) that 
didn't disappear until the phone was factory reset.

I don't know if this was what you really wanted, but it looks as valid 
syncml data.

\\pb
Bret Kumler wrote:
Here’s the url with the data and the log file.


http://localhost:13013/cgi-bin/sendsms?smsc=sierra&mclass=1&user=test&pass=t
est1&to=19492956608&UDH=%0D%06%05%04%0B%84%C0%02%01%06%03%C4%AF%87%&text=E4%
BB%50%F9%B9%90%61%9D%00%10%EF%30%E8%CC%B4%33%02%C0%00%00%00%00%01%06%73%79%6
E%63%34%6A&coding=2

-Original Message-
From: Stipe Tolj [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 26, 2004 3:58 PM
To: Bret Kumler
Cc: [EMAIL PROTECTED]
Subject: Re: SyncML & Kannel

Bret Kumler wrote:

We are trying to send syncML notification to a device, but it receives the
message as an image.
However, when sending the same notification via NowSMS to the same device,
it works.
What do we need to do in Kannel in order to ensure it sends the message
correctly to the device?

now, we'd like to see some more details here ;) simply saying "but, 
hey it works via nowsms gateway" is no argue ;)

Please send us the bearerbox.log allong with a description of the 
message content to the list (as attachement) and we'll have a view to it.

Stipe
mailto:stolj_{at}_wapme.de
---
Wapme Systems AG
Vogelsanger Weg 80
40470 Düsseldorf, NRW, Germany
phone: +49.211.74845.0
fax: +49.211.74845.299
mailto:info_{at}_wapme-systems.de
http://www.wapme-systems.de/
---
-BEGIN PGP PUBLIC KEY BLOCK-
Version: GnuPG v1.2.2 (Cygwin)
mIsEP6mcYwEEAMDnUiUwrbb+xwTFWN6TxF2+XZu7/alwJMeCwMBRvXtPZqfjpPhS
OkBpU0F4TrVuugz1HINTSaJTYq10AzDQXp5NkyWgckqW79nPAWuOX0dicbJk+cN2
nM2TI4KaxUDe6u8hghNEnH/i2lXsUu9apnP/iixzV81VC2je3uc9hZpnAAYptEVT
dGlwZSBUb2xqIChUZWNobm9sb2d5IENlbnRlciAmIFJlc2VhcmNoIExhYikgPHRv
bGpAd2FwbWUtc3lzdGVtcy5kZT6ItAQTAQIAHgUCP6mcYwIbAwYLCQgHAwIDFQID
AxYCAQIeAQIXgAAKCRABV0w1BqPYRuSqA/wPzsQxao2YePENCtgRTrO86U6zg3sl
OcS6CJFI4FZP5h/xD3GRsNH1+MPSvZlomDdpFnr547DGz/Kq9MXuQwVvlVig5yWZ
K5dtKp1r5YLhxJQBhfirZbRFFnYmf19f18J8OoS28tuFVftDl1AIwJS3HLyBTv6H
g2HyLAEKQIp30Q==
=aYCI
-END PGP PUBLIC KEY BLOCK-





Re: SyncML & Kannel

2004-08-26 Thread Pedro B.
Apparently, this is a somewhat valid hexa code:
I tested it with clickatell and i got a "196 new messages in mailbox", 
along with a new mail icon (Nokia 6230, icon in upper left corner) that 
didn't disappear until the phone was factory reset.

I don't know if this was what you really wanted, but it looks as valid 
syncml data.

\\pb
Bret Kumler wrote:
Here’s the url with the data and the log file.
 

http://localhost:13013/cgi-bin/sendsms?smsc=sierra&mclass=1&user=test&pass=t
est1&to=19492956608&UDH=%0D%06%05%04%0B%84%C0%02%01%06%03%C4%AF%87%&text=E4%
BB%50%F9%B9%90%61%9D%00%10%EF%30%E8%CC%B4%33%02%C0%00%00%00%00%01%06%73%79%6
E%63%34%6A&coding=2

-Original Message-
From: Stipe Tolj [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 26, 2004 3:58 PM
To: Bret Kumler
Cc: [EMAIL PROTECTED]
Subject: Re: SyncML & Kannel

Bret Kumler wrote:

We are trying to send syncML notification to a device, but it receives the
message as an image.
However, when sending the same notification via NowSMS to the same device,
it works.
What do we need to do in Kannel in order to ensure it sends the message
correctly to the device?

now, we'd like to see some more details here ;) simply saying "but, 
hey it works via nowsms gateway" is no argue ;)

Please send us the bearerbox.log allong with a description of the 
message content to the list (as attachement) and we'll have a view to it.

Stipe
mailto:stolj_{at}_wapme.de
---
Wapme Systems AG
Vogelsanger Weg 80
40470 Düsseldorf, NRW, Germany
phone: +49.211.74845.0
fax: +49.211.74845.299
mailto:info_{at}_wapme-systems.de
http://www.wapme-systems.de/
---
-BEGIN PGP PUBLIC KEY BLOCK-
Version: GnuPG v1.2.2 (Cygwin)
mIsEP6mcYwEEAMDnUiUwrbb+xwTFWN6TxF2+XZu7/alwJMeCwMBRvXtPZqfjpPhS
OkBpU0F4TrVuugz1HINTSaJTYq10AzDQXp5NkyWgckqW79nPAWuOX0dicbJk+cN2
nM2TI4KaxUDe6u8hghNEnH/i2lXsUu9apnP/iixzV81VC2je3uc9hZpnAAYptEVT
dGlwZSBUb2xqIChUZWNobm9sb2d5IENlbnRlciAmIFJlc2VhcmNoIExhYikgPHRv
bGpAd2FwbWUtc3lzdGVtcy5kZT6ItAQTAQIAHgUCP6mcYwIbAwYLCQgHAwIDFQID
AxYCAQIeAQIXgAAKCRABV0w1BqPYRuSqA/wPzsQxao2YePENCtgRTrO86U6zg3sl
OcS6CJFI4FZP5h/xD3GRsNH1+MPSvZlomDdpFnr547DGz/Kq9MXuQwVvlVig5yWZ
K5dtKp1r5YLhxJQBhfirZbRFFnYmf19f18J8OoS28tuFVftDl1AIwJS3HLyBTv6H
g2HyLAEKQIp30Q==
=aYCI
-END PGP PUBLIC KEY BLOCK-



Re: MO - Who Pays?

2004-08-26 Thread Pedro B.
Rafael 'Dido' Sevilla wrote:
A 75%/25% split in
favor of the mobile carrier is to be had only with unparalleled
bargaining and good connections, even 60%/40% is unheard of.  Is it the
same in other countries?
52%/48% in Portugal, with an 82% mobile penetration.
52% to "them" of course :|
\\pb


Re: http to clickatel

2004-08-20 Thread Pedro B.
Attached is the .doc with Clickatell's http API.
Briefly, these are the standard parameters for all API functions:
session_id
api_id
user
password
to
from
climsgid
val_period
deliv_ack
deliv_time
callback
max_credits
escalate
req_feat
And these are the parameters specifically for the WAP Push service 
indicator message:

si_id
si_url
si_text
si_created: date in UTC
si_expires: data in UTC
si_action: one of
 signal-none
 signal-low
 signal-medium
 signal-high
   delete
The Wap Push API is on the production system, but simply not in the 
documentation as their developers wanted to see if any reports of 
incompatibility with a phone came back. They had a few users testing and 
so far it's looking very good. If however a problem is found, it might 
not be fixed immediately since it's in testing - so a solution might 
only be live in more than 1 day.

Example of this valuable undocumented feature:
;)
http://api.clickatell.com/mms/si_push?api_id=&user=XXX&password=&to=&si_id=A121&si_url=http%3A%2F%2Fmms.clickatell.com%2Ft.wml&si_created=2003-12-30T00%3A00%3A00Z&si_expires=2006-12-30T00%3A00%3A00Z&si_action=signal-medium&si_text=Hello+World

\\pb
Stipe Tolj wrote:
sean wrote:
Hi all,
Clickatell have introduced a minimum of 5,000 credits per month for SMPP
users. I have tried to change my Kannel conf file to use the Clickatell
API HTTP interface instead. But I'm obviously missing something. If any
one has done this before I'd appreciate a sample script. Otherwise I'll
have too re-write my PHP scripts to send SMS over HTTP and leave out
Kannel altogether. 

now, didn't I mention this already? (seems like a deja-vu somehow to me ;)
Did you provide us the API of Clickatell? If no, please do so and we'll 
see if it "fits" into gw/smsc/smsc_http.c easily.

Stipe
mailto:stolj_{at}_wapme.de
---
Wapme Systems AG
Vogelsanger Weg 80
40470 Düsseldorf, NRW, Germany
phone: +49.211.74845.0
fax: +49.211.74845.299
mailto:info_{at}_wapme-systems.de
http://www.wapme-systems.de/
---
-BEGIN PGP PUBLIC KEY BLOCK-
Version: GnuPG v1.2.2 (Cygwin)
mIsEP6mcYwEEAMDnUiUwrbb+xwTFWN6TxF2+XZu7/alwJMeCwMBRvXtPZqfjpPhS
OkBpU0F4TrVuugz1HINTSaJTYq10AzDQXp5NkyWgckqW79nPAWuOX0dicbJk+cN2
nM2TI4KaxUDe6u8hghNEnH/i2lXsUu9apnP/iixzV81VC2je3uc9hZpnAAYptEVT
dGlwZSBUb2xqIChUZWNobm9sb2d5IENlbnRlciAmIFJlc2VhcmNoIExhYikgPHRv
bGpAd2FwbWUtc3lzdGVtcy5kZT6ItAQTAQIAHgUCP6mcYwIbAwYLCQgHAwIDFQID
AxYCAQIeAQIXgAAKCRABV0w1BqPYRuSqA/wPzsQxao2YePENCtgRTrO86U6zg3sl
OcS6CJFI4FZP5h/xD3GRsNH1+MPSvZlomDdpFnr547DGz/Kq9MXuQwVvlVig5yWZ
K5dtKp1r5YLhxJQBhfirZbRFFnYmf19f18J8OoS28tuFVftDl1AIwJS3HLyBTv6H
g2HyLAEKQIp30Q==
=aYCI
-END PGP PUBLIC KEY BLOCK-




Re: Got a warning when building

2004-08-19 Thread Pedro B.
"building" is NOT "running the make".
Refer to the chapter "Compiling the gateway" in the Kannel userguide.
Also, please do not crosspost (post the same email in 2 mailing lists) 
and please pick the right one (not knowing how to edit a conf file is 
roughly a "problem" to devel@)

\\pb
Jane P. Ifurung wrote:
Hello…I was building (running the make) the Kannel gateway ver 1.3.2 
returned a warning message Makefile: 315 .depend No such file or 
directory...

 

What’s going on here? Did i delete some file(s) that is used for compiling?
 

 


*Mtech.com, Inc.*
The information contained in this e-mail message is company-privileged 
and confidential, and intended for  the use of the individual or entity 
named above. If the reader of this message is not the intended 
recipient, or the employee responsible for delivery, you are hereby 
notified that any dissemination, distribution or copying of this 
communication/message is strictly prohibited. If you have mistakenly 
received this e-mail message, please immediately notify Mtech.com, Inc. 
(ACSSEG Group of Companies) by returning the original message to Jane P. 
Ifurung at [EMAIL PROTECTED]

This mail was content checked for malicious code and viruses by ACSSEG 
Group of Companies MailSecurity. ACSSEG Group of Companies MailSecurity 
provides email content checking, exploit detection and anti-virus for 
Exchange. Spam, viruses, dangerous attachments & offensive content are 
removed automatically.





Re: Binaries

2004-08-17 Thread Pedro B.
As Mr. Peter Beckman said, and i quote:
"The problems with yours:
1. no binary tag; use text to send the binary message.
2. You must escape the binary message with % signs
3. You must include the count/length of the UDH as the first two chars.
I believe yours was 11 long, thus 0x0B == 11 blah blah blah
4. You need to escape the udh with % too
Fix thise and you are good to go."
Those seem to me rather valuable and simple considerations - apart from 
the typo on "these" ;), so i fail to see the point of you still not 
escaping the message with %'s, and also the point of removing the udh, 
which will ALWAYS force Kannel to send the sms as pure text (or flash).

- always use the %'s
- use the udh for binaries
I do agree with some sections of the docs being more complex, but for 
text, there aren't that many, and i think everyone in this list achieved 
to tell you what you need to do as simply as can be put in human terms :)

\\pb
Bret Kumler wrote:
I've look at the docs, it's a bit confusing, there's so many options. ;)
-Original Message-
From: Pedro B. [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 16, 2004 5:18 PM
To: Bret Kumler
Cc: [EMAIL PROTECTED]
Subject: Re: Binaries

You might want to check table 6-15 on the User Guide, which includes all 
send-sms CGI variables.

I find it rather unusual you're actually trying something very basic 
without even checking the docs once. That's... "brave" :)

\\pb
Bret Kumler wrote:

What's the parameter suppose to be?
-Original Message-
From: Pedro B. [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 16, 2004 4:35 PM
To: Bret Kumler
Cc: [EMAIL PROTECTED]
Subject: Re: Binaries

"&binary=" ?
\\pb
Bret Kumler wrote:

Ok,
I'm close, I can feel it.
Here's the url which is generated.
URL =

http://localhost:13013/cgi-bin/sendsms?user=test&pass=test1&coding=1&to=1909

2559651&binary=E257C4C15357BA964FD2BEB0738FF5A002C0010673796E63346A&
udh=0605040B84C002010603C4AF87
When I copy the url in to the browser it doesn't work.
Could this be a kannel.conf issue? Meaning, am I missing something?
Thanks







Re: Binaries

2004-08-16 Thread Pedro B.
You might want to check table 6-15 on the User Guide, which includes all 
send-sms CGI variables.

I find it rather unusual you're actually trying something very basic 
without even checking the docs once. That's... "brave" :)

\\pb
Bret Kumler wrote:
What's the parameter suppose to be?
-Original Message-
From: Pedro B. [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 16, 2004 4:35 PM
To: Bret Kumler
Cc: [EMAIL PROTECTED]
Subject: Re: Binaries

"&binary=" ?
\\pb
Bret Kumler wrote:

Ok,
I'm close, I can feel it.
Here's the url which is generated.
URL =
http://localhost:13013/cgi-bin/sendsms?user=test&pass=test1&coding=1&to=1909
2559651&binary=E257C4C15357BA964FD2BEB0738FF5A002C0010673796E63346A&
udh=0605040B84C002010603C4AF87
When I copy the url in to the browser it doesn't work.
Could this be a kannel.conf issue? Meaning, am I missing something?
Thanks






Re: Binaries

2004-08-16 Thread Pedro B.
"&binary=" ?
\\pb
Bret Kumler wrote:
Ok,
I'm close, I can feel it.
Here's the url which is generated.
URL =
http://localhost:13013/cgi-bin/sendsms?user=test&pass=test1&coding=1&to=1909
2559651&binary=E257C4C15357BA964FD2BEB0738FF5A002C0010673796E63346A&
udh=0605040B84C002010603C4AF87
When I copy the url in to the browser it doesn't work.
Could this be a kannel.conf issue? Meaning, am I missing something?
Thanks




Re: Question about a ERROR

2004-08-12 Thread Pedro B.
It's always a good idea to bookmark 
http://www.dreamfabric.com/sms/cms_error.html

\\pb
Bret Kumler wrote:
Well, I have it working now.
 

 

 


*From:* Bret Kumler [mailto:[EMAIL PROTECTED]
*Sent:* Thursday, August 12, 2004 9:44 AM
*To:* '[EMAIL PROTECTED]'
*Subject:* Question about a ERROR
 

Hi,
 

New to Kannel.  I’m trying to send a SMS message using the url
http://localhost:13013/cgi-bin/sendsms?username=test&password=test&to=1408970&text=TEST 


 

 

I get the following _CMS ERROR: 304
 

 

I’m running a Sierra Wireless 750 AirCard, SuSe 9.1, T-Mobile is the 
service provider.

 

 

Here’s my kannel.conf contents.
 

 

group = core
admin-port = 13000
smsbox-port = 13001
admin-password = test
log-file = "kannel.log"
log-level = 0
box-allow-ip = "*.*.*.*"
access-log = "core-access.log"
 

# SMSC CONNECTIONS
 

group = smsc
smsc = at2
modemtype = sierra_750
device = /dev/ttyS0
speed = 57600
keepalive = 60
sms-center = 12062130104
my-number = 9092186240
 

# SMSBOX SETUP
 

group = smsbox
bearerbox-host = localhost
sendsms-port = 13013
global-sender = 13013
log-file = "smsbox.log"
log-level = 0
access-log = "sms-access.log"
 

# SEND-SMS USERS
 

group = sendsms-user
username = test
password = test
user-allow-ip = "*.*.*.*"
 

# SERVICES
 

group = sms-service
keyword = complex
get-url = "http://localhost/service?sender=%p&text=%r";
#accept-x-kannel-headers = true
max-messages = 3
concatenation = true
 

# there should be default always
 

group = sms-service
keyword = default
text = "No service specified"
 

# Sierra Wireless 750 Aircard
group = modems
id = sierra_750
name = "Sierra Wireless AirCard 750"
detect-string = Sierra Wireless Inc."
init-string = "AT+CNMI=1,2,0,0,1"
speed = 19200
need-sleep = true
no-pin = true
no-smsc = true



Re: searchable mailinglist archives

2004-08-11 Thread Pedro B.
and
http://www.kannel.org/mailman/private/users/
http://www.kannel.org/mailman/private/devel/
Stipe Tolj wrote:
Marc Cuypers wrote:
Hi,
Are there any searchable mailing archives.  The archives I found don't 
allow searches.

check:
http://www.mail-archive.com/[EMAIL PROTECTED]/
http://www.mail-archive.com/[EMAIL PROTECTED]/
Stipe
mailto:stolj_{at}_wapme.de
---
Wapme Systems AG
Vogelsanger Weg 80
40470 Düsseldorf, NRW, Germany
phone: +49.211.74845.0
fax: +49.211.74845.299
mailto:info_{at}_wapme-systems.de
http://www.wapme-systems.de/
---
-BEGIN PGP PUBLIC KEY BLOCK-
Version: GnuPG v1.2.2 (Cygwin)
mIsEP6mcYwEEAMDnUiUwrbb+xwTFWN6TxF2+XZu7/alwJMeCwMBRvXtPZqfjpPhS
OkBpU0F4TrVuugz1HINTSaJTYq10AzDQXp5NkyWgckqW79nPAWuOX0dicbJk+cN2
nM2TI4KaxUDe6u8hghNEnH/i2lXsUu9apnP/iixzV81VC2je3uc9hZpnAAYptEVT
dGlwZSBUb2xqIChUZWNobm9sb2d5IENlbnRlciAmIFJlc2VhcmNoIExhYikgPHRv
bGpAd2FwbWUtc3lzdGVtcy5kZT6ItAQTAQIAHgUCP6mcYwIbAwYLCQgHAwIDFQID
AxYCAQIeAQIXgAAKCRABV0w1BqPYRuSqA/wPzsQxao2YePENCtgRTrO86U6zg3sl
OcS6CJFI4FZP5h/xD3GRsNH1+MPSvZlomDdpFnr547DGz/Kq9MXuQwVvlVig5yWZ
K5dtKp1r5YLhxJQBhfirZbRFFnYmf19f18J8OoS28tuFVftDl1AIwJS3HLyBTv6H
g2HyLAEKQIp30Q==
=aYCI
-END PGP PUBLIC KEY BLOCK-




Re: Picture Message Header

2004-04-08 Thread Pedro B.
Tested on Nokia 6310, Motorola V525.

Pedro Borracha 
www.telelinksms.pt <http://www.telelinksms.pt> 



Tan Ai Leen wrote:

Tried the pic message but the picture can't be display...
What handphone are you using to receive the pic msg?
Ai Leen

Pedro B. wrote:

Please try  this one (changing it to your ip/port/login of course);

http://198.198.1.150:13013/cgi-bin/sendsms?username=tester&password=foobar&t 

o=98555963&udh=%06%05%04%15%8A%15%8A&text=3004546573740201481C01 

66998140006000E2400E 

9003128031080CF3B8018040041104440140FFFE2F8B12024053 

8CAA02806289C401804141400140014280024000200B0504 

158A000301030201428001F000A28001800FFE00A500015FFEA57FFA 

400AAA005500028201500440015D08A1881024800040FF0201404100010003ABE0024400 

0008200D55588280101440001C018036014001806B024000 

00550281990B0504158A000301030366 

&coding=1

Or this one, for an operator logo:

http://192.168.1.24:13013/cgi-bin/sendsms?user=tester&pass=foobar&from=91xxx&to=91&udh=%06%05%04%15%82%00%00 

&text%62%F8%10%00%48%0E%01
0F03F807001980E0038010C0E01AC0E00E7BE78F1C1C11C0E0131FF1830E301E40E0231E718307601060E0071C318303C020E0E04618 

318301C050E0E04E18318301E06950E05C18318703704F10E0DC9831CF06382F90E1D91831FF0C1C1860FFCE3C78FBB80E00 

Sorry for the bad wrapping of the text :)

Pedro Borracha [EMAIL PROTECTED] 
<mailto:[EMAIL PROTECTED]>
www.telelinksms.pt <http://www.telelinksms.pt>



Tan Ai Leen wrote:

Hi Pedro,

Thanks for replying.

There are 2 fields that are relevant to sending of pict messages, am 
I correct?
The udh and the text. The picture message is working for other 
splitting method. I wrote a script that splits the pict hex. The 
only difference between doing the splitting and using kannel is the 
udh, which is 0B05 instead of 0605 But when sending a 0B05 udh, 
I got udh malformed reply from kannel.

The text which is the hex data for pic message and the udh should 
both be urlencoded? I believe so. The ringtone and log works this 
work. Is there any thing special  to set in the config files?

Regards,
Ai Leen
Pedro B. wrote:
This udh looks perfect to me, its identical to the one i use with 
success to send pict messages.
Seems to me your problem is not in the udh itself, but on some 
other field.

Pedro Borracha [EMAIL PROTECTED] 
<mailto:[EMAIL PROTECTED]>
www.telelinksms.pt <http://www.telelinksms.pt>



Tan Ai Leen wrote:

Hi,

I just started using Kannel and needed some help with sending 
picture message. I look throught the mail archive and found this 
header to use.
//$udh = '%06%05%04%15%8A%00%00';
Try a number of variations liek 0B05... but can't get any thing to 
work.
But the phone is unable to display the picture message.
Can anyone send me a valid udh that works for picture messages for 
nokia handset? Or suggest a working method?

Thanks,
Ai Leen
















Re: Picture Message Header

2004-04-08 Thread Pedro B.
Please try  this one (changing it to your ip/port/login of course);

http://198.198.1.150:13013/cgi-bin/sendsms?username=tester&password=foobar&t
o=98555963&udh=%06%05%04%15%8A%15%8A&text=3004546573740201481C01
66998140006000E2400E
9003128031080CF3B8018040041104440140FFFE2F8B12024053 

8CAA02806289C401804141400140014280024000200B0504 

158A000301030201428001F000A28001800FFE00A500015FFEA57FFA
400AAA005500028201500440015D08A1881024800040FF0201404100010003ABE0024400
0008200D55588280101440001C018036014001806B024000
00550281990B0504158A000301030366
&coding=1
Or this one, for an operator logo:

http://192.168.1.24:13013/cgi-bin/sendsms?user=tester&pass=foobar&from=91xxx&to=91&udh=%06%05%04%15%82%00%00
&text%62%F8%10%00%48%0E%01
0F03F807001980E0038010C0E01AC0E00E7BE78F1C1C11C0E0131FF1830E301E40E0231E718307601060E0071C318303C020E0E04618
318301C050E0E04E18318301E06950E05C18318703704F10E0DC9831CF06382F90E1D91831FF0C1C1860FFCE3C78FBB80E00
Sorry for the bad wrapping of the text :)

Pedro Borracha 
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
www.telelinksms.pt <http://www.telelinksms.pt> 



Tan Ai Leen wrote:

Hi Pedro,

Thanks for replying.

There are 2 fields that are relevant to sending of pict messages, am I 
correct?
The udh and the text. The picture message is working for other 
splitting method. I wrote a script that splits the pict hex. The only 
difference between doing the splitting and using kannel is the udh, 
which is 0B05 instead of 0605 But when sending a 0B05 udh, I got 
udh malformed reply from kannel.

The text which is the hex data for pic message and the udh should both 
be urlencoded? I believe so. The ringtone and log works this work. Is 
there any thing special  to set in the config files?

Regards,
Ai Leen
Pedro B. wrote:
This udh looks perfect to me, its identical to the one i use with 
success to send pict messages.
Seems to me your problem is not in the udh itself, but on some other 
field.

Pedro Borracha [EMAIL PROTECTED] 
<mailto:[EMAIL PROTECTED]>
www.telelinksms.pt <http://www.telelinksms.pt>



Tan Ai Leen wrote:

Hi,

I just started using Kannel and needed some help with sending 
picture message. I look throught the mail archive and found this 
header to use.
//$udh = '%06%05%04%15%8A%00%00';
Try a number of variations liek 0B05... but can't get any thing to 
work.
But the phone is unable to display the picture message.
Can anyone send me a valid udh that works for picture messages for 
nokia handset? Or suggest a working method?

Thanks,
Ai Leen











Re: Picture Message Header

2004-04-08 Thread Pedro B.
This udh looks perfect to me, its identical to the one i use with 
success to send pict messages.
Seems to me your problem is not in the udh itself, but on some other field.

Pedro Borracha 
[EMAIL PROTECTED] 
www.telelinksms.pt  



Tan Ai Leen wrote:

Hi,

I just started using Kannel and needed some help with sending picture 
message. I look throught the mail archive and found this header to use.
//$udh = '%06%05%04%15%8A%00%00';
Try a number of variations liek 0B05... but can't get any thing to work.
But the phone is unable to display the picture message.
Can anyone send me a valid udh that works for picture messages for 
nokia handset? Or suggest a working method?

Thanks,
Ai Leen





Re: Front End for Kannel

2004-03-31 Thread Pedro B.
You could use an 'exec' on keyword to run an external .php (for 
example), that does a mysql_connect and some sql inserts.

\\pb

Bharathi S wrote:

On Tue, 30 Mar 2004, Asif Ali wrote:

 

Im not sure if the below front does or does not support your
required functionality. The best i can suggest, would be to develop
a simple front end with mysql as a db.
   

Yes, I am also think the same. But I am unable to find How to redirect
the SMS to DB. Now I have only one idea to parse the Kannel.Store
file. Is it the right way ??
Bye :)
 





Re: sms-service

2004-03-25 Thread Pedro B.
You could make the service trigger an 'exec' that would call the 
'sendsms' reply with a certain (different from sender) number.

Pedro Borracha 
[EMAIL PROTECTED] 

Av. das Descobertas, 
Galerias Alto da Barra - Piso 3 
2780-001 Oeiras . Portugal 
www.telelinksms.pt  



[EMAIL PROTECTED] wrote:

Hi,
does anyone know if sms-service in kannel 1.2.1 can be configured so that
it sends "reply" message to a number configured in sms-service section or
something like that, not to senders number? So basically when an sms with
sertain keyword(s) arrives it is forwarded to a number configured?
Thanx in advance.
~pete

___
Parhaat hakupalvelut yhdessä osoitteessa: http://www.eniro.fi/
Suomalaisten yritysten tuotteet ja palvelut: http://yritykset.eniro.fi/

 





[Fwd: Re: push SI]

2004-03-24 Thread Pedro B.
btw: Out of Office replies DO suck, don't they?



 Original Message 
Subject:Re: push SI
Date:   24 Mar 2004 10:59:59 -
From:   [EMAIL PROTECTED]
To: [EMAIL PROTECTED]


Boas ! Estou de férias de dia 14 a 27 de Março. 
República Dominicana, Cabarete - Hotel Caracol
www.hotelcaracol.com

Abraco
Joao Correia







push SI

2004-03-24 Thread Pedro B.
Hello everyone,

Last night i tried to play a bit with the push SI, and i successfully 
used them with "newer" Nokias and even a Motorola v525 (the success on 
that one came as a pleasant surprise, i might add).

From what i've searched on this list, it seems the SI is the "all 
around most compatible" way to go, and since my needs are to send 
polyphonics and other kinds of multimedia binary content, it appeared to 
me as the valid choice.

But... the Siemens i tried, for example, don't even appear to actually 
receive anything, so must be doing a zig instead of a zag somewhere. 
Below is a "template" that i have been using.

I appreciate any help anyone might give me on this particular matter, 
and if it's not asking for too much, any tips as to if this is really 
the recommended way to it. :)

Thanks in advance,

\\pb



lynx -dump 
"http://192.168.1.24:13013/cgi-bin/sendsms?username=tester&password=foobar&to=9&from=91222&udh=%06%05%04%0B%84%23%F0&text=%01%06%04%03%AE%81%EA%02%05%6A%00%45%C6%0C%03211.11.111.111/[EMAIL PROTECTED] 
ra la something blah blah%00%01%01"

--
Pedro Borracha 
[EMAIL PROTECTED] 
TM. +351 91 220 28 77 

Av. das Descobertas, 
Galerias Alto da Barra - Piso 3 
2780-001 Oeiras . Portugal 
www.telelinksms.pt  






dlr update - wrong status

2004-03-20 Thread Pedro B.
I tried to modify the dlr_mysql_remove to make it the same as 
dlr_mysql_update, simply by editing the dlr_mysql.c and making the 
dlr_remove to become dlr_mysql_update.

This would make the dlr's not be deleted when getting the last 
status-report and always updated to the "latest" dlr status, but 
instead, the status always gets updated to the value 135184161.

In the access.log, it does show as "Buffered" to "Success", but not in 
the sql update. Below i include log snippets.

Is this normal behaviour, or a wrong path i took along the way?
note: cvs kannel.
\\pb

kannel.log:

2004-03-21 03:07:19 [19276] [7] DEBUG: AT2[testeid]: got STATUS-REPORT 
for message <139>:
2004-03-21 03:07:19 [19276] [7] DEBUG: AT2[testeid]: Numeric receiver 
<912202877>
2004-03-21 03:07:19 [19276] [7] DEBUG: DLR[mysql]: Looking for DLR 
smsc=testeid, ts=139, dst=91xxx, type=1
2004-03-21 03:07:19 [19276] [7] DEBUG: sql: SELECT mask, service, url, 
source, destination, boxcid FROM dlr WHERE smsc='testeid' AND ts='139';
2004-03-21 03:07:19 [19276] [7] DEBUG: Found entry, row[0]=7, 
row[1]=tester, row[2]=, row[3]=91xxx, row[4]=91xxx row[5]=
2004-03-21 03:07:19 [19276] [7] DEBUG: DLR[mysql]: created DLR message 
for URL <>
2004-03-21 03:07:19 [19276] [7] DEBUG: updating DLR status in database
2004-03-21 03:07:19 [19276] [7] DEBUG: sql: UPDATE dlr SET 
status=135184161 WHERE smsc='testeid' AND ts='139' LIMIT 1;

access.log:

2004-03-21 02:58:48 DLR SMS [SMSC:testeid] [SVC:tester] [ACT:] [BINF:] 
[from:91xx] [to:91xxx] [flags:-1:-1:-1:-1:4] [msg:8:Buffered] 
[udh:0:]
2004-03-21 03:07:19 DLR SMS [SMSC:testeid] [SVC:tester] [ACT:] [BINF:] 
[from:91xxx] [to:91xxx] [flags:-1:-1:-1:-1:1] [msg:7:Success] 
[udh:0:]




Re: Using MySQL storage

2004-03-18 Thread Pedro B.
Hello,

First of all, i apologise if this question (and/or an answer) have 
already been discussed, but i did not find any on the mailing list's 
archives.

Will the sqlbox also be able to support archiving/logging of incoming 
sms's, or will the only way to it be (for example), an exec to a php or 
pl code that would process the MO, log it, process it, create the MT, 
sent it?

Thanks in advance
\\pb


Rene Kluwen wrote:
SQLBOX is for this.
It is another box (besides smsbox, wapbox, bearerbox) for Kannel.
It will be available as patch on this mailinglist shortly, after I worked
away everything that has been waiting for me in the month that I have been
away from my desk.
Rene Kluwen
Chimit
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Reto Hersiczky
Sent: vrijdag 5 maart 2004 1:34
To: [EMAIL PROTECTED]
Subject: Using MySQL storage
I want to store each SMS delivery log entry directly into a MySQL
table. I could verify Kannel is able to read from the related database
table since the web-based status panel on
http://localhost:13000/status.html?username=foo&password=bar
always shows the exact number of rows as
DLR: 1 queued, using mysql storage

(I just played with that table so the 1 row has been inserted by me
not by the smsbox daemon.)
Although I can send SMS with

http://localhost:13002/cgi-bin/sendsms?to=0764611551&username=foo&password=b
ar&text=Hello
and Kannel confirms the built-in MySQL support is ready ...

Kannel bearerbox version `1.2.1'. System Linux, release 2.4.20-8,
version #1 Thu Mar 13 17:54:28 EST 2003, machine i686.
Hostname foo.bar.ch, IP 127.0.0.1. Libxml version 20504.
Using MySQL 4.0.15.
Using LibSDB 0.5.2.
Using native malloc.
... no records are being inserted.

The goal is to send SMS through smsbox and the the requests and their
status are beeing logged into a MySQL table.
Can anybody share her/his expertise on this?

Have configured and compiled Kannel with

./configure --disable-ssl --with-mysql=/usr --enable-mysql --with-dlr=mysql 
--enable-mysql-dlr --enable-sdb



--
Best regards,
 Reto  mailto:[EMAIL PROTECTED]
Will publish the complete solution procedure on this as quickly as I
get rid of this problem on
http://www.infocopter.com/know-how/kannel-mysql-print.htm