RE: Help with Unicode Messages

2020-03-20 Thread Davor Spasoski
BTW, I don’t know why the cgi-bin was slow on you. We’ve sent bilions of SMS so 
far and there was not a single problem with the smsbox

What are you using to address to the smsbox?

Davor Spasoski

From: users  On Behalf Of Davor Spasoski
Sent: Friday, March 20, 2020 12:34 PM
To: Gabriel Augusto Diaz Zapata 
Cc: users@kannel.org
Subject: RE: Help with Unicode Messages


1.Your table must be created with Unicode support

2.select encoding/collation to UTF8mb4

3.If you are using a programming language, set the connection to the table 
must be with the proper (UTF-8) charset.

4.If you use SQL statement from the CLI, make sure the CLI supports UTF8mb4

5.Copy/paste the smiley sign or follow the link here 
https://stackoverflow.com/questions/39463134/how-to-store-emoji-character-in-mysql-database


Davor Spasoski

From: Gabriel Augusto Diaz Zapata 
mailto:gabriel.d...@gmail.com>>
Sent: Friday, March 20, 2020 5:30 AM
To: Davor Spasoski mailto:davor.spaso...@a1.mk>>
Cc: users@kannel.org<mailto:users@kannel.org>
Subject: Re: Help with Unicode Messages

Yes, I did.

So.. change my question
I need to send some millions of unicode messages
I tried with smsbox cgi, but I  didnt get a better performance.. some timeouts 
or very slow..

So.. I think to do a bulk insert to send_sms table, but i need to identify how 
is encoded the HMTL Entities, in example " Hello " to  
%00h%00e%00l%00l%00o%00%A0%D8%3D%DE%00 (bold text is the emoji)
I need to know please how to encode the text  and the UNICODE text

It is possible?

Thanks in advanced

On Thu, Mar 19, 2020 at 3:31 AM Davor Spasoski 
mailto:davor.spaso...@a1.mk>> wrote:
Did you set coding=2

On Mar 19, 2020, at 04:42, Gabriel Augusto Diaz Zapata 
mailto:gabriel.d...@gmail.com>> wrote:

Tks Davor, Antony

URL Encoded doesnt works.. The string after conversion is not the same

On Wed, Mar 18, 2020 at 4:49 AM Davor Spasoski 
mailto:davor.spaso...@a1.mk>> wrote:
Hi,

You need to address to smsbox in UTF-8. So, you then URL encode (percent 
encode) every hex code of the UTF-8 sign.

BR,
Davor

> On Mar 18, 2020, at 02:07, Gabriel Augusto Diaz Zapata 
> mailto:gabriel.d...@gmail.com>> wrote:
>
> Hello
> I need help please
>
> Im sending unicode messages (emojis) using sendsms. IE, xc; is converted in 
> sent_sms table to "%D8%3D%DE%00"
>
> Wich type of conversion is it? I mean UNICODE to? HEX?
>
> Thank you
>
> Gabriel




Disclaimer: A1 Makedonija DOOEL Skopje
This e-mail (including any attachments) is confidential and may be protected by 
legal privilege. If you are not the intended recipient, you should not copy it, 
re-transmit it, use it or disclose its contents, but should return it to the 
sender immediately and delete your copy from your system. Any unauthorized use 
or dissemination of this message in whole or in part is strictly prohibited. 
Please note that e-mails are susceptible to change. A1 Makedonija DOOEL Skopje 
shall not be liable for the improper or incomplete transmission of the 
information contained in this communication nor for any delay in its receipt or 
damage to your system.
Please, do not print this e-mail unless it is necessary! Think about saving the 
environment!

Напомена: А1 Македонија ДООЕЛ Скопје
Оваа електронска порака (вклучувајќи ги и прилозите) е доверлива и може да биде 
заштитена со правни привилегии. Доколку не сте лицето на кое таа му е наменета 
пораката, не треба да ја копирате, дистрибуирате или да ја откривате нејзината 
содржина, туку веднаш да ја препратите до испраќачот и да ја избришете 
оригиналната порака и сите нејзини копии од Вашиот компјутерски систем. Секое 
неовластено користење на оваа порака во целост или делови од истата е строго 
забрането. Ве молиме да забележите дека електронските пораки се подложни на 
промени. А1 Македонија ДООЕЛ Скопје не презема одговорност за несоодветно или 
нецелосно пренесување на информациите содржани во оваа комуникација, ниту пак 
за било какво задоцнување на приемот или оштетувања на вашиот систем.
Ве молиме не ја печатете оваа порака освен ако не е неопходно! Зачувајте ја 
природата!



Disclaimer: A1 Makedonija DOOEL Skopje
This e-mail (including any attachments) is confidential and may be protected by 
legal privilege. If you are not the intended recipient, you should not copy it, 
re-transmit it, use it or disclose its contents, but should return it to the 
sender immediately and delete your copy from your system. Any unauthorized use 
or dissemination of this message in whole or in part is strictly prohibited. 
Please note that e-mails are susceptible to change. A1 Makedonija DOOEL Skopje 
shall not be liable for the improper or incomplete transmission of the 
information contained in this communication nor for any delay in its receipt or 
damage to your system.
Please, do not print this e

RE: Help with Unicode Messages

2020-03-20 Thread Davor Spasoski
1.Your table must be created with Unicode support

2.select encoding/collation to UTF8mb4

3.If you are using a programming language, set the connection to the table 
must be with the proper (UTF-8) charset.

4.If you use SQL statement from the CLI, make sure the CLI supports UTF8mb4

5.Copy/paste the smiley sign or follow the link here 
https://stackoverflow.com/questions/39463134/how-to-store-emoji-character-in-mysql-database


Davor Spasoski

From: Gabriel Augusto Diaz Zapata 
Sent: Friday, March 20, 2020 5:30 AM
To: Davor Spasoski 
Cc: users@kannel.org
Subject: Re: Help with Unicode Messages

Yes, I did.

So.. change my question
I need to send some millions of unicode messages
I tried with smsbox cgi, but I  didnt get a better performance.. some timeouts 
or very slow..

So.. I think to do a bulk insert to send_sms table, but i need to identify how 
is encoded the HMTL Entities, in example " Hello " to  
%00h%00e%00l%00l%00o%00%A0%D8%3D%DE%00 (bold text is the emoji)
I need to know please how to encode the text  and the UNICODE text

It is possible?

Thanks in advanced

On Thu, Mar 19, 2020 at 3:31 AM Davor Spasoski 
mailto:davor.spaso...@a1.mk>> wrote:
Did you set coding=2


On Mar 19, 2020, at 04:42, Gabriel Augusto Diaz Zapata 
mailto:gabriel.d...@gmail.com>> wrote:

Tks Davor, Antony

URL Encoded doesnt works.. The string after conversion is not the same

On Wed, Mar 18, 2020 at 4:49 AM Davor Spasoski 
mailto:davor.spaso...@a1.mk>> wrote:
Hi,

You need to address to smsbox in UTF-8. So, you then URL encode (percent 
encode) every hex code of the UTF-8 sign.

BR,
Davor

> On Mar 18, 2020, at 02:07, Gabriel Augusto Diaz Zapata 
> mailto:gabriel.d...@gmail.com>> wrote:
>
> Hello
> I need help please
>
> Im sending unicode messages (emojis) using sendsms. IE, xc; is converted in 
> sent_sms table to "%D8%3D%DE%00"
>
> Wich type of conversion is it? I mean UNICODE to? HEX?
>
> Thank you
>
> Gabriel




Disclaimer: A1 Makedonija DOOEL Skopje
This e-mail (including any attachments) is confidential and may be protected by 
legal privilege. If you are not the intended recipient, you should not copy it, 
re-transmit it, use it or disclose its contents, but should return it to the 
sender immediately and delete your copy from your system. Any unauthorized use 
or dissemination of this message in whole or in part is strictly prohibited. 
Please note that e-mails are susceptible to change. A1 Makedonija DOOEL Skopje 
shall not be liable for the improper or incomplete transmission of the 
information contained in this communication nor for any delay in its receipt or 
damage to your system.
Please, do not print this e-mail unless it is necessary! Think about saving the 
environment!

Напомена: А1 Македонија ДООЕЛ Скопје
Оваа електронска порака (вклучувајќи ги и прилозите) е доверлива и може да биде 
заштитена со правни привилегии. Доколку не сте лицето на кое таа му е наменета 
пораката, не треба да ја копирате, дистрибуирате или да ја откривате нејзината 
содржина, туку веднаш да ја препратите до испраќачот и да ја избришете 
оригиналната порака и сите нејзини копии од Вашиот компјутерски систем. Секое 
неовластено користење на оваа порака во целост или делови од истата е строго 
забрането. Ве молиме да забележите дека електронските пораки се подложни на 
промени. А1 Македонија ДООЕЛ Скопје не презема одговорност за несоодветно или 
нецелосно пренесување на информациите содржани во оваа комуникација, ниту пак 
за било какво задоцнување на приемот или оштетувања на вашиот систем.
Ве молиме не ја печатете оваа порака освен ако не е неопходно! Зачувајте ја 
природата!



Disclaimer: A1 Makedonija DOOEL Skopje
This e-mail (including any attachments) is confidential and may be protected by 
legal privilege. If you are not the intended recipient, you should not copy it, 
re-transmit it, use it or disclose its contents, but should return it to the 
sender immediately and delete your copy from your system. Any unauthorized use 
or dissemination of this message in whole or in part is strictly prohibited. 
Please note that e-mails are susceptible to change. A1 Makedonija DOOEL Skopje 
shall not be liable for the improper or incomplete transmission of the 
information contained in this communication nor for any delay in its receipt or 
damage to your system.
Please, do not print this e-mail unless it is necessary! Think about saving the 
environment!

Напомена: А1 Македонија ДООЕЛ Скопје
Оваа електронска порака (вклучувајќи ги и прилозите) е доверлива и може да биде 
заштитена со правни привилегии. Доколку не сте лицето на кое таа му е наменета 
пораката, не треба да ја копирате, дистрибуирате или да ја откривате нејзината 
содржина, туку веднаш да ја препратите до испраќачот и да ја избришете 
оригиналната порака и сите нејзини копии од Вашиот ко

Re: Help with Unicode Messages

2020-03-19 Thread Gabriel Augusto Diaz Zapata
Yes, I did.

So.. change my question
I need to send some millions of unicode messages
I tried with smsbox cgi, but I  didnt get a better performance.. some
timeouts or very slow..

So.. I think to do a bulk insert to send_sms table, but i need to identify
how is encoded the HMTL Entities, in example " Hello "
to  %00h%00e%00l%00l%00o%00%A0%*D8%3D%DE%00 (bold text is the emoji)*
I need to know please how to encode the text  and the UNICODE text

It is possible?

Thanks in advanced

On Thu, Mar 19, 2020 at 3:31 AM Davor Spasoski  wrote:

> Did you set coding=2
>
> On Mar 19, 2020, at 04:42, Gabriel Augusto Diaz Zapata <
> gabriel.d...@gmail.com> wrote:
>
> 
> Tks Davor, Antony
>
> URL Encoded doesnt works.. The string after conversion is not the same
>
> On Wed, Mar 18, 2020 at 4:49 AM Davor Spasoski 
> wrote:
>
>> Hi,
>>
>> You need to address to smsbox in UTF-8. So, you then URL encode (percent
>> encode) every hex code of the UTF-8 sign.
>>
>> BR,
>> Davor
>>
>> > On Mar 18, 2020, at 02:07, Gabriel Augusto Diaz Zapata <
>> gabriel.d...@gmail.com> wrote:
>> >
>> > Hello
>> > I need help please
>> >
>> > Im sending unicode messages (emojis) using sendsms. IE, xc; is
>> converted in sent_sms table to "%D8%3D%DE%00"
>> >
>> > Wich type of conversion is it? I mean UNICODE to? HEX?
>> >
>> > Thank you
>> >
>> > Gabriel
>>
>>
>> 
>>
>> Disclaimer: A1 Makedonija DOOEL Skopje
>> This e-mail (including any attachments) is confidential and may be
>> protected by legal privilege. If you are not the intended recipient, you
>> should not copy it, re-transmit it, use it or disclose its contents, but
>> should return it to the sender immediately and delete your copy from your
>> system. Any unauthorized use or dissemination of this message in whole or
>> in part is strictly prohibited. Please note that e-mails are susceptible to
>> change. A1 Makedonija DOOEL Skopje shall not be liable for the improper or
>> incomplete transmission of the information contained in this communication
>> nor for any delay in its receipt or damage to your system.
>> Please, do not print this e-mail unless it is necessary! Think about
>> saving the environment!
>>
>> Напомена: А1 Македонија ДООЕЛ Скопје
>> Оваа електронска порака (вклучувајќи ги и прилозите) е доверлива и може
>> да биде заштитена со правни привилегии. Доколку не сте лицето на кое таа му
>> е наменета пораката, не треба да ја копирате, дистрибуирате или да ја
>> откривате нејзината содржина, туку веднаш да ја препратите до испраќачот и
>> да ја избришете оригиналната порака и сите нејзини копии од Вашиот
>> компјутерски систем. Секое неовластено користење на оваа порака во целост
>> или делови од истата е строго забрането. Ве молиме да забележите дека
>> електронските пораки се подложни на промени. А1 Македонија ДООЕЛ Скопје не
>> презема одговорност за несоодветно или нецелосно пренесување на
>> информациите содржани во оваа комуникација, ниту пак за било какво
>> задоцнување на приемот или оштетувања на вашиот систем.
>> Ве молиме не ја печатете оваа порака освен ако не е неопходно! Зачувајте
>> ја природата!
>>
>
> --
>
> Disclaimer: A1 Makedonija DOOEL Skopje
> This e-mail (including any attachments) is confidential and may be
> protected by legal privilege. If you are not the intended recipient, you
> should not copy it, re-transmit it, use it or disclose its contents, but
> should return it to the sender immediately and delete your copy from your
> system. Any unauthorized use or dissemination of this message in whole or
> in part is strictly prohibited. Please note that e-mails are susceptible to
> change. A1 Makedonija DOOEL Skopje shall not be liable for the improper or
> incomplete transmission of the information contained in this communication
> nor for any delay in its receipt or damage to your system.
> Please, do not print this e-mail unless it is necessary! Think about
> saving the environment!
>
> Напомена: А1 Македонија ДООЕЛ Скопје
> Оваа електронска порака (вклучувајќи ги и прилозите) е доверлива и може да
> биде заштитена со правни привилегии. Доколку не сте лицето на кое таа му е
> наменета пораката, не треба да ја копирате, дистрибуирате или да ја
> откривате нејзината содржина, туку веднаш да ја препратите до испраќачот и
> да ја избришете оригиналната порака и сите нејзини копии од Вашиот
> компјутерски систем. Секое неовластено користење на оваа порака во целост
> или делови од истата е строго забрането. Ве молиме да забележите дека
> електронските пораки се подложни на промени. А1 Македонија ДООЕЛ Скопје не
> презема одговорност за несоодветно или нецелосно пренесување на
> информациите содржани во оваа комуникација, ниту пак за било какво
> задоцнување на приемот или оштетувања на вашиот систем.
> Ве молиме не ја печатете оваа порака освен ако не е неопходно! Зачувајте
> ја природата!
>


Re: Help with Unicode Messages

2020-03-19 Thread Davor Spasoski



Did you set coding=2

On Mar 19, 2020, at 04:42, Gabriel Augusto Diaz Zapata  wrote:





Tks Davor, Antony


URL Encoded doesnt works.. The string after conversion is not the same



On Wed, Mar 18, 2020 at 4:49 AM Davor Spasoski  wrote:


Hi,

You need to address to smsbox in UTF-8. So, you then URL encode (percent encode) every hex code of the UTF-8 sign.

BR,
Davor

> On Mar 18, 2020, at 02:07, Gabriel Augusto Diaz Zapata  wrote:
>
> Hello
> I need help please
>
> Im sending unicode messages (emojis) using sendsms. IE, xc; is converted in sent_sms table to "%D8%3D%DE%00"
>
> Wich type of conversion is it? I mean UNICODE to? HEX?
>
> Thank you
>
> Gabriel




Disclaimer: A1 Makedonija DOOEL Skopje
This e-mail (including any attachments) is confidential and may be protected by legal privilege. If you are not the intended recipient, you should not copy it, re-transmit it, use it or disclose its contents, but should return it to the sender immediately and
 delete your copy from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change. A1 Makedonija DOOEL Skopje shall not be liable for the improper or incomplete
 transmission of the information contained in this communication nor for any delay in its receipt or damage to your system.
Please, do not print this e-mail unless it is necessary! Think about saving the environment!

Напомена: А1 Македонија ДООЕЛ Скопје
Оваа електронска порака (вклучувајќи ги и прилозите) е доверлива и може да биде заштитена со правни привилегии. Доколку не сте лицето на кое таа му е наменета пораката, не треба да ја копирате, дистрибуирате или да ја откривате нејзината содржина, туку веднаш
 да ја препратите до испраќачот и да ја избришете оригиналната порака и сите нејзини копии од Вашиот компјутерски систем. Секое неовластено користење на оваа порака во целост или делови од истата е строго забрането. Ве молиме да забележите дека електронските
 пораки се подложни на промени. А1 Македонија ДООЕЛ Скопје не презема одговорност за несоодветно или нецелосно пренесување на информациите содржани во оваа комуникација, ниту пак за било какво задоцнување на приемот или оштетувања на вашиот систем.
Ве молиме не ја печатете оваа порака освен ако не е неопходно! Зачувајте ја природата!







Disclaimer: A1 Makedonija DOOEL Skopje
This e-mail (including any attachments) is confidential and may be protected by legal privilege. If you are not the intended recipient, you should not copy it, re-transmit it, use it or disclose its contents, but should return it to the sender immediately and
 delete your copy from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change. A1 Makedonija DOOEL Skopje shall not be liable for the improper or incomplete
 transmission of the information contained in this communication nor for any delay in its receipt or damage to your system.
Please, do not print this e-mail unless it is necessary! Think about saving the environment!

Напомена: А1 Македонија ДООЕЛ Скопје
Оваа електронска порака (вклучувајќи ги и прилозите) е доверлива и може да биде заштитена со правни привилегии. Доколку не сте лицето на кое таа му е наменета пораката, не треба да ја копирате, дистрибуирате или да ја откривате нејзината содржина, туку веднаш
 да ја препратите до испраќачот и да ја избришете оригиналната порака и сите нејзини копии од Вашиот компјутерски систем. Секое неовластено користење на оваа порака во целост или делови од истата е строго забрането. Ве молиме да забележите дека електронските
 пораки се подложни на промени. А1 Македонија ДООЕЛ Скопје не презема одговорност за несоодветно или нецелосно пренесување на информациите содржани во оваа комуникација, ниту пак за било какво задоцнување на приемот или оштетувања на вашиот систем.
Ве молиме не ја печатете оваа порака освен ако не е неопходно! Зачувајте ја природата!





Re: Help with Unicode Messages

2020-03-18 Thread Gabriel Augusto Diaz Zapata
Tks Davor, Antony

URL Encoded doesnt works.. The string after conversion is not the same

On Wed, Mar 18, 2020 at 4:49 AM Davor Spasoski  wrote:

> Hi,
>
> You need to address to smsbox in UTF-8. So, you then URL encode (percent
> encode) every hex code of the UTF-8 sign.
>
> BR,
> Davor
>
> > On Mar 18, 2020, at 02:07, Gabriel Augusto Diaz Zapata <
> gabriel.d...@gmail.com> wrote:
> >
> > Hello
> > I need help please
> >
> > Im sending unicode messages (emojis) using sendsms. IE, xc; is converted
> in sent_sms table to "%D8%3D%DE%00"
> >
> > Wich type of conversion is it? I mean UNICODE to? HEX?
> >
> > Thank you
> >
> > Gabriel
>
>
> 
>
> Disclaimer: A1 Makedonija DOOEL Skopje
> This e-mail (including any attachments) is confidential and may be
> protected by legal privilege. If you are not the intended recipient, you
> should not copy it, re-transmit it, use it or disclose its contents, but
> should return it to the sender immediately and delete your copy from your
> system. Any unauthorized use or dissemination of this message in whole or
> in part is strictly prohibited. Please note that e-mails are susceptible to
> change. A1 Makedonija DOOEL Skopje shall not be liable for the improper or
> incomplete transmission of the information contained in this communication
> nor for any delay in its receipt or damage to your system.
> Please, do not print this e-mail unless it is necessary! Think about
> saving the environment!
>
> Напомена: А1 Македонија ДООЕЛ Скопје
> Оваа електронска порака (вклучувајќи ги и прилозите) е доверлива и може да
> биде заштитена со правни привилегии. Доколку не сте лицето на кое таа му е
> наменета пораката, не треба да ја копирате, дистрибуирате или да ја
> откривате нејзината содржина, туку веднаш да ја препратите до испраќачот и
> да ја избришете оригиналната порака и сите нејзини копии од Вашиот
> компјутерски систем. Секое неовластено користење на оваа порака во целост
> или делови од истата е строго забрането. Ве молиме да забележите дека
> електронските пораки се подложни на промени. А1 Македонија ДООЕЛ Скопје не
> презема одговорност за несоодветно или нецелосно пренесување на
> информациите содржани во оваа комуникација, ниту пак за било какво
> задоцнување на приемот или оштетувања на вашиот систем.
> Ве молиме не ја печатете оваа порака освен ако не е неопходно! Зачувајте
> ја природата!
>


Re: Help with Unicode Messages

2020-03-18 Thread Davor Spasoski
Hi,

You need to address to smsbox in UTF-8. So, you then URL encode (percent 
encode) every hex code of the UTF-8 sign.

BR,
Davor

> On Mar 18, 2020, at 02:07, Gabriel Augusto Diaz Zapata 
>  wrote:
>
> Hello
> I need help please
>
> Im sending unicode messages (emojis) using sendsms. IE, xc; is converted in 
> sent_sms table to "%D8%3D%DE%00"
>
> Wich type of conversion is it? I mean UNICODE to? HEX?
>
> Thank you
>
> Gabriel




Disclaimer: A1 Makedonija DOOEL Skopje
This e-mail (including any attachments) is confidential and may be protected by 
legal privilege. If you are not the intended recipient, you should not copy it, 
re-transmit it, use it or disclose its contents, but should return it to the 
sender immediately and delete your copy from your system. Any unauthorized use 
or dissemination of this message in whole or in part is strictly prohibited. 
Please note that e-mails are susceptible to change. A1 Makedonija DOOEL Skopje 
shall not be liable for the improper or incomplete transmission of the 
information contained in this communication nor for any delay in its receipt or 
damage to your system.
Please, do not print this e-mail unless it is necessary! Think about saving the 
environment!

Напомена: А1 Македонија ДООЕЛ Скопје
Оваа електронска порака (вклучувајќи ги и прилозите) е доверлива и може да биде 
заштитена со правни привилегии. Доколку не сте лицето на кое таа му е наменета 
пораката, не треба да ја копирате, дистрибуирате или да ја откривате нејзината 
содржина, туку веднаш да ја препратите до испраќачот и да ја избришете 
оригиналната порака и сите нејзини копии од Вашиот компјутерски систем. Секое 
неовластено користење на оваа порака во целост или делови од истата е строго 
забрането. Ве молиме да забележите дека електронските пораки се подложни на 
промени. А1 Македонија ДООЕЛ Скопје не презема одговорност за несоодветно или 
нецелосно пренесување на информациите содржани во оваа комуникација, ниту пак 
за било какво задоцнување на приемот или оштетувања на вашиот систем.
Ве молиме не ја печатете оваа порака освен ако не е неопходно! Зачувајте ја 
природата!


Re: Help with Unicode Messages

2020-03-18 Thread Antony Stone
On Wednesday 18 March 2020 at 02:07:48, Gabriel Augusto Diaz Zapata wrote:

> Im sending unicode messages (emojis) using sendsms. IE,  is
> converted in sent_sms table to "%D8%3D%DE%00"
> 
> Wich type of conversion is it? I mean UNICODE to? HEX?

I believe this is commonly referred to as URL-encoding.

Antony.

-- 
I don't know, maybe if we all waited then cosmic rays would write all our 
software for us. Of course it might take a while.

 - Ron Minnich, Los Alamos National Laboratory

   Please reply to the list;
 please *don't* CC me.



Re: help

2019-11-27 Thread Nat Paul
Thank for your feedback.

I find solution,

i put  smsbox-route in my file "kannel.conf"

now , i cant save these values in my database mysql



Le mer. 27 nov. 2019 à 21:32, Alvaro Cornejo  a
écrit :

> Hi
>
> Your need to create your receive.php script with appropriate code to
> connect to your mysql and do the insert in the tables you define it.
>
> Regards,
>
> Alvaro
>
> |-|
> Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
> celular y Nextel
> en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via SMS
> y GPRS online
>   Visitenos en www.perusms.com
>
>
> Le mer. 27 nov. 2019 à 15:14, Nat Paul  a
> écrit :
>
>> Hi,
>>
>> I need help,
>>
>> somebody can i explain how save value of get-url in database mysql ?
>>
>> 1. Now, when i send sms on my phone android with keyword, i can see the
>> sms
>>  on kannel :
>>
>> i made command line : cat /var/log/kannel/access.log
>>
>>
>>  2019-11-26 13:54:52 Receive SMS [SMSC: MySmscId ] [SVC:]
>> [ACT:Myshortcode] [BINF:1001] [FID:] [META:?smpp?] [from:sender]
>> [to:receiver] [flags:-1:0:-1:0:-1] [msg:3:Xxx] [udh:0:]
>> 2019-11-26 13:55:19 Receive SMS [SMSC: MySmscId ] [SVC:] [ACT:
>> Myshortcode ] [BINF:1001] [FID:] [META:?smpp?] [from: sender ] [to:
>> receiver ] [flags:-1:0:-1:0:-1] [msg:3:Www] [udh:0:]
>>
>>
>> and with curl "http://localhost:13000/status;, i see
>>
>>
>> SMS: received 1 (2 queued), sent 0 (0 queued), store size 2
>> SMS: inbound (0.00,0.00,0.00) msg/sec, outbound (0.00,0.00,0.00) msg/sec
>>
>> this is my config service :
>>
>> #Default SERVICE
>> group = sms-service
>> keyword = default
>> #get-url = "
>> http://127.0.0.1/testsendsms.php?from=%p=%P=%a=%i;
>> get-url = "http://127.0.0.1/receive.php?from=%p=%P=%a=%i;
>> accept-x-kannel-headers = true
>> accepted-smsc = gabontelecom
>> max-messages = 3
>> catch-all = true
>> concatenation = true
>>
>>
>>


Re: help

2019-11-27 Thread Alvaro Cornejo
Hi

Your need to create your receive.php script with appropriate code to
connect to your mysql and do the insert in the tables you define it.

Regards,

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


Le mer. 27 nov. 2019 à 15:14, Nat Paul  a écrit :

> Hi,
>
> I need help,
>
> somebody can i explain how save value of get-url in database mysql ?
>
> 1. Now, when i send sms on my phone android with keyword, i can see the
> sms
>  on kannel :
>
> i made command line : cat /var/log/kannel/access.log
>
>
>  2019-11-26 13:54:52 Receive SMS [SMSC: MySmscId ] [SVC:]
> [ACT:Myshortcode] [BINF:1001] [FID:] [META:?smpp?] [from:sender]
> [to:receiver] [flags:-1:0:-1:0:-1] [msg:3:Xxx] [udh:0:]
> 2019-11-26 13:55:19 Receive SMS [SMSC: MySmscId ] [SVC:] [ACT: Myshortcode
> ] [BINF:1001] [FID:] [META:?smpp?] [from: sender ] [to: receiver ]
> [flags:-1:0:-1:0:-1] [msg:3:Www] [udh:0:]
>
>
> and with curl "http://localhost:13000/status;, i see
>
>
> SMS: received 1 (2 queued), sent 0 (0 queued), store size 2
> SMS: inbound (0.00,0.00,0.00) msg/sec, outbound (0.00,0.00,0.00) msg/sec
>
> this is my config service :
>
> #Default SERVICE
> group = sms-service
> keyword = default
> #get-url = "
> http://127.0.0.1/testsendsms.php?from=%p=%P=%a=%i;
> get-url = "http://127.0.0.1/receive.php?from=%p=%P=%a=%i;
> accept-x-kannel-headers = true
> accepted-smsc = gabontelecom
> max-messages = 3
> catch-all = true
> concatenation = true
>
>
>


Re: Help regarding sending pound '£' symbol through kannel

2017-02-23 Thread Leos Tovarek
Hi,
The easiest and 100% successful is using the official standard name "GBP"
for that currency.
BR,
jh

On Thu, Feb 23, 2017 at 3:31 PM, Manas Mohanty <mohanty.ran...@gmail.com>
wrote:

> Thanks Davor.
>  I will try what you suggested.
>
> On Thu, Feb 23, 2017 at 4:16 PM, Davor Spasoski <davor.spaso...@onevip.mk>
> wrote:
>
>> P.S.
>>
>>
>>
>> Best way to check the default SMSC encoding is to send %00 with coding=0
>>  and check if you get @ or ¡ on your handset. If you get the ¡, then for
>> sure GSM 03.38 is not the default SMSC alphabet (as far as the SMPP
>> communication is concerned).
>>
>>
>>
>> BR,
>>
>>
>>
>> *Davor Spasoski*
>>
>> *From:* Davor Spasoski
>> *Sent:* 22 February 2017 15:03
>> *To:* 'Manas Mohanty' <mohanty.ran...@gmail.com>; users@kannel.org
>> *Subject:* RE: Help regarding sending pound '£' symbol through kannel
>>
>>
>>
>> Hi,
>>
>>
>>
>> In my understanding, you could send the @ and £ using GSM 7-bit alphabet
>> only if the default SMSC encoding is set to GSM or you have set alt-dcs in
>> kannel whics sets DCS=241 and should indicate the SMSC to use the 7-bit GSM
>> alphabet.
>>
>>
>>
>> But you should also consider this document  http://www.linkas.it/docs/kan
>> nel/Characters,%20Kannel%20&%20MT%20SMS.docx which explains that after
>> version 1.4.2 kannel has switched to internal use of utf-8. So bascially
>> you should use utf-8 to submit to kannel and kannel will translate to GSM
>> alphabet if alt-dces i set to true. This might have evolved with the
>> vesrions and I would appreciate if someone sched light to this topic.
>>
>>
>>
>> I think you should do some tests with various parameters and draw your
>> own conclusions, but first check the default smsc alphabet. This is the
>> alphabet used for SMPP, it’s usually ASCII and *is not the same thing as
>> the default GSM alphabet.*
>>
>>
>>
>> *Davor Spasoski*
>>
>> *From:* users [mailto:users-boun...@kannel.org <users-boun...@kannel.org>]
>> *On Behalf Of *Manas Mohanty
>> *Sent:* 22 February 2017 14:34
>> *To:* users@kannel.org
>> *Subject:* Help regarding sending pound '£' symbol through kannel
>>
>>
>>
>> Hi,
>>
>> I am trying to send pound '£' symbol through kannel using
>> charset=utf8=0 but getting '@£' on the handset.
>>
>> But when I set coding=2, message properly '£' landed on the handset. But
>> doing this I am wasting half of the sms capacity as pound symbol is defined
>> in the default 7bit GSM 03.38.
>>
>> Please suggest how to send the message so that I can manage to send it in
>> default 7bit GSM 03.38.
>>
>> Thanks
>>
>> Manas
>>
>>
>>
>>
>>
>> --
>>
>> Disclaimer: one.Vip DOO Skopje
>> This e-mail (including any attachments) is confidential and may be
>> protected by legal privilege. If you are not the intended recipient, you
>> should not copy it, re-transmit it, use it or disclose its contents, but
>> should return it to the sender immediately and delete your copy from your
>> system. Any unauthorized use or dissemination of this message in whole or
>> in part is strictly prohibited. Please note that e-mails are susceptible to
>> change. one.Vip DOO Skopje shall not be liable for the improper or
>> incomplete transmission of the information contained in this communication
>> nor for any delay in its receipt or damage to your system.
>> Please, do not print this e-mail unless it is necessary! Think about
>> saving the environment!
>>
>> Напомена: оне.Вип ДОО Скопје
>> Оваа електронска порака (вклучувајќи ги и прилозите) е доверлива и може
>> да биде заштитена со правни привилегии. Доколку не сте лицето на кое таа му
>> е наменета пораката, не треба да ја копирате, дистрибуирате или да ја
>> откривате нејзината содржина, туку веднаш да ја препратите до испраќачот и
>> да ја избришете оригиналната порака и сите нејзини копии од Вашиот
>> компјутерски систем. Секое неовластено користење на оваа порака во целост
>> или делови од истата е строго забрането. Ве молиме да забележите дека
>> електронските пораки се подложни на промени. оне.Вип ДОО Скопје не презема
>> одговорност за несоодветно или нецелосно пренесување на информациите
>> содржани во оваа комуникација, ниту пак за било какво задоцнување на
>> приемот или оштетувања на вашиот систем.
>> Ве молиме не ја печатете оваа порака освен ако не е неопходно! Зачувајте
>> ја природата!
>>
>
>


Re: Help regarding sending pound '£' symbol through kannel

2017-02-23 Thread Manas Mohanty
Thanks Davor.
 I will try what you suggested.

On Thu, Feb 23, 2017 at 4:16 PM, Davor Spasoski <davor.spaso...@onevip.mk>
wrote:

