Many thanks for the suggestion Alex.

However, we've now (only just) solved this.  The machine didn't have an 
external IP address allocated.  Apparently while Kannel could get out through 
the firewall any responses didn't know where to come back to.  (I'm just glad 
that I don't have to manage the firewalls and security!)

If I'd waited long enough I'd have seen time-out errors logged for each of the 
binds.

Richard


From: Alexander Malysh [mailto:[email protected]] On Behalf Of Alexander 
Malysh
Sent: 28 March 2012 14:01
To: Richard Crawshaw
Cc: [email protected]
Subject: Re: Not attempting to bind to SMSC

Hi,

seems you need to contact smsc operator in order to allow new IP?

2012-03-28 08:58:18 [2843] [6] DEBUG: Connecting to 
<smsc.host.com><http://smsc.host.com>>

Try telneting to this machine/port.

Thanks,
Alex

Am 28.03.2012 um 11:13 schrieb Richard Crawshaw:


Hi

We've met up with an odd problem, Kannel is apparently not attempting to bind 
to the SCSC, but it isn't logging any error.

We're attempting to get Kannel installed in the Amazon cloud.  We had a 
functioning installation, though it needed some more tweaking, that could send 
messages.  This was then moved onto a VPC.  There was no change in the Kannel 
config files.

After the move Kannel completely failed to bind to the SMSC despite the various 
ports being opened.

Does anyone have any suggestions about what needs to be done to allow Kannel to 
communicate as expected?

Many thanks

Richard


Bearerbox log

Note the lack of any bind PDU.

