Re: Kannel as an SMSC

2010-06-20 Thread Mohamed Ould Mohamed Salem
No, CVS, but of kannel.
Apparently, smppbox doesnt work with 1.4.3, i had to use cvs version of kannel.





From: Rene Kluwen rene.klu...@chimit.nl
To: medms...@yahoo.fr; Kannel users users@kannel.org
Sent: Fri, June 18, 2010 11:50:20 AM
Subject: RE: Kannel as an SMSC

 
Please note that the most current version of (open) smppbox is
in the svn repository, not the cvs.
But maybe you meant svn in stead of cvs.
 
Either way, good to know that it works for you now.
 
== Rene
 
From:users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of 
Mohamed
Ould Mohamed Salem
Sent: vrijdag 18 juni 2010 19:25
To: Kannel users
Subject: Re: Kannel as an SMSC
 
I got it, 
I downloaded the latest cvs, compiled it and it worked.

thank you,

--- On Fri, 6/18/10, sangprabv sangpr...@gmail.com wrote:

From: sangprabv sangpr...@gmail.com
Subject: Re: Kannel as an SMSC
To: medms...@yahoo.fr
Cc: Kannel users users@kannel.org
Date: Friday, June 18, 2010, 6:35 PM
Please do man patch, you will find the answer.
 
 
 
sangprabv
sangpr...@gmail.com
 
On Jun 18, 2010, at 10:46 PM, Mohamed Ould Mohamed Salem wrote:


I downloaded the SMPPBox, tried to compile it but it gives some errors after 
make:

