In bearerbox.log:
2005-02-28 10:40:51 [907] [12] DEBUG: send_msg: sending msg to boxc: <default>
2005-02-28 10:40:51 [907] [12] DEBUG: boxc_sender: sent message to <127.0.0.1>
In smsbox.log:
2005-02-28 10:40:51 [908] [4] INFO: Starting to service <HI> from <2125551212> to
<12345>
[...now we generate a message based on that service in a PHP script that is
called as the default sms action, so this would be separate...]
2005-02-28 10:40:51 [908] [3] INFO: smsbox: Got HTTP request </cgi-bin/sendsms> from
<123.45.123.123>
2005-02-28 10:40:51 [908] [3] INFO: sendsms used by <smsc1>
2005-02-28 10:40:51 [908] [3] INFO: sendsms sender:<smsc1:12345> (123.45.123.123)
to:<2125551212> msg:<Thanks for texting us the word hi. We feel happy now that you've
acknowledged our existence. Have a nice day!>
Make sure you have this somewhere in your config:
group = smsbox-route
smsbox-id = default
smsc-ids = smsc1;smsc2;smsc3
replacing the smsc-ids with yours
This will "route" incoming messages to your smsbox named "default" (you may
have named your smsbox differently, use your smsbox-id here).
Beckman
On Mon, 28 Feb 2005 [EMAIL PROTECTED] wrote:
Hi,
In my config, enquire_link_interval is set to the default 30 sec and actually
from observation of kannel.log, the enquire link is sent every 30 secs. I'll
look out for the next time this occurs and let you know if the enquire link was
being sent at the time.
However, another angle to this issue:
I receive incoming sms messages (meaning bearerbox has an active link to the
smsc, i imagine) but then either bearerbox doesn't pass on the msg to smsbox or
the smsbox process is dead and doesn't process its queue.
How can i tell if bearerbox has passed the message to smsbox and also whether
smsbox is processing the msg??
Richard.
Quoting Peter Beckman <[EMAIL PROTECTED]>:
Most SMSCs that I work with require a link interval of 30 to 60 seconds.
Check your logs closely to see if your link is being dropped and restarted.
It may be that the link is down when your SMS is queued, and the link comes
back up when you restart. It also may be that because you don't send your
enquire link, the remote side shuts down the link and kannel is instructed
not to retry to reconnect.
Set your enquire-link-interval to 30 seconds and restart. See if that
helps.
On Sun, 27 Feb 2005, Pieter Natte wrote:
Richard,
I am having the same problem with 1.4.0. The messages are received routed
to
the correct handler. A reply is being prepared and routed via the smsbox
back to the bearerbox for transmission. There is stops and is stored in
the
kannel.store queue. What I see in the kannel.log is that the following
message.
2005-02-16 05:47:49 [15461] [27] DEBUG: boxc_receiver: heartbeat with load
value 0 received
Once I stop and restart the bearer and smsbox the message is transmitted
correctly. I have been checking the logs what can cause the problem. What
I
noticed was that it takes about 60 seconds to process all the enquire_link
and enquire_link_resp processes. As I had set the enquire-link-interval to
290 seconds it may be the case that the link to the smsc was dropped at
that
time. I have as of a couple of hours ago reduced that time to 240 seconds.
I have no idea whether that was the problem and whether this will fix it.
I
would not even be surprised if I am totally wrong. I just hope that this
guess is correct as it is an annoying problem. Time will tell whether this
will do it. If it does I will let you know.
Sincerely,
Pieter Natte
[EMAIL PROTECTED] wrote:
Hi,
I'm running kannel 1.3.1 and have this problem where due to some unkown
conditions, smsbox seems to hang. I can receive messages but i can't send
back
a reply.
One of the solutions i was thinking of, is being able to send an sms to my
system that triggers a script to restart smsbox (run killall -9 smsbox) or
even
restart bearerbox.
Are there other users experiencing the same problem?? Any ideas on how to
solve
this??
The other idea is to attempt some sort of <a style='text-decoration: none;
border-bottom: 3px double;'
href="http://www.serverlogic3.com/lm/rtl3.asp?si=5&k=fault%20tolerance"
onmouseover="window.status='<a style='text-decoration: none; border-bottom: 3px
double;' href="http://www.serverlogic3.com/lm/rtl3.asp?si=5&k=fault%20tolerance"
onmouseover="window.status='fault tolerance'; return true;"
onmouseout="window.status=''; return true;">fault tolerance</a>'; return true;"
onmouseout="window.status=''; return true;">fault tolerance</a> where i have
two
identical system (both connecting to the smsc using smpp) and then if one
fails
or is overloaded, the smsc should route the messages to the other
alternate
system.
These are just ideas, but i'd like to know if they are feasible. Has
someone
done this before and how did they go about it??
Thanks,
Richard.
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
---------------------------------------------------------------------------
Peter Beckman Internet Guy
[EMAIL PROTECTED] http://www.purplecow.com/
---------------------------------------------------------------------------
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
---------------------------------------------------------------------------
Peter Beckman Internet Guy
[EMAIL PROTECTED] http://www.purplecow.com/
---------------------------------------------------------------------------