Hello,
I just played around with the kannel-monitor project, included in
kannel's contrib directory.
It seems absolutely great :
smsc status, one by one,
smsc admin (start, stop, restart), one by one,
However, I am having this little issue, it might be the case for
everyone, when I stop a particular smsc, the bearebox goes to PANIC and
dies.
2009-10-16 06:51:00 [20382] [3] PANIC: gwlib/octstr.c:2484:
seems_valid_real: Assertion `ostr != NULL' failed. (Called from
gwlib/octstr.c:874:octstr_compare.)
2009-10-16 06:51:00 [20382] [3] PANIC:
/usr/local/kannel/sbin/bearerbox(gw_panic+0xc2) [0x80d8b32]
2009-10-16 06:51:00 [20382] [3] PANIC: /usr/local/kannel/sbin/bearerbox
[0x80d949d]
2009-10-16 06:51:00 [20382] [3] PANIC:
/usr/local/kannel/sbin/bearerbox(octstr_compare+0x2a) [0x80de52a]
2009-10-16 06:51:00 [20382] [3] PANIC: /usr/local/kannel/sbin/bearerbox
[0x805a69c]
2009-10-16 06:51:00 [20382] [3] PANIC:
/usr/local/kannel/sbin/bearerbox(smsc2_stop_smsc+0x4a) [0x805a82a]
2009-10-16 06:51:00 [20382] [3] PANIC: /usr/local/kannel/sbin/bearerbox
[0x8059477]
2009-10-16 06:51:00 [20382] [3] PANIC: /usr/local/kannel/sbin/bearerbox
[0x8058c7b]
2009-10-16 06:51:00 [20382] [3] PANIC: /usr/local/kannel/sbin/bearerbox
[0x80cf261]
2009-10-16 06:51:00 [20382] [3] PANIC: /lib/libpthread.so.0 [0xc1d49b]
2009-10-16 06:51:00 [20382] [3] PANIC: /lib/libc.so.6(clone+0x5e) [0xb1242e]
The http request is :
http://kanneladmin.myserver.org:13000/stop-smsc?smsc=smsc3&password=foobar
I am using the CVS version of kannel.
Le 16/10/2009 11:08, Jinson a écrit :
The conf upto smsc group
#Kannel configuration file
group = core
admin-port = xxxx
admin-password = "xxx"
status-password = "xxx"
#admin-deny-ip = "*.*.*.*"
#admin-allow-ip = "127.0.0.1"
smsbox-port = xxxx
smsbox-port-ssl = no
#box-deny-ip = "*.*.*.*"
box-allow-ip = "*.*.*"
sms-resend-retry = 0
dlr-storage = mysql
log-file = "/var/log/kannel/kannel-core.log"
access-log = "/var/log/kannel/bearerbox-access.log"
log-level = 0
group = smsbox
bearerbox-host = localhost
smsbox-id = box
sendsms-port = xxxx
#sendsms-chars = ","
access-log = "/var/log/kannel/kannel.smsbox.access-log"
log-file = "/var/log/kannel/kannel.smsbox.log"
log-level = 2
group = smsbox-route
smsbox-id = mybox
smsc-id = "xxxx;xxxx"
#shortcode = ""
group = smsc
smsc = smpp
smsc-id = SMPP1
allowed-smsc-id =SMPP1
denied-smsc-id =SMPP2
host = xxx.xxx.xxx.xxx
port = xxx
throughput = 10
transceiver-mode = true
smsc-username = "xxx"
smsc-password = "xxxx"
system-type = "xxx"
--------
Thanks
Jinson Abraham
MobME storms into Emerging 50 Companies in India by Nasscom
On Fri, Oct 16, 2009 at 2:34 PM, T.K.Thapa <[email protected]
<mailto:[email protected]>> wrote:
Can you please post your kannel.conf with IP omitting?
Regards
Tapan Thapa
--- On *Fri, 16/10/09, Jinson /<[email protected]
<mailto:[email protected]>>/* wrote:
From: Jinson <[email protected] <mailto:[email protected]>>
Subject: Re: How to restart individual SMSC
To: "users" <[email protected] <mailto:[email protected]>>
Cc: "T.K.Thapa" <[email protected]
<mailto:[email protected]>>
Date: Friday, 16 October, 2009, 1:55 PM
Not working with the below url also.
Im able to see the status query through HTTP Admin. Only this
things is not working.
--------
Thanks
Jinson Abraham
MobME storms into Emerging 50 Companies in India by Nasscom
On Fri, Oct 16, 2009 at 1:44 PM, T.K.Thapa
<[email protected]
<http://mc/[email protected]>> wrote:
Try this.
http://xxx.xxx.xxx.xxx:12354/start-smsc?password=xxxxxx&smsc=SMPP1
<http://xxx.xxx.xxx.xxx:12354/start-smsc?username=xxxx&password=xxxxxx&smsc=SMPP1>
http://xxx.xxx.xxx.xxx:12354/stop-smsc?password=xxxxxx&smsc=SMPP1
<http://xxx.xxx.xxx.xxx:12354/start-smsc?username=xxxx&password=xxxxxx&smsc=SMPP1>
Regards
Tapan
--- On *Fri, 16/10/09, Jinson /<[email protected]
<http://mc/[email protected]>>/* wrote:
From: Jinson <[email protected]
<http://mc/[email protected]>>
Subject: How to restart individual SMSC
To: "users" <[email protected]
<http://mc/[email protected]>>
Date: Friday, 16 October, 2009, 1:09 PM
Hello,
I would like to know the command for restarting an
individual SMSC to http administration.
I tried the below url, but it says "Denied". The
username and password are correct.
http://xxx.xxx.xxx.xxx:12354/start-smsc?username=xxxx&password=xxxxxx&smsc=SMPP1
<http://xxx.xxx.xxx.xxx:12354/start-smsc?username=xxxx&password=xxxxxx&smsc=SMPP1>
--------
Thanks
Jinson Abraham
------------------------------------------------------------------------
From cricket scores to your friends. Try the Yahoo! India
Homepage!
<http://in.rd.yahoo.com/tagline_metro_4/*http://in.yahoo.com/trynew>
------------------------------------------------------------------------
Yahoo! India has a new look. Take a sneak peek
<http://in.rd.yahoo.com/tagline_metro_2/*http://in.yahoo.com/trynew>.
--
Skycore LLC
119 Braintree St. STE 512
Allston, MA 02134 Eric Monchanin
[email protected]
(+1) 617-314-7688 [email protected]
(+33) 6-22-96-71-10