--
SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 
-I/usr/include/mysql -MT smppbox.o -MD -MP -MF .deps/smppbox.Tpo -c -o 
smppbox.o smppbox.c; \
then mv -f .deps/smppbox.Tpo .deps/smppbox.Po; else rm -f 
.deps/smppbox.Tpo; exit 1; fi
smppbox.c:1851:1: warning: OCTSTR redefined
smppbox.c:1827:1: warning: this is the location of the previous definition
smppbox.c:1852:1: warning: SINGLE_GROUP redefined
smppbox.c:1830:1: warning: this is the location of the previous definition
smppbox.c:1855:1: warning: MULTI_GROUP redefined
smppbox.c:1837:1: warning: this is the location of the previous definition
smppbox.c: In function ‘send_pdu’:
smppbox.c:379: warning: passing argument 1 of ‘smpp_pdu_pack’ from incompatible 
pointer type
/usr/local/include/kannel/gw/smsc/smpp_pdu.h:230: note: expected ‘struct 
SMPP_PDU *’ but argument is of type ‘struct Octstr *’
smppbox.c:379: error: too many arguments to function ‘smpp_pdu_pack’
smppbox.c: In function ‘read_pdu’:
smppbox.c:436: error: too many arguments to function ‘smpp_pdu_unpack’
make[2]: *** [smppbox.o] Error 1
make[2]: Leaving directory `/root/trunks/gw'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/trunks'
make: *** [all] Error 2

---
I saw in one thread on the list that it should be patched, probably not the 
right place to ask this question, but patch with what and how?


Yours,
Mohamed
--- On Fri, 6/18/10, Konstantin Vayner pon...@appcell.net wrote:

From: Konstantin Vayner pon...@appcell.net
Subject: Re: Kannel as an SMSC
To: Mohamed Ould Mohamed Salem medms...@yahoo.fr
Date: Friday, June 18, 2010, 3:35 PM
It's an svn tree
Use an svn (subversion) client and point it to that repository
On Fri, Jun 18, 2010 at 4:30 PM, Mohamed Ould Mohamed Salem medms...@yahoo.fr 
wrote:
Sorry for being a nood,

but how do i download it, file by file? or is there a compressed file that i 
missed?


Yours,
Mohamed


 
From:Konstantin Vayner pon...@appcell.net
To: Mohamed Ould Mohamed Salem medms...@yahoo.fr
Cc: Kannel users users@kannel.org
Sent: Fri, June 18, 2010 1:09:13 PM
Subject: Re: Kannel as an SMSC
 
Hi Mohamed,
 
You can use SMPPbox with Kannel - it is an smpp server
 
There is opensource one release by Rene Kluwen - you can find it here: 
https://svn.kannel.org/smppbox/trunk and it is supported by regular community 
means (via this mailing list).
OR
Theres commercial smppbox created, maintained and supported by Stipe Tolj - in 
this case you need to contact him directly regarding pricing and availability.
 
Regards,
  Konstantin
 
On Fri, Jun 18, 2010 at 3:57 PM, Mohamed Ould Mohamed Salem medms...@yahoo.fr 
wrote:
Hello everyone,

I want to connect my kannel box with another sms gateway via SMPP, with neither 
of them being an smsc, is there a way to do this with kannel.
If not, can kannel act as an smsc?


Yours,
Mohamed


  

Too long password

2010-06-20 Thread hafez ahmad
Dears,

I get the following error when I try to connect my SMPP connection, my
password is 9 chars

2010-06-20 10:52:19 [4228] [38] WARNING: SMPP: PDU element password too
long (length is 9, should be 8)

and I know that the SMPP allows 8 chars + the null char as terminator, I
called my provider and they need 3 working days to change the password :/

is there any patch or anything I can do from my side to fix the problem.


Regards,
-- 
Hafez A.Ahmad
Amman-Jordan
mobile: 962-795708728
http://blog.hafezadnan.com


Re: Kannel as an SMSC

2010-06-20 Thread Konstantin Vayner
Kannel switched to SVN repository as well, actually
The site is still lagging behind, but CVS is locked to readonly mode, no
commits are going into it anymore

On Sun, Jun 20, 2010 at 11:05 AM, Mohamed Ould Mohamed Salem 
medms...@yahoo.fr wrote:

 No, CVS, but of kannel.
 Apparently, smppbox doesnt work with 1.4.3, i had to use cvs version of
 kannel.

 --
 *From:* Rene Kluwen rene.klu...@chimit.nl
 *To:* medms...@yahoo.fr; Kannel users users@kannel.org
 *Sent:* Fri, June 18, 2010 11:50:20 AM
 *Subject:* RE: Kannel as an SMSC

  Please note that the most current version of (open) smppbox is in the svn
 repository, not the cvs.

 But maybe you meant svn in stead of cvs.



 Either way, good to know that it works for you now.



 == Rene



 *From:* users-boun...@kannel.org [mailto:users-boun...@kannel.org] *On
 Behalf Of *Mohamed Ould Mohamed Salem

 *Sent:* vrijdag 18 juni 2010 19:25
 *To:* Kannel users
 *Subject:* Re: Kannel as an SMSC



 I got it,
 I downloaded the latest cvs, compiled it and it worked.

 thank you,

 --- On *Fri, 6/18/10, sangprabv sangpr...@gmail.com* wrote:


 From: sangprabv sangpr...@gmail.com
 Subject: Re: Kannel as an SMSC
 To: medms...@yahoo.fr
 Cc: Kannel users users@kannel.org
 Date: Friday, June 18, 2010, 6:35 PM

 Please do man patch, you will find the answer.







 sangprabv
 sangpr...@gmail.com



 On Jun 18, 2010, at 10:46 PM, Mohamed Ould Mohamed Salem wrote:



   I downloaded the SMPPBox, tried to compile it but it gives some errors
 after make:

 --
 SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2
 -I/usr/include/mysql -MT smppbox.o -MD -MP -MF .deps/smppbox.Tpo -c -o
 smppbox.o smppbox.c; \
 then mv -f .deps/smppbox.Tpo .deps/smppbox.Po; else rm -f
 .deps/smppbox.Tpo; exit 1; fi
 smppbox.c:1851:1: warning: OCTSTR redefined
 smppbox.c:1827:1: warning: this is the location of the previous definition
 smppbox.c:1852:1: warning: SINGLE_GROUP redefined
 smppbox.c:1830:1: warning: this is the location of the previous definition
 smppbox.c:1855:1: warning: MULTI_GROUP redefined
 smppbox.c:1837:1: warning: this is the location of the previous definition
 smppbox.c: In function ‘send_pdu’:
 smppbox.c:379: warning: passing argument 1 of ‘smpp_pdu_pack’ from
 incompatible pointer type
 /usr/local/include/kannel/gw/smsc/smpp_pdu.h:230: note: expected ‘struct
 SMPP_PDU *’ but argument is of type ‘struct Octstr *’
 smppbox.c:379: error: too many arguments to function ‘smpp_pdu_pack’
 smppbox.c: In function ‘read_pdu’:
 smppbox.c:436: error: too many arguments to function ‘smpp_pdu_unpack’
 make[2]: *** [smppbox.o] Error 1
 make[2]: Leaving directory `/root/trunks/gw'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/root/trunks'
 make: *** [all] Error 2


 ---
 I saw in one thread on the list that it should be patched, probably not the
 right place to ask this question, but patch with what and how?


 Yours,
 Mohamed
 --- On *Fri, 6/18/10, Konstantin Vayner pon...@appcell.net* wrote:


 From: Konstantin Vayner pon...@appcell.net
 Subject: Re: Kannel as an SMSC
 To: Mohamed Ould Mohamed Salem medms...@yahoo.fr
 Date: Friday, June 18, 2010, 3:35 PM

 It's an svn tree

 Use an svn (subversion) client and point it to that repository

 On Fri, Jun 18, 2010 at 4:30 PM, Mohamed Ould Mohamed Salem 
 medms...@yahoo.fr wrote:

 Sorry for being a nood,

 but how do i download it, file by file? or is there a compressed file that
 i missed?



 Yours,
 Mohamed
   --

 *From:* Konstantin Vayner pon...@appcell.net
 *To:* Mohamed Ould Mohamed Salem medms...@yahoo.fr
 *Cc:* Kannel users users@kannel.org
 *Sent:* Fri, June 18, 2010 1:09:13 PM
 *Subject:* Re: Kannel as an SMSC



 Hi Mohamed,



 You can use SMPPbox with Kannel - it is an smpp server



 There is opensource one release by Rene Kluwen - you can find it here:
 https://svn.kannel.org/smppbox/trunk and it is supported by regular
 community means (via this mailing list).

 OR

 Theres commercial smppbox created, maintained and supported by Stipe Tolj -
 in this case you need to contact him directly regarding pricing and
 availability.



 Regards,

   Konstantin



 On Fri, Jun 18, 2010 at 3:57 PM, Mohamed Ould Mohamed Salem 
 medms...@yahoo.fr wrote:

 Hello everyone,

 I want to connect my kannel box with another sms gateway via SMPP, with
 neither of them being an smsc, is there a way to do this with kannel.
 If not, can kannel act as an smsc?


 Yours,
 Mohamed
