> P.S.
>
>
>
> Best way to check the default SMSC encoding is to send %00 with coding=0
>  and check if you get @ or ¡ on your handset. If you get the ¡, then for
> sure GSM 03.38 is not the default SMSC alphabet (as far as the SMPP
> communication is concerned).
>
>
>
> BR,
>
>
>
> *Davor Spasoski*
>
> *From:* Davor Spasoski
> *Sent:* 22 February 2017 15:03
> *To:* 'Manas Mohanty' <mohanty.ran...@gmail.com>; users@kannel.org
> *Subject:* RE: Help regarding sending pound '£' symbol through kannel
>
>
>
> Hi,
>
>
>
> In my understanding, you could send the @ and £ using GSM 7-bit alphabet
> only if the default SMSC encoding is set to GSM or you have set alt-dcs in
> kannel whics sets DCS=241 and should indicate the SMSC to use the 7-bit GSM
> alphabet.
>
>
>
> But you should also consider this document  http://www.linkas.it/docs/
> kannel/Characters,%20Kannel%20&%20MT%20SMS.docx which explains that after
> version 1.4.2 kannel has switched to internal use of utf-8. So bascially
> you should use utf-8 to submit to kannel and kannel will translate to GSM
> alphabet if alt-dces i set to true. This might have evolved with the
> vesrions and I would appreciate if someone sched light to this topic.
>
>
>
> I think you should do some tests with various parameters and draw your own
> conclusions, but first check the default smsc alphabet. This is the
> alphabet used for SMPP, it’s usually ASCII and *is not the same thing as
> the default GSM alphabet.*
>
>
>
> *Davor Spasoski*
>
> *From:* users [mailto:users-boun...@kannel.org <users-boun...@kannel.org>]
> *On Behalf Of *Manas Mohanty
> *Sent:* 22 February 2017 14:34
> *To:* users@kannel.org
> *Subject:* Help regarding sending pound '£' symbol through kannel
>
>
>
> Hi,
>
> I am trying to send pound '£' symbol through kannel using
> charset=utf8=0 but getting '@£' on the handset.
>
> But when I set coding=2, message properly '£' landed on the handset. But
> doing this I am wasting half of the sms capacity as pound symbol is defined
> in the default 7bit GSM 03.38.
>
> Please suggest how to send the message so that I can manage to send it in
> default 7bit GSM 03.38.
>
> Thanks
>
> Manas
>
>
>
>
>
> --
>
> Disclaimer: one.Vip DOO Skopje
> This e-mail (including any attachments) is confidential and may be
> protected by legal privilege. If you are not the intended recipient, you
> should not copy it, re-transmit it, use it or disclose its contents, but
> should return it to the sender immediately and delete your copy from your
> system. Any unauthorized use or dissemination of this message in whole or
> in part is strictly prohibited. Please note that e-mails are susceptible to
> change. one.Vip DOO Skopje shall not be liable for the improper or
> incomplete transmission of the information contained in this communication
> nor for any delay in its receipt or damage to your system.
> Please, do not print this e-mail unless it is necessary! Think about
> saving the environment!
>
> Напомена: оне.Вип ДОО Скопје
> Оваа електронска порака (вклучувајќи ги и прилозите) е доверлива и може да
> биде заштитена со правни привилегии. Доколку не сте лицето на кое таа му е
> наменета пораката, не треба да ја копирате, дистрибуирате или да ја
> откривате нејзината содржина, туку веднаш да ја препратите до испраќачот и
> да ја избришете оригиналната порака и сите нејзини копии од Вашиот
> компјутерски систем. Секое неовластено користење на оваа порака во целост
> или делови од истата е строго забрането. Ве молиме да забележите дека
> електронските пораки се подложни на промени. оне.Вип ДОО Скопје не презема
> одговорност за несоодветно или нецелосно пренесување на информациите
> содржани во оваа комуникација, ниту пак за било какво задоцнување на
> приемот или оштетувања на вашиот систем.
> Ве молиме не ја печатете оваа порака освен ако не е неопходно! Зачувајте
> ја природата!
>


RE: Help regarding sending pound '£' symbol through kannel

2017-02-23 Thread Davor Spasoski
P.S.

Best way to check the default SMSC encoding is to send %00 with coding=0  and 
check if you get @ or ¡ on your handset. If you get the ¡, then for sure GSM 
03.38 is not the default SMSC alphabet (as far as the SMPP communication is 
concerned).

BR,

Davor Spasoski
From: Davor Spasoski
Sent: 22 February 2017 15:03
To: 'Manas Mohanty' <mohanty.ran...@gmail.com>; users@kannel.org
Subject: RE: Help regarding sending pound '£' symbol through kannel

Hi,

In my understanding, you could send the @ and £ using GSM 7-bit alphabet only 
if the default SMSC encoding is set to GSM or you have set alt-dcs in kannel 
whics sets DCS=241 and should indicate the SMSC to use the 7-bit GSM alphabet.

But you should also consider this document  
http://www.linkas.it/docs/kannel/Characters,%20Kannel%20&%20MT%20SMS.docx which 
explains that after version 1.4.2 kannel has switched to internal use of utf-8. 
So bascially you should use utf-8 to submit to kannel and kannel will translate 
to GSM alphabet if alt-dces i set to true. This might have evolved with the 
vesrions and I would appreciate if someone sched light to this topic.

I think you should do some tests with various parameters and draw your own 
conclusions, but first check the default smsc alphabet. This is the alphabet 
used for SMPP, it’s usually ASCII and is not the same thing as the default GSM 
alphabet.

Davor Spasoski
From: users [mailto:users-boun...@kannel.org] On Behalf Of Manas Mohanty
Sent: 22 February 2017 14:34
To: users@kannel.org<mailto:users@kannel.org>
Subject: Help regarding sending pound '£' symbol through kannel

Hi,
I am trying to send pound '£' symbol through kannel using charset=utf8=0 
but getting '@£' on the handset.
But when I set coding=2, message properly '£' landed on the handset. But doing 
this I am wasting half of the sms capacity as pound symbol is defined in the 
default 7bit GSM 03.38.
Please suggest how to send the message so that I can manage to send it in 
default 7bit GSM 03.38.
Thanks
Manas






Disclaimer: one.Vip DOO Skopje
This e-mail (including any attachments) is confidential and may be protected by 
legal privilege. If you are not the intended recipient, you should not copy it, 
re-transmit it, use it or disclose its contents, but should return it to the 
sender immediately and delete your copy from your system. Any unauthorized use 
or dissemination of this message in whole or in part is strictly prohibited. 
Please note that e-mails are susceptible to change. one.Vip DOO Skopje shall 
not be liable for the improper or incomplete transmission of the information 
contained in this communication nor for any delay in its receipt or damage to 
your system.
Please, do not print this e-mail unless it is necessary! Think about saving the 
environment!

Напомена: оне.Вип ДОО Скопје
Оваа електронска порака (вклучувајќи ги и прилозите) е доверлива и може да биде 
заштитена со правни привилегии. Доколку не сте лицето на кое таа му е наменета 
пораката, не треба да ја копирате, дистрибуирате или да ја откривате нејзината 
содржина, туку веднаш да ја препратите до испраќачот и да ја избришете 
оригиналната порака и сите нејзини копии од Вашиот компјутерски систем. Секое 
неовластено користење на оваа порака во целост или делови од истата е строго 
забрането. Ве молиме да забележите дека електронските пораки се подложни на 
промени. оне.Вип ДОО Скопје не презема одговорност за несоодветно или нецелосно 
пренесување на информациите содржани во оваа комуникација, ниту пак за било 
какво задоцнување на приемот или оштетувања на вашиот систем.
Ве молиме не ја печатете оваа порака освен ако не е неопходно! Зачувајте ја 
природата!


RE: Help regarding sending pound '£' symbol through kannel

2017-02-22 Thread Davor Spasoski
Hi,

In my understanding, you could send the @ and £ using GSM 7-bit alphabet only 
if the default SMSC encoding is set to GSM or you have set alt-dcs in kannel 
whics sets DCS=241 and should indicate the SMSC to use the 7-bit GSM alphabet.

But you should also consider this document  
http://www.linkas.it/docs/kannel/Characters,%20Kannel%20&%20MT%20SMS.docx which 
explains that after version 1.4.2 kannel has switched to internal use of utf-8. 
So bascially you should use utf-8 to submit to kannel and kannel will translate 
to GSM alphabet if alt-dces i set to true. This might have evolved with the 
vesrions and I would appreciate if someone sched light to this topic.

I think you should do some tests with various parameters and draw your own 
conclusions, but first check the default smsc alphabet. This is the alphabet 
used for SMPP, it’s usually ASCII and is not the same thing as the default GSM 
alphabet.

Davor Spasoski
From: users [mailto:users-boun...@kannel.org] On Behalf Of Manas Mohanty
Sent: 22 February 2017 14:34
To: users@kannel.org
Subject: Help regarding sending pound '£' symbol through kannel

Hi,
I am trying to send pound '£' symbol through kannel using charset=utf8=0 
but getting '@£' on the handset.
But when I set coding=2, message properly '£' landed on the handset. But doing 
this I am wasting half of the sms capacity as pound symbol is defined in the 
default 7bit GSM 03.38.
Please suggest how to send the message so that I can manage to send it in 
default 7bit GSM 03.38.
Thanks
Manas






Disclaimer: one.Vip DOO Skopje
This e-mail (including any attachments) is confidential and may be protected by 
legal privilege. If you are not the intended recipient, you should not copy it, 
re-transmit it, use it or disclose its contents, but should return it to the 
sender immediately and delete your copy from your system. Any unauthorized use 
or dissemination of this message in whole or in part is strictly prohibited. 
Please note that e-mails are susceptible to change. one.Vip DOO Skopje shall 
not be liable for the improper or incomplete transmission of the information 
contained in this communication nor for any delay in its receipt or damage to 
your system.
Please, do not print this e-mail unless it is necessary! Think about saving the 
environment!

Напомена: оне.Вип ДОО Скопје
Оваа електронска порака (вклучувајќи ги и прилозите) е доверлива и може да биде 
заштитена со правни привилегии. Доколку не сте лицето на кое таа му е наменета 
пораката, не треба да ја копирате, дистрибуирате или да ја откривате нејзината 
содржина, туку веднаш да ја препратите до испраќачот и да ја избришете 
оригиналната порака и сите нејзини копии од Вашиот компјутерски систем. Секое 
неовластено користење на оваа порака во целост или делови од истата е строго 
забрането. Ве молиме да забележите дека електронските пораки се подложни на 
промени. оне.Вип ДОО Скопје не презема одговорност за несоодветно или нецелосно 
пренесување на информациите содржани во оваа комуникација, ниту пак за било 
какво задоцнување на приемот или оштетувања на вашиот систем.
Ве молиме не ја печатете оваа порака освен ако не е неопходно! Зачувајте ја 
природата!


Re: Help with configuring delivery report and billing for Nowsms

2014-07-04 Thread spameden
2014-07-04 13:19 GMT+04:00 Herve Memba herveme...@gmail.com:

 Dear Sir,

   I found your E-mail address on https://www.mail-archive.com

I need your help with configuring nowsms as follows
 1) i need delivery report submitted to my SMPP/HTTP clients
 and also be able to see them. sent/received sms' stats need to be
 entered in a database (Access if possible) with entries such as user
 ID and i should be able to query these info at a frontend for stuff
 such as quantity sent/received per date and user ID


Hi.

For free solution: check sqlbox/opensmppbox. To suit all your needs (e.g.
sent/received stats and status in single MT row) you would need to modify
it.

For commercial: there are various SMPP servers around here based on kannel,
please e-mail s...@tolj.org or commerc...@kannel.org mailing list.

Please use users@kannel.org for future help. Always copy the list address
so others would benefit too.


  let me know if you can also come up with a billing solution



There is no 'complete billing solution' for kannel. You need to develop it
yourself or rent someone to code it for you. I'm not providing such
service, only helping on kannel mailing lists.





 waiting to hear from you


 Your prompt reply would be highly appreciated.


 --
 Best Regards

 Herve Memba

 Satvision Sarl

 Tel. +237 73 04 68 66
   +237 33 71 76 58
 Skyp: herve4biz
 MSN: herveme...@live.com



 --
 Best Regards

 Herve Memba

 Satvision Sarl

 Tel. +237 73 04 68 66
   +237 33 71 76 58
 Skyp: herve4biz
 MSN: herveme...@live.com



Re: help

2014-03-21 Thread Alvaro Cornejo
 Hi

Allways copy kannel list. This way others can benefit from discussion
and also add their opinions.

About your new question, this is only possible when using SMPP links.
Almost all operator does not allow to change that info with modem/AT
devices.

Regards

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


On Fri, Mar 21, 2014 at 7:14 AM, anurag joshi anuragajo...@gmail.com wrote:
 Thank you.It worked.

 can you assist me how to set the sender id:I don't want a phone number to be
 displayed each time I send a message, instead I want some other name like
 Dept of CSE

 --
 Thank you
 anurag
 +91 99008 35849
 Sent with Sparrow

 On Friday 21 March 2014 at 12:15 AM, Alvaro Cornejo wrote:

 Hi

 You need to use urlencode($message) instead of str_replace(...).

 Regards

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


 On Thu, Mar 20, 2014 at 1:35 PM, anurag joshi anuragajo...@gmail.com
 wrote:

 Hello there,


 I am using a web(html) page to read an input message from user than that
 html will send the data to another php created by me: that php will do some
 refine work like adding country code to the number, database checkand
 than
 the php will actual call the http://localhost/x/sendsms and the message
 will be sent.


 but whenever a new line character is used in the message box in web page,
 the message don't get delivered, it returns an error code 1.


 please help.


 Things I already know: The spaces from message(from web) has to be converted
 to + for that I am using str_replace( ,+,$message); everything work
 fine with spaces present

 But I don't know how to treat the new line characters.


 --
 Thank you
 anurag
 +91 99008 35849
 Sent with Sparrow





Re: Help Routing from Bearerbox to OpenSMPPBox

2013-11-13 Thread Gabriel Augusto Diaz Zapata
Rene,
Can I route only some messages? I mean? I need t route SOME MOs  or some
messages from special shortcode, and not all traffic. It s possible?

Thanks in advanced

Gabriel


On Tue, Nov 12, 2013 at 9:10 AM, Rene Kluwen rene.klu...@chimit.nl wrote:

 On server 1, use group = smsbox-route with smsbox id set to the system-id
 (or system-type) of the 1 = 2 connection.l



 *From:* users [mailto:users-boun...@kannel.org] *On Behalf Of *michael
 osakede
 *Sent:* woensdag 23 oktober 2013 15:18
 *To:* users@kannel.org
 *Subject:* Help Routing from Bearerbox to OpenSMPPBox



 Hi,



 I have setup 2 servers:

 Server 1: Bearerbox | SMSbox | SQLBox | OpenSMPPBox

 Server 2: Bearerbox | SMSBox | SQLBox



 How do I route all sms coming into an SMSC on Server one to server 2m and
 how do I route the response from Server 2 back to Server 1?



 Bearerbox 1 = Opensmppbox1 = Bearerbox 2 =SMSBox 2 = and return the
 response back to Bearerbox 1.



 How can I achieve this?



 Michael







RE: Help Routing from Bearerbox to OpenSMPPBox

2013-11-12 Thread Rene Kluwen
On server 1, use group = smsbox-route with smsbox id set to the system-id
(or system-type) of the 1 = 2 connection.l

 

From: users [mailto:users-boun...@kannel.org] On Behalf Of michael osakede
Sent: woensdag 23 oktober 2013 15:18
To: users@kannel.org
Subject: Help Routing from Bearerbox to OpenSMPPBox

 

Hi,

 

I have setup 2 servers:

Server 1: Bearerbox | SMSbox | SQLBox | OpenSMPPBox

Server 2: Bearerbox | SMSBox | SQLBox

 

How do I route all sms coming into an SMSC on Server one to server 2m and
how do I route the response from Server 2 back to Server 1?

 

Bearerbox 1 = Opensmppbox1 = Bearerbox 2 =SMSBox 2 = and return the
response back to Bearerbox 1.

 

How can I achieve this?

 

Michael

 

 



Re: HELP!! regarding smpp server - client proper configuration

2013-02-18 Thread Gilbert Perez
Thanks Ali for your response. 

I actually tried your suggestions, but unfortunately, there were still 
persistent errors.

In addition to what i've stated earlier, i am able to send a message from a 
browser via this url:

http://192.168.1.59:18200/cgi-bin/sendsms?username=testerpassword=foobarfrom=12345to=09164809770text=hello+world


where the output reflects accordingly to the server side. my problem is, i want 
to send a message from the client to the server using that url above. the 
client seems to be absolutely not involved in the entire process...

may i also know if the url above contains appropriate parameters (like is there 
something that i missed, etc)..?



 From: Ali Kashif syedalikas...@gmail.com
To: Gilbert Perez p_gilb...@rocketmail.com 
Cc: users@kannel.org users@kannel.org 
Sent: Monday, February 18, 2013 3:51 PM
Subject: Re: HELP!! regarding smpp server - client proper configuration
 

Hi

things seems fine to me, though you can try changing the order of starting the 
openSMPP. to my knowledge it should be bearerBox , smsBox, sqlBox , smppBox (in 
order)


1) run bearerbox -- smskannel.conf (server side)
2) run smsbox -- smskannel.conf (server side)

3) run smppbox -- opensmppbox.conf (server side)



2nd thing , enable log-level on server side (opensmpp box) and see if you are 
really receiving any request.

last thing i am sure /usr/local/src/gateway-1.4.3/smpplogins.txt exists and 
have user definitions like ..

tester foobar VMA *.*.*.*


if you have specfied some IP address as the last parameter try replacing it 
with *.* just to check what is causing the issue.

over all your configurations seems fine to me, (may be i have missed something.)

Thanks 
Ali



On Mon, Feb 18, 2013 at 10:02 AM, Gilbert Perez p_gilb...@rocketmail.com 
wrote:

GOOD DAY!


i have already installed opensmppbox which, based on my research, would enable 
kannel to act as SMPP server. Now, i am trying to perform a connection to a 
client from a different IP address and see if i can successfully transmit a 
message. My problem is, i keep on getting errors and found no viable result 
based from the solutions i've searched in the internet. 


May i also know if the diagram below shows the correct structure of smppbox 
alongside with bearerbox and smsbox in server and client sides, respectively?


        ( SERVER  SIDE )                                                       
( CLIENT SIDE )
                                             (connection refused)
       OPENSMPPBOX            -                BEARERBOX 


              ^                                                                
                   ^
              |                                                                
                    |
       BEARERBOX                                                               
  SMSBOX
              ^
              |
        SMSBOX


If the one i've drawn above is absolutely/partially wrong, can you please tell 
me what should i exactly do so i can configure it properly?




Below are my configuration files: feel free to point out what makes the whole 
thing wrong and kindly tell me what i must do to run in correctly:


opensmppbox.conf:


group = core
dlr-storage = internal

group = opensmppbox
opensmppbox-id = SMPP
opensmppbox-port = 16400
bearerbox-host = 192.168.1.59;192.168.0.29;202.126.47.72
bearerbox-port = 13501
our-system-id = CMT
smpp-logins = /usr/local/src/gateway-1.4.3/smpplogins.txt
use-systemid-as-smsboxid = true
route-to-smsc = smpp
log-file = /tmp/smppbox.log









smskannel.conf (server side)



group = core
admin-port = 13500
smsbox-port = 13501
admin-password = bar
#status-password = foo
#admin-deny-ip = 
#admin-allow-ip = 
log-file = /tmp/bearerbox2.log
#log-level = 0
box-deny-ip = *...*
box-allow-ip = 127.0.0.1;192.168.0.29;202.126.47.72
#unified-prefix = +358,00358,0;+,00
#access-log = /tmp/access2.log
#store-file = /tmp/kannel2.store
#ssl-server-cert-file = cert.pem
#ssl-server-key-file = key.pem
#ssl-certkey-file = mycertandprivkeyfile.pem


# This is a fake smsc connection, only used to test the system and services.
# It really cannot relay messages to actual handsets!

group = smsc
smsc = fake
smsc-id = FAKE
port = 1
connect-allow-ip = 127.0.0.1;192.168.0.29;202.126.47.72


# SMSC CONNECTIONS -- SMPP

group=smsc
smsc=smpp
smsc-id=SMPP
interface-version=34
host= 192.168.1.59;192.168.0.29;202.126.47.72
port= 16400
receive-port = 16400
smsc-username = tester
smsc-password = foobar
system-type = CMT
idle-timeout = 30
transceiver-mode = 1
throughput = 50
address-range = 123
enquire-link-interval = 10
reconnect-delay = 1
keepalive = 55


# SMSBOX SETUP

group = smsbox
bearerbox-host = 127.0.0.1;192.168.0.29;202.126.47.72
sendsms-port = 18200
global-sender = 18200
#sendsms-chars = 0123456789 +-
log-file = /tmp/smsbox2.log
#log-level = 0
access-log = /tmp/access2.log



# SEND-SMS USERS

group = sendsms-user
username

Re: HELP!! regarding smpp server - client proper configuration

2013-02-17 Thread Ali Kashif
Hi

things seems fine to me, though you can try changing the order of starting
the openSMPP. to my knowledge it should be bearerBox , smsBox, sqlBox ,
smppBox (in order)


1) run bearerbox -- smskannel.conf (server side)
2) run smsbox -- smskannel.conf (server side)
3) run smppbox -- opensmppbox.conf (server side)


2nd thing , enable log-level on server side (opensmpp box) and see if you
are really receiving any request.