2012-03-28 08:58:18 [2843] [0] INFO: Added logfile 
`/home/ec2-user/logs/bearerbox.log' with level `0'.
2012-03-28 08:58:18 [2843] [0] INFO: Started access logfile 
`/home/ec2-user/logs/access.log'.
2012-03-28 08:58:18 [2843] [0] INFO: HTTP: Opening server at port 13001.
2012-03-28 08:58:18 [2843] [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller)
2012-03-28 08:58:18 [2843] [0] DEBUG: Started thread 2 
(gwlib/http.c:server_thread)
2012-03-28 08:58:18 [2843] [0] DEBUG: Started thread 3 
(gw/bb_http.c:httpadmin_run)
2012-03-28 08:58:18 [2843] [0] DEBUG: starting smsbox connection module
2012-03-28 08:58:18 [2843] [0] INFO: BOXC: 'smsbox-max-pending' not set, using 
default (100).
2012-03-28 08:58:18 [2843] [0] DEBUG: Adding smsbox routing to id <SMS-box-1> 
for smsc id <testing>
2012-03-28 08:58:18 [2843] [0] DEBUG: Started thread 4 
(gw/bb_boxc.c:sms_to_smsboxes)
2012-03-28 08:58:18 [2843] [0] DEBUG: Started thread 5 
(gw/bb_boxc.c:smsboxc_run)
2012-03-28 08:58:18 [2843] [0] INFO: Set SMS resend frequency to 60 seconds.
2012-03-28 08:58:18 [2843] [0] INFO: SMS resend retry set to unlimited.
2012-03-28 08:58:18 [2843] [0] DEBUG: MO concatenated message handling enabled
2012-03-28 08:58:18 [2843] [0] INFO: DLR rerouting for smsc id <MySMSC> 
disabled.
2012-03-28 08:58:18 [2843] [0] DEBUG: Started thread 6 
(gw/smsc/smsc_smpp.c:io_thread)
2012-03-28 08:58:18 [2843] [0] INFO: DLR rerouting for smsc id <MySMSC> 
disabled.
2012-03-28 08:58:18 [2843] [0] DEBUG: Started thread 7 
(gw/smsc/smsc_smpp.c:io_thread)
2012-03-28 08:58:18 [2843] [0] DEBUG: Started thread 8 
(gw/bb_smscconn.c:sms_router)
2012-03-28 08:58:18 [2843] [0] INFO: ----------------------------------------
2012-03-28 08:58:18 [2843] [0] INFO: Kannel bearerbox II version svn-r4965 
starting
2012-03-28 08:58:18 [2843] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) 
maps to pid 2843.
2012-03-28 08:58:18 [2843] [2] DEBUG: HTTP: Including port 13001, fd 10 for 
polling in server thread
2012-03-28 08:58:18 [2843] [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run) 
maps to pid 2843.
2012-03-28 08:58:18 [2843] [4] DEBUG: Thread 4 (gw/bb_boxc.c:sms_to_smsboxes) 
maps to pid 2843.
2012-03-28 08:58:18 [2843] [5] DEBUG: Thread 5 (gw/bb_boxc.c:smsboxc_run) maps 
to pid 2843.
2012-03-28 08:58:18 [2843] [0] INFO: MAIN: Start-up done, entering mainloop
2012-03-28 08:58:18 [2843] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps to 
pid 2843.
2012-03-28 08:58:18 [2843] [6] DEBUG: Thread 6 (gw/smsc/smsc_smpp.c:io_thread) 
maps to pid 2843.
2012-03-28 08:58:18 [2843] [6] DEBUG: Connecting to 
<smsc.host.com><http://smsc.host.com>>
2012-03-28 08:58:18 [2843] [7] DEBUG: Thread 7 (gw/smsc/smsc_smpp.c:io_thread) 
maps to pid 2843.
2012-03-28 08:58:18 [2843] [7] DEBUG: Connecting to 
<smsc.host.com><http://smsc.host.com>>
2012-03-28 08:58:18 [2843] [8] DEBUG: Thread 8 (gw/bb_smscconn.c:sms_router) 
maps to pid 2843.
2012-03-28 08:58:26 [2843] [5] INFO: Client connected from <127.0.0.1>
2012-03-28 08:58:26 [2843] [5] DEBUG: Started thread 9 (gw/bb_boxc.c:function)
2012-03-28 08:58:26 [2843] [9] DEBUG: Thread 9 (gw/bb_boxc.c:function) maps to 
pid 2843.
2012-03-28 08:58:26 [2843] [9] DEBUG: Started thread 10 
(gw/bb_boxc.c:boxc_sender)
2012-03-28 08:58:26 [2843] [9] DEBUG: boxc_receiver: got boxc_id <SMS-box-1> 
from <127.0.0.1>
2012-03-28 08:58:26 [2843] [10] DEBUG: Thread 10 (gw/bb_boxc.c:boxc_sender) 
maps to pid 2843.



Richard Crawshaw
Software Developer



<112032810142806501.gif><http://www.the-contactgroup.com>



Contact Group
Telephone (UK): 0844 448 4422
Telephone (ROI): 0818 286 795
Mobile : 0786 625 9418
Facsimile (UK): 0844 448 9090
Facsimile (ROI): 0818 444 223
Email: 
[email protected]<mailto:[email protected]>
Web Site: www.the-contactgroup.com<http://www.the-contactgroup.com>
Twitter: @contactgroup



EducationInvestor 
Awards<http://www.the-contactgroup.com/news/latest-news/contact-group-wins-technology-supplier-of-the-year-at-the-educationinvestor-awards/>
 - Technology Supplier of the Year 2011 WINNER



This e-mail is intended for the above named only. It may contain private and 
confidential information or material that is privileged. If it has come to you 
in error you must take no action based upon it, nor must you copy or show it to 
anyone. Please return the message immediately to 
[email protected]<mailto:[email protected]> The 
Validity of any pricing information contained herein is 30 days unless 
otherwise stated. E & OE. Standard terms and conditions apply. Service by 
Truancy Call Ltd. Registered in England No. 4125665. Registered office: 
Lonsdale House, 52 Blucher Street, Birmingham, B1 1QU. Data Protection No. 
Z7911829


Richard Crawshaw
Software Developer

Contact Group

Telephone (UK): 0844 448 442
Telephone (ROI): 0818 286 795
Mobile : 0786 625 9418
Facsimile (UK): 0844 448 9090
Facsimile (ROI): 0818 444 223 
Email: [email protected]

Web Site: http://www.contactgroup.com/
Twitter: http://twitter.com/@contactgroup

EducationInvestor Awards - Technology Supplier of the Year 2011 WINNER

This e-mail is intended for the above named only. It may contain private and 
confidential information or material that is 
privileged. If it has come to you in error you must take no action based upon 
it, nor must you copy or show it to anyone. 
Please return the message immediately to [email protected]
The Validity of any pricing information contained herein is 30 days unless 
otherwise stated. E & OE. Standard 
terms and conditions apply. Service by Contact Group. Registered in England No. 
4125665. Registered office: 
Lonsdale House, 52 Blucher Street, Birmingham, B1 1QU. Data Protection No. 
Z7911829

<<inline: 112032814091212001.gif>>

Reply via email to