Scheduling Question

2010-06-20 Thread T.K.Thapa
Hello, 

Does kannel bearerbox,smsbox or sqlbox support scheduling of messages? If yes 
how?

Regards
Tapan Thapa




Re: Mask shorcode and reply to number

2010-06-20 Thread Sergio Gabriel Gallegos
Maybe raise bad stage, I need to send an MT with an alphabetical origin, but
if the user wants the option to reply in response, I require tagging me a
numerical answer, not the alphanumeric, as a similar analogy when sending an
e-mail with an origin (from) and a different recipient (reply-to), where
source would offer and the reply is sent to the 9696, I hope that my need
to be explained more clearly. thanks for your support

2010/6/18 Rene Kluwen rene.klu...@chimit.nl

 Apologies for the dubbel post.
 Also, still, people won't be able to reply.

 == Rene

 -Original Message-
 From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
 Of Rene Kluwen
 Sent: zaterdag 19 juni 2010 0:23
 To: 'Alvaro Cornejo'
 Cc: users@kannel.org
 Subject: RE: Mask shorcode and reply to number

 I think the maximum length of an alphanumeric sender ID is 11 characters?
 But maybe I am wrong.

 == Rene

 -Original Message-
 From: Alvaro Cornejo [mailto:cornejo.alv...@gmail.com]
 Sent: vrijdag 18 juni 2010 23:19
 To: Rene Kluwen
 Cc: Sergio Gabriel Gallegos; users@kannel.org
 Subject: Re: Mask shorcode and reply to number

 maybe Offers (9696)  ?

 |---
 --|
 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, Jun 18, 2010 at 1:47 PM, Rene Kluwen rene.klu...@chimit.nl
 wrote:
  Either you specify 9696 in “from=” or Offers. You cannot do both at the
 same
  time.
 
  Maybe you can start with “Offers” in your SMS, if that is an option for
 you.
 
 
 
  == Rene
 
 
 
  From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On
 Behalf
  Of Sergio Gabriel Gallegos
  Sent: vrijdag 18 juni 2010 16:30
  To: users@kannel.org
  Subject: Mask shorcode and reply to number
 
 
 
  I wish put mask  at shortcode ( 9696 ) maybe Offer , but if the user
 want
  reply i wish he sending the message at 9696 not at Offers , now sending
  the mask Offers is this :
 

 usr=.USER.pwd=.PASSWORD.from=Ofersto=123456789012text=Promotionssms
 c=transmitter;
  but when recieve the MT in the mobil and the user want reply appear
 Offers
  not 9696 ,  how to i can make the user reply at my short code ?
 
  Thks










Re: Mask shorcode and reply to number

2010-06-20 Thread Milan P. Stanic
On Sun, 2010-06-20 at 05:05, Sergio Gabriel Gallegos wrote:
 Maybe raise bad stage, I need to send an MT with an alphabetical origin, but
 if the user wants the option to reply in response, I require tagging me a
 numerical answer, not the alphanumeric, as a similar analogy when sending an
 e-mail with an origin (from) and a different recipient (reply-to), where
 source would offer and the reply is sent to the 9696, I hope that my need
 to be explained more clearly. thanks for your support

SMPP (or any SMS protocol) does not work like SMTP (unfortunately).
I would like to be corrected but I think that is not possible.

iBur, if you allowed to send alphanumerics in from field you could try
something like '9696 Offer' and try to answer from the phone to see what
will happen. Just an idea which I would like to try myself but I don't
have access to SMSC which allows me to send alphanumerics in from field.

 2010/6/18 Rene Kluwen rene.klu...@chimit.nl
  Apologies for the dubbel post.
  Also, still, people won't be able to reply.

  -Original Message-
  From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
  Of Rene Kluwen
  Sent: zaterdag 19 juni 2010 0:23
  To: 'Alvaro Cornejo'
  Cc: users@kannel.org
  Subject: RE: Mask shorcode and reply to number
 
  I think the maximum length of an alphanumeric sender ID is 11 characters?
  But maybe I am wrong.
 
  == Rene
 
  -Original Message-
  From: Alvaro Cornejo [mailto:cornejo.alv...@gmail.com]
  Sent: vrijdag 18 juni 2010 23:19
  To: Rene Kluwen
  Cc: Sergio Gabriel Gallegos; users@kannel.org
  Subject: Re: Mask shorcode and reply to number
 
  maybe Offers (9696)  ?
 
  On Fri, Jun 18, 2010 at 1:47 PM, Rene Kluwen rene.klu...@chimit.nl
  wrote:
   Either you specify 9696 in “from=” or Offers. You cannot do both at the
  same
   time.
  
   Maybe you can start with “Offers” in your SMS, if that is an option for
  you.
  
   From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On
  Behalf
   Of Sergio Gabriel Gallegos
   Sent: vrijdag 18 juni 2010 16:30
   To: users@kannel.org
   Subject: Mask shorcode and reply to number
  
   I wish put mask  at shortcode ( 9696 ) maybe Offer , but if the user
  want
   reply i wish he sending the message at 9696 not at Offers , now sending
   the mask Offers is this :
 
  usr=.USER.pwd=.PASSWORD.from=Ofersto=123456789012text=Promotionssms
  c=transmitter;
   but when recieve the MT in the mobil and the user want reply appear
  Offers
   not 9696 ,  how to i can make the user reply at my short code ?

