Adding/removing a prefix

2011-07-01 Thread Garth Patil
Hi, I'm trying to understand the functionality of the 'unified-prefix' parameter in the 'smsc' group configuration. Here is what I'm trying to acheive: - For a destination number of '+12125551212' when receiving messages from smsbox, I'd like the SMSC connection to use '2125551212', because this

Re: Dlr-url

2011-06-01 Thread Garth Patil
at 10:27 PM, mathiyalakan mathi mathiyalaka...@gmail.com wrote: without the database  possible to store the send sms details in logfile? On Wed, Jun 1, 2011 at 10:34 AM, Garth Patil garthpa...@gmail.com wrote: You need to compile Kannel with mysql support. Something like this: ./configure

Re: Dlr-url

2011-05-31 Thread Garth Patil
I have a java library you can use: https://github.com/garthpatil/kannel-java The sendsms functionality is here: https://github.com/garthpatil/kannel-java/tree/master/sms You can use it like this: // Make an SMS Sms sms = new Sms(); sms.setUsername(username); sms.setPassword(password);

Re: Dlr-url

2011-05-31 Thread Garth Patil
! On Wed, Jun 1, 2011 at 10:16 AM, Garth Patil garthpa...@gmail.com wrote: I have a java library you can use: https://github.com/garthpatil/kannel-java The sendsms functionality is here: https://github.com/garthpatil/kannel-java/tree/master/sms You can use it like this: // Make an SMS Sms

Behavior of multiple binds with the same smsc-id

2011-05-26 Thread Garth Patil
Hi All, I have a question I was unable to reconcile from the documentation regarding the behavior of multiple binds with the same smsc-id. I have 2 pairs of TX an RX binds, with each pair connected to different data centers of the same operator. If I assign the same smsc-id to all 4 binds, what is

SMPP over SSL

2011-04-26 Thread Garth Patil
Hi, I'm unable to find documentation in the User Guide on how to set up SMPP to use SSL. The only indication is in the configuration section: use-ssl boolDefines whether we should try to bind with SSL enabled connection. However, I can't find where to specify the certificate to use

Re: NoSQL and Kannel

2011-03-24 Thread Garth Patil
I have written DLR storage adapters for Redis, Memcache and Tokyo Tyrant, but these were for consulting and are not open source. I will check to see if any of the customers will allow them to be published. However, they were fairly trivial to implement using the gw/dlr_* sources as a template.

[ANN] kannel-java libraries

2011-03-15 Thread Garth Patil
Hi all, I've posted a set of Java libraries I built for Kannel on Github. I thought it would be useful to share these with the community of Java developers that use Kannel. You can find them here: https://github.com/garthpatil/kannel-java These are currently focused on the SMS functionality of

Re: SMPP Test Tool

2011-03-07 Thread Garth Patil
http://opensmpp.logica.com/CommonPart/Download/download2.html The Logica SMPP simulator (written in Java) is simple and easy to customize to act like an operator SMSC. On Mon, Mar 7, 2011 at 8:56 PM, JAmes jam...@gmail.com wrote: Hi, I am looking for a SMPP Test tool to act as a SMSC and send

Re: Slow incoming messages from SMSC

2011-02-27 Thread Garth Patil
Have you set the 'throughput' variable in the 'smsc' group? We have seen a problem where we have slow performance when the 'throughput' variable has not been set. On Sat, Feb 26, 2011 at 12:39 PM, zuser develop z.user.deve...@hotmail.com wrote: Hi all, I have an issue of being unable to

Re: Kannel Dlr Question

2011-02-01 Thread Garth Patil
The mysql dlr table suggested in the documentation by default does not have a timestamp. You can add a field to the table and then delete rows older than a certain date. The suggested table is something like this: # CREATE TABLE dlr ( # smsc varchar(40), # ts varchar(40), #

DLRs using the generic HTTP content gateway

2011-01-08 Thread Garth Patil
Hi, I'm trying to use the generic system type with the HTTP content gateway (smsc = http, system-type = generic). The content gateway I am using provides a delivery report that is posted back to a specified URL. Is it possible for Kannel to be the endpoint for this delivery report, so that it can

Re: Kannel and Elite SMS Gateway and smppbox??

