I am receiving SMS's (from CustomerABC into my 'inflow' SMSC). The task is to
receive these SMS's (via inflow) and forward them (via outflow) after changing
the parameters of the SMS (i.e. append some commercial text etc)
At the moment, I receive the SMS from CustomerABC and retransmit (i.e
Again you dont paste the complete conf file :)
Core group includes the log-file parameter in order to log what happen with
bearerbox. Your defined URL in sms-service will leave traces after bearerbox
receives the MO SMS, whether its accessible or not (you may see could not
fetch... error
Apologies - here is the complete conf
group=core
admin-port=13009
admin-password=myadmin
status-password=myadmin
admin-allow-ip=127.0.0.1;200.100.0.*;*.*.*.*
smsbox-port=13006
box-allow-ip=*.*.*.*
log-file=/var/log/kannel/kannel.log
log-level=0
access-log=/etc/kannel.access
On Sun, 2011-01-23 at 16:52, Bob O'Souna wrote:
Thanks Milan - but I am not sure your response is apt here. I have read the
manual and have managed to get Kannel to send MT messages. I can also reroute
the inbound SMS to another SMSC. My problem is in trapping the incoming SMS
and
then
Milan, apologies if offended. This has never been my aim.
I have been on this matter for days at a time, and I cannot get Kannel to do
EXACTLY what I want.
I will go through things again and post my findings as clear cut as humanly
possible. Please watch out for my post much later today.
On Sat, 2011-01-22 at 17:09, Bob O'Souna wrote:
Set the get-url in sms-service group over which you receive sms to
point to your script.
Do whatever you want with the received sms and then send it to the
Kannel via (default, or change it if you prefer) sendsms-url
(/cgi-bin/sendsms).
I
Thanks Milan - but I am not sure your response is apt here. I have read the
manual and have managed to get Kannel to send MT messages. I can also reroute
the inbound SMS to another SMSC. My problem is in trapping the incoming SMS and
then sending out a manipulated SMS. The guide certainly does not
Set the get-url in sms-service group over which you receive sms to
point to your script.
Do whatever you want with the received sms and then send it to the
Kannel via (default, or change it if you prefer) sendsms-url
(/cgi-bin/sendsms).
I have read these lines at least 1000 times and I am
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=rudypassword=abcdtext=STATUSto=.$no_tel;
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=mepassword=passto=123456789from=987654321text=Testdlr-mask=31
Once I
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
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 to
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 to
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 sendsms
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 what you
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
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 info
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.php
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
This hasnt worked for me. What is the value of sendsms-url for you?
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
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:
I have Kannel configured properly and can send SMS`s via 2 separate SNSC`s. I
now need to capture an inbound SMS and based on several parameters of the
inbound SMS, send an outbound SMS.
I think I should be able to do this in my own script and replace the
http://localhost:13013/cgi-bin/sendsms
23 matches
Mail list logo