OpenSMPP

2010-11-29 Thread James E
Hi,

Is it possible to route Opensmpp to a url?

Something like Opensmpp - bearerbox - geturl

Regards,
J



Re: OpenSMPP

2010-11-29 Thread James E
Sorry, I meant Open SMPPBox

On Mon, Nov 29, 2010 at 9:53 PM, James E jam...@gmail.com wrote:
 Hi,

 Is it possible to route Opensmpp to a url?

 Something like Opensmpp - bearerbox - geturl

 Regards,
 J




Re: OpenSMPP

2010-11-29 Thread Nikos Balkanas

Hi,

Yes, but it is a bearerbox question. You can route MT traffic to the HTTP 
smsc.


BR,
Nikos
- Original Message - 
From: James E jam...@gmail.com

To: users@kannel.org
Sent: Monday, November 29, 2010 4:58 PM
Subject: Re: OpenSMPP



Sorry, I meant Open SMPPBox

On Mon, Nov 29, 2010 at 9:53 PM, James E jam...@gmail.com wrote:

Hi,

Is it possible to route Opensmpp to a url?

Something like Opensmpp - bearerbox - geturl

Regards,
J








Re: SQLBox

2010-11-29 Thread Kenny
Hi Alex,

If a custom field is included send_sms, would the value be moved to sent_sms
?

--
Regards
Kenny



On Thu, Nov 18, 2010 at 1:52 PM, Alejandro Guerrieri 
alejandro.guerri...@gmail.com wrote:

 You should add an arbitrary id to your dlr-url, that's the usual way to do
 it.

 Hope it helps.

 Alex


 On Thu, Nov 18, 2010 at 11:43 AM, James E jam...@gmail.com wrote:

 Hi,

 Thanks for your replies.

 Is there a way when inserting into the Send_sms table, to match it to the
 DLR in the sent_sms?

 At the moment, I see no linking between the MT and DLR in the sent_sms
 table.

 Regards,
 J


 On Thu, Nov 18, 2010 at 5:14 PM, Alejandro Guerrieri 
 alejandro.guerri...@gmail.com wrote:

 James,

 No, it doesn't work like that. The DLR message actually comes from the
 carrier, so it'll insert only the information from that message. You'll get
 your BINFO on the sent_sms copy of the message you've sent, but not on the
 DLR's coming from the carrier. You could, however, pass the value you're
 storing on the BINFO as a parameter on the dlr-url, and that way you'll be
 able to get it when kannel hits the dlr-url.

 Hope it helps,

 Alex


 On Thu, Nov 18, 2010 at 7:10 AM, James E jam...@gmail.com wrote:

 Hi,

 I am just wondering, if I enter BINFO into the send_sms table, shouldnt
 it be carried and inserted into the sent_sms table as well in the DLR info?

 In my attempts it isnt doing this.

 Regards,
 J







Re: SQLBox

2010-11-29 Thread Alejandro Guerrieri
on meta-data? Yes indeed.

Regards,

Alex

On Mon, Nov 29, 2010 at 8:07 PM, Kenny ken.bell...@gmail.com wrote:

 Hi Alex,

 If a custom field is included send_sms, would the value be moved to
 sent_sms ?

 --
 Regards
 Kenny




 On Thu, Nov 18, 2010 at 1:52 PM, Alejandro Guerrieri 
 alejandro.guerri...@gmail.com wrote:

 You should add an arbitrary id to your dlr-url, that's the usual way to do
 it.

 Hope it helps.

 Alex


 On Thu, Nov 18, 2010 at 11:43 AM, James E jam...@gmail.com wrote:

 Hi,

 Thanks for your replies.

 Is there a way when inserting into the Send_sms table, to match it to the
 DLR in the sent_sms?

 At the moment, I see no linking between the MT and DLR in the sent_sms
 table.

 Regards,
 J


 On Thu, Nov 18, 2010 at 5:14 PM, Alejandro Guerrieri 
 alejandro.guerri...@gmail.com wrote:

 James,

 No, it doesn't work like that. The DLR message actually comes from the
 carrier, so it'll insert only the information from that message. You'll get
 your BINFO on the sent_sms copy of the message you've sent, but not on the
 DLR's coming from the carrier. You could, however, pass the value you're
 storing on the BINFO as a parameter on the dlr-url, and that way you'll be
 able to get it when kannel hits the dlr-url.

 Hope it helps,

 Alex


 On Thu, Nov 18, 2010 at 7:10 AM, James E jam...@gmail.com wrote:

 Hi,

 I am just wondering, if I enter BINFO into the send_sms table, shouldnt
 it be carried and inserted into the sent_sms table as well in the DLR 
 info?

 In my attempts it isnt doing this.

 Regards,
 J