2010-11-09 Thread Garth Patil
http://kannel.org/license.shtml You can sell any part of the software distributed under the Kannel Software License as long as you abide by the conditions set forth in that document. And, unlike the GPL, you are not required to contribute your changes back to the project. If you are not familiar

Re: Associating a DLR with the original message

2010-10-28 Thread Garth Patil
This is the patch I used to get the id: --- gateway-1.4.3-orig/gw/smsbox.c2009-01-12 08:46:57.0 -0800 +++ gateway-1.4.3/gw/smsbox.c2009-08-26 14:08:50.0 -0700 @@ -192,11 +192,15 @@ switch (msg-ack.nack) { case ack_success: status = HTTP_ACCEPTED; -

Re: box protocol?

2010-10-11 Thread Garth Patil
Hi, Thanks for pointing me in the right direction. I have a question about a behavior I am seeing from the bearerbox. Let me know if this is better suited for the dev mailing list. # I receive a message like this from the bearerbox (initially sent by the fakesmsc): 00B1 0002  0003

Re: box protocol?

2010-10-11 Thread Garth Patil
- From: Garth Patil garthpa...@gmail.com To: Users mailing list users@kannel.org Sent: Tuesday, October 12, 2010 12:26 AM Subject: Re: box protocol? Hi, Thanks for pointing me in the right direction. I have a question about a behavior I am seeing from the bearerbox. Let me know

Re: box protocol?

2010-10-11 Thread Garth Patil
Sorry. I realized I was working from an out-of-date version of gw/msg-decl.h. I was missing some components of the message. Thanks, Garth On Mon, Oct 11, 2010 at 3:46 PM, Garth Patil garthpa...@gmail.com wrote: Is that true when the message is originating in the fakesmsc? My setup

supported replacement parameters in get-url versus dlr-url

2010-09-17 Thread Garth Patil
Hi, I'm trying to understand which replacement parameters are supported in the get-url versus the dlr-url. The documentation table doesn't seem to distinguish which parameters are actually available when using the get-url from an sms-service versus sending a DLR to the specified dlr-url. Is there

Re: Costs

2010-06-30 Thread Garth Patil
You have to go to each operator individually. The cost of an SMSC connection can vary widely based on the size of the operator, the traffic you plan to generate, and various partnership and business model constraints. For example, in the US, a bind to an operator's SMSC can run in the hundreds of

Re: configure isn't creating a make

2010-06-07 Thread Garth Patil
Is make installed? If configure exits without errors, and there is a file called Makefile now in that directory, your problem is probably that make isn't installed, not that configure isn't working. Learning how to build software is a question for a different mailing list. On Mon, Jun 7, 2010 at

Re: Multiple SMPP connection to one SMSC

2010-04-30 Thread Garth Patil
How does this work for receiver SMPP binds? If a listening port is dedicated to a single receiver bind, it seems like this would prohibit multiple binds for a single IP. 2010/4/30 Nikos Balkanas nbalka...@gmail.com: Yes, you can. Of course your provider has to support mutiple connections from

Re: Need Help Regarding Kannel Status URL's

2010-02-18 Thread Garth Patil
Posting multiple times to the list and to members individually is a really great way to have your question ignored. The log-level method is documented in the current release user guide. The add-smsc, and remove-smsc methods are documented in the user guide for the CVS version, as they were

Start bearerbox with an SMSC stopped?

2010-01-19 Thread Garth Patil
Hi all, Is it possible to start the bearerbox with an SMSC link stopped? I'd like to be able to bring up the bearerbox, and then bring each SMSC link up using the HTTP administration 'start-smsc' command. Is there any way to indicate in the configuration or otherwise that a given link, or all

Re: rejection of dlr-url field in CDATA

2009-10-25 Thread Garth Patil
address, which would also probably fail kannel as malformed. What you want to do is to use test1, but with dlr-url urlencoded. BR, Nikos - Original Message - From: Garth Patil garthpa...@gmail.com To: users@kannel.org Sent: Sunday, October 25, 2009 3:08 AM Subject: rejection of dlr

rejection of dlr-url field in CDATA

2009-10-24 Thread Garth Patil
Hi, I am trying to send a message to the smsbox using the XML format specified here (http://kannel.org/download/1.4.3/userguide-1.4.3/userguide.html#POSTXML). I have attached 2 example documents that should both work properly. The only difference is that the second one has the dlr-url element

Re: rejection of dlr-url field in CDATA

2009-10-24 Thread Garth Patil
)? I guess I can add another hack in get_tag() to deal with the CDATA problem, but it seems like it's worthwhile porting this to use a proper parser. Thanks, Garth On Sat, Oct 24, 2009 at 6:08 PM, Garth Patil garthpa...@gmail.com wrote: Hi, I am trying to send a message to the smsbox using the XML

Associating a DLR with the original message

2009-09-07 Thread Garth Patil
Hi, I'm trying to understand how to associate requests to the dlr-url with the original message. I have patched kannel (I'm using version 1.4.3) to return the SMS ID when a request is made to send a message to the smsbox. So a request that looks like this: [u...@localhost]$ curl