-- 
Kind regards,  Milan
--
Arvanta, IT Securityhttp://www.arvanta.net
Please do not send me e-mail containing HTML code.



Re: Mask shorcode and reply to number

2010-06-20 Thread Alejandro Guerrieri
You probably need to play with the TON and maybe NPI settings. Alphanumeric
is TON 5. I'm not sure about how to force the phone to answer numerically,
maybe the SMSC operator needs to change something on his/her side?

I'd start by setting source address TON with 5, and destination address TON
with whatever your SMSC operator gave you (probably 0 or 1). Anyway if you
don't succeed talk to them and tell them what you want to accomplish, they
might be able to help you.

Hope it helps,

Alex

On Sun, Jun 20, 2010 at 1:06 PM, Milan P. Stanic m...@arvanta.net wrote:

 On Sun, 2010-06-20 at 05:05, Sergio Gabriel Gallegos wrote:
  Maybe raise bad stage, I need to send an MT with an alphabetical origin,
 but
  if the user wants the option to reply in response, I require tagging me a
  numerical answer, not the alphanumeric, as a similar analogy when sending
 an
  e-mail with an origin (from) and a different recipient (reply-to), where
  source would offer and the reply is sent to the 9696, I hope that my
 need
  to be explained more clearly. thanks for your support

 SMPP (or any SMS protocol) does not work like SMTP (unfortunately).
 I would like to be corrected but I think that is not possible.

 iBur, if you allowed to send alphanumerics in from field you could try
 something like '9696 Offer' and try to answer from the phone to see what
 will happen. Just an idea which I would like to try myself but I don't
 have access to SMSC which allows me to send alphanumerics in from field.

  2010/6/18 Rene Kluwen rene.klu...@chimit.nl
   Apologies for the dubbel post.
   Also, still, people won't be able to reply.

   -Original Message-
   From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On
 Behalf
   Of Rene Kluwen
   Sent: zaterdag 19 juni 2010 0:23
   To: 'Alvaro Cornejo'
   Cc: users@kannel.org
   Subject: RE: Mask shorcode and reply to number
  
   I think the maximum length of an alphanumeric sender ID is 11
 characters?
   But maybe I am wrong.
  
   == Rene
  
   -Original Message-
   From: Alvaro Cornejo [mailto:cornejo.alv...@gmail.com]
   Sent: vrijdag 18 juni 2010 23:19
   To: Rene Kluwen
   Cc: Sergio Gabriel Gallegos; users@kannel.org
   Subject: Re: Mask shorcode and reply to number
  
   maybe Offers (9696)  ?
  
   On Fri, Jun 18, 2010 at 1:47 PM, Rene Kluwen rene.klu...@chimit.nl
   wrote:
Either you specify 9696 in “from=” or Offers. You cannot do both at
 the
   same
time.
   
Maybe you can start with “Offers” in your SMS, if that is an option
 for
   you.
   
From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On
   Behalf
Of Sergio Gabriel Gallegos
Sent: vrijdag 18 juni 2010 16:30
To: users@kannel.org
Subject: Mask shorcode and reply to number
   
I wish put mask  at shortcode ( 9696 ) maybe Offer , but if the
 user
   want
reply i wish he sending the message at 9696 not at Offers , now
 sending
the mask Offers is this :
  
  
 usr=.USER.pwd=.PASSWORD.from=Ofersto=123456789012text=Promotionssms
   c=transmitter;
but when recieve the MT in the mobil and the user want reply appear
   Offers
not 9696 ,  how to i can make the user reply at my short code ?

 --
 Kind regards,  Milan
 --
 Arvanta, IT Securityhttp://www.arvanta.net
 Please do not send me e-mail containing HTML code.




Re: Mask shorcode and reply to number

2010-06-20 Thread Milan P. Stanic
On Sun, 2010-06-20 at 13:14, Alejandro Guerrieri wrote:
 You probably need to play with the TON and maybe NPI settings. Alphanumeric
 is TON 5. I'm not sure about how to force the phone to answer numerically,
 maybe the SMSC operator needs to change something on his/her side?
 
 I'd start by setting source address TON with 5, and destination address TON
 with whatever your SMSC operator gave you (probably 0 or 1). Anyway if you
 don't succeed talk to them and tell them what you want to accomplish, they
 might be able to help you.

