Are smsc1 & smsc2 connections to the same server? With the same credentials?Indeed, usually SMSC's don't allow that.But... why would you want to do that?Rene KluwenChimit-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of matt pelletier
Sent: woensdag 29 maart 2006 0:55
To: [email protected]
Subject: connecting to 2 smsc'sHello,
I am trying to connect to two separate smsc's through one instance of kannel via smpp.
I modified the kannel.conf with the (what I am assuming) needed information is.
What is happening is that smsc2 connects and I can send and receive data from them, but then keeps trying to re-connect over and over again, causing smsc2 to drop the connection; they only allow 1 bind per server.
smsc1 apparently connects without any issues – I can receive messages from them, and no errors for smsc1 are appearing in the kannel.log
Here is my kannel conf file, and a chunk of the kannel.log from when I start kannel, see the failure, then stop it.
Any ideas? Any help would be greatly appreciated.
Thanks!
Matt
Kannel log -
2006-03-28 14:47:29 [9599] [0] INFO: ----------------------------------------
2006-03-28 14:47:29 [9599] [0] INFO: Kannel bearerbox II version 1.4.0 starting
2006-03-28 14:47:29 [9599] [0] INFO: Loading store file `/opt/kannel/logs/kannel.store'
2006-03-28 14:47:29 [9599] [0] INFO: Store-file size 0, starting to unpack
2006-03-28 14:47:29 [9599] [0] INFO: Retrieved 0 messages, non-acknowledged messages: 0
2006-03-28 14:47:29 [9599] [0] INFO: MAIN: Start-up done, entering mainloop
2006-03-28 14:47:30 [9599] [12] INFO: Client connected from < 127.0.0.1>
2006-03-28 14:47:35 [9599] [10] ERROR: SMPP[smsc2]: I/O error or other error. Re-connecting.
2006-03-28 14:47:35 [9599] [10] ERROR: SMPP[smsc2]: Couldn't connect to SMS center (retrying in 10 seconds).
2006-03-28 14:47:51 [9599] [10] ERROR: SMPP[smsc2]: I/O error or other error. Re-connecting.
2006-03-28 14:47:51 [9599] [10] ERROR: SMPP[smsc2]: Couldn't connect to SMS center (retrying in 10 seconds).
2006-03-28 14:47:59 [9599] [9] ERROR: SMPP[smsc2]: I/O error or other error. Re-connecting.
2006-03-28 14:47:59 [9599] [9] ERROR: SMPP[smsc2]: Couldn't connect to SMS center (retrying in 10 seconds).
2006-03-28 14:48:07 [9599] [10] ERROR: SMPP[smsc2]: I/O error or other error. Re-connecting.
2006-03-28 14:48:07 [9599] [10] ERROR: SMPP[smsc2]: Couldn't connect to SMS center (retrying in 10 seconds).
2006-03-28 14:48:15 [9599] [12] INFO: Connection closed by the box < 127.0.0.1>
2006-03-28 14:48:16 [9599] [0] WARNING: Killing signal or HTTP admin command received, shutting down...
2006-03-28 14:48:16 [9599] [0] INFO: All flow threads have died, killing core
2006-03-28 14:48:16 [9599] [0] INFO: Total WDP messages: received 0, sent 0
2006-03-28 14:48:16 [9599] [0] INFO: Total SMS messages: received 1, sent 0
Kannel.conf –
group = core
admin-port = 13000
smsbox-port = 13001
admin-password = bar
status-password = foo
admin-allow-ip = "xx.xx.xx.xx"
log-file = "/opt/kannel/logs/kannel.log"
log-level = 1
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
dlr-storage=internal
access-log = "/opt/kannel/logs/access.log"
store-file = "/opt/kannel/logs/kannel.store"
# SMSC CONNECTIONS
group = smsc
smsc = smpp
msg-id-type="0x01"
smsc-id = smsc1
host = "xxxxx"
port = 3204
receive-port = 3204
transceiver-mode = true
enquire-link-interval = 30
service-type = 3138
smsc-username = "xxxx"
smsc-password = "xxxx"
system-type ="xxxxx"
address-range = ""
alt-charset = LATIN1
group = smsc
smsc = smpp
msg-id-type="0x01"
smsc-id = smsc2
host = "xxx"
port = 4551
receive-port = 4551
transceiver-mode = true
enquire-link-interval = 30
service-type = 3138
smsc-username = "xxx"
smsc-password = "xxx"
system-type = "xxx"
address-range = ""
alt-charset = LATIN1
# SMSBOX SETUP
group = smsbox
bearerbox-host = localhost
sendsms-port = 13013
log-file = "/opt/kannel/logs/smsbox.log"
log-level = 1
access-log = "/opt/kannel/logs/access.log"
# SEND-SMS USERS
group = sendsms-user
username = foo
password = bar
#user-deny-ip = ""
user-allow-ip = "xx.xx.xx.xx"
# SERVICES
# there should be default always
group = sms-service
keyword = default
catch-all = true
get-url = "" href="http://localhost:8080/xxxxxxxx" target="_blank">http://localhost:8080/xxxxxxxx
max-messages=0
No, smsc1 and smsc2 are to two separate entities (different ip addresses and ports)
smsc1 connects and works properly, but smsc2 connects, and then keeps trying to connect over and over again.
thanks,
matt
On 3/28/06, Rene Kluwen <[EMAIL PROTECTED]> wrote:
- Re: connecting to 2 smsc's matt pelletier
- RE: connecting to 2 smsc's Rene Kluwen