Re: Associating a DLR with the original message

2009-09-07 Thread Garth Patil
/sendsms?username=foopassword=barfrom=12345to=411212text=Hello+worlddlr-mask=31dlr-url=http://http://localhost:1234/dlr.cgi?id=my_internal_and_unique_message_id; BR, - Original Message - From: Garth Patil To: users@kannel.org Sent: 07 September 2009 22:36 Subject: Associating

Delivery reports as XML

2009-09-05 Thread Garth Patil
Hi, I have looked over the user guide and been unable to identify if there is a way to have Kannel send delivery reports using the XML format rather than the url templated format. For my services, I use the post-xml parameter to get the full XML (defined here:

Re: webgui based dashboard for kannel to perform FCAPS

2008-11-17 Thread Garth Patil
ditto. post it here if you're open sourcing it. /gp On Mon, Nov 17, 2008 at 6:03 AM, Eduardo Raad [EMAIL PROTECTED] wrote: I'm interested in testing it as well... Eduardo Sent from my BlackBerry(R) wireless device -Original Message- From: Ken Bellars [EMAIL PROTECTED] Date: Mon,

Re: Newbie Question - Interfacing Kannel to Cellphone Providers

2008-07-20 Thread Garth Patil
IP. Most use SMPP (http://en.wikipedia.org/wiki/Short_message_peer-to-peer_protocol). Additionally, many operators require some kind of VPN to encrypt the communication channel. In the US, if you aren't going to be sending millions of messages, go to an aggregator instead of directly to the

Re: Newbie Question - Interfacing Kannel to Cellphone Providers

2008-07-20 Thread Garth Patil
, does that mean I would be better served with something like Logica's OpenSMPP (http://opensmpp.logica.com/introhtml/menu.htm), or can Kannel also handle that? On Sun, Jul 20, 2008 at 5:43 PM, Garth Patil [EMAIL PROTECTED] wrote: IP. Most use SMPP (http://en.wikipedia.org/wiki/Short_message_peer

[OT] Network architecture/topology for large-scale Kannel deployment

2008-04-22 Thread Garth Patil
Hi All, This is somewhat off-topic, but I'm interested in hearing about how people are using Kannel in large-scale deployments. Particularly, if you are using Kannel with multiple operators for large amounts of your own traffic or as a gateway for others' traffic. By large amounts, I mean at least

Re: Kannel performance

2008-02-13 Thread Garth Patil
Can you share your conf files for kannel and apache so we can help you test? /Garth On Feb 13, 2008 3:32 PM, Stipe Tolj [EMAIL PROTECTED] wrote: Michael Bochkaryov schrieb: Hi! First try to test only apache performance without kannel. At least you'll be sure if it's apache+php problem or

XSD or DTD for POST XML?

2007-11-16 Thread Garth Patil
Hi, Is there a XSD or DTD for the XML defined here: http://www.kannel.org/download/1.4.1/userguide-1.4.1/userguide.html#POSTXML Thanks! Garth

sms-service v. routing

2007-11-15 Thread Garth Patil
Hi, I have a question regarding configuration for proxying messages between an operator SMSC and an internal HTTP service. I have the following requirements: - Receive an MO from the operator SMSC - Send the MO in the XML Post format

Re: sms-service v. routing

2007-11-15 Thread Garth Patil
block any MT responses? 2. Is there a better, or more correct way to do this? Thanks! Garth On Nov 15, 2007 7:05 PM, Garth Patil [EMAIL PROTECTED] wrote: Hi, I have a question regarding configuration for proxying messages between an operator SMSC and an internal HTTP service. I have