Re: SQLBox

2010-11-29 Thread Kenny
not on metadata.. i mean adding a new table `field` to both send_sms and
sent_sms


--
Regards
Kenny



On Mon, Nov 29, 2010 at 8:08 PM, Alejandro Guerrieri 
alejandro.guerri...@gmail.com wrote:

 on meta-data? Yes indeed.

 Regards,

 Alex


 On Mon, Nov 29, 2010 at 8:07 PM, Kenny ken.bell...@gmail.com wrote:

 Hi Alex,

 If a custom field is included send_sms, would the value be moved to
 sent_sms ?

 --
 Regards
 Kenny




 On Thu, Nov 18, 2010 at 1:52 PM, Alejandro Guerrieri 
 alejandro.guerri...@gmail.com wrote:

 You should add an arbitrary id to your dlr-url, that's the usual way to
 do it.

 Hope it helps.

 Alex


 On Thu, Nov 18, 2010 at 11:43 AM, James E jam...@gmail.com wrote:

 Hi,

 Thanks for your replies.

 Is there a way when inserting into the Send_sms table, to match it to
 the DLR in the sent_sms?

 At the moment, I see no linking between the MT and DLR in the sent_sms
 table.

 Regards,
 J


 On Thu, Nov 18, 2010 at 5:14 PM, Alejandro Guerrieri 
 alejandro.guerri...@gmail.com wrote:

 James,

 No, it doesn't work like that. The DLR message actually comes from the
 carrier, so it'll insert only the information from that message. You'll 
 get
 your BINFO on the sent_sms copy of the message you've sent, but not on the
 DLR's coming from the carrier. You could, however, pass the value you're
 storing on the BINFO as a parameter on the dlr-url, and that way you'll be
 able to get it when kannel hits the dlr-url.

 Hope it helps,

 Alex


 On Thu, Nov 18, 2010 at 7:10 AM, James E jam...@gmail.com wrote:

 Hi,

 I am just wondering, if I enter BINFO into the send_sms table,
 shouldnt it be carried and inserted into the sent_sms table as well in 
 the
 DLR info?

 In my attempts it isnt doing this.

 Regards,
 J









Re: SQLBox

2010-11-29 Thread Alejandro Guerrieri
No, the queries are static, it won't copy any fields not belonging to
sqlbox.

Regards,

Alex

On Mon, Nov 29, 2010 at 10:26 PM, Kenny ken.bell...@gmail.com wrote:

 not on metadata.. i mean adding a new table `field` to both send_sms and
 sent_sms


 --
 Regards
 Kenny




 On Mon, Nov 29, 2010 at 8:08 PM, Alejandro Guerrieri 
 alejandro.guerri...@gmail.com wrote:

 on meta-data? Yes indeed.

 Regards,

 Alex


 On Mon, Nov 29, 2010 at 8:07 PM, Kenny ken.bell...@gmail.com wrote:

 Hi Alex,

 If a custom field is included send_sms, would the value be moved to
 sent_sms ?

 --
 Regards
 Kenny




 On Thu, Nov 18, 2010 at 1:52 PM, Alejandro Guerrieri 
 alejandro.guerri...@gmail.com wrote:

 You should add an arbitrary id to your dlr-url, that's the usual way to
 do it.

 Hope it helps.

 Alex


 On Thu, Nov 18, 2010 at 11:43 AM, James E jam...@gmail.com wrote:

 Hi,

 Thanks for your replies.

 Is there a way when inserting into the Send_sms table, to match it to
 the DLR in the sent_sms?

 At the moment, I see no linking between the MT and DLR in the sent_sms
 table.

 Regards,
 J


 On Thu, Nov 18, 2010 at 5:14 PM, Alejandro Guerrieri 
 alejandro.guerri...@gmail.com wrote:

 James,

 No, it doesn't work like that. The DLR message actually comes from the
 carrier, so it'll insert only the information from that message. You'll 
 get
 your BINFO on the sent_sms copy of the message you've sent, but not on 
 the
 DLR's coming from the carrier. You could, however, pass the value you're
 storing on the BINFO as a parameter on the dlr-url, and that way you'll 
 be
 able to get it when kannel hits the dlr-url.

 Hope it helps,

 Alex


 On Thu, Nov 18, 2010 at 7:10 AM, James E jam...@gmail.com wrote:

 Hi,

 I am just wondering, if I enter BINFO into the send_sms table,
 shouldnt it be carried and inserted into the sent_sms table as well in 
 the
 DLR info?

 In my attempts it isnt doing this.

 Regards,
 J