last thing i am sure /usr/local/src/gateway-1.4.3/**smpplogins.txt exists
and have user definitions like ..

tester foobar VMA *.*.*.*

if you have specfied some IP address as the last parameter try replacing it
with *.* just to check what is causing the issue.

over all your configurations seems fine to me, (may be i have missed
something.)

Thanks
Ali


On Mon, Feb 18, 2013 at 10:02 AM, Gilbert Perez p_gilb...@rocketmail.comwrote:

 GOOD DAY!

 i have already installed opensmppbox which, based on my research, would
 enable kannel to act as SMPP server. Now, i am trying to perform a
 connection to a client from a different IP address and see if i can
 successfully transmit a message. My problem is, i keep on getting errors
 and found no viable result based from the solutions i've searched in the
 internet.

 May i also know if the diagram below shows the correct structure of
 smppbox alongside with bearerbox and smsbox in server and client sides,
 respectively?

 ( SERVER  SIDE )
 ( CLIENT SIDE )
  (connection refused)
OPENSMPPBOX-
  BEARERBOX

   ^
 ^
   |
  |
BEARERBOX
   SMSBOX
   ^
   |
 SMSBOX

 If the one i've drawn above is absolutely/partially wrong, can you please
 tell me what should i exactly do so i can configure it properly?


 Below are my configuration files: feel free to point out what makes the
 whole thing wrong and kindly tell me what i must do to run in correctly:

 opensmppbox.conf:

 group = core
 dlr-storage = internal

 group = opensmppbox
 opensmppbox-id = SMPP
 opensmppbox-port = 16400
 bearerbox-host = 192.168.1.59;192.168.0.29;202.**126.47.72
 bearerbox-port = 13501
 our-system-id = CMT
 smpp-logins = /usr/local/src/gateway-1.4.3/**smpplogins.txt
 use-systemid-as-smsboxid = true
 route-to-smsc = smpp
 log-file = /tmp/smppbox.log




 smskannel.conf (server side)


 group = core
 admin-port = 13500
 smsbox-port = 13501
 admin-password = bar
 #status-password = foo
 #admin-deny-ip = 
 #admin-allow-ip = 
 log-file = /tmp/bearerbox2.log
 #log-level = 0
 box-deny-ip = *.*.*.*
 box-allow-ip = 127.0.0.1;192.168.0.29;202.**126.47.72
 #unified-prefix = +358,00358,0;+,00
 #access-log = /tmp/access2.log
 #store-file = /tmp/kannel2.store
 #ssl-server-cert-file = cert.pem
 #ssl-server-key-file = key.pem
 #ssl-certkey-file = mycertandprivkeyfile.pem


 # This is a fake smsc connection, *only* used to test the system and
 services.
 # It really cannot relay messages to actual handsets!

 group = smsc
 smsc = fake
 smsc-id = FAKE
 port = 1
 connect-allow-ip = 127.0.0.1;192.168.0.29;202.**126.47.72


 # SMSC CONNECTIONS -- SMPP

 group=smsc
 smsc=smpp
 smsc-id=SMPP
 interface-version=34
 host= 192.168.1.59;192.168.0.29;202.**126.47.72
 port= 16400
 receive-port = 16400
 smsc-username = tester
 smsc-password = foobar
 system-type = CMT
 idle-timeout = 30
 transceiver-mode = 1
 throughput = 50
 address-range = 123
 enquire-link-interval = 10
 reconnect-delay = 1
 keepalive = 55


 # SMSBOX SETUP

 group = smsbox
 bearerbox-host = 127.0.0.1;192.168.0.29;202.**126.47.72
 sendsms-port = 18200
 global-sender = 18200
 #sendsms-chars = 0123456789 +-
 log-file = /tmp/smsbox2.log
 #log-level = 0
 access-log = /tmp/access2.log



 # SEND-SMS USERS

 group = sendsms-user
 username = tester
 password = foobar
 #user-deny-ip = 
 #user-allow-ip = 

 # SERVICES

 group = sms-service
 keyword = jeck
 text = You asked nothing and I did it!

 # there should be default always

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



 smskannel.conf (client side)

 group = core
 admin-port = 13500
 smsbox-port = 13501
 admin-password = bar
 #status-password = foo
 #admin-deny-ip = 
 #admin-allow-ip = 
 log-file = /tmp/bearerbox2.log
 #log-level = 0
 box-deny-ip = *.*.*.*
 box-allow-ip = 127.0.0.1;192.168.0.29;202.**126.47.72
 #unified-prefix = +358,00358,0;+,00
 #access-log = /tmp/access2.log
 #store-file = /tmp/kannel2.store
 #ssl-server-cert-file = cert.pem
 #ssl-server-key-file = key.pem
 #ssl-certkey-file = mycertandprivkeyfile.pem


 # This is a fake smsc connection, *only* used to test the system and
 services.
 # It really cannot relay messages to actual handsets!

 group = smsc
 smsc = fake
 smsc-id = FAKE
 port = 1
 connect-allow-ip = 127.0.0.1;192.168.0.29;202.**126.47.72


 # SMSC CONNECTIONS -- SMPP

 group=smsc
 smsc=smpp
 smsc-id=SMPP
 

Re: Help me to set registered delivery flag for all parts of messsages:

2013-02-04 Thread spameden
You need to patch source code.

2013/2/4 Himanshu Matta himan...@hostnsoft.com:
 Hello,

 I am using kannel. I have a problem when I send message longer than 160
 char. Kannel splits it into 2 or more messages. Only on the first one the
 registered delivery flag is set. That means that kannel asks for DLR's only
 on the first part.

 Can I be sure that all parts has been delivered ?
 Can I set  registered delivery flag for all parts of message ?

 --
 Thanks and regards,
 Himanshu Matta.
 7566559950



RE: help me please!! how to test emiucp configuratio :( badly needs some help..!

2013-01-30 Thread Rene Kluwen
Opensmppbox just does what it claims. That is smpp and nothing more.

You might have some luck with the commercial smppbox.

 

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of Gilbert Perez
Sent: woensdag 30 januari 2013 10:34
To: users@kannel.org
Subject: help me please!! how to test emiucp configuratio :( badly needs
some help..!

 

now i understand that kannel supports emiucp only as client. but as of the
moment, i want to test it without external device such as gsm modem whatnot,
so may i know what software/addon may i download to implement a virtual
server that is compatible with emiucp client? i've already tried and run
opensmppbox but i always receive errors such as connection closed..
wait_for_ack and couldnt connect to sms center, retrying in 10 sec... is
there something such as emibox which i can configure as well? i've also
tried finding emibox on the internet but found no related results...

 

if opensmppbox indeed could work with emi ucp client, may you please tell me
what is the proper configuration?

 

here  is my opensmppbox.conf:

 

 

group = opensmppbox

opensmppbox-id = SMPP

opensmppbox-port = 15887

bearerbox-host = 127.0.0.1

bearerbox-port = 15885

our-system-id = smpp

smpp-logins = /usr/local/src/gateway-1.4.3/smpplogins.txt

use-systemid-as-smsboxid = true

route-to-smsc = emi

#log-file = /usr/local/src/gateway-1.4.3/logs/smppbox.log

 

 

and here is my smskannel.conf

 

 

group = core

admin-port = 15885

smsbox-port = 15886

admin-password = bar

#status-password = foo

#admin-deny-ip = 

#admin-allow-ip = 

#log-file = /tmp/kannel.log

#log-level = 0

box-deny-ip = *.*.*.*

box-allow-ip = 127.0.0.1

#unified-prefix = +358,00358,0;+,00

#access-log = /tmp/access.log

#store-file = kannel.store

#ssl-server-cert-file = cert.pem

#ssl-server-key-file = key.pem

#ssl-certkey-file = mycertandprivkeyfile.pem

 

 

group = smsc

smsc = fake

smsc-id = FAKE

port = 15889

connect-allow-ip = 127.0.0.1

 

group = smsc

smsc = smpp

host = 127.0.0.1

port = 15888

receive-port = 15887

smsc-username = tester

smsc-password = foobar

system-type = kannel

#address-range = 

 

group = smsc

smsc = emi

host = 127.0.0.1

port = 15887

smsc-username = tester

smsc-password = foobar

keepalive = 55

our-port = 600 (optional bind in our end)

receive-port = 15877

idle-timeout = 30

 

group = smsbox

bearerbox-host = 127.0.0.1

sendsms-port = 13152

global-sender = 13152

#sendsms-chars = 0123456789 +-

#log-file = /tmp/smsbox.log

#log-level = 0

#access-log = /tmp/access.log

 

group = sendsms-user

username = tester

password = foobar

#user-deny-ip = 

#user-allow-ip = 

 

group = sms-service

keyword = nop

text = You asked nothing and I did it!

 

group = sms-service

keyword = default

text = No service specified

 

 

you may point out as well what went wrong in my .conf files above :) thanks!

 

 



Re: help me

2012-10-19 Thread Satyadeep Kumar

Please post your kannel.conf.

Thanks


On 19-10-2012 14:54, Rodrigue Ango wrote:

hello
I'm new to kannel, I had to cross many obstacles but this morning I 
had two new ones. I receive messages but when I try to send I have an 
answer: Authorization failed for sendsms yet user name and password 
created in the group sendsms-users is exact. The second problem is 
that I can not route a message to the recipient I have an answer: No 
client - multi-send or ACK to pull-reply. please I need your 
assistance to be able to cross this barrier





--
Satyadeep Kumar

sa...@satyadoorva.in
+91 971 147 5156



Re: help me

2012-10-19 Thread Tapan Kumar Thapa
Hello,

It seems sendsms url is incorrect.

Your provided url:
http://127.0.0.1:13131/cgi-bin/sendsms?username=test%C2%A7password=test%C2%A7to=0023794410781%C2%A7text=bonjour

Right url:

http://127.0.0.1:13131/cgi-bin/sendsms?username=testpassword=test;
to=0023794410781text=bonjourhttp://127.0.0.1:13131/cgi-bin/sendsms?username=test%C2%A7password=test%C2%A7to=0023794410781%C2%A7text=bonjour

Kindly check above from command link and check if kannel is working
properly.

Regards
Tapan Thapa

On Fri, Oct 19, 2012 at 3:06 PM, Rodrigue Ango apim...@yahoo.fr wrote:

 thas is kannel config:

 # CORE
 group = core
 admin-port = 13000
 admin-password = playsms
 #status-password = playsms
 #admin-allow-ip = 127.0.0.1;192.168.18.168
 #admin-deny-ip = *.*.*.*
 box-deny-ip = *.*.*.*
 log-file = /var/log/kannel/kannel.log
 log-level = 0
 access-log = /var/log/kannel/access.log
 smsbox-port = 13001
 #wapbox-port = 13002
 store-type = spool
 store-file = /var/log/kannel/kannel.store
 store-location = /var/spool/kannel/store
 smsbox-max-pending = 100
 box-allow-ip = 127.0.0.1
 unified-prefix = 00237,+237,00
 wdp-interface-name = *

 #group wapbox
 group = wapbox
 bearerbox-host = localhost
 log-file = /var/log/kannel/wapbox.log
 log-level = 0
 syslog-level = none

 # SMSBOX
 group = smsbox
 bearerbox-host = localhost
 sendsms-port = 13131
 global-sender = 13131
 sendsms-url = /cgi-bin/sendsms
 sendsms-chars = 0123456789+
 log-file = /var/log/kannel/smsbox.log
 log-level = 0
 access-log = /var/log/kannel/access.log


 # SMSC fastrack
 group = smsc
 smsc = at
 smsc-id = default
 #allowed-smsc-id = default
 #preferred-smsc-id = default
 modemtype = HUAWEI
 sms-center = +23799900990
 my-number = +23797550002
 validityperiod = 167
 pin = 
 sim-buffering = true
 host = localhost
 device = /dev/ttyUSBO
 device = /dev/ttyUSB1
 log-file = /var/log/kannel/smsc.log
 log-level = 0
 speed = 9600

 #group = modems
 group = modems
 id = huawei_e1552
 name = Huawei E1552
 detect-string = huawei
 init-string = ATQ0 V1 E1 S0=0 C1 D2 +FCLASS=0
 message-storage = SM
 need-sleep = true
 speed = 9600

 # SENDSMS-USER
 group = sendsms-user
 default-smsc = default
 username = test
 password = test
 max-messages = 10
 concatenation = true
 #user-deny-ip = *.*.*.*
 #user-allow-ip = 127.0.0.1;192.168.18.168

 # SMS SERVICE 'default'
 group = sms-service
 keyword = cnps
 #la variable aliase est importante car elle permet de tenir compte des
 erreurs de frappes
 aliases = 'CNPS;Cnps;CNps'
 text = merci de faire confiance a la cnps
 omit-empty = true
 max-messages = 3
 get-url = 
 http://localhost/playsms/index.php?app=callcat=gatewayplugin=kannelaccess=geturlt=%tq=%qa=%aQ=%Q
 

 group = sms-service
 keyword = default
 text = Mauvaise syntaxe veuillez saisir le message en respectant la
 syntaxe définie


 and thas is url

 http://127.0.0.1:13131/cgi-bin/sendsms?username=test%C2%A7password=test%C2%A7to=0023794410781%C2%A7text=bonjour


   --
 *De :* Tapan Kumar Thapa tapan.thapa2...@gmail.com
 *À :* Rodrigue Ango apim...@yahoo.fr
 *Envoyé le :* Vendredi 19 octobre 2012 10h27
 *Objet :* Re: help me

 Kindly share your kannel config as well as sendsms url which you are
 invoking..

 On Fri, Oct 19, 2012 at 2:54 PM, Rodrigue Ango apim...@yahoo.fr wrote:

 hello
 I'm new to kannel, I had to cross many obstacles but this morning I had
 two new ones. I receive messages but when I try to send I have an answer:
 Authorization failed for sendsms yet user name and password created in
 the group sendsms-users is exact. The second problem is that I can not
 route a message to the recipient I have an answer: No client - multi-send
 or ACK to pull-reply. please I need your assistance to be able to cross this
 barrier









Re: help me

2012-10-19 Thread Tapan Kumar Thapa
Hello,

I hope, you are using playsms. Check if playsms can do this for you.

Regards
Tapan Thapa

On Fri, Oct 19, 2012 at 3:54 PM, Rodrigue Ango apim...@yahoo.fr wrote:

 thank you I found that the credit of communication was over the message
 was put in the queu. I have a second problem how to configure an
 automatic reply to the number that sent the message to my platform because
 when I receive a message that indicates SMSBOX No client - multi-send or
 ACK to pull-reply how to Resolve this problem




   --
 *De :* Tapan Kumar Thapa tapan.thapa2...@gmail.com
 *À :* Rodrigue Ango apim...@yahoo.fr
 *Envoyé le :* Vendredi 19 octobre 2012 11h14
 *Objet :* Re: help me

 If kannel sendsms url is returning 0: Accepted for delivery that means
 kannel is working perfectly.

 Kindly check kannel access logs for further error/issue.

 Regards
 Tapan Thapa

 On Fri, Oct 19, 2012 at 3:22 PM, Rodrigue Ango apim...@yahoo.fr wrote:

 thanks
 but when i put this url i have this message 0: Accepted for delivery
 but the phone to which I sent the message has not received the message i
 want to known this problem game from kannel config

 Rodrigue ANGO
 ENSPT Yaoudé
 Tel: 00237 97 55 00 02 / 00237 75 34 66 37
 apim...@yahoo.fr / apim...@live.fr
 Devise: Réussir ou Mourir


   --
 *De :* Tapan Kumar Thapa tapan.thapa2...@gmail.com
 *À :* Rodrigue Ango apim...@yahoo.fr
 *Cc :* users@kannel.org
 *Envoyé le :* Vendredi 19 octobre 2012 10h42
 *Objet :* Re: help me

 Hello,

 It seems sendsms url is incorrect.

 Your provided url:

 http://127.0.0.1:13131/cgi-bin/sendsms?username=test%C2%A7password=test%C2%A7to=0023794410781%C2%A7text=bonjour

 Right url:

 http://127.0.0.1:13131/cgi-bin/sendsms?username=testpassword=test;
 to=0023794410781text=bonjourhttp://127.0.0.1:13131/cgi-bin/sendsms?username=test%C2%A7password=test%C2%A7to=0023794410781%C2%A7text=bonjour

 Kindly check above from command link and check if kannel is working
 properly.

 Regards
 Tapan Thapa

 On Fri, Oct 19, 2012 at 3:06 PM, Rodrigue Ango apim...@yahoo.fr wrote:

 thas is kannel config:

 # CORE
 group = core
 admin-port = 13000
 admin-password = playsms
 #status-password = playsms
 #admin-allow-ip = 127.0.0.1;192.168.18.168
 #admin-deny-ip = *.*.*.*
 box-deny-ip = *.*.*.*
 log-file = /var/log/kannel/kannel.log
 log-level = 0
 access-log = /var/log/kannel/access.log
 smsbox-port = 13001
 #wapbox-port = 13002
 store-type = spool
 store-file = /var/log/kannel/kannel.store
 store-location = /var/spool/kannel/store
 smsbox-max-pending = 100
 box-allow-ip = 127.0.0.1
 unified-prefix = 00237,+237,00
 wdp-interface-name = *

 #group wapbox
 group = wapbox
 bearerbox-host = localhost
 log-file = /var/log/kannel/wapbox.log
 log-level = 0
 syslog-level = none

 # SMSBOX
 group = smsbox
 bearerbox-host = localhost
 sendsms-port = 13131
 global-sender = 13131
 sendsms-url = /cgi-bin/sendsms
 sendsms-chars = 0123456789+
 log-file = /var/log/kannel/smsbox.log
 log-level = 0
 access-log = /var/log/kannel/access.log


 # SMSC fastrack
 group = smsc
 smsc = at
 smsc-id = default
 #allowed-smsc-id = default
 #preferred-smsc-id = default
 modemtype = HUAWEI
 sms-center = +23799900990
 my-number = +23797550002
 validityperiod = 167
 pin = 
 sim-buffering = true
 host = localhost
 device = /dev/ttyUSBO
 device = /dev/ttyUSB1
 log-file = /var/log/kannel/smsc.log
 log-level = 0
 speed = 9600

 #group = modems
 group = modems
 id = huawei_e1552
 name = Huawei E1552
 detect-string = huawei
 init-string = ATQ0 V1 E1 S0=0 C1 D2 +FCLASS=0
 message-storage = SM
 need-sleep = true
 speed = 9600

 # SENDSMS-USER
 group = sendsms-user
 default-smsc = default
 username = test
 password = test
 max-messages = 10
 concatenation = true
 #user-deny-ip = *.*.*.*
 #user-allow-ip = 127.0.0.1;192.168.18.168

 # SMS SERVICE 'default'
 group = sms-service
 keyword = cnps
 #la variable aliase est importante car elle permet de tenir compte des
 erreurs de frappes
 aliases = 'CNPS;Cnps;CNps'
 text = merci de faire confiance a la cnps
 omit-empty = true
 max-messages = 3
 get-url = 
 http://localhost/playsms/index.php?app=callcat=gatewayplugin=kannelaccess=geturlt=%tq=%qa=%aQ=%Q
 

 group = sms-service
 keyword = default
 text = Mauvaise syntaxe veuillez saisir le message en respectant la
 syntaxe définie


 and thas is url

 http://127.0.0.1:13131/cgi-bin/sendsms?username=test%C2%A7password=test%C2%A7to=0023794410781%C2%A7text=bonjour


--
 *De :* Tapan Kumar Thapa tapan.thapa2...@gmail.com
 *À :* Rodrigue Ango apim...@yahoo.fr
 *Envoyé le :* Vendredi 19 octobre 2012 10h27
 *Objet :* Re: help me

 Kindly share your kannel config as well as sendsms url which you are
 invoking..

 On Fri, Oct 19, 2012 at 2:54 PM, Rodrigue Ango apim...@yahoo.fr wrote:

 hello
 I'm new to kannel, I had to cross many obstacles but this morning I had
 two new ones. I receive messages but when I try to send I have an answer

Re: help configuring smppbox addon

2012-09-12 Thread Natalia Spoon
Ok thank you kindly, just how can I configure it to connect to other SMSC, I 
couldn't find it in the userguide, these are my smppbox configurations + SMSCs:

# opensmppbox.conf
--

group = core
dlr-storage = mysql

# this group defines your opensmppbox
group = opensmppbox
# our boxc type
opensmppbox-id = smppbox1
# the port to listen on for smpp connections
opensmppbox-port = 2346
# we connect to the following host as a box
bearerbox-host = 127.0.0.1
bearerbox-port = 13002
log-level = 0
log-file = opensmppbox.log
our-system-id = chim1
route-to-smsc = my-default-smsc
# see sample smpplogins.txt
smpp-logins = smpplogins.txt
# If you set usesmppbox-id, you must set use-systemid-as-smsboxid, too
# See documentation for details of this flag.
use-smppboxid = yes
use-systemid-as-smsboxid = yes
box-dlr-storage = mysql

# the following is just standard dlr configuration

group = mysql-connection
id = mydlr
host = localhost
username = root
password = password
database = kannel
# you can increase this upon a higher load
max-connections = 1

group = dlr-db
id = mydlr
table = smppbox_dlr
field-smsc = smsc
field-timestamp = ts
field-destination = destination
field-source = source
field-service = service
field-url = url
field-mask = mask
field-status = status
field-boxc-id = boxcid
# this field is needed when use-smppboxid flag is used
#field-msg-id =id

# Rules to route MOs. Routing is based either on smsc id,
# shortcode or both.
group = client-route
client-id = myclient1
smsc-id = mysmsc1

group = client-route
client-id = myclient2
smsc-id = mysmsc2




SMSC im connected to:


#operator 1
group = smsc
smsc = smpp
smsc-id = operator1_tx
smsc-admin-id = operator1_tx
allowed-smsc-id = operator1_tx
interface-version = 34
host = IP1
smsc-username = user1*
smsc-password = password1*
system-type = smpp
transceiver-mode = 0
system-id = operator1_tx
log-file = /var/log/kannel/operator1_tx.log
log-level = 3

group = smsc
smsc = smpp
smsc-id = operator1_rx
smsc-admin-id = operator1_rx
allowed-smsc-id = operator1_rx
interface-version = 34
host = IP1
smsc-username = user1*
smsc-password = password1*
system-type = smpp
receive-port = 1024
transceiver-mode = 0
system-id = operator1_rx
log-file = /var/log/kannel/operator1_rx.log
log-level = 3


#operator 2

group = smsc
smsc = smpp
smsc-id = operator2_tx
smsc-admin-id = operator2_tx
allowed-smsc-id = operator2_tx
interface-version = 34
host = IP2
smsc-username = user2*
smsc-password = password2*
system-type = smpp
transceiver-mode = 0
system-id = operator2_tx
log-file = /var/log/kannel/operator2_tx.log
log-level = 3

group = smsc
smsc = smpp
smsc-id = operator2_rx
smsc-admin-id = operator2_rx
allowed-smsc-id = operator2_rx
interface-version = 34
host = IP2
smsc-username = user2*
smsc-password = password2*
system-type = smpp
receive-port = 1025
transceiver-mode = 0
system-id = operator2_rx
log-file = /var/log/kannel/operator2_rx.log
log-level = 3





Again, how can I configure smppbox to connect to each one of those(I know I 
need 2 smppboxes)? instead of bearerbox(which is connected to them now)? I 
think it's the smpplogins.txt is what I need to edit, just don't know how to 
configure it exactly?

Thanks for everything.




 From: Rene Kluwen rene.klu...@chimit.nl
To: 'Natalia Spoon' natalia.sp...@yahoo.com; 'users@kannel.org' 
us...@vm1.kannel.org 
Sent: Tuesday, September 11, 2012 11:04 PM
Subject: RE: help configuring smppbox addon
 

At this moment, opensmppbox only connects to 1 smsc at the time.
For multiple smsc’s you will need to start 2 opensmppbox instances. But no 
least cost or prefix or other routing is done.
 
To get in touch with companies providing services for kannel, you can post in 
commerc...@kannel.org.
 
== Rene
 
From:users-boun...@vm1.kannel.org [mailto:users-boun...@vm1.kannel.org] On 
Behalf Of Natalia Spoon
Sent: Tuesday, 11 September, 2012 14:45
To: users@kannel.org
Subject: help configuring smppbox addon
 
Dear Team,

My company recently started using Kannel and We have it working fine, my 
question is regarding opensmppbx, It's connected to my bearerbox and working, 
but how can We configure it to connect to my operators' smsc? We can't find it 
in it's userguide, (please note We have 2 operators).
 
Another question, how can I get in touch with companies providing services for 
kannel? ranges from mostly configuring + maintenance to sometimes backend 
server developments...
 
Thank for your time.

RE: help configuring smppbox addon

2012-09-12 Thread Rene Kluwen
Change:

 

route-to-smsc = my-default-smsc



 

to

 

route-to-smsc = operator1_tx

 

From: Natalia Spoon [mailto:natalia.sp...@yahoo.com] 
Sent: Wednesday, 12 September, 2012 11:17
To: Rene Kluwen
Cc: users@kannel.org
Subject: Re: help configuring smppbox addon

 

Ok thank you kindly, just how can I configure it to connect to other SMSC, I 
couldn't find it in the userguide, these are my smppbox configurations + SMSCs:

 

# opensmppbox.conf

--

group = core
dlr-storage = mysql

# this group defines your opensmppbox
group = opensmppbox
# our boxc type
opensmppbox-id = smppbox1
# the port to listen on for smpp connections
opensmppbox-port = 2346
# we connect to the following host as a box
bearerbox-host = 127.0.0.1
bearerbox-port = 13002
log-level = 0
log-file = opensmppbox.log
our-system-id = chim1
route-to-smsc = my-default-smsc
# see sample smpplogins.txt
smpp-logins = smpplogins.txt
# If you set usesmppbox-id, you must set use-systemid-as-smsboxid, too
# See documentation for details of this flag.
use-smppboxid = yes
use-systemid-as-smsboxid = yes
box-dlr-storage = mysql

# the following is just standard dlr configuration

group = mysql-connection
id = mydlr
host = localhost
username = root
password = password
database = kannel
# you can increase this upon a higher load
max-connections = 1

group = dlr-db
id = mydlr
table = smppbox_dlr
field-smsc = smsc
field-timestamp = ts
field-destination = destination
field-source = source
field-service = service
field-url = url
field-mask = mask
field-status = status
field-boxc-id = boxcid
# this field is needed when use-smppboxid flag is used
#field-msg-id =id

# Rules to route MOs. Routing is based either on smsc id,
# shortcode or both.
group = client-route
client-id = myclient1
smsc-id = mysmsc1

group = client-route
client-id = myclient2
smsc-id = mysmsc2




 

SMSC im connected to:

 

 

#operator 1
group = smsc
smsc = smpp
smsc-id = operator1_tx
smsc-admin-id = operator1_tx
allowed-smsc-id = operator1_tx
interface-version = 34
host = IP1
smsc-username = user1*
smsc-password = password1*
system-type = smpp
transceiver-mode = 0
system-id = operator1_tx
log-file = /var/log/kannel/operator1_tx.log
log-level = 3

group = smsc
smsc = smpp
smsc-id = operator1_rx
smsc-admin-id = operator1_rx
allowed-smsc-id = operator1_rx
interface-version = 34
host = IP1
smsc-username = user1*
smsc-password = password1*
system-type = smpp
receive-port = 1024
transceiver-mode = 0
system-id = operator1_rx
log-file = /var/log/kannel/operator1_rx.log
log-level = 3


#operator 2

group = smsc
smsc = smpp
smsc-id = operator2_tx
smsc-admin-id = operator2_tx
allowed-smsc-id = operator2_tx
interface-version = 34
host = IP2
smsc-username = user2*
smsc-password = password2*
system-type = smpp
transceiver-mode = 0
system-id = operator2_tx
log-file = /var/log/kannel/operator2_tx.log
log-level = 3

group = smsc
smsc = smpp
smsc-id = operator2_rx
smsc-admin-id = operator2_rx
allowed-smsc-id = operator2_rx
interface-version = 34
host = IP2
smsc-username = user2*
smsc-password = password2*
system-type = smpp
receive-port = 1025
transceiver-mode = 0
system-id = operator2_rx
log-file = /var/log/kannel/operator2_rx.log
log-level = 3

 



 

Again, how can I configure smppbox to connect to each one of those(I know I 
need 2 smppboxes)? instead of bearerbox(which is connected to them now)? I 
think it's the smpplogins.txt is what I need to edit, just don't know how to 
configure it exactly?

 

Thanks for everything.

 

  _  

From: Rene Kluwen rene.klu...@chimit.nl
To: 'Natalia Spoon' natalia.sp...@yahoo.com; 'users@kannel.org' 
us...@vm1.kannel.org 
Sent: Tuesday, September 11, 2012 11:04 PM
Subject: RE: help configuring smppbox addon





At this moment, opensmppbox only connects to 1 smsc at the time.

For multiple smsc’s you will need to start 2 opensmppbox instances. But no 
least cost or prefix or other routing is done.

 

To get in touch with companies providing services for kannel, you can post in 
commerc...@kannel.org.

 

== Rene

 

From: users-boun...@vm1.kannel.org [mailto:users-boun...@vm1.kannel.org] On 
Behalf Of Natalia Spoon
Sent: Tuesday, 11 September, 2012 14:45
To: users@kannel.org
Subject: help configuring smppbox addon

 

Dear Team,


My company recently started using Kannel and We have it working fine, my 
question is regarding opensmppbx, It's connected to my bearerbox and working, 
but how can We configure it to connect to my operators' smsc? We can't find it 
in it's

RE: help configuring smppbox addon

2012-09-11 Thread Rene Kluwen
At this moment, opensmppbox only connects to 1 smsc at the time.

For multiple smsc's you will need to start 2 opensmppbox instances. But no
least cost or prefix or other routing is done.

 

To get in touch with companies providing services for kannel, you can post
in commerc...@kannel.org.

 

== Rene

 

From: users-boun...@vm1.kannel.org [mailto:users-boun...@vm1.kannel.org] On
Behalf Of Natalia Spoon
Sent: Tuesday, 11 September, 2012 14:45
To: users@kannel.org
Subject: help configuring smppbox addon

 

Dear Team,


My company recently started using Kannel and We have it working fine, my
question is regarding opensmppbx, It's connected to my bearerbox and
working, but how can We configure it to connect to my operators' smsc? We
can't find it in it's userguide, (please note We have 2 operators).

 

Another question, how can I get in touch with companies providing services
for kannel? ranges from mostly configuring + maintenance to sometimes
backend server developments...

 

Thank for your time.



RE: help with understanding opensmppbox

2012-09-05 Thread Amin Mukhaimer
Ok thanks greatly, that's what I needed to know regarding opensmppbox :) and
my best bet is getting another connection from Operator or increasing
throughput, regarding kannel Q I guess I might work around it by running 2
bearerboxes, 1 for bulk and 1 for the normal.

Thanks greatly.

-Original Message-
From: Alvaro Cornejo [mailto:cornejo.alv...@gmail.com] 
Sent: Tuesday, September 04, 2012 5:52 PM
To: Amin Mukhaimer
Cc: Saad Omer; users@kannel.org; Mazen Khalili
Subject: Re: help with understanding opensmppbox

Hi

As per your config; there is only one smsc: smsc1 with TX RX separate.
You can try adjusting max-pending or max-troughput parameters. This might
help in your througput. Check logs for trottling errors that might indicate
you are maxing allowed throughput.

Of course if you send more sms than allowed by your provider; there is
little you can do. Less that kannel can do since it hanles its queue as a
whole. Your best bet is in getting a better throughput from your
provider(s) either in the same link or in separate ones.

What we do is manage a queue/priority rutine outside kannel.

Opensmsc will not help much either since it does not managa queues either.

Regards

Alvaro



On 9/4/12, Amin Mukhaimer ami...@arabmobilecontent.com wrote:
 Yes thanks Saad and Alvaro, my build is the following: version
`svn-r4865.
 Build `Feb 9 2012 04:35:47'

 Down are my configs, main.conf  smsc.conf.

 Regarding Alvaro's email, I really don't see it sending to 2 operators 
 or more simultaneously, because it takes long time to send to other 
 operator while sending bulk SMSs to other, I also use smsc=SMSC1 in 
 sendsms URL. I know I should implement priority in sendsms URL for 
 better quality(bulk SMSs don't have to get there on specific times, 
 but subscription packages' or competitions' do), or again back to 
 installing to 2 bearerboxes 1 for bulk and 1 for normal SMSs.

 Regarding Saad's email, Yes I will try to increase my throughput on 
 operator side or have another connection, but by the way using 
 multiple SMSBoxes in this case wouldn't help, in my opinion, since the 
 problem is with SMSs getting out of kannel not in it, which is what 
 bearerbox does, I'm only sending Bulk to 1 operator ATM, but in future 
 I'll be sending to others, so I know the problem will escalate.

 I was wondering if opensmppbox would help getting better performance, 
 but things are still foggy as to what it does? how to configure it? If 
 I run 1 or more opensmppboxes would they help sending SMSs faster than 
 my poor old bearerbox!

 Below are my configuration files, and thanks greatly for everything.

 main.conf

 ##
 ##
 #
 group = core
 admin-port = 13000
 smsbox-port = 13001
 wapbox-port = 13012
 admin-password = **
 log-file = /var/log/kannel/bearer.log
 log-level = 3
 #box-deny-ip = *.*.*.*
 #box-allow-ip = 127.0.0.1
 box-allow-ip = *.*.*.*
 store-type = spool
 store-location = /var/spool/kannel/spool wdp-interface-name = *
 dlr-storage=mysql
 sms-resend-freq = 1


 group = smsbox
 bearerbox-host = 127.0.0.1
 sendsms-port = 13013
 #sendsms-chars = 0123456789 +-
 log-level = 0
 smsbox-id = internal
 #http-request-retry=5
 mo-recode=true
 log-file = /var/log/kannel/smsbox.log
 access-log = /var/log/kannel/access.log


 include = /kannel/conf/SMSC.conf


 group = sms-service
 keyword=default
 accepted-smsc = SMSC1;SMC2;
 #keyword-regex = .*
 catch-all = yes
 max-messages = 0
 get-url = http://Webserver-IP/%p_%b_%P_%i;
 omit-empty=yes


 group = sendsms-user
 username = username
 password = password
 concatenation = true
 max-messages = 7


 group=smsbox-route
 smsbox-id = internal
 smsc-id=SMSC1;SMSC2;


 group = mysql-connection
 id= mykannel
 host= DB-IP
 username=user
 password=password
 database=DB


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


 smsc.conf

 ##
 ##
 #
 group=smsc
 smsc=smpp
 denied-smsc-id = SMSC2;SMSC3;**
 smsc-id=SMSC1
 smsc-admin-id=SMSC1_Tx1
 allowed-smsc-id=SMSC1
 interface-version=34
 host=IP
 port=PORT-NUMBER
 system-id=username
 smsc-password=password
 system-type=pc8446
 transceiver-mode=0
 dest-addr-ton=1
 dest-addr-npi=1
 source-addr-ton=5
 source-addr-npi=0
 log-file = /var/log/kannel/SMSC1_Tx1.log
 log-level = 3


 group=smsc
 smsc=smpp
 denied-smsc-id = SMSC2;SMSC3;
 smsc-id=SMSC1
 smsc-admin-id=SMSC1_Rx1
 allowed-smsc-id=SMSC1
 interface-version=34
 host=IP
 system-id=user
 smsc-password=password
 system-type=pc8446
 transceiver-mode=0
 receive-port=16000
 dest-addr-ton=1
 dest

RE: help with understanding opensmppbox

2012-09-04 Thread Amin Mukhaimer
Yes thanks Saad and Alvaro, my build is the following: version `svn-r4865.
Build `Feb 9 2012 04:35:47'

Down are my configs, main.conf  smsc.conf.

Regarding Alvaro's email, I really don't see it sending to 2 operators or
more simultaneously, because it takes long time to send to other operator
while sending bulk SMSs to other, I also use smsc=SMSC1 in sendsms URL. I
know I should implement priority in sendsms URL for better quality(bulk SMSs
don't have to get there on specific times, but subscription packages' or
competitions' do), or again back to installing to 2 bearerboxes 1 for bulk
and 1 for normal SMSs.

Regarding Saad's email, Yes I will try to increase my throughput on operator
side or have another connection, but by the way using multiple SMSBoxes in
this case wouldn't help, in my opinion, since the problem is with SMSs
getting out of kannel not in it, which is what bearerbox does, I'm only
sending Bulk to 1 operator ATM, but in future I'll be sending to others, so
I know the problem will escalate.

I was wondering if opensmppbox would help getting better performance, but
things are still foggy as to what it does? how to configure it? If I run 1
or more opensmppboxes would they help sending SMSs faster than my poor old
bearerbox!

Below are my configuration files, and thanks greatly for everything.

main.conf


#
group = core
admin-port = 13000
smsbox-port = 13001
wapbox-port = 13012
admin-password = **
log-file = /var/log/kannel/bearer.log
log-level = 3
#box-deny-ip = *.*.*.*
#box-allow-ip = 127.0.0.1
box-allow-ip = *.*.*.* 
store-type = spool
store-location = /var/spool/kannel/spool
wdp-interface-name = *
dlr-storage=mysql
sms-resend-freq = 1


group = smsbox
bearerbox-host = 127.0.0.1
sendsms-port = 13013
#sendsms-chars = 0123456789 +-
log-level = 0
smsbox-id = internal
#http-request-retry=5
mo-recode=true
log-file = /var/log/kannel/smsbox.log
access-log = /var/log/kannel/access.log


include = /kannel/conf/SMSC.conf


group = sms-service
keyword=default
accepted-smsc = SMSC1;SMC2;
#keyword-regex = .*
catch-all = yes
max-messages = 0
get-url = http://Webserver-IP/%p_%b_%P_%i;
omit-empty=yes


group = sendsms-user
username = username
password = password
concatenation = true
max-messages = 7


group=smsbox-route
smsbox-id = internal
smsc-id=SMSC1;SMSC2;


group = mysql-connection
id= mykannel
host= DB-IP
username=user
password=password
database=DB


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

#


smsc.conf


#
group=smsc
smsc=smpp
denied-smsc-id = SMSC2;SMSC3;**
smsc-id=SMSC1
smsc-admin-id=SMSC1_Tx1
allowed-smsc-id=SMSC1
interface-version=34
host=IP
port=PORT-NUMBER
system-id=username
smsc-password=password
system-type=pc8446
transceiver-mode=0
dest-addr-ton=1
dest-addr-npi=1
source-addr-ton=5
source-addr-npi=0
log-file = /var/log/kannel/SMSC1_Tx1.log
log-level = 3


group=smsc
smsc=smpp
denied-smsc-id = SMSC2;SMSC3;
smsc-id=SMSC1
smsc-admin-id=SMSC1_Rx1
allowed-smsc-id=SMSC1
interface-version=34
host=IP
system-id=user
smsc-password=password
system-type=pc8446
transceiver-mode=0
receive-port=16000
dest-addr-ton=1
dest-addr-npi=1
source-addr-ton=5
source-addr-npi=0
log-file = /var/log/kannel/SMSC1_Rx1.log
log-level = 3


.


#


Amin.




-Original Message-
From: Alvaro Cornejo [mailto:cornejo.alv...@gmail.com] 
Sent: Monday, September 03, 2012 4:59 PM
To: Amin Mukhaimer
Cc: Saad Omer; users@kannel.org
Subject: Re: help with understanding opensmppbox

Can you post configs?

Kannel treats each smsc independently with its own queue each.
Therefore it shouldn't wait to empty sms1 queue to send smsc2 msgs.

if you know to which smsc a message should take before hand, you can add its
id when posting it to kannel. i.e. If using smsbox adding
smsc_id=smscx...  I think there is something similar in sqlbox.

Regards

Alvaro


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


From: Saad Omer [mailto:s...@aeon.pk] 
Sent: Monday, September 03, 2012 12:02 PM
To: 'Amin Mukhaimer'
Subject: RE: help with understanding opensmppbox

You don’t need multiple kannels. One kannel can handle multiple SMSC

Re: help with understanding opensmppbox

2012-09-04 Thread Alvaro Cornejo
Hi

As per your config; there is only one smsc: smsc1 with TX RX separate.
You can try adjusting max-pending or max-troughput parameters. This
might help in your througput. Check logs for trottling errors that
might indicate you are maxing allowed throughput.

Of course if you send more sms than allowed by your provider; there is
little you can do. Less that kannel can do since it hanles its queue
as a whole. Your best bet is in getting a better throughput from your
provider(s) either in the same link or in separate ones.

What we do is manage a queue/priority rutine outside kannel.

Opensmsc will not help much either since it does not managa queues either.

Regards

Alvaro



On 9/4/12, Amin Mukhaimer ami...@arabmobilecontent.com wrote:
 Yes thanks Saad and Alvaro, my build is the following: version `svn-r4865.
 Build `Feb 9 2012 04:35:47'

 Down are my configs, main.conf  smsc.conf.

 Regarding Alvaro's email, I really don't see it sending to 2 operators or
 more simultaneously, because it takes long time to send to other operator
 while sending bulk SMSs to other, I also use smsc=SMSC1 in sendsms URL. I
 know I should implement priority in sendsms URL for better quality(bulk
 SMSs
 don't have to get there on specific times, but subscription packages' or
 competitions' do), or again back to installing to 2 bearerboxes 1 for bulk
 and 1 for normal SMSs.

 Regarding Saad's email, Yes I will try to increase my throughput on
 operator
 side or have another connection, but by the way using multiple SMSBoxes in
 this case wouldn't help, in my opinion, since the problem is with SMSs
 getting out of kannel not in it, which is what bearerbox does, I'm only
 sending Bulk to 1 operator ATM, but in future I'll be sending to others, so
 I know the problem will escalate.

 I was wondering if opensmppbox would help getting better performance, but
 things are still foggy as to what it does? how to configure it? If I run 1
 or more opensmppboxes would they help sending SMSs faster than my poor old
 bearerbox!

 Below are my configuration files, and thanks greatly for everything.

 main.conf

 
 #
 group = core
 admin-port = 13000
 smsbox-port = 13001
 wapbox-port = 13012
 admin-password = **
 log-file = /var/log/kannel/bearer.log
 log-level = 3
 #box-deny-ip = *.*.*.*
 #box-allow-ip = 127.0.0.1
 box-allow-ip = *.*.*.*
 store-type = spool
 store-location = /var/spool/kannel/spool
 wdp-interface-name = *
 dlr-storage=mysql
 sms-resend-freq = 1


 group = smsbox
 bearerbox-host = 127.0.0.1
 sendsms-port = 13013
 #sendsms-chars = 0123456789 +-
 log-level = 0
 smsbox-id = internal
 #http-request-retry=5
 mo-recode=true
 log-file = /var/log/kannel/smsbox.log
 access-log = /var/log/kannel/access.log


 include = /kannel/conf/SMSC.conf


 group = sms-service
 keyword=default
 accepted-smsc = SMSC1;SMC2;
 #keyword-regex = .*
 catch-all = yes
 max-messages = 0
 get-url = http://Webserver-IP/%p_%b_%P_%i;
 omit-empty=yes


 group = sendsms-user
 username = username
 password = password
 concatenation = true
 max-messages = 7


 group=smsbox-route
 smsbox-id = internal
 smsc-id=SMSC1;SMSC2;


 group = mysql-connection
 id= mykannel
 host= DB-IP
 username=user
 password=password
 database=DB


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


 smsc.conf

 
 #
 group=smsc
 smsc=smpp
 denied-smsc-id = SMSC2;SMSC3;**
 smsc-id=SMSC1
 smsc-admin-id=SMSC1_Tx1
 allowed-smsc-id=SMSC1
 interface-version=34
 host=IP
 port=PORT-NUMBER
 system-id=username
 smsc-password=password
 system-type=pc8446
 transceiver-mode=0
 dest-addr-ton=1
 dest-addr-npi=1
 source-addr-ton=5
 source-addr-npi=0
 log-file = /var/log/kannel/SMSC1_Tx1.log
 log-level = 3


 group=smsc
 smsc=smpp
 denied-smsc-id = SMSC2;SMSC3;
 smsc-id=SMSC1
 smsc-admin-id=SMSC1_Rx1
 allowed-smsc-id=SMSC1
 interface-version=34
 host=IP
 system-id=user
 smsc-password=password
 system-type=pc8446
 transceiver-mode=0
 receive-port=16000
 dest-addr-ton=1
 dest-addr-npi=1
 source-addr-ton=5
 source-addr-npi=0
 log-file = /var/log/kannel/SMSC1_Rx1.log
 log-level = 3


 .

 
 #


 Amin.




 -Original Message-
 From: Alvaro Cornejo [mailto:cornejo.alv...@gmail.com]
 Sent: Monday, September 03, 2012 4:59 PM
 To: Amin Mukhaimer
 Cc: Saad Omer; users@kannel.org
 Subject: Re: help with understanding opensmppbox

 Can you post configs?

 Kannel treats each smsc independently with its own queue each

Re: help with understanding opensmppbox

2012-09-03 Thread Alvaro Cornejo
Can you post configs?

Kannel treats each smsc independently with its own queue each.
Therefore it shouldn't wait to empty sms1 queue to send smsc2 msgs.

if you know to which smsc a message should take before hand, you can
add its id when posting it to kannel. i.e. If using smsbox adding
smsc_id=smscx...  I think there is something similar in sqlbox.

Regards

Alvaro


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


On Mon, Sep 3, 2012 at 2:07 AM, Amin Mukhaimer
ami...@arabmobilecontent.com wrote:
 Ok thanks greatly, definitely looking up SMSbox configurations and need to
 modify my backend server to insert into db instead of calling sendsms page,
 that seems great.



 Though my real issue is SMSs taking too long to get out of kannel, into the
 operator, not getting in kannel, meaning it takes long time to send 100,000
 SMS for one operator, and sending SMSs to other operators will stay in Queue
 until first ones are sent, meaning it doesn’t seem to multi-thread, or send
 SMS to multiple operators Simultaneously, which is why I am considering
 running 2 kannels or more…



 Thanks anyways,

 Amin



 From: Saad Omer [mailto:s...@aeon.pk]
 Sent: Saturday, September 01, 2012 11:21 AM
 To: 'Amin Mukhaimer'
 Subject: RE: help with understanding opensmppbox



 What you need is SQLBOX, not SMPPBOX. SQLBOX is a database layer which sites
 between BEARERBOX and SMSBOX. You can insert the SMS data directly into
 database, from where it will be picked up by BEARERBOX itself. The process
 is at least 10 times faster than standard SMSBOX.



 From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
 Of Amin Mukhaimer
 Sent: Wednesday, August 29, 2012 7:20 PM
 To: users@kannel.org
 Subject: help with understanding opensmppbox



 hey guys,



 how is it going? I have some questions regarding opensmppbox, so I can
 connect it to bearerbox as normal smsbox? And what would be the purpose of
 that? I am looking to increase the performance of my installation since
 sending large numbers of SMSs to many operators can take a long time… I am
 thinking of doing 2 or more installations of kannel, to increase performance
 and total number of SMSs sent/period of time.



 Thanks in advance,





Re: Help, SQLBOX gwlib not found when running ./configure

2012-08-29 Thread Adan Canales
Hi again:

I could compile and install kannel and mysql, now the bearerbox runs fine
but this is the error message I got when run SQLBOX:

root@smsbkserver:~# /usr/local/sbin/sqlbox /usr/local/kannel/sqlbox2.conf
2012-08-29 00:46:48 [3483] [0] INFO: Debug_lvl = -1, log_file = none,
log_lvl = 0
2012-08-29 00:46:48 [3483] [0] DEBUG: Kannel sqlbox version `svn-r4991M'.
Build `Aug 28 2012 00:50:09', compiler `4.6.3'.
System Linux, release 3.2.0-23-generic, version #36-Ubuntu SMP Tue Apr 10
20:39:51 UTC 2012, machine x86_64.
Hostname smsbkserver, IP 127.0.1.1.
Libxml version 2.7.8.
Compiled with MySQL 5.5.24, using MySQL 5.5.24.
Using native malloc.

2012-08-29 00:46:48 [3483] [0] INFO: Starting to log to file
/home/adan/kannel-sqlbox.log level 0
2012-08-29 00:46:48 [3483] [0] INFO: Added logfile
`/home/adan/kannel-sqlbox.log' with level `0'.
2012-08-29 00:46:48 [3483] [0] ERROR: MYSQL: can not connect to database!
2012-08-29 00:46:48 [3483] [0] ERROR: MYSQL: Unknown MySQL server host
'192.168.1.101' (0)
2012-08-29 00:46:48 [3483] [0] PANIC: SQLBOX: MySQL: database pool has no
connections!
2012-08-29 00:46:48 [3483] [0] PANIC:
/usr/local/sbin/sqlbox(gw_backtrace+0xae) [0x426b3e]
2012-08-29 00:46:48 [3483] [0] PANIC:
/usr/local/sbin/sqlbox(gw_panic+0x165) [0x426cb5]
2012-08-29 00:46:48 [3483] [0] PANIC:
/usr/local/sbin/sqlbox(sqlbox_init_mysql+0x34c) [0x40b7ac]
2012-08-29 00:46:48 [3483] [0] PANIC: /usr/local/sbin/sqlbox(main+0x2eb)
[0x40958b]
2012-08-29 00:46:48 [3483] [0] PANIC:
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7fe5d792476d]
2012-08-29 00:46:48 [3483] [0] PANIC: /usr/local/sbin/sqlbox() [0x40980d]
root@smsbkserver:~#

thanks again

2012/8/28 spameden spame...@gmail.com

 Sorry, it was a mistype from my end:

 ./configure --with-kannel-dir=/usr/local/include/kannel


 2012/8/28 Adan Canales adan...@gmail.com

 Thanks you, it works for mysql and kannel. Now I have this warning:

 config.status: creating gw/Makefile
 config.status: creating rpm/sqlbox.spec
 config.status: creating sb-config.h
 config.status: sb-config.h is unchanged
 config.status: executing depfiles commands
 config.status: executing libtool commands
 configure: WARNING: unrecognized options: --with-kannel

 License information ...
 ++
 | License:   |
 | This software is subject to the Kannel Software License, available |
 | in this distribution in the file LICENSE. By continuing this   |
 | installation process, you are bound by the terms of this license   |
 | agreement. If you do not agree with the terms of this license, you |
 | must abort the installation process at this point. |
 ||
 |  The Kannel Group http://www.kannel.org/ |
 ++

 Thank you for using Kannel.
 root@smsbkserver:~/trunk/addons/sqlbox#

 root@smsbkserver:~/trunk/addons/sqlbox# make
 make  all-recursive
 make[1]: se ingresa al directorio «/home/adan/trunk/addons/sqlbox»
 Making all in gw
 make[2]: se ingresa al directorio «/home/adan/trunk/addons/sqlbox/gw»
 gcc -DHAVE_CONFIG_H -I. -I.. -I../gw -I../gw-g -O2
 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/usr/local/include/kannel -g -O2
 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2
 -I/usr/include/mysql -MT sqlbox.o -MD -MP -MF .deps/sqlbox.Tpo -c -o
 sqlbox.o sqlbox.c
 sqlbox.c: En la función ‘run_sqlbox’:
 sqlbox.c:450:10: aviso: conversión de puntero a entero de tamaño
 diferente [-Wpointer-to-int-cast]
 sqlbox.c: En la función ‘wait_for_connections’:
 sqlbox.c:490:13: aviso: conversión a puntero desde un entero de tamaño
 diferente [-Wint-to-pointer-cast]
 sqlbox.c: En la función ‘sqlboxc_run’:
 sqlbox.c:616:12: aviso: conversión de puntero a entero de tamaño
 diferente [-Wpointer-to-int-cast]
 mv -f .deps/sqlbox.Tpo .deps/sqlbox.Po
 gcc -DHAVE_CONFIG_H -I. -I.. -I../gw -I../gw-g -O2
 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/usr/local/include/kannel -g -O2
 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2
 -I/usr/include/mysql -MT sqlbox_mssql.o -MD -MP -MF .deps/sqlbox_mssql.Tpo
 -c -o sqlbox_mssql.o sqlbox_mssql.c
 mv -f .deps/sqlbox_mssql.Tpo .deps/sqlbox_mssql.Po
 gcc -DHAVE_CONFIG_H -I. -I.. -I../gw -I../gw-g -O2
 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/usr/local/include/kannel -g -O2
 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2
 -I/usr/include/mysql -MT sqlbox_mysql.o -MD -MP -MF .deps/sqlbox_mysql.Tpo
 -c -o sqlbox_mysql.o sqlbox_mysql.c
 mv -f .deps/sqlbox_mysql.Tpo .deps/sqlbox_mysql.Po
 gcc -DHAVE_CONFIG_H -I. -I.. -I../gw -I../gw-g -O2
 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/usr/local/include/kannel -g -O2
 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2
 -I/usr/include/mysql -MT 

Re: Help, SQLBOX gwlib not found when running ./configure

2012-08-28 Thread Adan Canales
Hi again: I did everything from scracth and now I can fnd Mysql Server,
this is getting me crazy, this is what I have in my.cnf file which is in
/etc/mysql/my.cnf

user= mysql
pid-file= /var/run/mysqld/mysqld.pid
socket = /var/run/mysqld/mysqld.sock
port = 3306
basedir = /usr
datadir = /var/lib/mysql
tmpdir  = /tmp
lc-messages-dir = /usr/share/mysql
skip-external-locking

I supposed mysql is on /usr then, am I right?

When try to compile kannel with mysql doesn't find the directory in any
combination: see the log:

root@smsbkserver:~# cd trunk
root@smsbkserver:~/trunk# ./configure --with-mysql
checking svn checkout revision... 4991

Configuring for Kannel gateway version svn-r4991 ...

Running system checks ...
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for gcc option to accept ISO C99... -std=gnu99
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for bison... bison -y
checking for flex... no
checking for lex... no
checking for ar... ar
checking for convert... /usr/bin/convert
checking for perl... /usr/bin/perl
checking for inline... inline
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking how to run the C preprocessor... gcc -std=gnu99 -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking size of short... 2
checking size of int... 4
checking size of long... 8
checking size of long long... 8
checking for log in -lm... yes
checking for accept in -lsocket... no
checking for inet_ntoa in -lnsl... yes
checking for inet_ntop in -lresolv... yes
checking for inet_ntop in -lbind... no
checking for pthread_exit in -lpthread... yes
checking for ANSI C header files... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking zlib.h usability... no
checking zlib.h presence... no
checking for zlib.h... no
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking for stdlib.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/sockio.h usability... no
checking sys/sockio.h presence... no
checking for sys/sockio.h... no
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for net/if.h... yes
checking sys/ucontext.h usability... yes
checking sys/ucontext.h presence... yes
checking for sys/ucontext.h... yes
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for iconv... yes
checking for working iconv... yes
checking for iconv declaration...
 extern size_t iconv (iconv_t cd, char * *inbuf, size_t
*inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for gettimeofday... yes
checking for select... yes
checking for socket... yes
checking for strdup... yes
checking for getopt_long... yes
checking for localtime_r... yes
checking for gmtime_r... yes
checking for backtrace... yes
checking for srandom... yes
checking for initgroups... yes
checking for strtoll... yes
checking for strtoq... yes
checking for getopt... yes
checking for gethostbyname_r... yes
checking for which type of gethostbyname_r... 6
checking for socklen_t in sys/socket.h... yes
checking for getopt in stdio.h... no
checking for getopt in unistd.h... yes
checking ftw.h usability... yes

Re: Help, SQLBOX gwlib not found when running ./configure

2012-08-28 Thread spameden
Hi.

If you're on debian you need to install libmysqlclient16-dev for 5.1 MySQL
or libmysqlclient18-dev for MySQL 5.5.

on centos - mysql-devel.



2012/8/28 Adan Canales adan...@gmail.com

 Hi again: I did everything from scracth and now I can fnd Mysql Server,
 this is getting me crazy, this is what I have in my.cnf file which is in
 /etc/mysql/my.cnf

 user= mysql
 pid-file= /var/run/mysqld/mysqld.pid
 socket = /var/run/mysqld/mysqld.sock
 port = 3306
 basedir = /usr
 datadir = /var/lib/mysql
 tmpdir  = /tmp
 lc-messages-dir = /usr/share/mysql
 skip-external-locking

 I supposed mysql is on /usr then, am I right?

 When try to compile kannel with mysql doesn't find the directory in any
 combination: see the log:

 root@smsbkserver:~# cd trunk
 root@smsbkserver:~/trunk# ./configure --with-mysql
 checking svn checkout revision... 4991

 Configuring for Kannel gateway version svn-r4991 ...

 Running system checks ...
 checking build system type... x86_64-unknown-linux-gnu
 checking host system type... x86_64-unknown-linux-gnu
 checking for gcc... gcc
 checking whether the C compiler works... yes
 checking for C compiler default output file name... a.out
 checking for suffix of executables...
 checking whether we are cross compiling... no
 checking for suffix of object files... o
 checking whether we are using the GNU C compiler... yes
 checking whether gcc accepts -g... yes
 checking for gcc option to accept ISO C89... none needed
 checking for gcc option to accept ISO C99... -std=gnu99
 checking for a BSD-compatible install... /usr/bin/install -c
 checking for ranlib... ranlib
 checking for bison... bison -y
 checking for flex... no
 checking for lex... no
 checking for ar... ar
 checking for convert... /usr/bin/convert
 checking for perl... /usr/bin/perl
 checking for inline... inline
 checking for special C compiler options needed for large files... no
 checking for _FILE_OFFSET_BITS value needed for large files... no
 checking how to run the C preprocessor... gcc -std=gnu99 -E
 checking for grep that handles long lines and -e... /bin/grep
 checking for egrep... /bin/grep -E
 checking for ANSI C header files... yes
 checking for sys/types.h... yes
 checking for sys/stat.h... yes
 checking for stdlib.h... yes
 checking for string.h... yes
 checking for memory.h... yes
 checking for strings.h... yes
 checking for inttypes.h... yes
 checking for stdint.h... yes
 checking for unistd.h... yes
 checking size of short... 2
 checking size of int... 4
 checking size of long... 8
 checking size of long long... 8
 checking for log in -lm... yes
 checking for accept in -lsocket... no
 checking for inet_ntoa in -lnsl... yes
 checking for inet_ntop in -lresolv... yes
 checking for inet_ntop in -lbind... no
 checking for pthread_exit in -lpthread... yes
 checking for ANSI C header files... (cached) yes
 checking sys/ioctl.h usability... yes
 checking sys/ioctl.h presence... yes
 checking for sys/ioctl.h... yes
 checking sys/time.h usability... yes
 checking sys/time.h presence... yes
 checking for sys/time.h... yes
 checking for sys/types.h... (cached) yes
 checking for unistd.h... (cached) yes
 checking sys/poll.h usability... yes
 checking sys/poll.h presence... yes
 checking for sys/poll.h... yes
 checking pthread.h usability... yes
 checking pthread.h presence... yes
 checking for pthread.h... yes
 checking getopt.h usability... yes
 checking getopt.h presence... yes
 checking for getopt.h... yes
 checking syslog.h usability... yes
 checking syslog.h presence... yes
 checking for syslog.h... yes
 checking zlib.h usability... no
 checking zlib.h presence... no
 checking for zlib.h... no
 checking execinfo.h usability... yes
 checking execinfo.h presence... yes
 checking for execinfo.h... yes
 checking for stdlib.h... (cached) yes
 checking sys/socket.h usability... yes
 checking sys/socket.h presence... yes
 checking for sys/socket.h... yes
 checking sys/sockio.h usability... no
 checking sys/sockio.h presence... no
 checking for sys/sockio.h... no
 checking netinet/in.h usability... yes
 checking netinet/in.h presence... yes
 checking for netinet/in.h... yes
 checking for net/if.h... yes
 checking sys/ucontext.h usability... yes
 checking sys/ucontext.h presence... yes
 checking for sys/ucontext.h... yes
 checking for ld used by GCC... /usr/bin/ld
 checking if the linker (/usr/bin/ld) is GNU ld... yes
 checking for shared library run path origin... done
 checking for iconv... yes
 checking for working iconv... yes
 checking for iconv declaration...
  extern size_t iconv (iconv_t cd, char * *inbuf, size_t
 *inbytesleft, char * *outbuf, size_t *outbytesleft);
 checking for gettimeofday... yes
 checking for select... yes
 checking for socket... yes
 checking for strdup... yes
 checking for getopt_long... yes
 checking for localtime_r... yes
 checking for gmtime_r... yes
 checking for backtrace... yes
 checking for srandom... yes
 checking for initgroups... yes
 checking 

Re: Help, SQLBOX gwlib not found when running ./configure

2012-08-28 Thread spameden
Sorry, it was a mistype from my end:

./configure --with-kannel-dir=/usr/local/include/kannel

2012/8/28 Adan Canales adan...@gmail.com

 Thanks you, it works for mysql and kannel. Now I have this warning:

 config.status: creating gw/Makefile
 config.status: creating rpm/sqlbox.spec
 config.status: creating sb-config.h
 config.status: sb-config.h is unchanged
 config.status: executing depfiles commands
 config.status: executing libtool commands
 configure: WARNING: unrecognized options: --with-kannel

 License information ...
 ++
 | License:   |
 | This software is subject to the Kannel Software License, available |
 | in this distribution in the file LICENSE. By continuing this   |
 | installation process, you are bound by the terms of this license   |
 | agreement. If you do not agree with the terms of this license, you |
 | must abort the installation process at this point. |
 ||
 |  The Kannel Group http://www.kannel.org/ |
 ++

 Thank you for using Kannel.
 root@smsbkserver:~/trunk/addons/sqlbox#

 root@smsbkserver:~/trunk/addons/sqlbox# make
 make  all-recursive
 make[1]: se ingresa al directorio «/home/adan/trunk/addons/sqlbox»
 Making all in gw
 make[2]: se ingresa al directorio «/home/adan/trunk/addons/sqlbox/gw»
 gcc -DHAVE_CONFIG_H -I. -I.. -I../gw -I../gw-g -O2 -D_XOPEN_SOURCE=600
 -D_BSD_SOURCE -I/usr/local/include/kannel -g -O2 -D_XOPEN_SOURCE=600
 -D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/mysql
 -MT sqlbox.o -MD -MP -MF .deps/sqlbox.Tpo -c -o sqlbox.o sqlbox.c
 sqlbox.c: En la función ‘run_sqlbox’:
 sqlbox.c:450:10: aviso: conversión de puntero a entero de tamaño diferente
 [-Wpointer-to-int-cast]
 sqlbox.c: En la función ‘wait_for_connections’:
 sqlbox.c:490:13: aviso: conversión a puntero desde un entero de tamaño
 diferente [-Wint-to-pointer-cast]
 sqlbox.c: En la función ‘sqlboxc_run’:
 sqlbox.c:616:12: aviso: conversión de puntero a entero de tamaño diferente
 [-Wpointer-to-int-cast]
 mv -f .deps/sqlbox.Tpo .deps/sqlbox.Po
 gcc -DHAVE_CONFIG_H -I. -I.. -I../gw -I../gw-g -O2 -D_XOPEN_SOURCE=600
 -D_BSD_SOURCE -I/usr/local/include/kannel -g -O2 -D_XOPEN_SOURCE=600
 -D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/mysql
 -MT sqlbox_mssql.o -MD -MP -MF .deps/sqlbox_mssql.Tpo -c -o sqlbox_mssql.o
 sqlbox_mssql.c
 mv -f .deps/sqlbox_mssql.Tpo .deps/sqlbox_mssql.Po
 gcc -DHAVE_CONFIG_H -I. -I.. -I../gw -I../gw-g -O2 -D_XOPEN_SOURCE=600
 -D_BSD_SOURCE -I/usr/local/include/kannel -g -O2 -D_XOPEN_SOURCE=600
 -D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/mysql
 -MT sqlbox_mysql.o -MD -MP -MF .deps/sqlbox_mysql.Tpo -c -o sqlbox_mysql.o
 sqlbox_mysql.c
 mv -f .deps/sqlbox_mysql.Tpo .deps/sqlbox_mysql.Po
 gcc -DHAVE_CONFIG_H -I. -I.. -I../gw -I../gw-g -O2 -D_XOPEN_SOURCE=600
 -D_BSD_SOURCE -I/usr/local/include/kannel -g -O2 -D_XOPEN_SOURCE=600
 -D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/mysql
 -MT sqlbox_pgsql.o -MD -MP -MF .deps/sqlbox_pgsql.Tpo -c -o sqlbox_pgsql.o
 sqlbox_pgsql.c
 mv -f .deps/sqlbox_pgsql.Tpo .deps/sqlbox_pgsql.Po
 gcc -DHAVE_CONFIG_H -I. -I.. -I../gw -I../gw-g -O2 -D_XOPEN_SOURCE=600
 -D_BSD_SOURCE -I/usr/local/include/kannel -g -O2 -D_XOPEN_SOURCE=600
 -D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/mysql
 -MT sqlbox_sdb.o -MD -MP -MF .deps/sqlbox_sdb.Tpo -c -o sqlbox_sdb.o
 sqlbox_sdb.c
 mv -f .deps/sqlbox_sdb.Tpo .deps/sqlbox_sdb.Po
 gcc -DHAVE_CONFIG_H -I. -I.. -I../gw -I../gw-g -O2 -D_XOPEN_SOURCE=600
 -D_BSD_SOURCE -I/usr/local/include/kannel -g -O2 -D_XOPEN_SOURCE=600
 -D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/mysql
 -MT sqlbox_sqlite.o -MD -MP -MF .deps/sqlbox_sqlite.Tpo -c -o
 sqlbox_sqlite.o sqlbox_sqlite.c
 mv -f .deps/sqlbox_sqlite.Tpo .deps/sqlbox_sqlite.Po
 gcc -DHAVE_CONFIG_H -I. -I.. -I../gw -I../gw-g -O2 -D_XOPEN_SOURCE=600
 -D_BSD_SOURCE -I/usr/local/include/kannel -g -O2 -D_XOPEN_SOURCE=600
 -D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/mysql
 -MT sqlbox_sqlite3.o -MD -MP -MF .deps/sqlbox_sqlite3.Tpo -c -o
 sqlbox_sqlite3.o sqlbox_sqlite3.c
 mv -f .deps/sqlbox_sqlite3.Tpo .deps/sqlbox_sqlite3.Po
 gcc -DHAVE_CONFIG_H -I. -I.. -I../gw -I../gw-g -O2 -D_XOPEN_SOURCE=600
 -D_BSD_SOURCE -I/usr/local/include/kannel -g -O2 -D_XOPEN_SOURCE=600
 -D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/mysql
 -MT sqlbox_oracle.o -MD -MP -MF .deps/sqlbox_oracle.Tpo -c -o
 sqlbox_oracle.o sqlbox_oracle.c
 mv -f .deps/sqlbox_oracle.Tpo .deps/sqlbox_oracle.Po
 gcc -DHAVE_CONFIG_H -I. -I.. -I../gw -I../gw-g -O2 -D_XOPEN_SOURCE=600
 -D_BSD_SOURCE -I/usr/local/include/kannel 

Re: Help, SQLBOX gwlib not found when running ./configure

2012-08-27 Thread spameden
Hi.

You need to use kannel from svn as well.

Don't need to use ./bootstrap for sqlbox.

The process is simple

$ svn co https://svn.kannel.org/gateway/trunk
$ cd trunk
$ ./configure --with-mysql
$ make
$ make install
$ cd addons/sqlbox
$ ./configure --with-kannel=/usr/local/include/kannel
$ make
$ make install

if you want to install into /usr use --prefix=/usr

don't forget to remove actual kannel from the debian because it's outdated
and can break your installation.

2012/8/27 Adan Canales adan...@gmail.com

 Hi again and thanks for your help.

 I reinstall everything from scratch. I´m running an ubuntu version 12.04
 lts and this time I installed kannel from deb packages using apt-get
 install kannel and installed fine. I checked the libxml2 was install fine.

 Then download SQLBOX sources using sv co
 https://svn.kannel.org/sqlbox/trunk sqlbox and download the sqlbox
 sources fine

 The cd sqlbox and try to run ./bootstrap and gave me some missing
 libraries warnings so I installed automake, libtool, bison and libxml2-dev
 and try to run again and this is what I have now:

 root@smsbkserver:~/sqlbox# ./bootstrap
 + set -e
 + amvers=no
 + automake-1.11 --version
 + amvers=-1.11
 + test -1.11 = no
 + libtoolize=no
 + glibtoolize --version
 + libtoolize --version
 + libtoolize=libtoolize
 + test libtoolize = no
 + set +x
 + test ! -d autotools
 + libtoolize --copy --force
 libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `autotools'.
 libtoolize: copying file `autotools/ltmain.sh'
 libtoolize: You should add the contents of the following files to
 `aclocal.m4':
 libtoolize:   `/usr/share/aclocal/libtool.m4'
 libtoolize:   `/usr/share/aclocal/ltoptions.m4'
 libtoolize:   `/usr/share/aclocal/ltversion.m4'
 libtoolize:   `/usr/share/aclocal/ltsugar.m4'
 libtoolize:   `/usr/share/aclocal/lt~obsolete.m4'
 libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.inand
 libtoolize: rerunning libtoolize, to keep the correct libtool macros
 in-tree.
 libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
 + test -f ltmain.sh
 + aclocal-1.11 -I autotools
 + autoconf
 + autoheader
 + automake-1.11 --add-missing --copy
 configure.in:95: installing `autotools/config.guess'
 configure.in:95: installing `autotools/config.sub'
 configure.in:92: installing `autotools/install-sh'
 configure.in:92: installing `autotools/missing'
 gw/Makefile.am: installing `autotools/depcomp'
 Makefile.am:3: wildcard grep -l '!DOCTYPE ' doc/*.xml: non-POSIX variable
 name
 Makefile.am:3: (probably a GNU make extension)
 Makefile.am:10: wildcard doc/*.png: non-POSIX variable name
 Makefile.am:10: (probably a GNU make extension)
 Makefile.am:13: wildcard doc/*.fig: non-POSIX variable name
 Makefile.am:13: (probably a GNU make extension)
 Makefile.am:71: shell rpm --eval '%_rpmdir': non-POSIX variable name
 Makefile.am:71: (probably a GNU make extension)
 root@smsbkserver:~/sqlbox#

 I don´t know what else to do?? :( Thanks in advance.

 Kind regards

 Adan


 2012/8/26 spameden spame...@gmail.com

 are you sure kannel was installed successfully?

 try recompiling and reinstalling kannel..


 2012/8/27 Adan Canales adan...@gmail.com

 Hi again:

 this is what I did

 adan@smsserver:~/trunk/addons/sqlbox$ ./configure
 --with-kannel-dir=/usr/local/include/kannel

 and the results:

 Configuring Kannel and DB dependancies ...
 checking for Ct-Lib support... no
 checking for FreeTDS Ct-Lib support... no
 checking for gw-config... no
 checking for Kannel include files in... /usr
 checking for /usr/include/kannel/gw-config.h... no
 checking for Kannel include files in... /usr/local
 checking for /usr/local/include/kannel/gw-config.h... yes
 checking for cfg_create in -lgwlib... no

 configure: error: Kannel gwlib is required!
 adan@smsserver:~/trunk/addons/sqlbox$

 this is the display from the /include/kannel directory


 adan@smsserver:~$ cd /usr
 adan@smsserver:/usr$ cd local
 adan@smsserver:/usr/local$ cd include
 adan@smsserver:/usr/local/include$ cd kannel
 *adan@smsserver:/usr/local/include/kannel$ ls
 gw gw-config.h gwlib wap*
 adan@smsserver:/usr/local/include/kannel$

 adan@smsserver:/usr/local/include/kannel$ cd gwlib
 adan@smsserver:/usr/local/include/kannel/gwlib$ ls
 accesslog.h dbpool_p.h gw-prioqueue.h list.h protected.h
 cfg.def dict.h gw-rwlock.h log.h regex.h
 cfg.h fdset.h gwthread.h md5.h semaphore.h
 charset.h gwassert.h gw_uuid.h mime.h socket.h
 conn.h gw-getopt.h gw_uuid_types.h octstr.h ssl.h
 counter.h gwlib.h html-entities.def parse.h thread.h
 date.h gwmem.h http.h pcre.h utils.h
 dbpool.h gwpoll.h latin1_to_gsm.h pki.h xmlrpc.h

 I don´t know what else to try ??





 2012/8/25 spameden spame...@gmail.com

 sorry, you need to do it this way in sqlbox:

 ./configure --with-kannel-dir=/usr/local/include/kannel

 2012/8/26 adan...@gmail.com

 I did it, kannel is in that directory then i did configure with those
 options and says:
 Configure: error: Kannel gwlib is required!

 Could 

Re: help please, Not able to submit SMS to SMSC at the given throughput.

2012-05-10 Thread Willy Mularto
What is the current speed? Usually operator has their error code when it's 
partner exceed the limit.



On May 10, 2012, at 2:10 PM, Sadique khan wrote:

 Guys help me!!!
 i have configured kannel as my SMS gateway.
 i have got throughput of 20 msg/sec,
 problem is that when i try to submit SMS at the speed of 20 sms/Sec
 SMS stuck in Queue, and while cheking log file i found bearer box does'nt 
 submit SMS to SMSC at given speed 20 msg/sec. how can i make bearer box 
 Submit All the Messages that it gets from HTTP request. or you can say want 
 to generate throttling error So the I can show the oprator that im not 
 getting the speed allotted to me.
 Any help will be highly appriciated.
 
 -- 
   Best Wishes
 Mohd. Sadique khan
# 9717848717
 
 
 

Willy Mularto
F300HD+MR18DE (NLC1725)











Re: help please, Not able to submit SMS to SMSC at the given throughput.

2012-05-10 Thread Komil Gulboev

Show your kannel.conf and bearerbox logs.

5/10/2012 1:12 PM, Willy Mularto ???:
What is the current speed? Usually operator has their error code when 
it's partner exceed the limit.




On May 10, 2012, at 2:10 PM, Sadique khan wrote:


Guys help me!!!
i have configured kannel as my SMS gateway.
i have got throughput of 20 msg/sec,
problem is that when i try to submit SMS at the speed of 20 sms/Sec
SMS stuck in Queue, and while cheking log file i found bearer box 
does'nt submit SMS to SMSC at given speed 20 msg/sec. how can i make 
bearer box Submit All the Messages that it gets from HTTP request. or 
you can say want to generate throttling error So the I can show the 
oprator that im not getting the speed allotted to me.

Any help will be highly appriciated.

--
  Best Wishes
Mohd. Sadique khan
   # 9717848717





Willy Mularto
F300HD+MR18DE (NLC1725)











--
Komil Gulboev

System Administrator
Automation Department
CJSC Babilon-Mobile
+992 91833 mobile
+992 44625 phone



RE: Help store DLR REPORTS‏

2011-12-26 Thread Ahmed Shabana
I used 7 and work with me

Best Regards,

Ahmed Shabana | System Engineer | Creative Communication Solutions
Egypt M +20 (10) 3325373| Tel +20 (50) 2528897
Saudi STC Mobile + 966 500 259791

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of 
mohamed keita
Sent: Friday, December 23, 2011 1:05 AM
To: users kannel
Subject: Help store DLR REPORTS‏

Hello

I found the problem. Read carefully the user guide on page 116(SMS Delivery 
reports). I just add  dlr-mask=31, in the url who permits to send a sms. Now i 
can store dlr on mysql.

thanks


RE: Help store DLR REPORTS

2011-12-22 Thread Ahmed Shabana
Dear ,  the 
 group = dlr-db
Is just used to store dlr till it returns from operator and once it return it 
will be deleted instantaneously .
Its mainly advantage is persistence keep DLR  till come from operator even if 
your kannel boxes  restarted .

Best Regards,
   
Egypt M +20 (10) 3325373    | Tel +20 (50) 2528897
Saudi STC Mobile + 966 500 259791 

-Original Message-
From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of 
Carlos Massoglia Lillo
Sent: Wednesday, December 21, 2011 8:11 PM
To: mohamed keita
Cc: users kannel
Subject: Re: Help store DLR REPORTS

You can use SQLBOX. It has two tables sent_sms and send_sms. In sent_sms table 
are saved the DLR automatically. 

best regards,

El mié, 21-12-2011 a las 13:43 +0100, mohamed keita escribió:
 Hello
 
 I read the documentation(user documentation) on dlr. I uninstalled and 
 recompiled kannel with  - with-mysql. Then I update my  core group by 
 adding dlr-storage = mysql. I added the following lines to my 
 configuration lines.
 
 # Configuration connection mysql
 group = mysql-connection
 id = mydlr
 host = localhost
 username = root
 password = fyle
 database = kannel
 max-connections =2
 
 # Groupe dlr-db(stocker les informations sur les sms envoyés)
 
 group = dlr-db
 id = mydlr
 table = dlr
 field-smsc = smsc
 field-timestamp = ts
 field-destination = destination
 field-source = source
 field-service = service
 field-url = url
 field-mask = mask
 field-status = status
 
 but i have no datas in my database.
 
 
 I have no data in my database.
 
 
 
 I
 
 
 
 field-boxc-id = boxc
 
 

--
Carlos Massoglia Lillo
Gerencia de Innovación y Desarrollo
MindFree Ingeniería Limitada
www.mindfree.cl




Re: Help store DLR REPORTS

2011-12-22 Thread Jorge Raimundo
Hi!

I've set up sqlbox with success because I need to send bulk SMS.

I've tested to send an SMS via sqlbox with success, but I don't see on the
sent_sms table any info regarding the delivery report (dlr) except the mask
and the url.

Could you please enlighten me on how to have dlr info with sqlbox?

Best regards,
Jorge

On Wed, Dec 21, 2011 at 6:10 PM, Carlos Massoglia Lillo 
carlos.massog...@mindfree.cl wrote:

 You can use SQLBOX. It has two tables sent_sms and send_sms. In sent_sms
 table are saved the DLR automatically.

 best regards,

 El mié, 21-12-2011 a las 13:43 +0100, mohamed keita escribió:
  Hello
 
  I read the documentation(user documentation) on dlr. I uninstalled and
  recompiled kannel with  - with-mysql. Then I update my  core group by
  adding dlr-storage = mysql. I added the following lines to my
  configuration lines.
 
  # Configuration connection mysql
  group = mysql-connection
  id = mydlr
  host = localhost
  username = root
  password = fyle
  database = kannel
  max-connections =2
 
  # Groupe dlr-db(stocker les informations sur les sms envoyés)
 
  group = dlr-db
  id = mydlr
  table = dlr
  field-smsc = smsc
  field-timestamp = ts
  field-destination = destination
  field-source = source
  field-service = service
  field-url = url
  field-mask = mask
  field-status = status
 
  but i have no datas in my database.
 
 
  I have no data in my database.
 
 
 
  I
 
 
 
  field-boxc-id = boxc
 
 

 --
 Carlos Massoglia Lillo
 Gerencia de Innovación y Desarrollo
 MindFree Ingeniería Limitada
 www.mindfree.cl





-- 

  [image: Multivision] *Jorge Raimundo
*  RAN Consultant | jorge.raimu...@multivision.pt  .  Rua António Albino
Machado, Nº33, 2ºB.  S. Domingos de Benfica, 1600 - 870 Lisboa  Fixed PT: +351
21 155 20 53 | Mobile PT: +351 91 933 13 67  www.multivision.pt


Re: Help store DLR REPORTS

2011-12-21 Thread Jorge Raimundo
Hi!

On Tue, Dec 20, 2011 at 1:00 PM, Milan P. Stanic m...@arvanta.net wrote:

  This is temporary storage for DLRs and not permanent.

 Read userguide section 'External delivery report (DLR) storage'
 carefully.


I'm sorry, but I can't find on the userguide's section *External delivery
report (DLR) storage* any mention that this is a temporary storage.

Here's the text:
Delivery reports are supported by default internally, which means all DLRs
are stored in the memory of the bearerbox process. This is problematic if
bearerbox crashes or you take the process down in a controlled way, but
there are still DLRs open. Therefore you may use external DLR storage
places, i.e. a MySQL database.

The rest of the section is about specific configurations on the different
types of databases and the configuration groups needed on the config file.

Maybe the paragraph above should be revised to make the temporary storage
clear and avoid such confusions.

Best regards,
Jorge


  [image: Multivision] *Jorge Raimundo
*  RAN Consultant | jorge.raimu...@multivision.pt  .  Rua António Albino
Machado, Nº33, 2ºB.  S. Domingos de Benfica, 1600 - 870 Lisboa  Fixed PT: +351
21 155 20 53 | Mobile PT: +351 91 933 13 67  www.multivision.pt


Re: Help store DLR REPORTS

2011-12-21 Thread Milan P. Stanic
On Wed, 2011-12-21 at 10:21, Jorge Raimundo wrote:
 On Tue, Dec 20, 2011 at 1:00 PM, Milan P. Stanic m...@arvanta.net wrote:
   This is temporary storage for DLRs and not permanent.
 
  Read userguide section 'External delivery report (DLR) storage'
  carefully.
 I'm sorry, but I can't find on the userguide's section *External delivery
 report (DLR) storage* any mention that this is a temporary storage.
 
 Here's the text:
 Delivery reports are supported by default internally, which means all DLRs
 are stored in the memory of the bearerbox process. This is problematic if
 bearerbox crashes or you take the process down in a controlled way, but
 there are still DLRs open. Therefore you may use external DLR storage
 places, i.e. a MySQL database.
 
 The rest of the section is about specific configurations on the different
 types of databases and the configuration groups needed on the config file.
 
 Maybe the paragraph above should be revised to make the temporary storage
 clear and avoid such confusions.

You are right. Userguide could be improved but keep in mind that the
Kannel project does not have money so everything is done when someone
have enough time and goodwill to contribute code or documentation.

-- 
Kind regards,  Milan
--
Arvanta, IT Securityhttp://www.arvanta.net
Please do not send me e-mail containing HTML code or documents in
proprietary format (word, excel, pps and so on)



Re: Help store DLR REPORTS

2011-12-21 Thread Jorge Raimundo
Yes, I know, please don't get me wrong.

In fact I'm really pleased and surprised by the amount and quality of the
documentation available.

What I said before was just to say that *read the userguide carefully*
doesn't always apply as a useful answer.

In my case I managed to download, compile, configure and send an SMS using
the userguide.
Only when I reached the point of handling DLR and bulk messages I needed
extra help from the mailing list. This is already very good.

If you allow me to give a suggestion, I would recommend to have the
documentation also in a wiki where users could edit, change, correct and
improve the documentation.
If this was possible, I would gladly have edited the wiki to include these
little changes I've found necessary on the DLR sections.

Best regards,
Joreg

 [image: Multivision] *Jorge Raimundo
*  RAN Consultant | jorge.raimu...@multivision.pt  .  Rua António Albino
Machado, Nº33, 2ºB.  S. Domingos de Benfica, 1600 - 870 Lisboa  Fixed PT: +351
21 155 20 53 | Mobile PT: +351 91 933 13 67  www.multivision.pt


Re: Help store DLR REPORTS

2011-12-21 Thread Milan P. Stanic
On Wed, 2011-12-21 at 11:17, Jorge Raimundo wrote:
 Yes, I know, please don't get me wrong.
 
 In fact I'm really pleased and surprised by the amount and quality of the
 documentation available.
 
 What I said before was just to say that *read the userguide carefully*
 doesn't always apply as a useful answer.

Well, sentence '*read the userguide carefully*' is there because it must
be done that way if anyone want to understand it. And that is because is
not complete or perfect.

There are a lot of users questions on this mailing list from the people
who are lazy to even read userguide once, at least.
 
 In my case I managed to download, compile, configure and send an SMS using
 the userguide.
 Only when I reached the point of handling DLR and bulk messages I needed
 extra help from the mailing list. This is already very good.
 
 If you allow me to give a suggestion, I would recommend to have the
 documentation also in a wiki where users could edit, change, correct and
 improve the documentation.
 If this was possible, I would gladly have edited the wiki to include these
 little changes I've found necessary on the DLR sections.

Personally, I don't think the wiki with open access is good method for
maintaining any documentation but it could be better than nothing.

Best method to help (IMO) is to send patches for code or documentation
to development mailing list where developers can review and (if all is
ok) apply patches.

-- 
Kind regards,  Milan
--
Arvanta, IT Securityhttp://www.arvanta.net
Please do not send me e-mail containing HTML code or documents in
proprietary format (word, excel, pps and so on)



Re: Help store DLR REPORTS

2011-12-21 Thread Carlos Massoglia Lillo
You can use SQLBOX. It has two tables sent_sms and send_sms. In sent_sms
table are saved the DLR automatically. 

best regards,

El mié, 21-12-2011 a las 13:43 +0100, mohamed keita escribió:
 Hello
 
 I read the documentation(user documentation) on dlr. I uninstalled and
 recompiled kannel with  - with-mysql. Then I update my  core group by
 adding dlr-storage = mysql. I added the following lines to my
 configuration lines.
 
 # Configuration connection mysql
 group = mysql-connection
 id = mydlr
 host = localhost
 username = root
 password = fyle
 database = kannel
 max-connections =2
 
 # Groupe dlr-db(stocker les informations sur les sms envoyés)
 
 group = dlr-db
 id = mydlr
 table = dlr
 field-smsc = smsc
 field-timestamp = ts
 field-destination = destination
 field-source = source
 field-service = service
 field-url = url
 field-mask = mask
 field-status = status
 
 but i have no datas in my database.
 
 
 I have no data in my database.
 
 
 
 I 
 
 
 
 field-boxc-id = boxc
 
 

-- 
Carlos Massoglia Lillo
Gerencia de Innovación y Desarrollo
MindFree Ingeniería Limitada
www.mindfree.cl




Re: Help store DLR REPORTS

2011-12-20 Thread Milan P. Stanic
On Tue, 2011-12-20 at 13:08, mohamed keita wrote:
 
 Hello
 I managed to send and receive sms through kannel .
 Now, I  want to store delivery reports files in  mysql .

 I set up my file kannel.conf then create my database, but I can not
 see datas.

This is temporary storage for DLRs and not permanent.

Read userguide section 'External delivery report (DLR) storage'
carefully.

Few hours ago I answered that question in _this_ mailing list.
Did you read it?

 Here , is my configuration file kannel.conf:

 
 group = core
 admin-port = 13000
 admin-password = 
 status-password = 
 admin-allow-ip = 127.0.0.1,192.168.2.12
 smsbox-port= 13001
 wdp-interface-name = *
 log-file = /var/log/kannel/bearerbox.log
 #box-deny-ip = *.*.*.*
 box-allow-ip = 127.0.0.1
 
 
 # Configuration wapbox
 #group = wapbox
 #bearerbox-host = localhost
 #log-file = /var/log/kannel/wapbox.log
 #log-level=4
 
 
 #Configuration smsbox
 group =smsbox
 bearerbox-host = localhost
 global-sender=13003
 sendsms-port=13003
 log-level=4
 log-file=/var/log/kannel/smsbox.log
 
 
 # Configuration send-sms user(Parametres de connexion avec le navigateur)
 
 group= sendsms-user
 username=fyle
 password=fyle
 #concatenation=true
 
 
 # Configuration sms-service
 
 group=sms-service
 keyword=test
 text=ok c'est bon
 
 
  # Smsc (telephone portable)
 
 group = smsc
 smsc = at
 modemtype = samsung
 device =/dev/ttyACM0
 log-level=1
 host=192.168.2.12
 
 
 #Configuration Modem Samsung
 
 group = modems
 id = samsung
 name =  SAMSUNG Mobile USB Modem
 detect-string = samsung
 init-string = AT+CNMI=2,1,0,0,0
 speed=9600
 
 
 # Configuration connection mysql
 group = mysql-connection
 id = mydlr
 host = localhost
 username = root
 password = fyle
 database = kannel
 max-connections =1
 
 # Groupe dlr-db(stocker les informations sur les sms envoyés)
 group = dlr-db
 id = mydlr
 table = dlr
 field-smsc = smsc
 field-timestamp = ts
 field-destination = destination
 field-source = source
 field-service = service
 field-url = url
 field-mask = mask
 field-status = status
 field-boxc-id = boxc
 
 Thank
 
 
 group = dlr-db
 id = mydlr
 table = dlr
 field-smsc = smsc
 field-timestamp = ts
 field-destination = destination
 field-source = source
 field-service = service
 field-url = url
 field-mask = mask
 field-status = status
 field-boxc-id = boxc
 

-- 
Kind regards,  Milan
--
Arvanta, IT Securityhttp://www.arvanta.net
Please do not send me e-mail containing HTML code or documents in
proprietary format (word, excel, pps and so on)



Re: Help: Big messages from MT to MO

2011-12-17 Thread ha...@aeon.pk
Ask your SMSC operator about the throughput of your SMS shortcode. Should
be greater than 1 SMS/sec. Also to confirm from them if they are supressing
long messages (ideally, they should not!).

On Thu, Dec 15, 2011 at 9:00 PM, Augusto Costa augustoco...@gmail.comwrote:

 I did some tests and only one message is arriving to the mobile.

 *Content sent:*
 f1|857DE|3|2ae87bd5-e673-4cc7-bb6d-42f227050cf3;TEST
 CirDTA;1323872443698@b8cb7b71-a7ab-4366-b5ff-c1c4108eec3c;nono
 elemento;1323810019702@0312cbbe-2f6c-4ce7-8cd8-1f8e4707eb31;oitavo
 elemento;1323810001358@56ea17cc-a3ce-4b0a-8f06-f0434fff456e;setimo
 elemento;1323809989740@eeb41eb7-6c08-4a2d-b5b6-106bc10f4c02;sexto
 elemento;1323809976784@f9a633e9-9894-485d-9cf2-f980f25bbeac;quinto
 elemento;1323808878357@eda1ebc9-26f8-4a9a-9cf8-1edb20aa75a5;Longer + Test
 + Incubation Team;1321966186397@421861ff-e680-4834-9a96-354fd2116ffd;Recife
 Demo;1321387510794@f3ed4ac5-08b5-47a1-b7c3-3889cfa21fd8;rm;1321260640539

 *Content received:*
 f1|857DE|4|2ae87bd5-e673-4cc7-bb6d-42f227050cf3;TEST
 CirDTA;1323872443698@b8cb7b71-a7ab-4366-b5ff-c1c4108eec3c;nono
 elemento;13238100

 Any idea?

 My .conf looks like right?

 Thanks in advance.

 On Mon, Dec 12, 2011 at 3:04 PM, ha...@aeon.pk ha...@aeon.pk wrote:

 Kannel automatically divides messages into necessary pieces. Only the
 logs show them as 1 message, otherwise the message is received on the
 handset in 2 separate parts. You can test it.

 There is no separate configuration of this, if you original config is OK.

 On Mon, Dec 12, 2011 at 11:29 PM, Augusto Costa 
 augustoco...@gmail.comwrote:

 Hello,  friends.

 I need to send big messages (more than 160 characters) from MT to MO. I
 want let Kannel divide the big SMS in two or more.
 How can I configure?

 *My current setup is (kannel.conf):*
 group = sms-service
 keyword = nk
 post-url = http://10.1.25.31:8080/contextWeb/sms;
 accept-x-kannel-headers = true
 send-sender = true
 concatenation = true
 max-messages = 20

 *My Web Server log:*

 http://10.1.25.30:13013/cgi-bin/sendsms?username=testerpassword=foobarto=556182180200type=settingsudh=%06%05%04%1C%E8%00%00text=f1%7C857DE%7C8%7C2ae87bd5-e673-4cc7-bb6d-42f227050cf3%3BTest+Lab001%3B1323443916896%40eda1ebc9-26f8-4a9a-9cf8-1edb20aa75a5%3BLonger+%2B+Test+%2B+Incubation+Team%3B1321966186397%40421861ff-e680-4834-9a96-354fd2116ffd%3BRecife+Demo%3B1321387510794%40f3ed4ac5-08b5-47a1-b7c3-3889cfa21fd8%3Bnk%3B1321260640539
  Response from Kannel: 0: Accepted for delivery

 *Kannel Log:*
 2011-12-12 11:00:55 [915] [2] DEBUG: HTTP: Creating HTTPClient for
 `10.1.25.31'.
 2011-12-12 11:00:55 [915] [2] DEBUG: HTTP: Created HTTPClient area
 0x7f7f29c0.
 2011-12-12 11:00:55 [915] [3] INFO: smsbox: Got HTTP request
 /cgi-bin/sendsms from 10.1.25.31
 2011-12-12 11:00:55 [915] [3] INFO: sendsms used by tester
 2011-12-12 11:00:55 [915] [3] INFO: sendsms sender:tester:13013
 (10.1.25.31) to:556182180200
 msg:f1|857DE|8|2ae87bd5-e673-4cc7-bb6d-42f227050cf3;Test
 Lab001;1323443916896@eda1ebc9-26f8-4a9a-9cf8-1edb20aa75a5;Longer + Test
 + Incubation Team;1321966186397@421861ff-e680-4834-9a96-354fd2116ffd;Recife
 Demo;1321387510794@f3ed4ac5-08b5-47a1-b7c3-3889cfa21fd8
 ;nk;1321260640539
 2011-12-12 11:00:55 [915] [3] DEBUG: Stored UUID
 6399ada2-0f53-4fde-8735-768a2a26bdf7
 2011-12-12 11:00:55 [915] [3] DEBUG: message length 272, sending 1
 messages
 2011-12-12 11:00:55 [915] [3] DEBUG: Status: 202 Answer: Sent.
 2011-12-12 11:00:55 [915] [3] DEBUG: Delayed reply - wait for bearerbox
 2011-12-12 11:00:55 [915] [0] DEBUG: Got ACK (0) of
 6399ada2-0f53-4fde-8735-768a2a26bdf7
 2011-12-12 11:00:55 [915] [0] DEBUG: HTTP: Resetting HTTPClient for
 `10.1.25.31'.
 2011-12-12 11:01:03 [915] [1] DEBUG: HTTP: Destroying HTTPClient area
 0x7f7f29c0.
 2011-12-12 11:01:03 [915] [1] DEBUG: HTTP: Destroying HTTPClient for
 `10.1.25.31'.
 2011-12-12 11:01:10 [915] [8] DEBUG: HTTP: Server closed connection,
 destroying it 10.1.25.31:8080:0::0x18acfe0fd:27.

 Only one message was sent, instead of two (or more, if necessary).

 Thanks in advance.

 Augusto Costa






Re: Help: Big messages from MT to MO

2011-12-15 Thread Augusto Costa
I did some tests and only one message is arriving to the mobile.

*Content sent:*
f1|857DE|3|2ae87bd5-e673-4cc7-bb6d-42f227050cf3;TEST
CirDTA;1323872443698@b8cb7b71-a7ab-4366-b5ff-c1c4108eec3c;nono
elemento;1323810019702@0312cbbe-2f6c-4ce7-8cd8-1f8e4707eb31;oitavo
elemento;1323810001358@56ea17cc-a3ce-4b0a-8f06-f0434fff456e;setimo
elemento;1323809989740@eeb41eb7-6c08-4a2d-b5b6-106bc10f4c02;sexto
elemento;1323809976784@f9a633e9-9894-485d-9cf2-f980f25bbeac;quinto
elemento;1323808878357@eda1ebc9-26f8-4a9a-9cf8-1edb20aa75a5;Longer + Test +
Incubation Team;1321966186397@421861ff-e680-4834-9a96-354fd2116ffd;Recife
Demo;1321387510794@f3ed4ac5-08b5-47a1-b7c3-3889cfa21fd8;rm;1321260640539

*Content received:*
f1|857DE|4|2ae87bd5-e673-4cc7-bb6d-42f227050cf3;TEST
CirDTA;1323872443698@b8cb7b71-a7ab-4366-b5ff-c1c4108eec3c;nono
elemento;13238100

Any idea?

My .conf looks like right?

Thanks in advance.

On Mon, Dec 12, 2011 at 3:04 PM, ha...@aeon.pk ha...@aeon.pk wrote:

 Kannel automatically divides messages into necessary pieces. Only the logs
 show them as 1 message, otherwise the message is received on the handset in
 2 separate parts. You can test it.

 There is no separate configuration of this, if you original config is OK.

 On Mon, Dec 12, 2011 at 11:29 PM, Augusto Costa augustoco...@gmail.comwrote:

 Hello,  friends.

 I need to send big messages (more than 160 characters) from MT to MO. I
 want let Kannel divide the big SMS in two or more.
 How can I configure?

 *My current setup is (kannel.conf):*
 group = sms-service
 keyword = nk
 post-url = http://10.1.25.31:8080/contextWeb/sms;
 accept-x-kannel-headers = true
 send-sender = true
 concatenation = true
 max-messages = 20

 *My Web Server log:*

 http://10.1.25.30:13013/cgi-bin/sendsms?username=testerpassword=foobarto=556182180200type=settingsudh=%06%05%04%1C%E8%00%00text=f1%7C857DE%7C8%7C2ae87bd5-e673-4cc7-bb6d-42f227050cf3%3BTest+Lab001%3B1323443916896%40eda1ebc9-26f8-4a9a-9cf8-1edb20aa75a5%3BLonger+%2B+Test+%2B+Incubation+Team%3B1321966186397%40421861ff-e680-4834-9a96-354fd2116ffd%3BRecife+Demo%3B1321387510794%40f3ed4ac5-08b5-47a1-b7c3-3889cfa21fd8%3Bnk%3B1321260640539
  Response from Kannel: 0: Accepted for delivery

 *Kannel Log:*
 2011-12-12 11:00:55 [915] [2] DEBUG: HTTP: Creating HTTPClient for
 `10.1.25.31'.
 2011-12-12 11:00:55 [915] [2] DEBUG: HTTP: Created HTTPClient area
 0x7f7f29c0.
 2011-12-12 11:00:55 [915] [3] INFO: smsbox: Got HTTP request
 /cgi-bin/sendsms from 10.1.25.31
 2011-12-12 11:00:55 [915] [3] INFO: sendsms used by tester
 2011-12-12 11:00:55 [915] [3] INFO: sendsms sender:tester:13013
 (10.1.25.31) to:556182180200
 msg:f1|857DE|8|2ae87bd5-e673-4cc7-bb6d-42f227050cf3;Test
 Lab001;1323443916896@eda1ebc9-26f8-4a9a-9cf8-1edb20aa75a5;Longer + Test
 + Incubation Team;1321966186397@421861ff-e680-4834-9a96-354fd2116ffd;Recife
 Demo;1321387510794@f3ed4ac5-08b5-47a1-b7c3-3889cfa21fd8;nk;1321260640539
 2011-12-12 11:00:55 [915] [3] DEBUG: Stored UUID
 6399ada2-0f53-4fde-8735-768a2a26bdf7
 2011-12-12 11:00:55 [915] [3] DEBUG: message length 272, sending 1
 messages
 2011-12-12 11:00:55 [915] [3] DEBUG: Status: 202 Answer: Sent.
 2011-12-12 11:00:55 [915] [3] DEBUG: Delayed reply - wait for bearerbox
 2011-12-12 11:00:55 [915] [0] DEBUG: Got ACK (0) of
 6399ada2-0f53-4fde-8735-768a2a26bdf7
 2011-12-12 11:00:55 [915] [0] DEBUG: HTTP: Resetting HTTPClient for
 `10.1.25.31'.
 2011-12-12 11:01:03 [915] [1] DEBUG: HTTP: Destroying HTTPClient area
 0x7f7f29c0.
 2011-12-12 11:01:03 [915] [1] DEBUG: HTTP: Destroying HTTPClient for
 `10.1.25.31'.
 2011-12-12 11:01:10 [915] [8] DEBUG: HTTP: Server closed connection,
 destroying it 10.1.25.31:8080:0::0x18acfe0fd:27.

 Only one message was sent, instead of two (or more, if necessary).

 Thanks in advance.

 Augusto Costa





RE: Help with Nokia 6210 Navigator

2011-12-14 Thread Tuomas Koski
Hello,

On Dec 14, 2011 12:32 AM, Rene Kluwen rene.klu...@chimit.nl wrote:

 Some Nokia phone don't support the AT+CNMI command.
 Try to remove it completely from your config and use sim-buffering in
stead.

thanks for your quick reply. Works nicely now.

Case closed. Cheers,
--
tuomas

 == Rene

 -Original Message-
 From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
 Of Tuomas Koski
 Sent: Tuesday, 13 December, 2011 21:19
 To: users@kannel.org
 Subject: Help with Nokia 6210 Navigator

 Hi guys,

 does anyone here have managed to get Nokia 6210 Navigator to work with
 Kannel 1.5.0 to SEND sms?

 If yes, could you please post your working conf?

 Here is my current conf (after trying all examples I found from web)
 which does not work:

 group = core
 admin-port = 13000
 admin-password = bar
 admin-deny-ip = *.*.*.*
 admin-allow-ip = 
 wapbox-port = 13002
 wdp-interface-name = *
 log-file = /var/log/kannel/bearerbox.log
 box-deny-ip = *.*.*.*
 box-allow-ip = 127.0.0.1

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

 group = smsc
 smsc-id = SMSC_01
 smsc = at
 modemtype = nokiaphone
 speed = 19200
 device = /dev/ttyACM0
 log-file = /var/log/kannel/smsc.log
 log-level = 0
 keepalive = true

 group = modems
 id = nokiaphone
 name = Nokia Phone
 need-sleep = true
 #sendline-sleep = 1000
 init-string = AT+CNMI=1,2,0,1,0
 keepalive-cmd = AT+CBC;+CSQ
 enable-mms = true


 This is the log from smsc.log:
 2011-12-13 21:11:01 [9154] [4] INFO: AT2[SMSC_01]: opening device
 2011-12-13 21:11:01 [9154] [4] DEBUG: AT2[SMSC_01]: device opened.
 Telnet mode = 0
 2011-12-13 21:11:01 [9154] [4] DEBUG: AT2[SMSC_01]: device opened
 2011-12-13 21:11:01 [9154] [4] INFO: AT2[SMSC_01]: Logging in
 2011-12-13 21:11:01 [9154] [4] INFO: AT2[SMSC_01]: init device
 2011-12-13 21:11:01 [9154] [4] INFO: AT2[SMSC_01]: speed set to 19200
 2011-12-13 21:11:01 [9154] [4] DEBUG: AT2[SMSC_01]: -- ATZ^M
 2011-12-13 21:11:01 [9154] [4] DEBUG: AT2[SMSC_01]: -- OK
 2011-12-13 21:11:01 [9154] [4] DEBUG: AT2[SMSC_01]: -- AT^M
 2011-12-13 21:11:01 [9154] [4] DEBUG: AT2[SMSC_01]: -- AT
 2011-12-13 21:11:01 [9154] [4] DEBUG: AT2[SMSC_01]: -- OK
 2011-12-13 21:11:01 [9154] [4] DEBUG: AT2[SMSC_01]: -- ATF^M
 2011-12-13 21:11:02 [9154] [4] DEBUG: AT2[SMSC_01]: -- ATF
 2011-12-13 21:11:02 [9154] [4] DEBUG: AT2[SMSC_01]: -- OK
 2011-12-13 21:11:02 [9154] [4] DEBUG: AT2[SMSC_01]: -- ATE0^M
 2011-12-13 21:11:02 [9154] [4] DEBUG: AT2[SMSC_01]: -- ATE0
 2011-12-13 21:11:02 [9154] [4] DEBUG: AT2[SMSC_01]: -- OK
 2011-12-13 21:11:02 [9154] [4] DEBUG: AT2[SMSC_01]: -- AT+IFC=2,2^M
 2011-12-13 21:11:02 [9154] [4] DEBUG: AT2[SMSC_01]: -- OK
 2011-12-13 21:11:02 [9154] [4] DEBUG: AT2[SMSC_01]: -- AT+CPIN?^M
 2011-12-13 21:11:02 [9154] [4] DEBUG: AT2[SMSC_01]: -- +CPIN: READY
 2011-12-13 21:11:02 [9154] [4] DEBUG: AT2[SMSC_01]: -- OK
 2011-12-13 21:11:02 [9154] [4] DEBUG: AT2[SMSC_01]: --
 AT+CSCA=+49177061^M
 2011-12-13 21:11:02 [9154] [4] DEBUG: AT2[SMSC_01]: -- OK
 2011-12-13 21:11:02 [9154] [4] DEBUG: AT2[SMSC_01]: -- AT+CMGF=0^M
 2011-12-13 21:11:02 [9154] [4] DEBUG: AT2[SMSC_01]: -- OK
 2011-12-13 21:11:02 [9154] [4] DEBUG: AT2[SMSC_01]: -- AT+CSMS=?^M
 2011-12-13 21:11:02 [9154] [4] DEBUG: AT2[SMSC_01]: -- +CSMS: (0)
 2011-12-13 21:11:02 [9154] [4] DEBUG: AT2[SMSC_01]: -- OK
 2011-12-13 21:11:02 [9154] [4] DEBUG: AT2[SMSC_01]: --
AT+CNMI=1,2,0,1,0^M
 2011-12-13 21:11:02 [9154] [4] DEBUG: AT2[SMSC_01]: -- ERROR
 2011-12-13 21:11:02 [9154] [4] ERROR: AT2[SMSC_01]: Generic error: ERROR
 2011-12-13 21:11:02 [9154] [4] ERROR: AT2[SMSC_01]: Initialization of
 device failed.
 2011-12-13 21:11:02 [9154] [4] INFO: AT2[SMSC_01]: Closing device
 2011-12-13 21:11:02 [9154] [4] ERROR: AT2[SMSC_01]: Couldn't connect
 (retrying in 10 seconds).

 Any idea what could be the correct value instead of AT+CNMI=1,2,0,1,0 ?

 All help would be highly appreciated.


 Cheers,
 Tuomas





RE: Help with Nokia 6210 Navigator

2011-12-13 Thread Rene Kluwen
Some Nokia phone don't support the AT+CNMI command.
Try to remove it completely from your config and use sim-buffering in stead.


== Rene

-Original Message-
From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of Tuomas Koski
Sent: Tuesday, 13 December, 2011 21:19
To: users@kannel.org
Subject: Help with Nokia 6210 Navigator

Hi guys,

does anyone here have managed to get Nokia 6210 Navigator to work with
Kannel 1.5.0 to SEND sms?

If yes, could you please post your working conf?

Here is my current conf (after trying all examples I found from web)
which does not work:

group = core
admin-port = 13000
admin-password = bar
admin-deny-ip = *.*.*.*
admin-allow-ip = 
wapbox-port = 13002
wdp-interface-name = *
log-file = /var/log/kannel/bearerbox.log
box-deny-ip = *.*.*.*
box-allow-ip = 127.0.0.1

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

group = smsc
smsc-id = SMSC_01
smsc = at
modemtype = nokiaphone
speed = 19200
device = /dev/ttyACM0
log-file = /var/log/kannel/smsc.log
log-level = 0
keepalive = true

group = modems
id = nokiaphone
name = Nokia Phone
need-sleep = true
#sendline-sleep = 1000
init-string = AT+CNMI=1,2,0,1,0
keepalive-cmd = AT+CBC;+CSQ
enable-mms = true


This is the log from smsc.log:
2011-12-13 21:11:01 [9154] [4] INFO: AT2[SMSC_01]: opening device
2011-12-13 21:11:01 [9154] [4] DEBUG: AT2[SMSC_01]: device opened.
Telnet mode = 0
2011-12-13 21:11:01 [9154] [4] DEBUG: AT2[SMSC_01]: device opened
2011-12-13 21:11:01 [9154] [4] INFO: AT2[SMSC_01]: Logging in
2011-12-13 21:11:01 [9154] [4] INFO: AT2[SMSC_01]: init device
2011-12-13 21:11:01 [9154] [4] INFO: AT2[SMSC_01]: speed set to 19200
2011-12-13 21:11:01 [9154] [4] DEBUG: AT2[SMSC_01]: -- ATZ^M
2011-12-13 21:11:01 [9154] [4] DEBUG: AT2[SMSC_01]: -- OK
2011-12-13 21:11:01 [9154] [4] DEBUG: AT2[SMSC_01]: -- AT^M
2011-12-13 21:11:01 [9154] [4] DEBUG: AT2[SMSC_01]: -- AT
2011-12-13 21:11:01 [9154] [4] DEBUG: AT2[SMSC_01]: -- OK
2011-12-13 21:11:01 [9154] [4] DEBUG: AT2[SMSC_01]: -- ATF^M
2011-12-13 21:11:02 [9154] [4] DEBUG: AT2[SMSC_01]: -- ATF
2011-12-13 21:11:02 [9154] [4] DEBUG: AT2[SMSC_01]: -- OK
2011-12-13 21:11:02 [9154] [4] DEBUG: AT2[SMSC_01]: -- ATE0^M
2011-12-13 21:11:02 [9154] [4] DEBUG: AT2[SMSC_01]: -- ATE0
2011-12-13 21:11:02 [9154] [4] DEBUG: AT2[SMSC_01]: -- OK
2011-12-13 21:11:02 [9154] [4] DEBUG: AT2[SMSC_01]: -- AT+IFC=2,2^M
2011-12-13 21:11:02 [9154] [4] DEBUG: AT2[SMSC_01]: -- OK
2011-12-13 21:11:02 [9154] [4] DEBUG: AT2[SMSC_01]: -- AT+CPIN?^M
2011-12-13 21:11:02 [9154] [4] DEBUG: AT2[SMSC_01]: -- +CPIN: READY
2011-12-13 21:11:02 [9154] [4] DEBUG: AT2[SMSC_01]: -- OK
2011-12-13 21:11:02 [9154] [4] DEBUG: AT2[SMSC_01]: --
AT+CSCA=+49177061^M
2011-12-13 21:11:02 [9154] [4] DEBUG: AT2[SMSC_01]: -- OK
2011-12-13 21:11:02 [9154] [4] DEBUG: AT2[SMSC_01]: -- AT+CMGF=0^M
2011-12-13 21:11:02 [9154] [4] DEBUG: AT2[SMSC_01]: -- OK
2011-12-13 21:11:02 [9154] [4] DEBUG: AT2[SMSC_01]: -- AT+CSMS=?^M
2011-12-13 21:11:02 [9154] [4] DEBUG: AT2[SMSC_01]: -- +CSMS: (0)
2011-12-13 21:11:02 [9154] [4] DEBUG: AT2[SMSC_01]: -- OK
2011-12-13 21:11:02 [9154] [4] DEBUG: AT2[SMSC_01]: -- AT+CNMI=1,2,0,1,0^M
2011-12-13 21:11:02 [9154] [4] DEBUG: AT2[SMSC_01]: -- ERROR
2011-12-13 21:11:02 [9154] [4] ERROR: AT2[SMSC_01]: Generic error: ERROR
2011-12-13 21:11:02 [9154] [4] ERROR: AT2[SMSC_01]: Initialization of
device failed.
2011-12-13 21:11:02 [9154] [4] INFO: AT2[SMSC_01]: Closing device
2011-12-13 21:11:02 [9154] [4] ERROR: AT2[SMSC_01]: Couldn't connect
(retrying in 10 seconds).

Any idea what could be the correct value instead of AT+CNMI=1,2,0,1,0 ?

All help would be highly appreciated.


Cheers,
Tuomas






Re: Help: Big messages from MT to MO

2011-12-12 Thread ha...@aeon.pk
Kannel automatically divides messages into necessary pieces. Only the logs
show them as 1 message, otherwise the message is received on the handset in
2 separate parts. You can test it.

There is no separate configuration of this, if you original config is OK.

On Mon, Dec 12, 2011 at 11:29 PM, Augusto Costa augustoco...@gmail.comwrote:

 Hello,  friends.

 I need to send big messages (more than 160 characters) from MT to MO. I
 want let Kannel divide the big SMS in two or more.
 How can I configure?

 *My current setup is (kannel.conf):*
 group = sms-service
 keyword = nk
 post-url = http://10.1.25.31:8080/contextWeb/sms;
 accept-x-kannel-headers = true
 send-sender = true
 concatenation = true
 max-messages = 20

 *My Web Server log:*

 http://10.1.25.30:13013/cgi-bin/sendsms?username=testerpassword=foobarto=556182180200type=settingsudh=%06%05%04%1C%E8%00%00text=f1%7C857DE%7C8%7C2ae87bd5-e673-4cc7-bb6d-42f227050cf3%3BTest+Lab001%3B1323443916896%40eda1ebc9-26f8-4a9a-9cf8-1edb20aa75a5%3BLonger+%2B+Test+%2B+Incubation+Team%3B1321966186397%40421861ff-e680-4834-9a96-354fd2116ffd%3BRecife+Demo%3B1321387510794%40f3ed4ac5-08b5-47a1-b7c3-3889cfa21fd8%3Bnk%3B1321260640539
  Response from Kannel: 0: Accepted for delivery

 *Kannel Log:*
 2011-12-12 11:00:55 [915] [2] DEBUG: HTTP: Creating HTTPClient for
 `10.1.25.31'.
 2011-12-12 11:00:55 [915] [2] DEBUG: HTTP: Created HTTPClient area
 0x7f7f29c0.
 2011-12-12 11:00:55 [915] [3] INFO: smsbox: Got HTTP request
 /cgi-bin/sendsms from 10.1.25.31
 2011-12-12 11:00:55 [915] [3] INFO: sendsms used by tester
 2011-12-12 11:00:55 [915] [3] INFO: sendsms sender:tester:13013
 (10.1.25.31) to:556182180200
 msg:f1|857DE|8|2ae87bd5-e673-4cc7-bb6d-42f227050cf3;Test
 Lab001;1323443916896@eda1ebc9-26f8-4a9a-9cf8-1edb20aa75a5;Longer + Test +
 Incubation Team;1321966186397@421861ff-e680-4834-9a96-354fd2116ffd;Recife
 Demo;1321387510794@f3ed4ac5-08b5-47a1-b7c3-3889cfa21fd8;nk;1321260640539
 2011-12-12 11:00:55 [915] [3] DEBUG: Stored UUID
 6399ada2-0f53-4fde-8735-768a2a26bdf7
 2011-12-12 11:00:55 [915] [3] DEBUG: message length 272, sending 1
 messages
 2011-12-12 11:00:55 [915] [3] DEBUG: Status: 202 Answer: Sent.
 2011-12-12 11:00:55 [915] [3] DEBUG: Delayed reply - wait for bearerbox
 2011-12-12 11:00:55 [915] [0] DEBUG: Got ACK (0) of
 6399ada2-0f53-4fde-8735-768a2a26bdf7
 2011-12-12 11:00:55 [915] [0] DEBUG: HTTP: Resetting HTTPClient for
 `10.1.25.31'.
 2011-12-12 11:01:03 [915] [1] DEBUG: HTTP: Destroying HTTPClient area
 0x7f7f29c0.
 2011-12-12 11:01:03 [915] [1] DEBUG: HTTP: Destroying HTTPClient for
 `10.1.25.31'.
 2011-12-12 11:01:10 [915] [8] DEBUG: HTTP: Server closed connection,
 destroying it 10.1.25.31:8080:0::0x18acfe0fd:27.

 Only one message was sent, instead of two (or more, if necessary).

 Thanks in advance.

 Augusto Costa



RE: Help to test Kannel Server speed

2011-11-15 Thread Dipo Kolawole
I am willing. I believe you can test by using fake smsc. You may not have to
go as far as using real credits though am not sure.

 

 

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of Eugene Ohu
Sent: Wednesday, November 02, 2011 8:27 PM
To: users@kannel.org
Subject: Help to test Kannel Server speed

 

Hello all,

 

Please, any volunteers to help me test the speed of my Kannel server?

I will provide you smpp connection parameters and you can do fake sms
sending.

If need be and the only way to do this type of tests is to send actual sms,
I will bear the cost of this.

 

I will appreciate any help please,

 

Thank you,

 

Eugene



Re: Help to test Kannel Server speed

2011-11-15 Thread Eugene Ohu
Hi Dipo,

Thanks for your reply.
Yes, I did test using fake smsc and got good results.
I wanted a second opinion and from distinct setups.

Eugene

On 15 November 2011 09:00, Dipo Kolawole dipok...@yahoo.co.uk wrote:

 I am willing. I believe you can test by using fake smsc. You may not have
 to go as far as using real credits though am not sure.

 ** **

 ** **

 *From:* users-boun...@kannel.org [mailto:users-boun...@kannel.org] *On
 Behalf Of *Eugene Ohu
 *Sent:* Wednesday, November 02, 2011 8:27 PM
 *To:* users@kannel.org
 *Subject:* Help to test Kannel Server speed

 ** **

 Hello all,

 ** **

 Please, any volunteers to help me test the speed of my Kannel server?

 I will provide you smpp connection parameters and you can do fake sms
 sending.

 If need be and the only way to do this type of tests is to send actual
 sms, I will bear the cost of this.

 ** **

 I will appreciate any help please,

 ** **

 Thank you,

 ** **

 Eugene



Re: Help to test Kannel Server speed

2011-11-03 Thread Eugene Ohu
Hi BC,

My major clients are banks who have proprietary custom servers in most
cases.
Thanks,

Eugene

On 3 November 2011 06:09, Big Crunch bigcrunc...@hotmail.com wrote:

  Hi Eugene,

 How do your external clients connect to you ? smppbox ? or proprietary
 custom server ?

 Thanks,
 BC.


 --
 To: sangpr...@gmail.com

 Subject: Re: Help to test Kannel Server speed
 From: eug...@writingpad.org
 Date: Thu, 3 Nov 2011 04:57:06 +
 CC: users@kannel.org


 Thank you Willy,

 It's a kannel server for sms aggregation running on ubuntu. There are
 commercial clients sending on it already. Earlier I had some big bulk
 senders complains of slow speed // latency issues with my server // very
 low mps... We moved to a new server, changed some codes and basically
 solved all those problems...or so it seems.

 Before my next big client I will like to put the installation through some
 stress from 'outside'. I don't know how best this can be done.

 Thanks,
 Eugene
 --
 *From: * Willy Mularto sangpr...@gmail.com
 *Date: *Thu, 3 Nov 2011 09:16:53 +0700
 *To: *Eugene Ohueug...@writingpad.org
 *Cc: *users@kannel.org
 *Subject: *Re: Help to test Kannel Server speed

 What is your scenario and goal? Maybe I can help you.



 On Nov 3, 2011, at 2:26 AM, Eugene Ohu wrote:

 Hello all,

 Please, any volunteers to help me test the speed of my Kannel server?
 I will provide you smpp connection parameters and you can do fake sms
 sending.
 If need be and the only way to do this type of tests is to send actual
 sms, I will bear the cost of this.

 I will appreciate any help please,

 Thank you,

 Eugene


Willy Mularto
 F300HD+MR18DE (NLC1725)












Re: Help to test Kannel Server speed

2011-11-03 Thread alok vaidya
Hi Eugene,

No, I mean to say how do the clients connect to the server to send the sms
messages are they using smpp or http or some other protocol to send sms
messages to your server. If you are accepting messages over smpp may be I
can help you in the submit test.

Regards,
BC.


On Thu, Nov 3, 2011 at 1:07 PM, Eugene Ohu eug...@writingpad.org wrote:

 Hi BC,

 My major clients are banks who have proprietary custom servers in most
 cases.
 Thanks,

 Eugene


 On 3 November 2011 06:09, Big Crunch bigcrunc...@hotmail.com wrote:

  Hi Eugene,

 How do your external clients connect to you ? smppbox ? or proprietary
 custom server ?

 Thanks,
 BC.


 --
 To: sangpr...@gmail.com

 Subject: Re: Help to test Kannel Server speed
 From: eug...@writingpad.org
 Date: Thu, 3 Nov 2011 04:57:06 +
 CC: users@kannel.org


 Thank you Willy,

 It's a kannel server for sms aggregation running on ubuntu. There are
 commercial clients sending on it already. Earlier I had some big bulk
 senders complains of slow speed // latency issues with my server // very
 low mps... We moved to a new server, changed some codes and basically
 solved all those problems...or so it seems.

 Before my next big client I will like to put the installation through
 some stress from 'outside'. I don't know how best this can be done.

 Thanks,
 Eugene
 --
 *From: * Willy Mularto sangpr...@gmail.com
 *Date: *Thu, 3 Nov 2011 09:16:53 +0700
 *To: *Eugene Ohueug...@writingpad.org
 *Cc: *users@kannel.org
 *Subject: *Re: Help to test Kannel Server speed

 What is your scenario and goal? Maybe I can help you.



 On Nov 3, 2011, at 2:26 AM, Eugene Ohu wrote:

 Hello all,

 Please, any volunteers to help me test the speed of my Kannel server?
 I will provide you smpp connection parameters and you can do fake sms
 sending.
 If need be and the only way to do this type of tests is to send actual
 sms, I will bear the cost of this.

 I will appreciate any help please,

 Thank you,

 Eugene


Willy Mularto
 F300HD+MR18DE (NLC1725)













Re: Help to test Kannel Server speed

2011-11-03 Thread eugene
Hi.

Sorry I misunderstand. Clients connect via smpp. I'll be grateful for your help.

Eugene
-Original Message-
From: alok vaidya geta...@gmail.com
Date: Thu, 3 Nov 2011 13:44:48 
To: Eugene Ohueug...@writingpad.org
Cc: Big Crunchbigcrunc...@hotmail.com; Kannel Usersusers@kannel.org
Subject: Re: Help to test Kannel Server speed

Hi Eugene,

No, I mean to say how do the clients connect to the server to send the sms
messages are they using smpp or http or some other protocol to send sms
messages to your server. If you are accepting messages over smpp may be I
can help you in the submit test.

Regards,
BC.


On Thu, Nov 3, 2011 at 1:07 PM, Eugene Ohu eug...@writingpad.org wrote:

 Hi BC,

 My major clients are banks who have proprietary custom servers in most
 cases.
 Thanks,

 Eugene


 On 3 November 2011 06:09, Big Crunch bigcrunc...@hotmail.com wrote:

  Hi Eugene,

 How do your external clients connect to you ? smppbox ? or proprietary
 custom server ?

 Thanks,
 BC.


 --
 To: sangpr...@gmail.com

 Subject: Re: Help to test Kannel Server speed
 From: eug...@writingpad.org
 Date: Thu, 3 Nov 2011 04:57:06 +
 CC: users@kannel.org


 Thank you Willy,

 It's a kannel server for sms aggregation running on ubuntu. There are
 commercial clients sending on it already. Earlier I had some big bulk
 senders complains of slow speed // latency issues with my server // very
 low mps... We moved to a new server, changed some codes and basically
 solved all those problems...or so it seems.

 Before my next big client I will like to put the installation through
 some stress from 'outside'. I don't know how best this can be done.

 Thanks,
 Eugene
 --
 *From: * Willy Mularto sangpr...@gmail.com
 *Date: *Thu, 3 Nov 2011 09:16:53 +0700
 *To: *Eugene Ohueug...@writingpad.org
 *Cc: *users@kannel.org
 *Subject: *Re: Help to test Kannel Server speed

 What is your scenario and goal? Maybe I can help you.



 On Nov 3, 2011, at 2:26 AM, Eugene Ohu wrote:

 Hello all,

 Please, any volunteers to help me test the speed of my Kannel server?
 I will provide you smpp connection parameters and you can do fake sms
 sending.
 If need be and the only way to do this type of tests is to send actual
 sms, I will bear the cost of this.

 I will appreciate any help please,

 Thank you,

 Eugene


Willy Mularto
 F300HD+MR18DE (NLC1725)














Re: Help to test Kannel Server speed

2011-11-02 Thread Willy Mularto
What is your scenario and goal? Maybe I can help you.



On Nov 3, 2011, at 2:26 AM, Eugene Ohu wrote:

 Hello all,
 
 Please, any volunteers to help me test the speed of my Kannel server?
 I will provide you smpp connection parameters and you can do fake sms 
 sending.
 If need be and the only way to do this type of tests is to send actual sms, I 
 will bear the cost of this.
 
 I will appreciate any help please,
 
 Thank you,
 
 Eugene

Willy Mularto
F300HD+MR18DE (NLC1725)











Re: Help to test Kannel Server speed

2011-11-02 Thread eugene
Thank you Willy,

It's a kannel server for sms aggregation running on ubuntu. There are 
commercial clients sending on it already. Earlier I had some big bulk senders 
complains of slow speed // latency issues with my server // very low mps... We 
moved to a new server, changed some codes and basically solved all those 
problems...or so it seems.

Before my next big client I will like to put the installation through some 
stress from 'outside'. I don't know how best this can be done.

Thanks,
Eugene
-Original Message-
From: Willy Mularto sangpr...@gmail.com
Date: Thu, 3 Nov 2011 09:16:53 
To: Eugene Ohueug...@writingpad.org
Cc: users@kannel.org
Subject: Re: Help to test Kannel Server speed

What is your scenario and goal? Maybe I can help you.



On Nov 3, 2011, at 2:26 AM, Eugene Ohu wrote:

 Hello all,
 
 Please, any volunteers to help me test the speed of my Kannel server?
 I will provide you smpp connection parameters and you can do fake sms 
 sending.
 If need be and the only way to do this type of tests is to send actual sms, I 
 will bear the cost of this.
 
 I will appreciate any help please,
 
 Thank you,
 
 Eugene

Willy Mularto
F300HD+MR18DE (NLC1725)












RE: Help to test Kannel Server speed

2011-11-02 Thread Big Crunch

Hi Eugene,

How do your external clients connect to you ? smppbox ? or proprietary custom 
server ?

Thanks,
BC.


To: sangpr...@gmail.com
Subject: Re: Help to test Kannel Server speed
From: eug...@writingpad.org
Date: Thu, 3 Nov 2011 04:57:06 +
CC: users@kannel.org



Thank you Willy,

It's a kannel server for sms aggregation running on ubuntu. There are 
commercial clients sending on it already. Earlier I had some big bulk senders 
complains of slow speed // latency issues with my server // very low mps... We 
moved to a new server, changed some codes and basically solved all those 
problems...or so it seems.

Before my next big client I will like to put the installation through some 
stress from 'outside'. I don't know how best this can be done.

Thanks,
EugeneFrom:  Willy Mularto sangpr...@gmail.com
Date: Thu, 3 Nov 2011 09:16:53 +0700To: Eugene Ohueug...@writingpad.orgCc: 
users@kannel.orgSubject: Re: Help to test Kannel Server speed
What is your scenario and goal? Maybe I can help you.


On Nov 3, 2011, at 2:26 AM, Eugene Ohu wrote:Hello all,
Please, any volunteers to help me test the speed of my Kannel server?I will 
provide you smpp connection parameters and you can do fake sms sending.If 
need be and the only way to do this type of tests is to send actual sms, I will 
bear the cost of this.


I will appreciate any help please,
Thank you,
Eugene


Willy MulartoF300HD+MR18DE (NLC1725)



  

Re: Help please: how to Disable MSG retry

2011-09-26 Thread Willy Mularto
you didn't  supply any good guidance for us to help you sir. first of all we 
all need to know what kind of smsc do you connect, how is your application 
developed, what is your telco smsc rules. but actually Kannel does have 
directive not to retry failed messages. It is on the user guide :)



On Sep 26, 2011, at 7:00 PM, Sadique khan VAS_51819 wrote:

 Dear Sir,
 
 
 
Hi!!   This is sadique.
 My SMS center has asked me to Stop retry to failed messages.
 Being new to kannel im confused tht what should i do.
 kindly guide me how to stop msg retry and what parameter to set in conf file.
 
 
 -- 
   Best Wishes
 Mohd. Sadique khan
# 9717848717
 

Willy Mularto
F300HD+MR18DE (NLC1725)











Re: help sending binary SMSes

2011-08-23 Thread Noto Modungwa
This is a followup to the previous email. I am still battling to get SMSes
to configure mobile devices.

Attached is an html form to send email config settings via kannel (source
http://mobiforge.com/developing/story/email-configuration-sms ) and
customized for my setup.
The sms'es get interpreted as normal content as such the phone is not
configured.

I tried another example (below) sending a binary sms (for a bookmark) and
the phone inteprets that as normal sms displaying the content

http://test.env.com:13013/cgi-bin/sendsms?from=0824647793to=0727299945coding=1sec=userpinpin=1234username=foopassword=barudh=%06%05%04%0B%84%23%F0text=%02%05%6A%00%45%C6%0C%03%77%77%77%2E%64%65%76%2E%6D%6F%62%69%2F%69%73%5F%66%75%6E%2E%68%74%6D%6C%00%11%03%36%35%33%32%00%07%01%03%44%65%76%44%6F%74%4D%6F%62%69%20%69%73%20%46%75%6E%20%21%00%01%01

Regards,
Noto

On Tue, Aug 16, 2011 at 1:12 AM, Noto Modungwa n...@bank.io wrote:

 I am having trouble getting the binary sms to configure phones.
 The phones (nokia c3, navigator, e 63) receive a text sms instead of a
 configuration SMS.

 I have tried various things (below are examples)...
 using settings in the config -
 http://staging.env.com:13013/cgi-bin/sendota?username=password=xxxsec=%22userpin%22pin=%221234%22to=0796937941type=ota-bookmark

 using oma-settings -
 http://staging.env.com:13013/cgi-bin/sendota?username=xxxpassword=sec=%22userpin%22pin=%2212345%22to=0796937941type=oma-settingstext=%3C%3Fxml+version%3D%221.0%22%3F%3E+%3C!DOCTYPE+CHARACTERISTIC-LIST+SYSTEM+%22file%3A%2F%2F%2Fgw%2Fsettings.dtd%22%3E+%3Cwap-provisioningdoc+version%3D%221.1%22%3E+%3Ccharacteristic+type%3D%22NAPDEF%22%3E+%3Cparm+name%3D%22NAPID%22+value%3D%22INTERNET%22%2F%3E+%3Cparm+name%3D%22BEARER%22+value%3D%22GSM-GPRS%22%2F%3E+%3Cparm+name%3D%22NAME%22+value%3D%22MY+ISP+GPRS%22%2F%3E+%3Cparm+name%3D%22NAP-ADDRESS%22+value%3D%22MYISP.gprs%22%2F%3E+%3Cparm+name%3D%22NAP-ADDRTYPE%22+value%3D%22APN%22%2F%3E+%3C%2Fcharacteristic%3E+%3Ccharacteristic+type%3D%22BOOTSTRAP%22%3E+%3Cparm+name%3D%22CONTEXT-ALLOW%22+value%3D%220%22%2F%3E+%3Cparm+name%3D%22PROVURL%22+value%3D%22http%3A%2F%2Fwww.operator.com%2FTPS%2F%22%2F%3E+%3C%2Fcharacteristic%3E+%3C%2Fwap-provisioningdoc%3E

 I am running Ubuntu 10.04 LTS

 my config file below...
 #
 # Sample configuration file for Kannel bearerbox on Debian.
 # See the documentation for explanations of fields.
 #

 # HTTP administration is disabled by default. Make sure you set the
 # password if you enable it.

 group = core
 admin-port = 13000
 smsbox-port = 13001
 admin-password = xxx
 status-password = xxx
 #admin-deny-ip = *.*.*.*
 #admin-allow-ip = 
 #wapbox-port = 13002
 wdp-interface-name = *
 log-file = /var/log/kannel/bearerbox.log
 #access-log = /var/log/kannel/bearerbox-access.log
 box-deny-ip = *.*.*.*
 box-allow-ip = 127.0.0.1
 log-level = 0

 group = smsc
 smsc = smpp
 smsc-id = panaceamobile
 # allowed-smsc-id = panaceamobile
 # port = 10001
 connect-allow-ip = 127.0.0.1
 # host = 172.24.110.102
 host = api.panaceamobile.com
 port = 9911
 transceiver-mode = 1
 smsc-username = 
 smsc-password = 
 system-type = SMPP
 address-range = 
 source-addr-ton = 1
 source-addr-npi = 1
 dest-addr-ton = 1
 dest-addr-npi = 1

 #-
 # SMSBOX SETUP
 #
 # Smsbox(es) do higher-level SMS handling after they have been received
 from
 # SMS centers by bearerbox, or before they are given to bearerbox for
 delivery

 group = smsbox
 smsbox-id = mysmsc
 bearerbox-host = 127.0.0.1
 sendsms-port = 13013
 global-sender = 263155
 #sendsms-chars = 0123456789 +-
 log-file = /var/log/kannel/smsbox.log
 log-level = 0
 #access-log = /var/log/kannel/smsbox-access.log


 # group = smsbox-route
 # smsbox-id = mysmsc
 #-
 # SEND-SMS USERS
 #
 # These users are used when Kannel smsbox sendsms interface is used to
 # send PUSH sms messages, i.e. calling URL like
 #
 http://kannel.machine:13013/cgi-bin/sendsms?username=testerpassword=foobar.
 ..

 group = sendsms-user
 username = 
 password = 
 max-messages = 10
 concatenation = 1
 faked-sender = 263155
 #user-deny-ip = 
 #user-allow-ip = 

 #-
 # SERVICES
 #
 # These are 'responses' to sms PULL messages, i.e. messages arriving from
 # handsets. The response is based on message content. Only one sms-service
 is
 # applied, using the first one to match.

 group = sms-service
 keyword = nop
 text = You asked nothing and I did it!

 # There should be always a 'default' service. This service is used when no
 # other 'sms-service' is applied.

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

 group = ota-bookmark
 ota-id = mail-link
 url = http://m.econetmail.com;
 #service = Econet Mail

 group = ota-setting
 location = http://wap.company.com
 service = Our company's WAP site
 ipaddress = 10.11.12.13
  phonenumber = 013456789
 bearer = data
 calltype = analog
 connection = 

Re: Help : Performance Benchmarking

2011-04-19 Thread Nikos Balkanas

Hi,

Please address these questions to users, not devel.

A few months back I did submit fakesmpp, an smpp server with extensive smpp 
capabilities. It was not accepted to kannel due to code styling differences. 
It doesn't actually send the SMS, so you avoid any charges for it. If you 
need it, you can get it from the mail archives, along with documentation on 
how to use it. Make sure that you pick up the second email, with a dlr 
correction. Just place it in kannel's test/ subdirectory and compile 
normally.


Your bottleneck is your SMSc. BTW 60 SMS/s is on the high side for SMSc 
throughput. I remember when benchmarking with fake smpp I could get ~450 
MT/s on a low end Solaris using Mysql. Without Mysql I could reach ~700 
MT/s.


BR,
Nikos
- Original Message - 
From: Sharwan K

To: de...@kannel.org
Sent: Tuesday, April 19, 2011 4:23 PM
Subject: Help : Performance Benchmarking


Hello,

I'am wondering if anyone has done benchmarking of Kannel with SMSC 
simulator for SMPP protocol. The setup which i am using is :

1) MySQL 5 community server.
2) SMPP v3.4 simulator for MO and MT.
3) Suse Linux v 11.
4) Kannel 1.5.0

The performance which I am getting is 60 Transactions per second on average 
with 1 session of SMSC. I am sure there must be some way of boosting the 
performance and for doing the same I need

some pointers.

Anybody who has done some benchmarking exercise with kannel and ready to 
help me out.


Regards,
Sharwan Joram 





Re: Help Need to Setup Kannel DLR

2011-04-01 Thread jyotiranjan panda
Hi,
give a try with single smsckannel.conf.

change below in dlr-db group.
max-connections = 1 0
field-timestamp = tstmestamp
field-boxcid = boxc id

after that restart kannel and send the detail bearerbox log.


Regards
Jyoti Ranjan panda

2011/4/1 Deepak Kumar deepak.ku...@morpho.com

 Dear Jyoti,

 My system information is as follow :

 Operating system and version. Ubantu V10.10
 Kannel version. 1.4.3
 Libxml version. 2.30.0
 Used client : SMS Client (I am using GSM modem Cinterion MC52i)
 Single or multi processor machine. Multi Processor


 We are facing an issue while configuring the DLR storage. Whenever we used
  dlr-storage = mysql the kannel will stop to work and smsc will not work.
 after removing the above statement dlr-storage = mysql the kannel will
 work fine and i am able to send and receive sms on my Modem.

 I have also check that our kannel is compiled with mysql support.

 Find my kannel and dlr, mysql database setting with this mail.




 we are struggling from a week with this problem. Please help us.

 In case of any query please let us know.

 The bearebox log say when i activate the dlr storage = mysql


 2011-04-01 12:04:22 [4685] [13] INFO: Connection closed by the box
 127.0.0.1
 2011-04-01 12:04:22 [4685] [14] DEBUG: send_msg: sending msg to box:
 127.0.0.1
 2011-04-01 12:04:22 [4685] [14] DEBUG: Thread 14 (gw/bb_boxc.c:boxc_sender)
 term   inates.
 2011-04-01 12:04:22 [4685] [13] DEBUG: Thread 13 (gw/bb_boxc.c:function)
 termina   tes.
 2011-04-01 12:04:22 [4685] [0] WARNING: Killing signal or HTTP admin
 command rec   eived, shutting down...
 2011-04-01 12:04:22 [4685] [0] DEBUG: Shutting down Kannel...
 2011-04-01 12:04:22 [4685] [0] DEBUG: shutting down smsc
 2011-04-01 12:04:22 [4685] [0] DEBUG: AT2[/dev/ttyS0]: Shutting down
 SMSCConn, s   low
 2011-04-01 12:04:22 [4685] [0] DEBUG: shutting down udp
 2011-04-01 12:04:22 [4685] [10] DEBUG: Thread 10 (gw/bb_udp.c:udp_receiver)
 term   inates.
 2011-04-01 12:04:22 [4685] [8] DEBUG: Thread 8 (gw/bb_udp.c:udp_receiver)
 termin   ates.
 2011-04-01 12:04:22 [4685] [11] DEBUG: Thread 11 (gw/bb_udp.c:udp_sender)
 termin   ates.
 2011-04-01 12:04:22 [4685] [9] DEBUG: Thread 9 (gw/bb_udp.c:udp_sender)
 terminat   es.
 2011-04-01 12:04:23 [4685] [7] DEBUG: Thread 7
 (gw/bb_smscconn.c:sms_router) ter   minates.
 2011-04-01 12:04:23 [4685] [4] DEBUG: Thread 4
 (gw/bb_boxc.c:sms_to_smsboxes) te   rminates.
 2011-04-01 12:04:23 [4685] [5] DEBUG: Thread 5 (gw/bb_boxc.c:smsboxc_run)
 termin   ates.
 2011-04-01 12:04:23 [4685] [0] INFO: All flow threads have died, killing
 core
 2011-04-01 12:04:23 [4685] [0] DEBUG: Waiting for 2
 (gwlib/http.c:server_thread)to terminate
 2011-04-01 12:04:23 [4685] [3] DEBUG: HTTP: No clients with requests,
 quitting.
 2011-04-01 12:04:23 [4685] [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run)
 term   inates.
 *2011-04-01 12:04:23 [4685] [0] PANIC: Cannot die by its own will*
 *2011-04-01 12:04:23 [4685] [0] PANIC: bearerbox(gw_panic+0xcd)
 [0x80d469d]*
 *2011-04-01 12:04:23 [4685] [0] PANIC: bearerbox() [0x8054e60]*
 *2011-04-01 12:04:23 [4685] [0] PANIC: [0xad8400]*


 Best regards,

 Deepak Kumar

 Sr. Software Engineer, RD Application  Support
 e-Documents Division
 Morpho
 *
 Sagem Orga has changed its name to Morpho.*

  Syscom Corporation Limited
 Morpho, e-Documents Division
 D-216, Sector 63, Noida, Uttar-Pradesh, 201301, India   Phone: + 91 (120)
 4072 837
 Internet: www.morpho.com/e-documents
Morpho is a member of the Safran group.


   *Headquarters:*
 Sagem Orga GmbH
 Riemekestr. 160
 D-33106 Paderborn *Managing Board:*
 Philippe d´Andréa (CEO)
 Marc Guillard (CFO)
 Holm Neuhäußer (SVP-M) *Chairman:*
 Hagen Holzhauser
 Register Court
 Paderborn - HRB 1350
  * Think twice before you print!*



 #
  Ce courriel et les documents qui lui sont joints peuvent contenir des
 informations confidentielles ou ayant un caractère privé. S'ils ne vous sont
 pas destinés, nous vous signalons qu'il est strictement interdit de les
 divulguer, de les reproduire ou d'en utiliser de quelque manière que ce soit
 le contenu. Si ce message vous a été transmis par erreur, merci d'en
 informer l'expéditeur et de supprimer immédiatement de votre système
 informatique ce courriel ainsi que tous les documents qui y sont attachés.
 **
  This e-mail and any attached documents may contain confidential or
 proprietary information. If you are not the intended recipient, you are
 notified that any dissemination, copying of this e-mail and any attachments
 thereto or use of their contents by any means whatsoever is strictly
 prohibited. If you have received this e-mail in error, please advise the
 sender immediately and delete this e-mail and all attached 

Re: Help Need to Setup Kannel DLR

2011-04-01 Thread Cezary Siwek

your db schema doesn't match the configuration file  (field-boxcid)
BR,
Cezary



On 01/04/2011 07:41, Deepak Kumar wrote:

Dear Jyoti,

My system information is as follow :

Operating system and version. Ubantu V10.10
Kannel version. 1.4.3
Libxml version. 2.30.0
Used client : SMS Client (I am using GSM modem Cinterion MC52i)
Single or multi processor machine. Multi Processor


We are facing an issue while configuring the DLR storage. Whenever we 
used  dlr-storage = mysql the kannel will stop to work and smsc will 
not work. after removing the above statement dlr-storage = mysql the 
kannel will work fine and i am able to send and receive sms on my Modem.


I have also check that our kannel is compiled with mysql support.

Find my kannel and dlr, mysql database setting with this mail.




we are struggling from a week with this problem. Please help us.

In case of any query please let us know.

The bearebox log say when i activate the dlr storage = mysql


2011-04-01 12:04:22 [4685] [13] INFO: Connection closed by the box 
127.0.0.1
2011-04-01 12:04:22 [4685] [14] DEBUG: send_msg: sending msg to box: 
127.0.0.1
2011-04-01 12:04:22 [4685] [14] DEBUG: Thread 14 
(gw/bb_boxc.c:boxc_sender) term   inates.
2011-04-01 12:04:22 [4685] [13] DEBUG: Thread 13 
(gw/bb_boxc.c:function) termina   tes.
2011-04-01 12:04:22 [4685] [0] WARNING: Killing signal or HTTP admin 
command rec   eived, shutting down...

2011-04-01 12:04:22 [4685] [0] DEBUG: Shutting down Kannel...
2011-04-01 12:04:22 [4685] [0] DEBUG: shutting down smsc
2011-04-01 12:04:22 [4685] [0] DEBUG: AT2[/dev/ttyS0]: Shutting down 
SMSCConn, s   low

2011-04-01 12:04:22 [4685] [0] DEBUG: shutting down udp
2011-04-01 12:04:22 [4685] [10] DEBUG: Thread 10 
(gw/bb_udp.c:udp_receiver) term   inates.
2011-04-01 12:04:22 [4685] [8] DEBUG: Thread 8 
(gw/bb_udp.c:udp_receiver) termin   ates.
2011-04-01 12:04:22 [4685] [11] DEBUG: Thread 11 
(gw/bb_udp.c:udp_sender) termin   ates.
2011-04-01 12:04:22 [4685] [9] DEBUG: Thread 9 
(gw/bb_udp.c:udp_sender) terminat   es.
2011-04-01 12:04:23 [4685] [7] DEBUG: Thread 7 
(gw/bb_smscconn.c:sms_router) ter   minates.
2011-04-01 12:04:23 [4685] [4] DEBUG: Thread 4 
(gw/bb_boxc.c:sms_to_smsboxes) te   rminates.
2011-04-01 12:04:23 [4685] [5] DEBUG: Thread 5 
(gw/bb_boxc.c:smsboxc_run) termin   ates.
2011-04-01 12:04:23 [4685] [0] INFO: All flow threads have died, 
killing core
2011-04-01 12:04:23 [4685] [0] DEBUG: Waiting for 2 
(gwlib/http.c:server_thread)to terminate
2011-04-01 12:04:23 [4685] [3] DEBUG: HTTP: No clients with requests, 
quitting.
2011-04-01 12:04:23 [4685] [3] DEBUG: Thread 3 
(gw/bb_http.c:httpadmin_run) term   inates.

*2011-04-01 12:04:23 [4685] [0] PANIC: Cannot die by its own will*
*2011-04-01 12:04:23 [4685] [0] PANIC: bearerbox(gw_panic+0xcd) 
[0x80d469d]*

*2011-04-01 12:04:23 [4685] [0] PANIC: bearerbox() [0x8054e60]*
*2011-04-01 12:04:23 [4685] [0] PANIC: [0xad8400]*


Best regards,

Deepak Kumar

Sr. Software Engineer, RD Application  Support
e-Documents Division
Morpho
*
Sagem Orga has changed its name to Morpho.*

Syscom Corporation Limited
Morpho, e-Documents Division
D-216, Sector 63, Noida, Uttar-Pradesh, 201301, India 		Phone: + 91 
(120) 4072 837

Internet: www.morpho.com/e-documents

Morpho is a member of the Safran group.


*Headquarters:*
Sagem Orga GmbH
Riemekestr. 160
D-33106 Paderborn   *Managing Board:*
Philippe d´Andréa (CEO)
Marc Guillard (CFO)
Holm Neuhäußer (SVP-M)  *Chairman:*
Hagen Holzhauser
Register Court
Paderborn - HRB 1350


* Think twice before you print!*



#
 Ce courriel et les documents qui lui sont joints peuvent contenir des informations 
confidentielles ou ayant un caractère privé. S'ils ne vous sont pas destinés, nous vous 
signalons qu'il est strictement interdit de les divulguer, de les reproduire ou d'en 
utiliser de quelque manière que ce soit le contenu. Si ce message vous a été transmis par 
erreur, merci d'en informer l'expéditeur et de supprimer immédiatement de votre système 
informatique ce courriel ainsi que tous les documents qui y sont attachés.
**
 This e-mail and any attached documents may contain confidential or proprietary 
information. If you are not the intended recipient, you are notified that any 
dissemination, copying of this e-mail and any attachments thereto or use of their 
contents by any means whatsoever is strictly prohibited. If you have received this e-mail 
in error, please advise the sender immediately and delete this e-mail and all attached 
documents from your computer system.
#




Re: [HELP]USB Wavecom GSM Modem on Ubuntu Lucid

2011-03-02 Thread Abdul Basit
Unplug GSM modem. Might possible minicom still engaging the device.

see at tail -f /var/log/messages 

Plug modem in again and try wvdialconfig.

wvdial is just a utility that make it sure that you are using right device
id.

--
regards,

Abdul Basit


On Wed, Mar 2, 2011 at 9:54 AM, Willy Mularto sangpr...@gmail.com wrote:

 Hi List,
 Does anybody has successfully configure  USB Wavecom GSM Modem with Ubuntu
 Lucid?
 dmesg reads:
 [23634.280199] pl2303 5-1:1.0: pl2303 converter detected
 [23634.291228] usb 5-1: pl2303 converter now attached to ttyUSB0

 I did try minicom and set port to /dev/ttyUSB0 and try some AT commands via
 minicom such as AT+CGMI it returns WAVECOM MODEM, AT+CGMM it returns
 MULTIBAND  900E  1800

 But when try wvdialconf it said no modem detected.
 Please help. Thanks



 Willy Mularto
 F300HD+MR18DE










-- 
Regards,

Abdul Basit | +92 32 1416 4196 | +92 30 0841 1445


Re: [HELP]USB Wavecom GSM Modem on Ubuntu Lucid

2011-03-02 Thread Willy Mularto
I can read and send sms via minicom. it said it is on /dev/ttyUSB0. But when I 
start Kannel (after I kill minicom), it stops at AT2[smscid]: start called 
phase.
Here is my config

group = modems
id = wavecom
name = Wavecom
detect-string = WAVECOM
speed = 115200

group = smsc 
smsc = at
smsc-id = gsm
denied-smsc-id = others
allowed-smsc-id = gsm
preferred-smsc-id = gsm
modemtype = WAVECOM
device = /dev/ttyUSB0
validityperiod = 167
sim-buffering = true
log-file = /home/myname/gsm/var/log/wavecom.log
log-level = 0



On Mar 2, 2011, at 3:18 PM, Abdul Basit wrote:

 Unplug GSM modem. Might possible minicom still engaging the device.
 
 see at tail -f /var/log/messages 
 
 Plug modem in again and try wvdialconfig.
 
 wvdial is just a utility that make it sure that you are using right device id.
 
 --
 regards,
 
 Abdul Basit
 
 
 On Wed, Mar 2, 2011 at 9:54 AM, Willy Mularto sangpr...@gmail.com wrote:
 Hi List,
 Does anybody has successfully configure  USB Wavecom GSM Modem with Ubuntu 
 Lucid?
 dmesg reads:
 [23634.280199] pl2303 5-1:1.0: pl2303 converter detected
 [23634.291228] usb 5-1: pl2303 converter now attached to ttyUSB0
 
 I did try minicom and set port to /dev/ttyUSB0 and try some AT commands via 
 minicom such as AT+CGMI it returns WAVECOM MODEM, AT+CGMM it returns 
 MULTIBAND  900E  1800
 
 But when try wvdialconf it said no modem detected.
 Please help. Thanks
 
 
 
 Willy Mularto
 F300HD+MR18DE
 
 
 
 
 
 
 
 
 
 
 -- 
 Regards,
 
 Abdul Basit | +92 32 1416 4196 | +92 30 0841 1445

Willy Mularto
F300HD+MR18DE








Re: [HELP]USB Wavecom GSM Modem on Ubuntu Lucid

2011-03-02 Thread Cezary Siwek

Hi,

check whether the user which kannel is running on has permissions to 
read/write to /dev/ttyUSB0


Regards,



On 02/03/2011 08:28, Willy Mularto wrote:
I can read and send sms via minicom. it said it is on /dev/ttyUSB0. 
But when I start Kannel (after I kill minicom), it stops at 
AT2[smscid]: start called phase.

Here is my config

group = modems
id = wavecom
name = Wavecom
detect-string = WAVECOM
speed = 115200

group = smsc
smsc = at
smsc-id = gsm
denied-smsc-id = others
allowed-smsc-id = gsm
preferred-smsc-id = gsm
modemtype = WAVECOM
device = /dev/ttyUSB0
validityperiod = 167
sim-buffering = true
log-file = /home/myname/gsm/var/log/wavecom.log
log-level = 0



On Mar 2, 2011, at 3:18 PM, Abdul Basit wrote:


Unplug GSM modem. Might possible minicom still engaging the device.

see at tail -f /var/log/messages 

Plug modem in again and try wvdialconfig.

wvdial is just a utility that make it sure that you are using right 
device id.


--
regards,

Abdul Basit


On Wed, Mar 2, 2011 at 9:54 AM, Willy Mularto sangpr...@gmail.com 
mailto:sangpr...@gmail.com wrote:


Hi List,
Does anybody has successfully configure  USB Wavecom GSM Modem
with Ubuntu Lucid?
dmesg reads:
[23634.280199] pl2303 5-1:1.0: pl2303 converter detected
[23634.291228] usb 5-1: pl2303 converter now attached to ttyUSB0

I did try minicom and set port to /dev/ttyUSB0 and try some AT
commands via minicom such as AT+CGMI it returns WAVECOM MODEM,
AT+CGMM it returns MULTIBAND  900E  1800

But when try wvdialconf it said no modem detected.
Please help. Thanks



Willy Mularto
F300HD+MR18DE










--
Regards,

Abdul Basit | +92 32 1416 4196 | +92 30 0841 1445


Willy Mularto
F300HD+MR18DE










Re: [HELP]USB Wavecom GSM Modem on Ubuntu Lucid

2011-03-02 Thread Willy Mularto
I use root account to run it. Root has enough privileges to do it right?



On Mar 2, 2011, at 3:34 PM, Cezary Siwek wrote:

 Hi,
 
 check whether the user which kannel is running on has permissions to 
 read/write to /dev/ttyUSB0
 
 Regards,
 
 
 
 On 02/03/2011 08:28, Willy Mularto wrote:
 I can read and send sms via minicom. it said it is on /dev/ttyUSB0. But when 
 I start Kannel (after I kill minicom), it stops at AT2[smscid]: start 
 called phase.
 Here is my config
 
 group = modems
 id = wavecom
 name = Wavecom
 detect-string = WAVECOM
 speed = 115200
 
 group = smsc
 smsc = at
 smsc-id = gsm
 denied-smsc-id = others
 allowed-smsc-id = gsm
 preferred-smsc-id = gsm
 modemtype = WAVECOM
 device = /dev/ttyUSB0
 validityperiod = 167
 sim-buffering = true
 log-file = /home/myname/gsm/var/log/wavecom.log
 log-level = 0
 
 
 
 On Mar 2, 2011, at 3:18 PM, Abdul Basit wrote:
 
 Unplug GSM modem. Might possible minicom still engaging the device.
 
 see at tail -f /var/log/messages 
 
 Plug modem in again and try wvdialconfig.
 
 wvdial is just a utility that make it sure that you are using right device 
 id.
 
 --
 regards,
 
 Abdul Basit
 
 
 On Wed, Mar 2, 2011 at 9:54 AM, Willy Mularto sangpr...@gmail.com 
 mailto:sangpr...@gmail.com wrote:
 
Hi List,
Does anybody has successfully configure  USB Wavecom GSM Modem
with Ubuntu Lucid?
dmesg reads:
[23634.280199] pl2303 5-1:1.0: pl2303 converter detected
[23634.291228] usb 5-1: pl2303 converter now attached to ttyUSB0
 
I did try minicom and set port to /dev/ttyUSB0 and try some AT
commands via minicom such as AT+CGMI it returns WAVECOM MODEM,
AT+CGMM it returns MULTIBAND  900E  1800
 
But when try wvdialconf it said no modem detected.
Please help. Thanks
 
 
 
Willy Mularto
F300HD+MR18DE
 
 
 
 
 
 
 
 
 
 
 -- 
 Regards,
 
 Abdul Basit | +92 32 1416 4196 | +92 30 0841 1445
 
 Willy Mularto
 F300HD+MR18DE
 
 
 
 
 
 
 

Willy Mularto
F300HD+MR18DE









Re: [HELP]USB Wavecom GSM Modem on Ubuntu Lucid

2011-03-02 Thread Abdul Basit
better to share bearbox logs for a clear picture.

On Wed, Mar 2, 2011 at 1:40 PM, Willy Mularto sangpr...@gmail.com wrote:

 I use root account to run it. Root has enough privileges to do it right?



 On Mar 2, 2011, at 3:34 PM, Cezary Siwek wrote:

  Hi,
 
  check whether the user which kannel is running on has permissions to
 read/write to /dev/ttyUSB0
 
  Regards,
 
 
 
  On 02/03/2011 08:28, Willy Mularto wrote:
  I can read and send sms via minicom. it said it is on /dev/ttyUSB0. But
 when I start Kannel (after I kill minicom), it stops at AT2[smscid]: start
 called phase.
  Here is my config
 
  group = modems
  id = wavecom
  name = Wavecom
  detect-string = WAVECOM
  speed = 115200
 
  group = smsc
  smsc = at
  smsc-id = gsm
  denied-smsc-id = others
  allowed-smsc-id = gsm
  preferred-smsc-id = gsm
  modemtype = WAVECOM
  device = /dev/ttyUSB0
  validityperiod = 167
  sim-buffering = true
  log-file = /home/myname/gsm/var/log/wavecom.log
  log-level = 0
 
 
 
  On Mar 2, 2011, at 3:18 PM, Abdul Basit wrote:
 
  Unplug GSM modem. Might possible minicom still engaging the device.
 
  see at tail -f /var/log/messages 
 
  Plug modem in again and try wvdialconfig.
 
  wvdial is just a utility that make it sure that you are using right
 device id.
 
  --
  regards,
 
  Abdul Basit
 
 
  On Wed, Mar 2, 2011 at 9:54 AM, Willy Mularto sangpr...@gmail.commailto:
 sangpr...@gmail.com wrote:
 
 Hi List,
 Does anybody has successfully configure  USB Wavecom GSM Modem
 with Ubuntu Lucid?
 dmesg reads:
 [23634.280199] pl2303 5-1:1.0: pl2303 converter detected
 [23634.291228] usb 5-1: pl2303 converter now attached to ttyUSB0
 
 I did try minicom and set port to /dev/ttyUSB0 and try some AT
 commands via minicom such as AT+CGMI it returns WAVECOM MODEM,
 AT+CGMM it returns MULTIBAND  900E  1800
 
 But when try wvdialconf it said no modem detected.
 Please help. Thanks
 
 
 
 Willy Mularto
 F300HD+MR18DE
 
 
 
 
 
 
 
 
 
 
  --
  Regards,
 
  Abdul Basit | +92 32 1416 4196 | +92 30 0841 1445
 
  Willy Mularto
  F300HD+MR18DE
 
 
 
 
 
 
 

 Willy Mularto
 F300HD+MR18DE










-- 
Regards,

Abdul Basit | +92 32 1416 4196 | +92 30 0841 1445


Re: [HELP]USB Wavecom GSM Modem on Ubuntu Lucid

2011-03-02 Thread Willy Mularto
Here they are:
2011-03-02 15:53:25 [31835] [0] INFO: Debug_lvl = -1, log_file = none, 
log_lvl = 0
2011-03-02 15:53:25 [31835] [0] DEBUG: Loading include file 
`/home/myname/gsm/etc/core.conf' (on line 1 of file etc/smsgw_1.conf).
2011-03-02 15:53:25 [31835] [0] DEBUG: Loading include file 
`/home/myname/gsm/etc/smsbox_1.conf' (on line 2 of file etc/smsgw_1.conf).
2011-03-02 15:53:25 [31835] [0] DEBUG: Loading include file 
`/home/myname/gsm/etc/mysql.dlr' (on line 15 of file etc/smsgw_1.conf).
2011-03-02 15:53:25 [31835] [0] DEBUG: Loading include file 
`/home/myname/gsm/etc/wavecom' (on line 16 of file etc/smsgw_1.conf).
2011-03-02 15:53:25 [31835] [0] DEBUG: Loading include file 
`/home/myname/gsm/etc/services' (on line 17 of file etc/smsgw_1.conf).
2011-03-02 15:53:25 [31835] [0] INFO: MYSQL: Connected to server at 192.168.8.3.
2011-03-02 15:53:25 [31835] [0] INFO: MYSQL: server version 
5.1.41-3ubuntu12.8-log, client version 5.1.41.
2011-03-02 15:53:25 [31835] [0] INFO: DLR using storage type: mysql
Build `Mar  2 2011 09:32:29', compiler `4.4.3'.
System Linux, release 2.6.32-21-server, version #32-Ubuntu SMP Fri Apr 16 
09:17:34 UTC 2010, machine x86_64.
Hostname firewall, IP 127.0.1.1.
Libxml version 2.7.6.
Compiled with MySQL 5.1.41, using MySQL 5.1.41.
Using native malloc.

2011-03-02 15:53:25 [31835] [0] INFO: Added logfile 
`/home/myname/gsm/var/log/bearerbox.log' with level `0'.
2011-03-02 15:53:25 [31835] [0] INFO: Started access logfile 
`/home/myname/gsm/var/log/bearerbox-access.log'.
2011-03-02 15:53:25 [31835] [0] INFO: SSL not supported, no SSL initialization 
done.
2011-03-02 15:53:25 [31835] [0] INFO: HTTP: Opening server at port 2100.
2011-03-02 15:53:25 [31835] [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller)
2011-03-02 15:53:25 [31835] [0] DEBUG: Started thread 2 
(gwlib/http.c:server_thread)
2011-03-02 15:53:25 [31835] [0] DEBUG: Started thread 3 
(gw/bb_http.c:httpadmin_run)
2011-03-02 15:53:25 [31835] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps to 
pid 31835.
2011-03-02 15:53:25 [31835] [0] DEBUG: starting smsbox connection module
2011-03-02 15:53:25 [31835] [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run) 
maps to pid 31835.
2011-03-02 15:53:25 [31835] [0] DEBUG: Adding smsbox routing to id smsbox for 
smsc id gsm
2011-03-02 15:53:25 [31835] [0] DEBUG: Started thread 4 
(gw/bb_boxc.c:sms_to_smsboxes)
2011-03-02 15:53:25 [31835] [0] DEBUG: Started thread 5 
(gw/bb_boxc.c:smsboxc_run)
2011-03-02 15:53:25 [31835] [5] DEBUG: Thread 5 (gw/bb_boxc.c:smsboxc_run) maps 
to pid 31835.
2011-03-02 15:53:25 [31835] [4] DEBUG: Thread 4 (gw/bb_boxc.c:sms_to_smsboxes) 
maps to pid 31835.
2011-03-02 15:53:25 [31835] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) 
maps to pid 31835.
2011-03-02 15:53:25 [31835] [0] INFO: Set SMS resend frequency to 10 seconds.
2011-03-02 15:53:25 [31835] [0] INFO: SMS resend retry set to -1.
2011-03-02 15:53:25 [31835] [0] DEBUG: smsbox MO concatenated message handling 
enabled
2011-03-02 15:53:25 [31835] [0] INFO: DLR rerouting for smsc id gsm disabled.
2011-03-02 15:53:25 [31835] [0] INFO: Added logfile 
`/home/myname/gsm/var/log/wavecom.log' with level `0'.
2011-03-02 15:53:25 [31835] [0] WARNING: Both 'allowed-smsc-id' and 
'denied-smsc-id' set, deny-list automatically ignored
2011-03-02 15:53:25 [31835] [0] INFO: AT2[gsm]: configuration shows modemtype 
WAVECOM
2011-03-02 15:53:25 [31835] [0] DEBUG: AT2[gsm]: Reading modem definitions from 
etc/smsgw_1.conf
2011-03-02 15:53:25 [31835] [0] DEBUG: Loading include file 
`/home/myname/gsm/etc/core.conf' (on line 1 of file etc/smsgw_1.conf).
2011-03-02 15:53:25 [31835] [0] DEBUG: Loading include file 
`/home/myname/gsm/etc/smsbox_1.conf' (on line 2 of file etc/smsgw_1.conf).
2011-03-02 15:53:25 [31835] [0] DEBUG: Loading include file 
`/home/myname/gsm/etc/mysql.dlr' (on line 15 of file etc/smsgw_1.conf).
2011-03-02 15:53:25 [31835] [0] DEBUG: Loading include file 
`/home/myname/gsm/etc/wavecom' (on line 16 of file etc/smsgw_1.conf).
2011-03-02 15:53:25 [31835] [0] DEBUG: Loading include file 
`/home/myname/gsm/etc/services' (on line 17 of file etc/smsgw_1.conf).
2011-03-02 15:53:25 [31835] [0] DEBUG: AT2[gsm]: Found 1 modems in config
2011-03-02 15:53:25 [31835] [0] INFO: AT2[gsm]: modemtype not found, revert to 
autodetect
2011-03-02 15:53:25 [31835] [0] DEBUG: Started thread 6 
(gw/smsc/smsc_at.c:at2_device_thread)
2011-03-02 15:53:25 [31835] [6] DEBUG: Thread 6 
(gw/smsc/smsc_at.c:at2_device_thread) maps to pid 31835.
2011-03-02 15:53:25 [31835] [6] INFO: Logging thread `6' to logfile 
`/home/myname/gsm/var/log/wavecom.log' with level `0'.
2011-03-02 15:53:25 [31835] [0] DEBUG: Started thread 7 
(gw/bb_smscconn.c:sms_router)
2011-03-02 15:53:25 [31835] [7] DEBUG: Thread 7 (gw/bb_smscconn.c:sms_router) 
maps to pid 31835.
2011-03-02 15:53:25 [31835] [0] INFO: 
2011-03-02 15:53:25 [31835] [0] INFO: Loaded 0 messages from store.
2011-03-02 15:53:25 [31835] [0] INFO: 

RE: Help required in setting up sms gateway

2010-12-29 Thread Rapture
Hi Kanchan,

 

I've also been wondering the same thing, whether I can use USSD with Kannel.
What I know is that USSD is a session based system and with SMPP being a
store and forward protocol, can you really maintain a session with a
subscriber? Perhaps with php integration as php is session based.. Food for
thought J

 

Rapture

 

From: Kanchan K [mailto:kathuria.kanc...@gmail.com] 
Sent: Wednesday, December 29, 2010 8:37 AM
To: Rapture
Cc: users@kannel.org
Subject: Re: Help required in setting up sms gateway

 

Thanks Jyotiranjan,Rapture.I need to connect to a USSD gateway via SMPP
using Kannel.

Can you suggest how to go about it?

On Tue, Dec 28, 2010 at 6:29 PM, Rapture supp...@ims.co.ke wrote:

Hi Kanchan,

 

Read the following: http://julmis.julmajanne.com/index.php/Kannel

 

It really helped me especially in running kannel as a service. Once you have
configured the init.d file you can use service kannel start to start the
gateway

 

Regards,

 

Rapture

 

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of Kanchan K
Sent: Monday, December 27, 2010 1:24 PM
To: users@kannel.org
Subject: Help required in setting up sms gateway

 

hi,

 

I have installed the gateway thorugh gip file.How do i start from there? How
to start/stop the gateway?

The user guide is not clear for a beginer like me...Any help for the initial
few steps?

 



RE: Help required in setting up sms gateway

2010-12-28 Thread Rapture
Hi Kanchan,

 

Read the following: http://julmis.julmajanne.com/index.php/Kannel

 

It really helped me especially in running kannel as a service. Once you have
configured the init.d file you can use service kannel start to start the
gateway

 

Regards,

 

Rapture

 

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of Kanchan K
Sent: Monday, December 27, 2010 1:24 PM
To: users@kannel.org
Subject: Help required in setting up sms gateway

 

hi,

 

I have installed the gateway thorugh gip file.How do i start from there? How
to start/stop the gateway?

The user guide is not clear for a beginer like me...Any help for the initial
few steps?



Re: Help required in setting up sms gateway

2010-12-28 Thread Kanchan K
Thanks Jyotiranjan,Rapture.I need to connect to a USSD gateway via SMPP
using Kannel.
Can you suggest how to go about it?

On Tue, Dec 28, 2010 at 6:29 PM, Rapture supp...@ims.co.ke wrote:

  Hi Kanchan,



 Read the following: http://julmis.julmajanne.com/index.php/Kannel



 It really helped me especially in running kannel as a service. Once you
 have configured the init.d file you can use “service kannel start” to start
 the gateway



 Regards,



 Rapture



 *From:* users-boun...@kannel.org [mailto:users-boun...@kannel.org] *On
 Behalf Of *Kanchan K
 *Sent:* Monday, December 27, 2010 1:24 PM
 *To:* users@kannel.org
 *Subject:* Help required in setting up sms gateway



 hi,



 I have installed the gateway thorugh gip file.How do i start from there?
 How to start/stop the gateway?

 The user guide is not clear for a beginer like me...Any help for the
 initial few steps?



RE: help with sms-service and sqlbox

2010-10-09 Thread Rene Kluwen
Put bearerbox-port = 13005 (the sqlbox port) in group = smsbox.

 

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of mac...@fastermail.com
Sent: Tuesday, 05 October, 2010 13:14
To: users@kannel.org
Subject: help with sms-service and sqlbox

 

Hey fellows my kannel server  keeps telling me that it can not fetch content
even when i specified the directives required in the get-url as you can see
below.Then i have installed sqlbox on my fedora 13 but what baffles me is
when i send the messages using the httpd interface nothing is recorded in
the table sent_sms even if the message is successfully sent.But when i do a
manual send in the database with the insert command on the mysql database
the messages are sent and stored in the database.Any idea what i should to
do in order for the messages to be recorded in the database when i send
using the http interface.

 

I defined the table message with fields msg,sender and time and wrote a
script that was supposed to insert the values into these fields specified by
the incomming message.Could you correct me if am wrong because in my
understanding %a,%t and %p are variables for message,time and phone number
respectively.Hence i used msg,time and sender as my variables for my php
script that was required to insert the messages into the table defined.

 

The smskannel and sqlbox are successfully starting but there are in two
seperate configurations but are both in the same directory.

 

smskannel configuration file

group = core
admin-port = 13000
smsbox-port = 13001
admin-password = camcom
status-password = camcom
#admin-deny-ip = 
#admin-allow-ip = 
#log-file = /tmp/kannel.log
#log-level = 0
box-deny-ip = *.*.*.*
box-allow-ip = 127.0.0.1
#unified-prefix = +358,00358,0;+,00
#access-log = /tmp/access.log
#store-file = kannel.store
#ssl-server-cert-file = cert.pem
#ssl-server-key-file = key.pem
#ssl-certkey-file = mycertandprivkeyfile.pem
dlr-storage = mysql
#group = smsc
#smsc = fake
#smsc-id = FAKE
#port = 2
#connect-allow-ip = 127.0.0.1

group = smsc
smsc = at
modemtype = auto
device = /dev/ttyUSB0
my-number = 0888959802
log-level = 0
sim-buffering = true

group = smsbox
bearerbox-host = localhost
sendsms-port = 13013
sendsms-chars = 0123456789
global-sender = 0888959802
access-log = /home/camcom/kannel.access
log-file = /home/camcom/smsbox.log
log-level = 0
#sendsms-chars = 0123456789 +-
#log-file = /tmp/smsbox.log
#access-log = /tmp/access.log

group = sendsms-user
username = camcom  
password = camcom
max-messages = 2
concatenation = true

group = sms-service
keyword = default
#text = You asked nothing and I did it!
get-url =
http://127.0.0.1:80/var/www/html/receive.php?msg=%atime=%tsender=%p;
max-messages = 1
concatenation = true


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

group = mysql-connection
id = mydlr
host = localhost
username = root
password = camcom
database = dlr
# max count of connections that will be opened for dbpool
#default is 1
#max-connections = 1

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

group = modems
id = huawei_e160
name = huawei_e160
detect-string = huawei
init-string = ATZ
init-string = ATQ0 V1 E1 S0=0 C1 D2 +FCLASS=0
init-string = AT+CNMI= 2,0,0,2,0
message-storage = sm
speed = 9600

sqlbox configuration

group = sqlbox
id = sqlbox-db
smsbox-id = sqlbox
#global-sender = 
bearerbox-host = localhost
bearerbox-port = 13001
smsbox-port = 13005
smsbox-port-ssl = false
sql-log-table = sent_sms
sql-insert-table = send_sms
#log-file = /var/log/kannel/kannel-sqlbox.log
log-level = 0
#ssl-client-certkey-file = 
#ssl-server-cert-file = 
#ssl-server-key-file = 
#ssl-trusted-ca-file = 

group = mysql-connection
id = sqlbox-db
host = localhost
username = root
password = camcom
database = dlr
max-connections = 1



Re: Help with lop

2010-10-04 Thread Nikos Balkanas

Hi,

1) Ask your SMPP provider about the error code.

2) DO NOT put your queue under /tmp. It is a temporary file system, that is 
erased each time you boot up your server.


BR,
Nikos
- Original Message - 
From: Innocent Muchedzi

To: users@kannel.org
Sent: Monday, October 04, 2010 4:47 PM
Subject: Help with lop


This is my smpp connection logs, can u help explain whats happening

[r...@smsc ~]# less /var/log/kannel/leanamibia.log
2010-10-03 06:05:01 [1896] [7] ERROR: SMPP[leo16933]: SMSC returned error 
code 0x0458 (Vendor-specific error, please refer to your SMPP provider) 
in response to submit_sm.
2010-10-04 06:05:01 [1896] [7] ERROR: SMPP[leo16933]: SMSC returned error 
code 0x0458 (Vendor-specific error, please refer to your SMPP provider) 
in response to submit_sm.
2010-10-04 06:05:01 [1896] [7] ERROR: Could not unlink file 
`/tmp/kannel/54/cce46022-6bab-44a3-84ad-36e5317ff24a'.
2010-10-04 06:05:01 [1896] [7] ERROR: System error 2: No such file or 
directory
2010-10-04 06:05:01 [1896] [7] ERROR: SMPP[leo16933]: SMSC returned error 
code 0x0458 (Vendor-specific error, please refer to your SMPP provider) 
in response to submit_sm.
2010-10-04 09:20:29 [1897] [7] ERROR: SMPP[leo16933]: SMSC returned error 
code 0x0458 (Vendor-specific error, please refer to your SMPP provider) 
in response to submit_sm.
2010-10-04 09:20:29 [1897] [7] ERROR: Could not unlink file 
`/tmp/kannel/73/10f98c85-0cd5-4608-a3de-411f71a05484'.
2010-10-04 09:20:29 [1897] [7] ERROR: System error 2: No such file or 
directory
2010-10-04 09:20:29 [1897] [7] ERROR: SMPP[leo16933]: SMSC returned error 
code 0x0458 (Vendor-specific error, please refer to your SMPP provider) 
in response to submit_sm.
2010-10-04 12:23:26 [1897] [7] ERROR: SMPP[leo16933]: SMSC returned error 
code 0x0458 (Vendor-specific error, please refer to your SMPP provider) 
in response to submit_sm.
2010-10-04 12:28:38 [1897] [7] ERROR: SMPP[leo16933]: SMSC returned error 
code 0x0458 (Vendor-specific error, please refer to your SMPP provider) 
in response to submit_sm.
2010-10-04 12:30:02 [1897] [7] ERROR: SMPP[leo16933]: SMSC returned error 
code 0x0458 (Vendor-specific error, please refer to your SMPP provider) 
in response to submit_sm.
2010-10-04 12:39:41 [2681] [7] ERROR: SMPP[leo16933]: SMSC returned error 
code 0x0458 (Vendor-specific error, please refer to your SMPP provider) 
in response to submit_sm.
2010-10-04 12:50:59 [2745] [7] ERROR: SMPP[leo16933]: SMSC returned error 
code 0x0458 (Vendor-specific error, please refer to your SMPP provider) 
in response to submit_sm.
2010-10-04 12:58:29 [1905] [7] ERROR: SMPP[leo16933]: SMSC returned error 
code 0x0458 (Vendor-specific error, please refer to your SMPP provider) 
in response to submit_sm.
2010-10-04 13:00:54 [2349] [7] ERROR: SMPP[leo16933]: SMSC returned error 
code 0x0458 (Vendor-specific error, please refer to your SMPP provider) 
in response to submit_sm.
2010-10-04 13:00:54 [2349] [7] ERROR: Could not unlink file 
`/tmp/kannel/90/845c3d70-cab2-4c01-b0d0-ada835ee39b0'.
2010-10-04 13:00:54 [2349] [7] ERROR: System error 2: No such file or 
directory
2010-10-04 13:15:59 [2429] [7] ERROR: SMPP[leo16933]: SMSC returned error 
code 0x0458 (Vendor-specific error, please refer to your SMPP provider) 
in response to submit_sm.
2010-10-04 13:16:00 [2429] [7] ERROR: SMPP[leo16933]: SMSC returned error 
code 0x0458 (Vendor-specific error, please refer to your SMPP provider) 
in response to submit_sm.
2010-10-04 13:16:00 [2429] [7] ERROR: Could not unlink file 
`/tmp/kannel/51/02424c0f-e6cf-41b7-8052-b2319fd0c30d'.
2010-10-04 13:16:00 [2429] [7] ERROR: System error 2: No such file or 
directory
2010-10-04 13:19:22 [2429] [7] ERROR: SMPP[leo16933]: SMSC returned error 
code 0x0458 (Vendor-specific error, please refer to your SMPP provider) 
in response to submit_sm.
2010-10-04 13:19:22 [2429] [7] ERROR: SMPP[leo16933]: SMSC returned error 
code 0x0458 (Vendor-specific error, please refer to your SMPP provider) 
in response to submit_sm.
2010-10-04 13:19:22 [2429] [7] ERROR: Could not unlink file 
`/tmp/kannel/46/a1725c62-dddb-49c3-b9c6-1a1a1cd2ec62'.
2010-10-04 13:19:22 [2429] [7] ERROR: System error 2: No such file or 
directory


Innocent Muchedzi
Creative Directory
Syldah Media
Ipelo House, Plot 103, Unit 4 Gaborone International Commerce Park
Gaborone

Tele/Fax: 3105907
Cell: 71806864/73114818
www.syldah.com
www.mobitecworld.com 





Re: help with sms-service group

2010-09-29 Thread Alvaro Cornejo
Hi
Good to know you are on the right way.

1) It is the host/port of the webserver that hosts your script
2) You set have any path you want. However it MUST be accesible by
your webserver
3) You don't need to specify the values; just the variables, Kannel,
when calling your url, will replace the variables with the actual
values got from the incomming message. Check userguide for a complete
list of variables available. I'll suggest you to add a timestamp to
your DB either with time available by kannel or directly added by your
DB.

Regards

Alvaro

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



On Wed, Sep 29, 2010 at 6:05 AM,  mac...@fastermail.com wrote:
 Hey long at last am able to have a connection to the mysql database but my
 goal is to have the message and the phone number of the sender be stored in
 the database tables.Of course i have a database named dlr already as you can
 see from my configuration file below where i intend to also create another
 table that will be dedicated to the received messages.And of course kannel
 automatically calls the script wherever it is.With respect to the user guide
 it is clearly stated that if i want to achieve my goal then i must define
 the get-url directive and at that stage am kind of stack and would want
 clarification to my following questions:

    1. Since the get-url indicates localhost and port what localhost and port
 do i have to put?Is it for the kannel gateway or webserver?
    2. then there is a path does it mean suppose i put my php scripts in my
 home directory where i create a directory called project and name the script
 receive.php should i specify the absolute path.
    3. Since the table for receiving messages will have two fields phone
 number and message how can i specify that on the get-url directive?

 In short am seeking the values that i shoud replace in the get-url below:
 (get-url =
 http://my.applet.machine/Servlet/weather?sender=%poperator=SOLtext=%r)


 KANNEL CONFIGURATION FILE

 group = core
 admin-port = 13000
 smsbox-port = 13001
 admin-password = camcom
 status-password = camcom
 #admin-deny-ip = 
 #admin-allow-ip = 
 #log-file = /tmp/kannel.log
 #log-level = 0
 box-deny-ip = *.*.*.*
 box-allow-ip = 127.0.0.1
 #unified-prefix = +358,00358,0;+,00
 #access-log = /tmp/access.log
 #store-file = kannel.store
 #ssl-server-cert-file = cert.pem
 #ssl-server-key-file = key.pem
 #ssl-certkey-file = mycertandprivkeyfile.pem
 dlr-storage = mysql
 #group = smsc
 #smsc = fake
 #smsc-id = FAKE
 #port = 2
 #connect-allow-ip = 127.0.0.1
 group = smsc
 smsc = at
 modemtype = auto
 device = /dev/ttyUSB0
 my-number = 0888959802
 log-level = 0
 sim-buffering = true
 group = smsbox
 bearerbox-host = localhost
 sendsms-port = 13013
 sendsms-chars = 0123456789
 global-sender = 0888959802
 access-log = /home/camcom/kannel.access
 log-file = /home/camcom/smsbox.log
 log-level = 0
 #sendsms-chars = 0123456789 +-
 #log-file = /tmp/smsbox.log
 #access-log = /tmp/access.log

 group = sendsms-user
 username = camcom
 password = camcom
 max-messages = 1
 concatenation = true
 group = sms-service
 keyword = nop
 text = You asked nothing and I did it!
 # There should be always a 'default' service. This service is used when no
 # other 'sms-service' is applied.
 #group = sms-service
 #keyword = default
 #text = No service specified
 group = mysql-connection
 id = mydlr
 host = localhost
 username = root
 password = camcom
 database = dlr
 # max count of connections that will be opened for dbpool
 # default is 1
 max-connections = 1
 group = dlr-db
 id = mydlr
 table = dlr
 field-smsc = smsc
 field-timestamp = ts
 field-destination = destination
 field-source = source
 field-service = service
 field-url = url
 field-mask = mask
 field-status = status
 field-boxc-id = boxc
 group = modems
 id = huawei_e160
 name = huawei_e160
 detect-string = huawei
 init-string = ATZ
 init-string = ATQ0 V1 E1 S0=0 C1 D2 +FCLASS=0
 init-string = AT+CNMI=1,2,0,1,0 
 message-storage = sm
 speed = 9600

 SQLBOX CONFIGURATION
 group = sqlbox
 id = sqlbox-db
 smsbox-id = sqlbox
 #global-sender = 
 bearerbox-host = localhost
 bearerbox-port = 13001
 smsbox-port = 13005
 smsbox-port-ssl = false
 sql-log-table = sent_sms
 sql-insert-table = send_sms
 #log-file = /var/log/kannel/kannel-sqlbox.log
 log-level = 0
 #ssl-client-certkey-file = 
 #ssl-server-cert-file = 
 #ssl-server-key-file = 
 #ssl-trusted-ca-file = 
 # Database connection examples. Please uncomment as needed
 group = mysql-connection
 id = sqlbox-db
 host = localhost
 username = root
 password = camcom
 database = dlr
 max-connections = 1

 BEARERBOX LOG FILE

 r...@localhost kannel]# 

Re: help!

2010-09-12 Thread Nikos Balkanas

Hi,

Try from kannel's server (with bearerbox running):

telnet 127.0.0.1 13000

and see if it reponds.

BR,
Nikos
- Original Message - 
From: cesuras...@aim.com

To: users@kannel.org
Sent: Monday, September 13, 2010 5:36 AM
Subject: help!




Can someone tell me why i can't access kannel via port 13000 with this 
config? - http://pastebin.com/e2iduMYx 





Re: help!

2010-09-12 Thread Sean Brady

Nikos,

I didn't have the mysql database created, so I did that, and edited the 
password in the config. Everything is working now.


:)


Thank you for responding.



Thank you,
Sean Brady
s...@seanbrady.us
http://www.seanbrady.us/
+1 ( 256 ) 542-1429


aim - cesurasean
yahoo - cesurasean
google - cesuras...@gtalk.com
msn - cesuras...@hotmail.com
icq - 357464121
skype - cesurasean
sip:cesuras...@ekiga.net


--
From: Nikos Balkanas nbalka...@gmail.com
Sent: Sunday, September 12, 2010 11:48 PM
To: users@kannel.org; cesuras...@aim.com
Subject: Re: help!


Hi,

Try from kannel's server (with bearerbox running):

telnet 127.0.0.1 13000

and see if it reponds.

BR,
Nikos
- Original Message - 
From: cesuras...@aim.com

To: users@kannel.org
Sent: Monday, September 13, 2010 5:36 AM
Subject: help!




Can someone tell me why i can't access kannel via port 13000 with this 
config? - http://pastebin.com/e2iduMYx






Fwd: Re: help on huawei e160 gsm modem

2010-09-01 Thread macboy




RE: help with kannel linking with mysql

2010-09-01 Thread Rene Kluwen
What do you mean linking Kannel with mysql?

I am not sure what your purpose is. But maybe the documentation on
http://www.blogalex.com/archives/46 will help.

== Rene

-Original Message-
From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of mac...@fastermail.com
Sent: Wednesday, 01 September, 2010 18:11
To: users@kannel.org
Subject: help with kannel linking with mysql

hi.i installed kannel from an rpm package and i have asked this 
question to the mailing list members but nobody seems to offer me any 
help because they always tell me to read the user guide which i have 
read on many occassions to know avail.anyone who has experiance of 
configuring kannel with mysql support please provide with the steps 
that you took bearing in mind that kannel installation was done from an 
rpm package and that i want to use the mysql that comes with fedora 13.







Re: Re: help on huawei e160 gsm modem

2010-09-01 Thread Alvaro Cornejo
It is recommended that you use latest version and compile it youself.
RPM are normally outdated and doesn't include fixes or updates.

It will give you the option to use whatever DB you want.

SVN version is production quality.

Regards

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



On Wed, Sep 1, 2010 at 10:30 AM,  mac...@fastermail.com wrote:


 -Original Message-
 From: Nikos Balkanas nbalka...@gmail.com
 To: mac...@fastermail.com
 Sent: Wed, 1 Sep 2010 08:59:19 +0300
 Subject: Re: help on huawei e160 gsm modem

 Please address list so that others may benefit and offer insight. Do not
 send me personals.

 Nikos
 - Original Message - From: mac...@fastermail.com
 To: nbalka...@gmail.com
 Sent: Wednesday, September 01, 2010 8:46 AM
 Subject: Re: help on huawei e160 gsm modem

 hey there!if you install kannel from an rpm package,is it possible to
 link it with the mysql database or maybe kannel installed using an rpm
 does not have support for mysql.what should i do then to have kannel
 link with mysql.





Re: Re: help on huawei e160 gsm modem

2010-09-01 Thread Alvaro Cornejo
It is recommended that you use latest version and compile it youself.
RPM are normally outdated and doesn't include fixes or updates.

It will give you the option to use whatever DB you want.

SVN version is production quality.

Regards

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



On Wed, Sep 1, 2010 at 10:30 AM,  mac...@fastermail.com wrote:


 -Original Message-
 From: Nikos Balkanas nbalka...@gmail.com
 To: mac...@fastermail.com
 Sent: Wed, 1 Sep 2010 08:59:19 +0300
 Subject: Re: help on huawei e160 gsm modem

 Please address list so that others may benefit and offer insight. Do not
 send me personals.

 Nikos
 - Original Message - From: mac...@fastermail.com
 To: nbalka...@gmail.com
 Sent: Wednesday, September 01, 2010 8:46 AM
 Subject: Re: help on huawei e160 gsm modem

 hey there!if you install kannel from an rpm package,is it possible to
 link it with the mysql database or maybe kannel installed using an rpm
 does not have support for mysql.what should i do then to have kannel
 link with mysql.





Re: help with kannel linking with mysql

2010-09-01 Thread Emmanuel CHANSON
From where did you get the rpm package ?

2010/9/2 Rene Kluwen rene.klu...@chimit.nl

 What do you mean linking Kannel with mysql?

 I am not sure what your purpose is. But maybe the documentation on
 http://www.blogalex.com/archives/46 will help.

 == Rene

 -Original Message-
 From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
 Of mac...@fastermail.com
 Sent: Wednesday, 01 September, 2010 18:11
 To: users@kannel.org
 Subject: help with kannel linking with mysql

 hi.i installed kannel from an rpm package and i have asked this
 question to the mailing list members but nobody seems to offer me any
 help because they always tell me to read the user guide which i have
 read on many occassions to know avail.anyone who has experiance of
 configuring kannel with mysql support please provide with the steps
 that you took bearing in mind that kannel installation was done from an
 rpm package and that i want to use the mysql that comes with fedora 13.








Re: help with kannel linking with mysql

2010-09-01 Thread Emmanuel CHANSON
Answer Kannel 1.4.3..

A new post have been open  help on huawei e160 gsm modem with the same
subject.




2010/9/2 Emmanuel CHANSON emmanuelchan...@gmail.com

 From where did you get the rpm package ?

 2010/9/2 Rene Kluwen rene.klu...@chimit.nl

 What do you mean linking Kannel with mysql?

 I am not sure what your purpose is. But maybe the documentation on
 http://www.blogalex.com/archives/46 will help.

 == Rene

 -Original Message-
 From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On
 Behalf
 Of mac...@fastermail.com
 Sent: Wednesday, 01 September, 2010 18:11
 To: users@kannel.org
 Subject: help with kannel linking with mysql

 hi.i installed kannel from an rpm package and i have asked this
 question to the mailing list members but nobody seems to offer me any
 help because they always tell me to read the user guide which i have
 read on many occassions to know avail.anyone who has experiance of
 configuring kannel with mysql support please provide with the steps
 that you took bearing in mind that kannel installation was done from an
 rpm package and that i want to use the mysql that comes with fedora 13.









Re: help on huawei e160 gsm modem

2010-08-30 Thread Nikos Balkanas

Hi,

1) Never truncate emails in list. Original problem and replies are lost.

2) I am pretty sure we asked for detailed bb logs (log-level = 0). These are 
not it.


BR,
Nikos
- Original Message - 
From: mac...@fastermail.com

To: users@kannel.org
Sent: Monday, August 30, 2010 9:16 PM
Subject: help on huawei e160 gsm modem





Hey folks am happy with the help you have accorded me this far but then you 
told me to post my configuration file as well as the error from the log file 
and i have done exactly that and i hope you will help me remedy the problem 
of error of CMS:321 as shown in the log file below and if possible post me 
the necessary fix to my problem.


Finally i have read the user guide time and again on the part of the mysql 
database in that i want to link kannel which i have installed on my fedora 
13 with the MYSQL server within fedora.But considering that i installed 
kannel from an rpm package,how possible is it that i will easily link it 
with the database. If am way wide provide me with the neccessary remedy that 
will enable me to send the messages i receive directly into the database 
tables of the mysql server.If anything you can post the neccesssary sites 
that i can visit inorder to succesfully configure kannel with mysql support 
considering that i have already installed kannel from an rpm package.



#CAMCOM MOBILE CONFIGURATION FILE
group = core
admin-port = 13000
admin-password = mac
status-password = henry
admin-deny-ip = *.*.*.*
admin-allow-ip = 127.0.0.1
smsbox-port = 13001
box-deny-ip = *.*.*.*
box-allow-ip = 127.0.0.1
wdp-interface-name = *
log-file = /home/mac/bearerbox.log
log-level = 1
access-log = /home/mac/kannel.access
dlr-storage = internal

group = smsc
smsc = at
port = 1
modemtype = auto
device = /dev/ttyUSB0
my-number = 0888959802
log-level = 0
connect-allow-ip = 127.0.0.1
sim-buffering = true

group = modems
id = huawei_e160
name = huawei_e160
detect-string = huawei
init-string = ATZ
init-string = ATQ0 V1 E1 S0=0 C1 D2 +FCLASS=0
init-string = AT+CNMI= 2,0,0,2,0 
#init-string = AT+CPMS=ME
#init-string = AT+CMGL=ALL
message-storage = sm
speed = 9600

group = smsbox
bearerbox-host = localhost
sendsms-port = 13013
sendsms-chars = 0123456789
global-sender = 0888959802
access-log = /home/mac/kannel.access
log-file = /home/mac/smsbox.log
log-level = 0

group = sendsms-user
username = 123
password = 123
max-messages = 1
concatenation = true
group = sms-service
keyword = hi
text = singly configured for the world of poly!

#default service
group = sms-service
keyword = default
text = INSTANT REPLY FROM KANNEL WITH COURTESY OF MAC!!!THE KANNEL IS A 
BEAUTIFUL TECHNOLOGY..WE WILL SOON GET THERE


#group = smsc
#smsc = fake
#smsc-id = FAKE
#host = localhost
#port = 1


[r...@localhost ~]# /usr/sbin/bearerbox -v 1 /etc/kannel.conf 
[1] 5335
[r...@localhost ~]# 2010-08-30 11:06:04 [5335] [0] INFO: Debug_lvl = 1, 
log_file = none, log_lvl = 0

2010-08-30 11:06:04 [5335] [0] INFO: DLR using storage type: internal
2010-08-30 11:06:04 [5335] [0] INFO: Added logfile `/home/mac/bearerbox.log' 
with level `1'.
2010-08-30 11:06:04 [5335] [0] INFO: Started access logfile 
`/home/mac/kannel.access'.

2010-08-30 11:06:04 [5335] [0] INFO: HTTP: Opening server at port 13000.
2010-08-30 11:06:04 [5335] [0] INFO: BOXC: 'smsbox-max-pending' not set, 
using default (100).

2010-08-30 11:06:04 [5335] [0] INFO: Set SMS resend frequency to 60 seconds.
2010-08-30 11:06:04 [5335] [0] INFO: SMS resend retry set to unlimited.
2010-08-30 11:06:04 [5335] [0] INFO: DLR rerouting for smsc id (null) 
disabled.
2010-08-30 11:06:04 [5335] [0] INFO: AT2[/dev/ttyUSB0]: configuration 
doesn't show modemtype. will autodetect

2010-08-30 11:06:04 [5335] [0] INFO: Adding interface *
2010-08-30 11:06:04 [5335] [0] ERROR: Missing wapbox-port variable, cannot 
start WAP
2010-08-30 11:06:04 [5335] [0] 
INFO:  
2010-08-30 11:06:04 [5335] [0] INFO: Kannel bearerbox II version 1.4.3 
starting

2010-08-30 11:06:04 [5335] [0] INFO: MAIN: Start-up done, entering mainloop
2010-08-30 11:06:04 [5335] [6] INFO: AT2[/dev/ttyUSB0]: opening device
2010-08-30 11:06:05 [5335] [6] INFO: AT2[/dev/ttyUSB0]: speed set to 115200
2010-08-30 11:06:07 [5335] [6] INFO: AT2[/dev/ttyUSB0]: Closing device
2010-08-30 11:06:07 [5335] [6] INFO: AT2[/dev/ttyUSB0]: detect speed is 
115200

2010-08-30 11:06:07 [5335] [6] INFO: AT2[/dev/ttyUSB0]: opening device
2010-08-30 11:06:08 [5335] [6] INFO: AT2[/dev/ttyUSB0]: speed set to 115200
2010-08-30 11:06:10 [5335] [6] INFO: AT2[/dev/ttyUSB0]: Closing device
2010-08-30 11:06:10 [5335] [6] INFO: AT2[/dev/ttyUSB0]: opening device
2010-08-30 11:06:10 [5335] [6] INFO: AT2[/dev/ttyUSB0]: Logging in
2010-08-30 11:06:11 [5335] [6] INFO: AT2[/dev/ttyUSB0]: init device
2010-08-30 11:06:11 [5335] [6] INFO: AT2[/dev/ttyUSB0]: speed set to 115200
2010-08-30 11:06:12 [5335] [6] INFO: AT2[/dev/ttyUSB0]: AT SMSC successfully 
opened.
2010-08-30 11:06:17 [5335] 

Re: help on huawei e160 gsm modem

2010-08-29 Thread Nikos Balkanas

Hi,

1) You are missing smsbox-route group, or your smsbox is down. That's why 
you are getting the smsbox-lst empty.

2) Please post detailed bb logs with error.

BR,
Nikos

- Original Message - 
From: mac...@fastermail.com

To: users@kannel.org
Sent: Sunday, August 29, 2010 10:57 PM
Subject: help on huawei e160 gsm modem





Hey folks after a waiting for such a long time i have finally managed to 
send and receive messages into and out of the kannel system but one 
desturbing thing that keeps showing when i start the bearerbox is the error 
CMS ERROR:321 and goes on to say that i should not worry maybe sim might be 
full.My concern does anyone have experiance with this modem on kannel and 
what are its AT+CNMI values.Secondly what should i do to get rid of the 
error that i have stated as CMS ERROR:321.


Finally at times when i send messages to the modem there are never pulled 
into the system and thereafterwards when i start the system again the 
bearerbox starts and shows smsbox-list empty and all over sudden the 
messages are pulled into the system and i find all the credit is used up 
since i had been sending messages and there was no indication of them beding 
pulled into the system. Am glad to report that pushing the messages using 
the http interface has not presented any trouble for me thus far. I 
impatiently await your expertise. 





Re: Help on Kannel configuration

2010-08-26 Thread david ally
Nikos/All,

I thought i did reply to all in my last email. I still would want someone to
answer my questions.

David

On Thu, Aug 26, 2010 at 10:23 AM, david ally dade.a...@gmail.com wrote:

 Yes, I have read the user guide and i also have the kannel.conf file that
 come with the 1.4.3 stable examples, my understanding is that I can just
 uncomment some applicable to my requirements entries in this file and then
 overwrite the /etc/kannel/kannel.conf file in my installation.

 But in the example file, I couldn't locate the section that deals with http
 interface and how to access to it on my system further configuration and
 administration purposes. Also can I continue further configuration and
 administration of kannel gateway from the http interface when i get it done?

 Thank you for your help.

 David

 2010/8/25 Nikos Balkanas nbalka...@gmail.com

 Sure, start with kannel.conf under doc/examples. To understand it check
 UG.

 BR,
 Nikos
 - Original Message - From: ayokunle odusanya
 To: Nikos Balkanas
 Cc: david ally ; users@kannel.org
 Sent: Wednesday, August 25, 2010 5:14 PM
 Subject: Re: Help on Kannel configuration



 Hi,

 I understand how daunting the configurations parameters can be for a new
 user, but I'm sure you can have a sample configuration file to work with
 right away (in the most needed parameters) in the source files of kannel.





 2010/8/25 Nikos Balkanas nbalka...@gmail.com

 Hi,

 You should start from User's guide at www.kannel.org. It has plenty of
 configuration examples.

 BR,
 Nikos
 - Original Message - From: david ally
 To: users@kannel.org
 Sent: Wednesday, August 25, 2010 3:11 PM
 Subject: Help on Kannel configuration



 Hi All,


 I'm new user of kannel, and this is my use case; I want to use kannel
 server to receive sms (bulk data students' weekly performance data ) from
 schools in a particular locality to the Local Government education resource
 centre, and also from the LG resource centre to the state education resource
 centre. The data from each school to LG resource center is the only one that
 need be via sms other data transport from LG to State etc can be via wap or
 HTTP,because supporting infrastructure could be available at this locations.


 Thank you!


 David





 --
 Ayokunle Odusanya





Re: Help on Kannel configuration

2010-08-26 Thread Nikos Balkanas
You cannot configure kannel from the http admin, just administer it. Check 
admin-password  admin-port in group core.


BR,
Nikos
- Original Message - 
From: david ally

To: users@kannel.org
Sent: Thursday, August 26, 2010 3:17 PM
Subject: Re: Help on Kannel configuration


Nikos/All,

I thought i did reply to all in my last email. I still would want someone to 
answer my questions.


David


On Thu, Aug 26, 2010 at 10:23 AM, david ally dade.a...@gmail.com wrote:

Yes, I have read the user guide and i also have the kannel.conf file that 
come with the 1.4.3 stable examples, my understanding is that I can just 
uncomment some applicable to my requirements entries in this file and then 
overwrite the /etc/kannel/kannel.conf file in my installation.


But in the example file, I couldn't locate the section that deals with http 
interface and how to access to it on my system further configuration and 
administration purposes. Also can I continue further configuration and 
administration of kannel gateway from the http interface when i get it done?


Thank you for your help.

David



2010/8/25 Nikos Balkanas nbalka...@gmail.com

Sure, start with kannel.conf under doc/examples. To understand it check UG.

BR,
Nikos
- Original Message - From: ayokunle odusanya
To: Nikos Balkanas
Cc: david ally ; users@kannel.org
Sent: Wednesday, August 25, 2010 5:14 PM
Subject: Re: Help on Kannel configuration



Hi,

I understand how daunting the configurations parameters can be for a new 
user, but I'm sure you can have a sample configuration file to work with 
right away (in the most needed parameters) in the source files of kannel.






2010/8/25 Nikos Balkanas nbalka...@gmail.com

Hi,

You should start from User's guide at www.kannel.org. It has plenty of 
configuration examples.


BR,
Nikos
- Original Message - From: david ally
To: users@kannel.org
Sent: Wednesday, August 25, 2010 3:11 PM
Subject: Help on Kannel configuration



Hi All,


I'm new user of kannel, and this is my use case; I want to use kannel server 
to receive sms (bulk data students' weekly performance data ) from schools 
in a particular locality to the Local Government education resource centre, 
and also from the LG resource centre to the state education resource centre. 
The data from each school to LG resource center is the only one that need be 
via sms other data transport from LG to State etc can be via wap or 
HTTP,because supporting infrastructure could be available at this locations.



Thank you!


David





--
Ayokunle Odusanya 





Re: Help on Kannel configuration

2010-08-25 Thread Nikos Balkanas

Sure, start with kannel.conf under doc/examples. To understand it check UG.

BR,
Nikos
- Original Message - 
From: ayokunle odusanya

To: Nikos Balkanas
Cc: david ally ; users@kannel.org
Sent: Wednesday, August 25, 2010 5:14 PM
Subject: Re: Help on Kannel configuration


Hi,

I understand how daunting the configurations parameters can be for a new 
user, but I'm sure you can have a sample configuration file to work with 
right away (in the most needed parameters) in the source files of kannel.






2010/8/25 Nikos Balkanas nbalka...@gmail.com

Hi,

You should start from User's guide at www.kannel.org. It has plenty of 
configuration examples.


BR,
Nikos
- Original Message - From: david ally
To: users@kannel.org
Sent: Wednesday, August 25, 2010 3:11 PM
Subject: Help on Kannel configuration



Hi All,


I'm new user of kannel, and this is my use case; I want to use kannel server 
to receive sms (bulk data students' weekly performance data ) from schools 
in a particular locality to the Local Government education resource centre, 
and also from the LG resource centre to the state education resource centre. 
The data from each school to LG resource center is the only one that need be 
via sms other data transport from LG to State etc can be via wap or 
HTTP,because supporting infrastructure could be available at this locations.



Thank you!


David





--
Ayokunle Odusanya 





RE: help on mysql database

2010-08-25 Thread Rene Kluwen
Everything should be in the users manual that is available on
http://www.kannel.org/.

 

In case you have specific questions, please post them along with your
current configuration files.

 

== Rene

 

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of mac...@fastermail.com
Sent: Wednesday, 25 August, 2010 18:34
To: users@kannel.org
Subject: help on mysql database

 

Hi Folks

I installed kannel using an rpm package on fedora core 13 but i would
appreciate anyone who has had experiance of implementing kannel with mysql
due to the nature of my project.Please provide me with the necessary steps
that you undertook to communicate with the database server in the subject
above.



Re: [HELP]Force Kannel to send unsent MT

2010-07-22 Thread Nikos Balkanas

Hi,

No. You cannot do that. Kannel has a problem that you need to fix first. 
Then it will send all pending SMS within 60 (default, configured in 
sms-resend-freq in core group). Propably the SMSc that you are trying to use 
is inactive. Post detailed relevant bb logs and configuration if you still 
are having problems.


BR,
Nikos
- Original Message - 
From: sangprabv sangpr...@gmail.com

To: Kannel list users@kannel.org
Sent: Thursday, July 22, 2010 9:46 AM
Subject: [HELP]Force Kannel to send unsent MT


As subject's title. How to force Kannel to send unsent MT in the spool 
folder immediately? Is there any CLI? Thanks



sangprabv
sangpr...@gmail.com
http://www.petitiononline.com/froyo/






Re: [HELP]Force Kannel to send unsent MT

2010-07-22 Thread Alvaro Cornejo
Hi

There seems to be a known bug somewhere in the queue management. Under
some circumstances, messages start getting queued in kannel queue and are
not released until kannel is restarted. Restarting only an smsc does not
freeup those messages.

I've been trying to best pin-point this but was not able to.

I've seen this with smpp and modems.

Hope can provide more info about this issue but so far got nothing clear.

Regards

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


2010/7/22 Nikos Balkanas nbalka...@gmail.com

 Hi,

 No. You cannot do that. Kannel has a problem that you need to fix first.
 Then it will send all pending SMS within 60 (default, configured in
 sms-resend-freq in core group). Propably the SMSc that you are trying to use
 is inactive. Post detailed relevant bb logs and configuration if you still
 are having problems.

 BR,
 Nikos
 - Original Message - From: sangprabv sangpr...@gmail.com
 To: Kannel list users@kannel.org
 Sent: Thursday, July 22, 2010 9:46 AM
 Subject: [HELP]Force Kannel to send unsent MT



 As subject's title. How to force Kannel to send unsent MT in the spool
 folder immediately? Is there any CLI? Thanks


 sangprabv
 sangpr...@gmail.com
 http://www.petitiononline.com/froyo/







Re: [HELP]Force Kannel to send unsent MT

2010-07-22 Thread Nikos Balkanas

Hi Alvaro,

You mean after the block is removed? Like restarting a stopped smsc? Or they 
start accumulating out of the blue with nothing wrong?


BR,
Nikos
- Original Message - 
From: Alvaro Cornejo

To: Nikos Balkanas
Cc: sangprabv ; Kannel list
Sent: Thursday, July 22, 2010 4:49 PM
Subject: Re: [HELP]Force Kannel to send unsent MT


Hi

There seems to be a known bug somewhere in the queue management. Under 
some circumstances, messages start getting queued in kannel queue and are 
not released until kannel is restarted. Restarting only an smsc does not 
freeup those messages.


I've been trying to best pin-point this but was not able to.

I've seen this with smpp and modems.

Hope can provide more info about this issue but so far got nothing clear.

Regards

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




2010/7/22 Nikos Balkanas nbalka...@gmail.com

Hi,

No. You cannot do that. Kannel has a problem that you need to fix first. 
Then it will send all pending SMS within 60 (default, configured in 
sms-resend-freq in core group). Propably the SMSc that you are trying to use 
is inactive. Post detailed relevant bb logs and configuration if you still 
are having problems.


BR,
Nikos
- Original Message - From: sangprabv sangpr...@gmail.com
To: Kannel list users@kannel.org
Sent: Thursday, July 22, 2010 9:46 AM
Subject: [HELP]Force Kannel to send unsent MT



As subject's title. How to force Kannel to send unsent MT in the spool 
folder immediately? Is there any CLI? Thanks



sangprabv
sangpr...@gmail.com
http://www.petitiononline.com/froyo/ 





Re: [HELP]Force Kannel to send unsent MT

2010-07-22 Thread Alvaro Cornejo
at first sight with no apparently reason.

Didn't had time to monitor in detail

will try to put some time aside to verify that

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


2010/7/22 Nikos Balkanas nbalka...@gmail.com

 Hi Alvaro,

 You mean after the block is removed? Like restarting a stopped smsc? Or
 they start accumulating out of the blue with nothing wrong?

 BR,
 Nikos
 - Original Message - From: Alvaro Cornejo
 To: Nikos Balkanas
 Cc: sangprabv ; Kannel list
 Sent: Thursday, July 22, 2010 4:49 PM
 Subject: Re: [HELP]Force Kannel to send unsent MT



 Hi

 There seems to be a known bug somewhere in the queue management. Under
 some circumstances, messages start getting queued in kannel queue and are
 not released until kannel is restarted. Restarting only an smsc does not
 freeup those messages.

 I've been trying to best pin-point this but was not able to.

 I've seen this with smpp and modems.

 Hope can provide more info about this issue but so far got nothing clear.

 Regards

 Alvaro

 |-|
 Envνe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
 celular y Nextel
 en el Perϊ, Mιxico y en mas de 180 paises. Use aplicaciones 2 vias via SMS
 y GPRS online

 Visitenos en www.perusms.NET http://www.perusms.net/
 www.smsglobal.com.mx y www.pravcom.com



 2010/7/22 Nikos Balkanas nbalka...@gmail.com

 Hi,

 No. You cannot do that. Kannel has a problem that you need to fix first.
 Then it will send all pending SMS within 60 (default, configured in
 sms-resend-freq in core group). Propably the SMSc that you are trying to use
 is inactive. Post detailed relevant bb logs and configuration if you still
 are having problems.

 BR,
 Nikos
 - Original Message - From: sangprabv sangpr...@gmail.com
 To: Kannel list users@kannel.org
 Sent: Thursday, July 22, 2010 9:46 AM
 Subject: [HELP]Force Kannel to send unsent MT



 As subject's title. How to force Kannel to send unsent MT in the spool
 folder immediately? Is there any CLI? Thanks


 sangprabv
 sangpr...@gmail.com
 http://www.petitiononline.com/froyo/



Re: Help required regarding Kannel and Wavecom

2010-06-17 Thread Alvaro Cornejo
Hi

Always copy the userlist. You migh have more help.

What is your modem config?
add +cmee=1 or 2 to your init-string to get more detailed error log


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



On Thu, Jun 17, 2010 at 5:08 AM, Shahid Iqbal sha...@ebryx.com wrote:
 Hello Alvaro,

 I just got you email from the following link,

 http://www.kannel.org/pipermail/users/2007-December/003605.html

 Well, I am working with kannel and wavecom fast track modem.
 i used to send and receive SMSs for more than 3 months. But now at sudden, i
 am experiencing the same problem
 that, i cant send/receive SMS because Log file shows  Generic Error. i.e.

 2010-06-15 17:34:46 [2584] [7] DEBUG: sms_router: handling message
 (0xa09dde8 vs 0xa0a48e8)
 2010-06-15 17:34:46 [2584] [7] DEBUG: re-queing SMS not-yet-to-be resent
 2010-06-15 17:34:46 [2584] [7] DEBUG: sms_router: handling message
 (0xa0a48e8 vs 0xa0a48e8)
 2010-06-15 17:34:46 [2584] [7] DEBUG: re-queing SMS not-yet-to-be resent
 2010-06-15 17:34:46 [2584] [7] DEBUG: sms_router: time to sleep 30.00 secs.
 2010-06-15 17:34:50 [2584] [6] DEBUG: AT2[linuxku]: -- 
 2010-06-15 17:34:50 [2584] [6] DEBUG: AT2[linuxku]: -- ERROR
 2010-06-15 17:34:50 [2584] [6] ERROR: AT2[linuxku]: Generic error: ERROR
 2010-06-15 17:34:50 [2584] [6] DEBUG: AT2[linuxku]: send command status: -1
 2010-06-15 17:34:52 [2584] [6] DEBUG: AT2[linuxku]: TP-Validity-Period: 24.0
 hours
 2010-06-15 17:34:52 [2584] [6] DEBUG: AT2[linuxku]: -- AT+CMGS=32^M
 2010-06-15 17:34:52 [2584] [6] DEBUG: AT2[linuxku]: -- 
 2010-06-15 17:34:52 [2584] [6] DEBUG: AT2[linuxku]: send command status: 1
 2010-06-15 17:34:52 [2584] [6] DEBUG: AT2[linuxku]: --
 0011000B913977020100F8A712
 0065006D0070007400790020006D00730067
 2010-06-15 17:34:52 [2584] [6] DEBUG: AT2[linuxku]: -- ^Z
 2010-06-15 17:34:55 [2584] [6] DEBUG: AT2[linuxku]: -- 
 2010-06-15 17:34:55 [2584] [6] DEBUG: AT2[linuxku]: -- ERROR
 2010-06-15 17:34:55 [2584] [6] ERROR: AT2[linuxku]: Generic error: ERROR
 2010-06-15 17:34:55 [2584] [6] DEBUG: AT2[linuxku]: send command status: -1
 2010-06-15 17:34:57 [2584] [6] DEBUG: AT2[linuxku]: TP-Validity-Period: 24.0
 hours
 2010-06-15 17:34:57 [2584] [6] DEBUG: AT2[linuxku]: -- AT+CMGS=32^M
 2010-06-15 17:34:57 [2584] [6] DEBUG: AT2[linuxku]: -- 
 2010-06-15 17:34:57 [2584] [6] DEBUG: AT2[linuxku]: send command status: 1
 2010-06-15 17:34:57 [2584] [6] DEBUG: AT2[linuxku]: --
 0011000B913977020100F8A7120065006D0070007400790020006D00730067
 2010-06-15 17:34:57 [2584] [6] DEBUG: AT2[linuxku]: -- ^Z
 2010-06-15 17:35:00 [2584] [6] DEBUG: AT2[linuxku]: -- 
 2010-06-15 17:35:00 [2584] [6] DEBUG: AT2[linuxku]: -- ERROR
 2010-06-15 17:35:00 [2584] [6] ERROR: AT2[linuxku]: Generic error: ERROR
 2010-06-15 17:35:00 [2584] [6] DEBUG: AT2[linuxku]: send command status: -1

 i did different tries around the init-string as well as keepalive-cmd
 variable but of no avail.
 once i restart the kannel, all new messages are received and sent messages
 are delivered.   but it hardly work properly till an hour.

 please guide me how to fix this problem since u have had such problem.

 Hoping for a quick help,

 and thanking in anticipation

 
 regards
 shahid



RE: Help in sending reply back to mobile

2010-05-22 Thread Ahmad Pakhri Yahya
Thanks Alvaro.

-Original Message-
From: Alvaro Cornejo [mailto:cornejo.alv...@gmail.com] 
Sent: Fri, 21 May, 2010 21:56
To: pakhri.ya...@ymail.com
Cc: users@kannel.org
Subject: Re: Help in sending reply back to mobile

Just make your app call the kannel sendurl

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



On Fri, May 21, 2010 at 4:55 AM, Ahmad Pakhri Yahya
pakhri.ya...@ymail.com wrote:
 Hi,

 After getting kannel to receive the message, now com the new headache.

 What I need to do is once received the message, it post message to the
 get-url address.  However, the servlet handling the get-url is also
 returning something to be returned back to phone.  How do I setup so that
I
 can send the response back to phone after receiving messge, sending to
 servlet, and getting the result from servlet and back to phone again.

 Thank you.

 Cheers,

 Ahmad Pakhri Yahya




Re: Help in sending reply back to mobile

2010-05-21 Thread Alvaro Cornejo
Just make your app call the kannel sendurl

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



On Fri, May 21, 2010 at 4:55 AM, Ahmad Pakhri Yahya
pakhri.ya...@ymail.com wrote:
 Hi,

 After getting kannel to receive the message, now com the new headache.

 What I need to do is once received the message, it post message to the
 get-url address.  However, the servlet handling the get-url is also
 returning something to be returned back to phone.  How do I setup so that I
 can send the response back to phone after receiving messge, sending to
 servlet, and getting the result from servlet and back to phone again.

 Thank you.

 Cheers,

 Ahmad Pakhri Yahya



Re: Help in sending reply back to mobile

2010-05-21 Thread Nikos Balkanas

Help in sending reply back to mobileHi,

Read User's guide about sms-service and max-messages. Also when asking for 
help always post configuration and, if an error, detailed logs.


BR,
Nikos
- Original Message - 
From: Ahmad Pakhri Yahya

To: users@kannel.org
Sent: Friday, May 21, 2010 12:55 PM
Subject: Help in sending reply back to mobile


Hi,
After getting kannel to receive the message, now com the new headache.
What I need to do is once received the message, it post message to the 
get-url address.  However, the servlet handling the get-url is also 
returning something to be returned back to phone.  How do I setup so that I 
can send the response back to phone after receiving messge, sending to 
servlet, and getting the result from servlet and back to phone again.

Thank you.
Cheers,
Ahmad Pakhri Yahya 





Re: Help needed for sending Utf-8 characters using Kannel

2010-02-24 Thread Nikos Balkanas
Yes, but in doing so you waste half of the SMS capacity. With Jovan's sugestion 
you don't.

BR,
Nikos
  - Original Message - 
  From: preeteesh kakkar 
  To: Jovan Kostovski 
  Cc: users@kannel.org 
  Sent: Wednesday, February 24, 2010 9:52 AM
  Subject: Re: Help needed for sending Utf-8 characters using Kannel


  Hi Jovan,

  Thanks for your reply. I understand what you mean but what i have decided now 
is to actually do Percent encoding for URIs for text message. Doing this will 
help send message in any language.

  I did same  used http interface of kannel  it works fine for sending any 
symbol's Euro or chinese language symbol etc though i have to set coding=2  
charset=utf-8.  For example 

  
http://ip:13013/cgi-bin/sendsms?username=testpassword=testto=11smsc=testsmscfrom=12345text=%E2%82%AC%E2%82%AC%E2%82%AC%E2%82%AC%E2%82%AC%E2%82%AC%E2%82%AC%E2%82%AC%E2%82%AC%E2%82%AC%E2%82%AC%E2%82%AC%E2%82%AC%E2%82%AC%E2%82%AC%E2%82%ACcoding=2charset=UTF-8


  But if i do same using sqlbox it doesn't works fine. Can you kindly help ?


  On Wed, Feb 24, 2010 at 1:14 PM, Jovan Kostovski chomb...@gmail.com wrote:

On Wed, Feb 24, 2010 at 8:05 AM, preeteesh kakkar

preeteesh.kak...@gmail.com wrote:

 Hi Kiran,

 I have already read this document  have played with setting alt-dcs as 1 
as
 well as alt-charset i can get ññ to work fine but not the Euro Sign.


The Euro sign is not defined in the defaut 7bit GSM 03.38. For the Euro sign
you have to use ISO-8859 charset.
This means you'll have to use ISO-8859 encoding for the message text.
alt-dcs = 0 and set the proper codes for these characters.

http://www.dreamfabric.com/sms/default_alphabet.html

BR, Jovan




  1   2   3   >