I know all that but the SMSC providers does *not allows* me to send
alphanumerics. :(
 
 Hope it helps,
 
 Alex
 
 On Sun, Jun 20, 2010 at 1:06 PM, Milan P. Stanic m...@arvanta.net wrote:
 
  On Sun, 2010-06-20 at 05:05, Sergio Gabriel Gallegos wrote:
   Maybe raise bad stage, I need to send an MT with an alphabetical origin,
  but
   if the user wants the option to reply in response, I require tagging me a
   numerical answer, not the alphanumeric, as a similar analogy when sending
  an
   e-mail with an origin (from) and a different recipient (reply-to), where
   source would offer and the reply is sent to the 9696, I hope that my
  need
   to be explained more clearly. thanks for your support
 
  SMPP (or any SMS protocol) does not work like SMTP (unfortunately).
  I would like to be corrected but I think that is not possible.
 
  iBur, if you allowed to send alphanumerics in from field you could try
  something like '9696 Offer' and try to answer from the phone to see what
  will happen. Just an idea which I would like to try myself but I don't
  have access to SMSC which allows me to send alphanumerics in from field.
 
   2010/6/18 Rene Kluwen rene.klu...@chimit.nl
Apologies for the dubbel post.
Also, still, people won't be able to reply.
 
-Original Message-
From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On
  Behalf
Of Rene Kluwen
Sent: zaterdag 19 juni 2010 0:23
To: 'Alvaro Cornejo'
Cc: users@kannel.org
Subject: RE: Mask shorcode and reply to number
   
I think the maximum length of an alphanumeric sender ID is 11
  characters?
But maybe I am wrong.
   
== Rene
   
-Original Message-
From: Alvaro Cornejo [mailto:cornejo.alv...@gmail.com]
Sent: vrijdag 18 juni 2010 23:19
To: Rene Kluwen
Cc: Sergio Gabriel Gallegos; users@kannel.org
Subject: Re: Mask shorcode and reply to number
   
maybe Offers (9696)  ?
   
On Fri, Jun 18, 2010 at 1:47 PM, Rene Kluwen rene.klu...@chimit.nl
wrote:
 Either you specify 9696 in “from=” or Offers. You cannot do both at
  the
same
 time.

 Maybe you can start with “Offers” in your SMS, if that is an option
  for
you.

 From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On
Behalf
 Of Sergio Gabriel Gallegos
 Sent: vrijdag 18 juni 2010 16:30
 To: users@kannel.org
 Subject: Mask shorcode and reply to number

 I wish put mask  at shortcode ( 9696 ) maybe Offer , but if the
  user
want
 reply i wish he sending the message at 9696 not at Offers , now
  sending
 the mask Offers is this :
   
   
  usr=.USER.pwd=.PASSWORD.from=Ofersto=123456789012text=Promotionssms
c=transmitter;
 but when recieve the MT in the mobil and the user want reply appear
Offers
 not 9696 ,  how to i can make the user reply at my short code ?
 
  --
  Kind regards,  Milan
  --
  Arvanta, IT Securityhttp://www.arvanta.net
  Please do not send me e-mail containing HTML code.
 
 

-- 
Kind regards,  Milan
--
Arvanta, IT Securityhttp://www.arvanta.net
Please do not send me e-mail containing HTML code.



Re: Too long password

2010-06-20 Thread sangprabv
It should be in smsc_smpp.c


sangprabv
sangpr...@gmail.com


On Jun 20, 2010, at 3:23 PM, hafez ahmad wrote:

 Dears,
 
 I get the following error when I try to connect my SMPP connection, my 
 password is 9 chars
 
 2010-06-20 10:52:19 [4228] [38] WARNING: SMPP: PDU element password too 
 long (length is 9, should be 8)
 
 and I know that the SMPP allows 8 chars + the null char as terminator, I 
 called my provider and they need 3 working days to change the password :/ 
 
 is there any patch or anything I can do from my side to fix the problem.
 
 
 Regards,
 -- 
 Hafez A.Ahmad
 Amman-Jordan
 mobile: 962-795708728
 http://blog.hafezadnan.com



Re: Scheduling Question

2010-06-20 Thread sangprabv
Quick and dirty way is patch the query in the sqlbox source code.



sangprabv
sangpr...@gmail.com


On Jun 20, 2010, at 4:15 PM, T.K.Thapa wrote:

 Hello, 
 
 Does kannel bearerbox,smsbox or sqlbox support scheduling of messages? If yes 
 how?
 
 Regards
 Tapan Thapa
 



RE: Scheduling Question

2010-06-20 Thread Rene Kluwen
Yes, sqlbox does scheduling of writing with a simple (1-line) patch.

 

You can find it on the mailinglist, but to facilitate your search, here it
is again:

 

in gw/sqlbox_mysql.h

  something like:

  SELECT sql_id, momt, sender, receiver, udhdata, \
msgdata, time, smsc_id, service, account, id, sms_type, mclass, mwi, coding,
\
compress, validity, deferred, dlr_mask, dlr_url, pid, alt_dcs, rpi, \
charset, boxc_id, binfo, meta_data FROM %S WHERE time 
UNIX_TIMESTAMP(NOW()) LIMIT 0,1

 

== Rene

 

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of sangprabv
Sent: zondag 20 juni 2010 16:04
To: T.K.Thapa
Cc: users@kannel.org
Subject: Re: Scheduling Question

 

Quick and dirty way is patch the query in the sqlbox source code.

 

 

 

sangprabv
sangpr...@gmail.com




 

On Jun 20, 2010, at 4:15 PM, T.K.Thapa wrote:






Hello, 

Does kannel bearerbox,smsbox or sqlbox support scheduling of messages? If
yes how?

Regards
Tapan Thapa

 

 



Re: Too long password

2010-06-20 Thread Alan McNatty
Hi Hafez,

I have had this problem too - best solution is to get them to reissue a
password of correct length. But if you have to .. check the source file
gw/smsc/smpp_pdu.def I believe all that would be required is to change
the size definition (I'll leave it to you to test, etc). The current
settings are all as per the SMPP 3.4 specification - the provider, if
they have given you an SMPP connection should conform to the SMPP
specification.

Cheers,
Alan

e.g upping the limit to a null terminated string of length 10

cvs diff: Diffing .
Index: smpp_pdu.def
===
RCS file: /home/cvs/gateway/gw/smsc/smpp_pdu.def,v
retrieving revision 1.13
diff -u -w -b -B -r1.13 smpp_pdu.def
--- smpp_pdu.def12 Jan 2009 16:46:51 -1.13
+++ smpp_pdu.def20 Jun 2010 21:27:50 -
@@ -122,7 +122,7 @@
 0x0002,
 HEADER
 NULTERMINATED(system_id, 16)
-NULTERMINATED(password, 9)
+NULTERMINATED(password, 10)
 NULTERMINATED(system_type, 13)
 INTEGER(interface_version, 1)
 INTEGER(addr_ton, 1)
@@ -143,7 +143,7 @@
 0x0001,
 HEADER
 NULTERMINATED(system_id, 16)
-NULTERMINATED(password, 9)
+NULTERMINATED(password, 10)
 NULTERMINATED(system_type, 13)
 INTEGER(interface_version, 1)
 INTEGER(addr_ton, 1)
@@ -164,7 +164,7 @@
 0x0009,
 HEADER
 NULTERMINATED(system_id, 16)
-NULTERMINATED(password, 9)
+NULTERMINATED(password, 10)
 NULTERMINATED(system_type, 13)
 INTEGER(interface_version, 1)
 INTEGER(addr_ton, 1)
@@ -185,7 +185,7 @@
 0x000B,
 HEADER
 NULTERMINATED(system_id, 16)
-NULTERMINATED(password, 9)
+NULTERMINATED(password, 10)
 )
 
 PDU(unbind,


On 20/06/10 20:23, hafez ahmad wrote:
 Dears,

 I get the following error when I try to connect my SMPP connection, my
 password is 9 chars

 2010-06-20 10:52:19 [4228] [38] WARNING: SMPP: PDU element password
 too long (length is 9, should be 8)

 and I know that the SMPP allows 8 chars + the null char as terminator,
 I called my provider and they need 3 working days to change the
 password :/

 is there any patch or anything I can do from my side to fix the problem.


 Regards,
 -- 
 Hafez A.Ahmad
 Amman-Jordan
 mobile: 962-795708728
 http://blog.hafezadnan.com



Re: Scheduling Question

2010-06-20 Thread sangprabv
Agree with Rene but keep in mind by using that query for a high load system 
will reduce the speed since there will be overhead.


sangprabv
sangpr...@gmail.com


On Jun 21, 2010, at 12:41 AM, Rene Kluwen wrote:

 Yes, sqlbox does scheduling of writing with a simple (1-line) patch.
  
 You can find it on the mailinglist, but to facilitate your search, here it is 
 again:
  
 in gw/sqlbox_mysql.h
   something like:
   SELECT sql_id, momt, sender, receiver, udhdata, \
 msgdata, time, smsc_id, service, account, id, sms_type, mclass, mwi, coding, \
 compress, validity, deferred, dlr_mask, dlr_url, pid, alt_dcs, rpi, \
 charset, boxc_id, binfo, meta_data FROM %S WHERE time  UNIX_TIMESTAMP(NOW()) 
 LIMIT 0,1
 
  
 == Rene
  
 From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of 
 sangprabv
 Sent: zondag 20 juni 2010 16:04
 To: T.K.Thapa
 Cc: users@kannel.org
 Subject: Re: Scheduling Question
  
 Quick and dirty way is patch the query in the sqlbox source code.
  
  
  
 sangprabv
 sangpr...@gmail.com
 
 
  
 On Jun 20, 2010, at 4:15 PM, T.K.Thapa wrote:
 
 
 Hello, 
 
 Does kannel bearerbox,smsbox or sqlbox support scheduling of messages? If yes 
 how?
 
 Regards
 Tapan Thapa
  
  



RE: Scheduling Question

2010-06-20 Thread T.K.Thapa
Hello,

I have seen the same feature requested by many users. Can't we have the same by 
default in source code of sqlbox and put the query in configuration file.

Regards
Tapan Thapa

--- On Sun, 20/6/10, Rene Kluwen rene.klu...@chimit.nl wrote:

From: Rene Kluwen rene.klu...@chimit.nl
Subject: RE: Scheduling Question
To: 'sangprabv' sangpr...@gmail.com, 'T.K.Thapa' 
tapan_thapa2...@yahoo.com
Cc: users@kannel.org
Date: Sunday, 20 June, 2010, 11:11 PM




 
 






Yes, sqlbox does scheduling of writing with a simple (1-line)
patch. 

   

You can find it on the mailinglist, but to facilitate your
search, here it is again: 

   

in gw/sqlbox_mysql.h 

  something
like: 

  SELECT
sql_id, momt, sender, receiver, udhdata, \

msgdata, time, smsc_id, service, account, id, sms_type, mclass, mwi, coding, \

compress, validity, deferred, dlr_mask, dlr_url, pid, alt_dcs, rpi, \

charset, boxc_id, binfo, meta_data FROM %S WHERE time 
UNIX_TIMESTAMP(NOW()) LIMIT 0,1 

   

== Rene 

   





From:
users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of 
sangprabv

Sent: zondag 20 juni 2010 16:04

To: T.K.Thapa

Cc: users@kannel.org

Subject: Re: Scheduling Question 





   

Quick and dirty way is patch the query in the sqlbox source
code. 



   





   





   



sangprabv

sangpr...@gmail.com





 



   





On Jun 20, 2010, at 4:15 PM, T.K.Thapa wrote: 







 


 
  
  Hello, 

  

  Does kannel bearerbox,smsbox or sqlbox support scheduling of messages? If yes
  how?

  

  Regards

  Tapan Thapa 
  
 


   



   





 





RE: Scheduling Question

2010-06-20 Thread T.K.Thapa
Hello,

Two more questions:

1. Can sqlbox submit sms to bearerbox at a configurable rate? Lets say 5 
message per second so that no queue is built at bearerbox for particular smsc.
2. If there is a queue at bearerbox (particular smsc), lets say 100 then till 
the time queue come down to less than 100, sqlbox do not push further messages 
to that particular smsc.

Regards
Tapan Thapa

--- On Mon, 21/6/10, T.K.Thapa tapan_thapa2...@yahoo.com wrote:

From: T.K.Thapa tapan_thapa2...@yahoo.com
Subject: RE: Scheduling Question
To: Rene Kluwen rene.klu...@chimit.nl
Cc: Kannel list users@kannel.org
Date: Monday, 21 June, 2010, 9:37 AM

Hello,

I have seen the same feature requested by many users. Can't we have the same by 
default in source code of sqlbox and put the query in configuration file.

Regards
Tapan Thapa

--- On Sun, 20/6/10, Rene Kluwen rene.klu...@chimit.nl wrote:

From: Rene Kluwen rene.klu...@chimit.nl
Subject: RE: Scheduling Question
To: 'sangprabv' sangpr...@gmail.com, 'T.K.Thapa' 
tapan_thapa2...@yahoo.com
Cc: users@kannel.org
Date: Sunday, 20 June, 2010, 11:11 PM




 
 






Yes, sqlbox does scheduling of writing with a simple (1-line)
patch. 

   

You can find it on the mailinglist, but to facilitate your
search, here it is again: 

   

in gw/sqlbox_mysql.h 

  something
like: 

  SELECT
sql_id, momt, sender, receiver, udhdata, \

msgdata, time, smsc_id, service, account, id, sms_type, mclass, mwi, coding, \

compress, validity, deferred, dlr_mask, dlr_url, pid, alt_dcs, rpi, \

charset, boxc_id, binfo, meta_data FROM %S WHERE time 
UNIX_TIMESTAMP(NOW()) LIMIT 0,1 

   

== Rene 

   





From:
users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of 
sangprabv

Sent: zondag 20 juni 2010 16:04

To: T.K.Thapa

Cc: users@kannel.org

Subject: Re: Scheduling Question 





   

Quick and dirty way is patch the query in the sqlbox source
code. 



   





   





   



sangprabv

sangpr...@gmail.com





 



   





On Jun 20, 2010, at 4:15 PM, T.K.Thapa wrote: 







 


 
  
  Hello, 

  

  Does kannel bearerbox,smsbox or sqlbox support scheduling of messages? If yes
  how?

  

  Regards

  Tapan Thapa 
  
 


   



   





 






RE: Scheduling Question

2010-06-20 Thread T.K.Thapa
Hello,

Two more questions:

1. Can sqlbox submit sms to bearerbox at a configurable rate? Lets say 5 
message per second so that no queue is built at bearerbox for particular smsc.
2. If there is a queue at bearerbox (particular smsc), lets say 100 then till 
the time queue come down to less than 100, sqlbox do not push further messages 
to that particular smsc.

Regards
Tapan Thapa

--- On Mon, 21/6/10, T.K.Thapa tapan_thapa2...@yahoo.com wrote:

From: T.K.Thapa tapan_thapa2...@yahoo.com
Subject: RE: Scheduling Question
To: Rene Kluwen rene.klu...@chimit.nl
Cc: Kannel list users@kannel.org
Date: Monday, 21 June, 2010, 9:37 AM

Hello,

I have seen the same feature requested by many users. Can't we have the same by 
default in source code of sqlbox and put the query in configuration file.

Regards
Tapan Thapa

--- On Sun, 20/6/10, Rene Kluwen rene.klu...@chimit.nl wrote:

From: Rene Kluwen rene.klu...@chimit.nl
Subject: RE: Scheduling Question
To: 'sangprabv' sangpr...@gmail.com, 'T.K.Thapa' 
tapan_thapa2...@yahoo.com
Cc: users@kannel.org
Date: Sunday, 20 June, 2010, 11:11 PM




 
 






Yes, sqlbox does scheduling of writing with a simple (1-line)
patch. 

   

You can find it on the mailinglist, but to facilitate your
search, here it is again: 

   

in gw/sqlbox_mysql.h 

  something
like: 

  SELECT
sql_id, momt, sender, receiver, udhdata, \

msgdata, time, smsc_id, service, account, id, sms_type, mclass, mwi, coding, \

compress, validity, deferred, dlr_mask, dlr_url, pid, alt_dcs, rpi, \

charset, boxc_id, binfo, meta_data FROM %S WHERE time 
UNIX_TIMESTAMP(NOW()) LIMIT 0,1 

   

== Rene 

   





From:
users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of 
sangprabv

Sent: zondag 20 juni 2010 16:04

To: T.K.Thapa

Cc: users@kannel.org

Subject: Re: Scheduling Question 





   

Quick and dirty way is patch the query in the sqlbox source
code. 



   





   





   



sangprabv

sangpr...@gmail.com





 



   





On Jun 20, 2010, at 4:15 PM, T.K.Thapa wrote: 







 


 
  
  Hello, 

  

  Does kannel bearerbox,smsbox or sqlbox support scheduling of messages? If yes
  how?

  

  Regards

  Tapan Thapa 
  
 


   



   





 






Re: Scheduling Question

2010-06-20 Thread sangprabv
You can use throughput directive. 


sangprabv
sangpr...@gmail.com


On Jun 21, 2010, at 12:02 PM, T.K.Thapa wrote:

 Hello,
 
 Two more questions:
 
 1. Can sqlbox submit sms to bearerbox at a configurable rate? Lets say 5 
 message per second so that no queue is built at bearerbox for particular smsc.
 2. If there is a queue at bearerbox (particular smsc), lets say 100 then till 
 the time queue come down to less than 100, sqlbox do not push further 
 messages to that particular smsc.
 
 Regards
 Tapan Thapa
 
 --- On Mon, 21/6/10, T.K.Thapa tapan_thapa2...@yahoo.com wrote:
 
 From: T.K.Thapa tapan_thapa2...@yahoo.com
 Subject: RE: Scheduling Question
 To: Rene Kluwen rene.klu...@chimit.nl
 Cc: Kannel list users@kannel.org
 Date: Monday, 21 June, 2010, 9:37 AM
 
 Hello,
 
 I have seen the same feature requested by many users. Can't we have the same 
 by default in source code of sqlbox and put the query in configuration file.
 
 Regards
 Tapan Thapa
 
 --- On Sun, 20/6/10, Rene Kluwen rene.klu...@chimit.nl wrote:
 
 From: Rene Kluwen rene.klu...@chimit.nl
 Subject: RE: Scheduling Question
 To: 'sangprabv' sangpr...@gmail.com, 'T.K.Thapa' 
 tapan_thapa2...@yahoo.com
 Cc: users@kannel.org
 Date: Sunday, 20 June, 2010, 11:11 PM
 
 Yes, sqlbox does scheduling of writing with a simple (1-line) patch.
 
  
 You can find it on the mailinglist, but to facilitate your search, here it is 
 again:
 
  
 in gw/sqlbox_mysql.h
 
   something like:
 
   SELECT sql_id, momt, sender, receiver, udhdata, \
 msgdata, time, smsc_id, service, account, id, sms_type, mclass, mwi, coding, \
 compress, validity, deferred, dlr_mask, dlr_url, pid, alt_dcs, rpi, \
 charset, boxc_id, binfo, meta_data FROM %S WHERE time  UNIX_TIMESTAMP(NOW()) 
 LIMIT 0,1
 
  
 == Rene
 
  
 From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of 
 sangprabv
 Sent: zondag 20 juni 2010 16:04
 To: T.K.Thapa
 Cc: users@kannel.org
 Subject: Re: Scheduling Question
 
  
 Quick and dirty way is patch the query in the sqlbox source code.
 
  
  
  
 sangprabv
 sangpr...@gmail.com
 
 
 
  
 On Jun 20, 2010, at 4:15 PM, T.K.Thapa wrote:
 
 
 
 Hello, 
 
 Does kannel bearerbox,smsbox or sqlbox support scheduling of messages? If yes 
 how?
 
 Regards
 Tapan Thapa
 
  
  
 
 



Re: Scheduling Question

2010-06-20 Thread sangprabv
Alex is developing the feature, keep watching and contribute to the community :)



sangprabv
sangpr...@gmail.com


On Jun 21, 2010, at 11:07 AM, T.K.Thapa wrote:

 Hello,
 
 I have seen the same feature requested by many users. Can't we have the same 
 by default in source code of sqlbox and put the query in configuration file.
 
 Regards
 Tapan Thapa
 
 --- On Sun, 20/6/10, Rene Kluwen rene.klu...@chimit.nl wrote:
 
 From: Rene Kluwen rene.klu...@chimit.nl
 Subject: RE: Scheduling Question
 To: 'sangprabv' sangpr...@gmail.com, 'T.K.Thapa' 
 tapan_thapa2...@yahoo.com
 Cc: users@kannel.org
 Date: Sunday, 20 June, 2010, 11:11 PM
 
 Yes, sqlbox does scheduling of writing with a simple (1-line) patch.
 
  
 You can find it on the mailinglist, but to facilitate your search, here it is 
 again:
 
  
 in gw/sqlbox_mysql.h
 
   something like:
 
   SELECT sql_id, momt, sender, receiver, udhdata, \
 msgdata, time, smsc_id, service, account, id, sms_type, mclass, mwi, coding, \
 compress, validity, deferred, dlr_mask, dlr_url, pid, alt_dcs, rpi, \
 charset, boxc_id, binfo, meta_data FROM %S WHERE time  UNIX_TIMESTAMP(NOW()) 
 LIMIT 0,1
 
  
 == Rene
 
  
 From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of 
 sangprabv
 Sent: zondag 20 juni 2010 16:04
 To: T.K.Thapa
 Cc: users@kannel.org
 Subject: Re: Scheduling Question
 
  
 Quick and dirty way is patch the query in the sqlbox source code.
 
  
  
  
 sangprabv
 sangpr...@gmail.com
 
 
 
  
 On Jun 20, 2010, at 4:15 PM, T.K.Thapa wrote:
 
 
 
 Hello, 
 
 Does kannel bearerbox,smsbox or sqlbox support scheduling of messages? If yes 
 how?
 
 Regards
 Tapan Thapa