How to force dcs

2010-11-29 Thread Carlos Massoglia Lillo
Hi everybody

I am having problems with sms encoding. My actual problematic smsc
config is:

group = smsc
smsc = smpp
smsc-id = gw1
host = X
port = 
smsc-username = 
smsc-password = x
system-type = www
log-file = /var/log/kannel/gw1.log
log-level = 0
address-range = 
connection-timeout = 60
transceiver-mode = 1
enquire-link-interval = 45
alt-charset = gsm
preferred-smsc-id=gw1
denied-smsc-id = gw2


The problem is my sms gateway provider told me that only 140 chars can
be used. I need tu use 160 chars, so I need to use GSM encoding and dcs
= 1. 

I read about alt-charset and alt-dcs but when I use alt-charset = gsm
the dcs always is 0 and my provider need to be set in 1.

There are some way to force dcs to 1 for one smsc in particular?


Thank you in advance

-- 
Carlos Patricio Massoglia Lillo
Gerente de Innovación y Desarrollo
MindFree Ingeniería Limitada
(56) 32 2713596
www.mindfree.cl





Re: SQLBox

2010-11-29 Thread Nikos Balkanas
Well, opensource means to be able to modify the sources to match your needs. 
But then you branch off svn trunk...


BR,
Nikos
- Original Message - 
From: Alejandro Guerrieri

To: ken.bell...@gmail.com
Cc: users@kannel.org
Sent: Monday, November 29, 2010 11:41 PM
Subject: Re: SQLBox


No, the queries are static, it won't copy any fields not belonging to 
sqlbox.



Regards,


Alex


On Mon, Nov 29, 2010 at 10:26 PM, Kenny ken.bell...@gmail.com wrote:

not on metadata.. i mean adding a new table `field` to both send_sms and 
sent_sms



--
Regards
Kenny





On Mon, Nov 29, 2010 at 8:08 PM, Alejandro Guerrieri 
alejandro.guerri...@gmail.com wrote:


on meta-data? Yes indeed.


Regards,


Alex



On Mon, Nov 29, 2010 at 8:07 PM, Kenny ken.bell...@gmail.com wrote:

Hi Alex,

If a custom field is included send_sms, would the value be moved to sent_sms 
?


--
Regards
Kenny





On Thu, Nov 18, 2010 at 1:52 PM, Alejandro Guerrieri 
alejandro.guerri...@gmail.com wrote:


You should add an arbitrary id to your dlr-url, that's the usual way to do 
it.



Hope it helps.


Alex



On Thu, Nov 18, 2010 at 11:43 AM, James E jam...@gmail.com wrote:

Hi,

Thanks for your replies.

Is there a way when inserting into the Send_sms table, to match it to the 
DLR in the sent_sms?


At the moment, I see no linking between the MT and DLR in the sent_sms 
table.


Regards,
J



On Thu, Nov 18, 2010 at 5:14 PM, Alejandro Guerrieri 
alejandro.guerri...@gmail.com wrote:


James,


No, it doesn't work like that. The DLR message actually comes from the 
carrier, so it'll insert only the information from that message. You'll get 
your BINFO on the sent_sms copy of the message you've sent, but not on the 
DLR's coming from the carrier. You could, however, pass the value you're 
storing on the BINFO as a parameter on the dlr-url, and that way you'll be 
able to get it when kannel hits the dlr-url.



Hope it helps,


Alex



On Thu, Nov 18, 2010 at 7:10 AM, James E jam...@gmail.com wrote:

Hi,

I am just wondering, if I enter BINFO into the send_sms table, shouldnt it 
be carried and inserted into the sent_sms table as well in the DLR info?


In my attempts it isnt doing this.

Regards,
J 





Re: How to force dcs

2010-11-29 Thread Nikos Balkanas

Hi,

Try in your sendsms-url to specify also coding=0mclass=1 to see if it 
helps. Which is your gateway? Doesn't it support concatenation?


BR,
Nikos
- Original Message - 
From: Carlos Massoglia Lillo carlos.massog...@mindfree.cl

To: Kannel Users users@kannel.org
Sent: Tuesday, November 30, 2010 12:37 AM
Subject: How to force dcs


