Re: Dynamic change of message i

2011-01-21 Thread Rudy
Hi Bob, How do you call http://localhost:13013/cgi-bin/sendsms in your script ? I use the following to call sendsms inside a php script: --- $url1 = "http://localhost:13013/cgi- bin/sendsms?username=rudy&password=abcd&text=STATUS&to="."$no_tel"

Delivery Report to log messages

2011-01-21 Thread Ige David O.
Hi all, I have installed smppbox and kannel on a server but we need the delivery report to also log messages in the dlr table. How do we go about it. Or if there another alternative to view sent, undelivered messages at real time when using kannel for realtime reporting purposes.

Re: How to set more than one metadata in the http request

2011-01-21 Thread Alejandro Guerrieri
Please ellaborate? Attach logs, examples, etc. Regards, Alex On Fri, Jan 21, 2011 at 8:40 AM, Kanchan K wrote: > Hi, > i need to set 2 optional paramanters in the send sms http request.Can > anybody suggest how to set the same in the url? > I have tried few combinations but only one is recogniz

Re: Dynamic change of message i

2011-01-21 Thread Bob O'Souna
Thanks Rudy - I think the problem is my sendsms-url If I leave my sendsms-url as /cgi-bin/sendsms and call my script on the UNIX command line, it works. Note that my script calls http://localhost:13013/cgi-bin/sendsms?username=me&password=pass&to=123456789&from=987654321&text=Test&dlr-mask=31 Onc

Re: Dynamic change of message i

2011-01-21 Thread Milan P. Stanic
On Fri, 2011-01-21 at 11:12, Bob O'Souna wrote: > Thanks Rudy - I think the problem is my sendsms-url > > If I leave my sendsms-url as /cgi-bin/sendsms and call my script on the UNIX > command line, it works. Note that my script calls > http://localhost:13013/cgi-bin/sendsms?username=me&password=p

Re: Dynamic change of message i

2011-01-21 Thread Bob O\'Souna
> If you want to send sms through Kannel you must use /cgi-bin/sendsms or > configure it in the smsbox group with the sendsms-url parameter. > > But, I see that your sendsms-url ends in .php so I think that you want > to use some PHP code to preprocess message and then (from that script) > send it

Re: Dynamic change of message i

2011-01-21 Thread Milan P. Stanic
On Fri, 2011-01-21 at 12:29, Bob O\'Souna wrote: > > If you want to send sms through Kannel you must use /cgi-bin/sendsms or > > configure it in the smsbox group with the sendsms-url parameter. > > > > But, I see that your sendsms-url ends in .php so I think that you want > > to use some PHP code

Special character set problem with Kannel

2011-01-21 Thread RamManohar
Hi, I am using kannel 1.4.3 for pushing bulk sms.Now i am getting a problem with special characters.i am sending my kannel configuration kindly check and give suggestion to resolve the issue. group=smsc smsc=smpp system-type=SMPP smsc-id=valuefirst allowed-smsc-id=valuefirst denied-smsc-id=nond

Re: Dynamic change of message i

2011-01-21 Thread Bob O'Souna
I think you have misunderstood me Inbound SMS -> (BearerBox - SMSBox) -> SMSC -> SendSMS The aim is to dyamically change the message being forwarded by SendSMS by using the script. I must therefore 1) change the SendSMS to a script or 2) modify Kannel to send the SMS using the default sendsm

Re: Dynamic change of message i

2011-01-21 Thread Milan P. Stanic
On Fri, 2011-01-21 at 13:09, Bob O'Souna wrote: > I think you have misunderstood me Looks like you are right. :-) > Inbound SMS -> (BearerBox - SMSBox) -> SMSC -> SendSMS > > The aim is to dyamically change the message being forwarded by SendSMS by > using > the script. I don't understand wh

Re: Dynamic change of message i

2011-01-21 Thread Bob O'Souna
Apologies - let me make the question crystal clear. I am receiving SMS's from another SMSC. The task is to receive these SMS's and forward them after changing the parameters of the SMS (i.e. append some commercial text, change the sender info etc) At the moment, I receive the SMS and retransmit w

Delete previous SMS

2011-01-21 Thread teknet8
Hello I have very simple functionality: i need to send SMS using my ISP CIMD2 connection: group = core admin-port = 13000 admin-allow-ip = "127.0.0.1" admin-deny-ip = "*.*.*.*" log-file = "/var/log/kannel/kannel.log" log-level = 5 access-log = "/var/log/kannel/access.log" smsbox-port = 13001 box-

Re: Dynamic change of message i

2011-01-21 Thread Milan P. Stanic
On Fri, 2011-01-21 at 13:37, Bob O'Souna wrote: > Apologies - let me make the question crystal clear. > > I am receiving SMS's from another SMSC. The task is to receive these SMS's and > forward them after changing the parameters of the SMS (i.e. append some > commercial text, change the sender in

Re: Dynamic change of message i

2011-01-21 Thread Rudy
Hi Bob, > Once I change sendsms-url to > http://localhost:13013/myscripts/sendctrlsms.php?, nothing works. Why are you calling "myscripts/sendctrlsms.php" with http://localhost:13013/myscripts/sendctrlsms.php? In your case, just call your script with http://localhost/myscripts/sendctrlsms.p

Re: How to set more than one metadata in the http request

2011-01-21 Thread Alejandro Guerrieri
You're using %3F to separate them, which is "?" where you should use "&". Your meta-data decodes as: ?smpp?session_info=00?service_op=2 Where it should be: ?smpp?session_info=00&service_op=2 Which is encoded as: %3Fsmpp%3Fsession_info%3D00%26service_op%3D2 Hope it helps, Alex On Fr

Re: Dynamic change of message i

2011-01-21 Thread Bob O\'Souna
Yes, I have Kannel connected to two SMSCs. Just to ensure we are on the same page, you are saying 1) Set the get-url in sms-service group that I receive the sms' to my script 2) Leave sendsms-url unchanged as /cgi-bin/sendsms (You also say I can add the smsc id parameter to /cgi-bin/sendsms if I

Re: Dynamic change of message i

2011-01-21 Thread Bob O\\\'Souna
This hasnt worked for me. What is the value of sendsms-url for you?

Re: Dynamic change of message i

2011-01-21 Thread Bob O\\\\\\\'Souna
I guess what I mean to say is if I make the /cgi-bin/sendsms call within the script, what do I set sendsms-url to?

Re: Dynamic change of message i

2011-01-21 Thread Bob O'Souna
By the way, 1) I just left sendsms-url to /cgi-bin/sendsms 2) I pointed get-url to my script. 3) my script sends the correct SMS format from the command line 4) The relay (ie they send an SMS to me, and then I pass the SMS on) simply does not work. This means the script is fine, but I am still

Re: Dynamic change of message i

2011-01-21 Thread Milan P. Stanic
On Fri, 2011-01-21 at 14:40, Bob O\'Souna wrote: > Yes, I have Kannel connected to two SMSCs. > > Just to ensure we are on the same page, you are saying > 1) Set the get-url in sms-service group that I receive the sms' to my script Yes, but I think you did that already. Example: http://localhos

Re: ERROR: Couldn't fetch dlr-url

2011-01-21 Thread Kazi M
Dear Nabble Users, I noticed that using above configuration ... i see that the delivery report is getting stored in the database but it is deleted immediately after inserting .. how can i retain this delivery report permanently in mysql database table. Any type of Help will be a great favour t