Hi everybody

I am having problems with sms encoding. My actual problematic smsc
config is:

group = smsc
smsc = smpp
smsc-id = gw1
host = X
port = 
smsc-username = 
smsc-password = x
system-type = www
log-file = /var/log/kannel/gw1.log
log-level = 0
address-range = 
connection-timeout = 60
transceiver-mode = 1
enquire-link-interval = 45
alt-charset = gsm
preferred-smsc-id=gw1
denied-smsc-id = gw2


The problem is my sms gateway provider told me that only 140 chars can
be used. I need tu use 160 chars, so I need to use GSM encoding and dcs
= 1.

I read about alt-charset and alt-dcs but when I use alt-charset = gsm
the dcs always is 0 and my provider need to be set in 1.

There are some way to force dcs to 1 for one smsc in particular?


Thank you in advance

--
Carlos Patricio Massoglia Lillo
Gerente de InnovaciΓ³n y Desarrollo
MindFree IngenierΓ­a Limitada
(56) 32 2713596
www.mindfree.cl






[BUG]Some DLR-URL Not Fetched on Latest Kannel and SQLBox SVN

2010-11-29 Thread Willy Mularto
Dear List,
Sorry to cross posting. But I think this issue is important.

I'm using latest KanneI and SQLBox SVN, compiled and configured to 
bearerbox-sqlbox-smsbox. Tested against 300  thousands MTs. All MTs sent OUT 
and all DLR received at the bearerbox level (check and count total data on 
access log). But found some weird situation where not all DLR were sent out to 
DLR-URL. Checked my Nginx access log and found no error. And also check smsbox 
log and again found no error. 

To make it sure then I rollback to previous Kannel early 2009 CVS version 
(right before meta-data applied) and SQLBox 0.7.2. And retest those 300 
thousands MT. Voila all DLR successfully sent out to DLR-URL and the data row 
matched.

IMHO this issue sounds like the same MO bug after meta-data applied.



sangprabv
sangpr...@gmail.com
http://www.petitiononline.com/froyo/





Re: How to force dcs

2010-11-29 Thread Nikos Balkanas
Well, at least they change DCS. Check UG about SMS Puch CGI variables. 
Variables: mclass, mwi, compress and coding affect value of dcs. Play around 
until you get desired dcs value. You should not set mwi and mclass at the 
same time.


BR,
Nikos
- Original Message - 
From: Carlos Massoglia Lillo carlos.massog...@mindfree.cl

To: Kannel Users users@kannel.org
Sent: Tuesday, November 30, 2010 2:56 AM
Subject: Re: How to force dcs


El mar, 30-11-2010 a las 01:43 +0200, Nikos Balkanas escribiΓ³:

Hi,

Try in your sendsms-url to specify also coding=0mclass=1 to see if it
helps. Which is your gateway? Doesn't it support concatenation?

BR,
Nikos


Hi Nikos,

I did some test using coding=0mclass=1 but it seems not help.
When I used that params I get in my logs

data_coding: 4 = 0x0004

and for my provider that is a wrong value in that param.

How can I change data_coding using opensmpp?. As I said in my previuos
mail, I used alt-charset and alt-dcs without success because I always
get

data_coding: 0 = 0x

There are some way to force data_coding to use with opensmppbox?

Thank you

--
Carlos Patricio Massoglia Lillo
Gerente de InnovaciΓ³n y Desarrollo
MindFree IngenierΓ­a Limitada
(56) 32 2713596
www.mindfree.cl






Re: How to force dcs

2010-11-29 Thread Carlos Massoglia Lillo
El mar, 30-11-2010 a las 01:43 +0200, Nikos Balkanas escribió:
 Hi,
 
 Try in your sendsms-url to specify also coding=0mclass=1 to see if it 
 helps. Which is your gateway? Doesn't it support concatenation?
 
 BR,
 Nikos

Hi Nikos,

I did some test using coding=0mclass=1 but it seems not help.
When I used that params I get in my logs

data_coding: 4 = 0x0004

and for my provider that is a wrong value in that param.

How can I change data_coding using opensmpp?. As I said in my previuos
mail, I used alt-charset and alt-dcs without success because I always
get

data_coding: 0 = 0x

There are some way to force data_coding to use with opensmppbox?

Thank you

-- 
Carlos Patricio Massoglia Lillo
Gerente de Innovación y Desarrollo
MindFree Ingeniería Limitada
(56) 32 2713596
www.mindfree.cl