Hi,

These are not smsbox application logs. Neither the sendsms URL that you sent.

BR,
Nikos
----- Original Message ----- From: "SergeNjabs" <[email protected]>
To: <[email protected]>
Sent: Thursday, October 15, 2009 12:43 PM
Subject: Re: Smsbox on Kannel 1.4.3



Hi,
My application log from the attempt:
2009-10-14 10:30:21,684 [5840] ERROR SMS^+23799779346^LA COURSE DU
13/10/2009 EST CLOTUREE A 12:30^90000^2608 [(null)] - Exception Type:
System.Net.Sockets.SocketException

Exception Source:
System

Exception Description:
Unable to connect to the remote server

Exception Stack trace:   at System.Net.HttpWebRequest.GetResponse()
  at softtech.mobile.BLL.CSMSMessage.SendMessage() in
C:\PROJETS\WapOnlineBet_original\WapOnlineBet\Business\BLL\Package\PacketMessage.cs:line
589



Inner Exception Type:
System.Net.Sockets.SocketException

InnerException Source:
System

InnerException Description:
A socket operation was attempted to an unreachable host

InnerException Stack trace:   at
System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress
socketAddress)
  at System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP)
  at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure,
Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState
state, IAsyncResult asyncResult, Int32 timeout, Exception& exception)
System.Net.WebException: Unable to connect to the remote server --->
System.Net.Sockets.SocketException: A socket operation was attempted to an
unreachable host
  at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot,
SocketAddress socketAddress)
  at System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP)
  at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure,
Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState
state, IAsyncResult asyncResult, Int32 timeout, Exception& exception)
  --- End of inner exception stack trace ---
  at System.Net.HttpWebRequest.GetResponse()
  at softtech.mobile.BLL.CSMSMessage.SendMessage() in
C:\PROJETS\WapOnlineBet_original\WapOnlineBet\Business\BLL\Package\PacketMessage.cs:line
589
2009-10-14 10:30:21,684 [5840] INFO  SMS^+23799779346^LA COURSE DU
13/10/2009 EST CLOTUREE A 12:30^90000^2608 [(null)] - URL
:http://10.12.1.1:13003/cgi-bin/sendsms?username=pmuc&password=pmuc&from=8066&to=+23799779346&text=LA
COURSE DU 13/10/2009 EST CLOTUREE A 12:30&dlr-mask=31&dlr-
2009-10-14 11:10:17,824 [5400] ERROR SMS^+23799779346^LA COURSE DU
13/10/2009 EST CLOTUREE A 12:30^90000^2609 [(null)] - Exception Type:
System.Net.Sockets.SocketException

Exception Source:
System

Exception Description:
Unable to connect to the remote server

Exception Stack trace:   at System.Net.HttpWebRequest.GetResponse()
  at softtech.mobile.BLL.CSMSMessage.SendMessage() in
C:\PROJETS\WapOnlineBet_original\WapOnlineBet\Business\BLL\Package\PacketMessage.cs:line
589



Inner Exception Type:
System.Net.Sockets.SocketException

InnerException Source:
System

InnerException Description:
A socket operation was attempted to an unreachable host

InnerException Stack trace:   at
System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress
socketAddress)
  at System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP)
  at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure,
Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState
state, IAsyncResult asyncResult, Int32 timeout, Exception& exception)
System.Net.WebException: Unable to connect to the remote server --->
System.Net.Sockets.SocketException: A socket operation was attempted to an
unreachable host
  at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot,
SocketAddress socketAddress)
  at System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP)
  at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure,
Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState
state, IAsyncResult asyncResult, Int32 timeout, Exception& exception)
  --- End of inner exception stack trace ---
  at System.Net.HttpWebRequest.GetResponse()
  at softtech.mobile.BLL.CSMSMessage.SendMessage() in
C:\PROJETS\WapOnlineBet_original\WapOnlineBet\Business\BLL\Package\PacketMessage.cs:line
589
2009-10-14 11:10:17,824 [5400] INFO  SMS^+23799779346^LA COURSE DU
13/10/2009 EST CLOTUREE A 12:30^90000^2609 [(null)] - URL
:http://10.12.1.1:13003/cgi-bin/sendsms?username=pmuc&password=pmuc&from=8066&to=+23799779346&text=LA
COURSE DU 13/10/2009 EST CLOTUREE A 12:30&dlr-mask=31&dlr-

Nikos Balkanas-2 wrote:

Hi,

That's fine. It is supposed to do that in debug mode. Same behaviour as in
1.4.1.

Please post url you are trying to send, along with detailed smsbox
application logs from the attempt.

BR,
Nikos


----- Original Message ----- From: "SergeNjabs" <[email protected]>
To: <[email protected]>
Sent: Wednesday, October 14, 2009 3:08 PM
Subject: Re: Smsbox on Kannel 1.4.3



Hi Simon Peter,
This is the smsbox log file:
2009-10-14 12:04:24 [4141] [0] DEBUG: Kannel smsbox version 1.4.3
starting
2009-10-14 12:04:24 [4141] [0] DEBUG:   dumping group (sendsms-user):
2009-10-14 12:04:24 [4141] [0] DEBUG:     <user-allow-ip> = <*.*.*.*>
2009-10-14 12:04:24 [4141] [0] DEBUG:     <user-deny-ip> = <>
2009-10-14 12:04:24 [4141] [0] DEBUG:     <group> = <sendsms-user>
2009-10-14 12:04:24 [4141] [0] DEBUG:     <forced-smsc> =
<clickatellsmsc>
2009-10-14 12:04:24 [4141] [0] DEBUG:     <username> = <kannel>
2009-10-14 12:04:24 [4141] [0] DEBUG:     <password> = <kannel>
2009-10-14 12:04:24 [4141] [0] DEBUG:   dumping group (sendsms-user):
2009-10-14 12:04:24 [4141] [0] DEBUG:     <allowed-prefix> =
<+2379;2379;9>
2009-10-14 12:04:24 [4141] [0] DEBUG:     <group> = <sendsms-user>
2009-10-14 12:04:24 [4141] [0] DEBUG:     <default-smsc> = <ORANGE>
2009-10-14 12:04:24 [4141] [0] DEBUG:     <username> = <playsms>
2009-10-14 12:04:24 [4141] [0] DEBUG:     <password> = <pwd>
2009-10-14 12:04:24 [4141] [0] DEBUG:   dumping group (sendsms-user):
2009-10-14 12:04:24 [4141] [0] DEBUG:     <allowed-prefix> =
<+2377;2377;7;+241>
2009-10-14 12:04:24 [4141] [0] DEBUG:     <group> = <sendsms-user>
2009-10-14 12:04:24 [4141] [0] DEBUG:     <default-smsc> =
<clickatellsmsc>
2009-10-14 12:04:24 [4141] [0] DEBUG:     <username> = <playsms>
2009-10-14 12:04:24 [4141] [0] DEBUG:     <password> = <pwd>
2009-10-14 12:04:24 [4141] [0] DEBUG:   dumping group (sendsms-user):
2009-10-14 12:04:24 [4141] [0] DEBUG:     <group> = <sendsms-user>
2009-10-14 12:04:24 [4141] [0] DEBUG:     <forced-smsc> = <kakeid>
2009-10-14 12:04:24 [4141] [0] DEBUG:     <username> = <testuser>
2009-10-14 12:04:24 [4141] [0] DEBUG:     <password> = <testuser>
2009-10-14 12:04:24 [4141] [0] DEBUG:   dumping group (sendsms-user):
2009-10-14 12:04:24 [4141] [0] DEBUG:     <allowed-prefix> =
<+2379;2379;9>
2009-10-14 12:04:24 [4141] [0] DEBUG:     <group> = <sendsms-user>
2009-10-14 12:04:24 [4141] [0] DEBUG:     <default-smsc> = <ORANGE>
2009-10-14 12:04:24 [4141] [0] DEBUG:     <username> = <pmuc>
2009-10-14 12:04:24 [4141] [0] DEBUG:     <password> = <pmuc>
2009-10-14 12:04:24 [4141] [0] DEBUG:   dumping group (sendsms-user):
2009-10-14 12:04:24 [4141] [0] DEBUG:     <group> = <sendsms-user>
2009-10-14 12:04:24 [4141] [0] DEBUG:     <default-smsc> =
<clickatellsmsc>
2009-10-14 12:04:24 [4141] [0] DEBUG:     <username> = <paytus>
2009-10-14 12:04:24 [4141] [0] DEBUG:     <password> = <paytus>
2009-10-14 12:04:24 [4141] [4] DEBUG: Thread 4
(gw/smsbox.c:obey_request_thread) maps to pid 4141.
2009-10-14 12:04:24 [4141] [0] DEBUG: Started thread 4
(gw/smsbox.c:obey_request_thread)
2009-10-14 12:04:24 [4141] [5] DEBUG: Thread 5
(gw/smsbox.c:url_result_thread) maps to pid 4141.
2009-10-14 12:04:24 [4141] [0] DEBUG: Started thread 5
(gw/smsbox.c:url_result_thread)
2009-10-14 12:04:24 [4141] [6] DEBUG: Thread 6
(gw/smsbox.c:http_queue_thread) maps to pid 4141.
2009-10-14 12:04:24 [4141] [0] DEBUG: Started thread 6
(gw/smsbox.c:http_queue_thread)
2009-10-14 12:04:24 [4141] [0] INFO: Connected to bearerbox at localhost
port 13001.
2009-10-14 12:04:24 [4141] [7] DEBUG: Thread 7
(gw/heartbeat.c:heartbeat_thread) maps to pid 4141.
2009-10-14 12:04:24 [4141] [0] DEBUG: Started thread 7
(gw/heartbeat.c:heartbeat_thread)

and this is my kannel configuration:

group = core
admin-port = 13000
admin-password = kannel
status-password = kannel
#admin-deny-ip = ""
admin-allow-ip = "*.*.*.*"
log-file = "/var/log/kannel/kannel.log"
log-level = 0
#dlr-storage  = internal
access-log = "/var/log/kannel/access.log"
log-level = 0
http-proxy-host = "127.0.0.1"
#http-proxy-port = 8080
#http-proxy-exceptions = "127.0.0.1"
#http-proxy-username = "user"
#http-proxy-password = "password"
#ssl-certkey-file = "mycertandprivkeyfile.pem"
# Smsbox related
smsbox-port = 13001
#box-deny-ip = ""
box-allow-ip = "*.*.*.*"
#http-proxy-port = 8080
#http-proxy-exceptions = "127.0.0.1"
unified-prefix = "+,00"
#white-list = "http://127.0.0.1/white-list.txt";
#black-list = "http://127.0.0.1/black-list.txt";
store-type = file
store-location = "/var/log/kannel/kannel.store"
# Wapbox related
wapbox-port = 13002
#udp-deny-ip = "*.*.*.*"
udp-allow-ip = "*.*.*.*"
#wdp-interface-name = "*"
#databaseconnexion
dlr-storage= mysql
....
# SMSBOX SETUP
group = smsbox
bearerbox-host = localhost
bearerbox-port  = 13001
sendsms-port = 13003
#sendsms-chars = "0123456789 +-"
#global-sender = 12345
log-file = "/var/log/kannel/smsbox.log"
log-level = 0
access-log = "/var/log/kannel/smsbox-access.log"
.....
group = sendsms-user
username = playsms
password = pwd
default-smsc = ORANGE
allowed-prefix ="+2379;2379;9"
......

group = sendsms-user
username = playsms
password = pwd
default-smsc = clickatellsmsc
allowed-prefix ="+2377;2377;7;+241"

#group = sendsms-user
#username = freesms
#password = pwd2
#default-smsc = tyntecsmsc


group = sendsms-user
username = testuser
password = testuser
forced-smsc = kakeid

group = sendsms-user
username = pmuc
password = pmuc
default-smsc = ORANGE
allowed-prefix ="+2379;2379;9"


group = sendsms-user
username = paytus
password = paytus
default-smsc = clickatellsmsc

Thanks in advance.
Serge.

Otandeka Simon Peter wrote:


Please send through the logs and we try to help.

On Oct 14, 2009, at 2:21 PM, SergeNjabs wrote:


Hi,
I have upgraded to Kannel 1.4.3 from 1.4.1, but each time I start, the
smsbox dumps all my sendsms-user groups. As a result I cannot send
SMS. I am
using the same group configuration as before. Can anybody help?
--
View this message in context:
http://www.nabble.com/Smsbox-on-Kannel-1.4.3-tp25889254p25889254.html
Sent from the Kannel - User mailing list archive at Nabble.com.



Simon Peter Otandeka,
IT Department,
SMS Media Ltd.
Mob: +256 782 801124
Office: +256 312 261168
skype:sotandeka

"Help me to see the potential you see in others.
And speaking of potential, allow me to see
my own unique potential for making a positive difference in my world."
Lee Wise from A Simple Prayer





--
View this message in context:
http://www.nabble.com/Smsbox-on-Kannel-1.4.3-tp25889254p25889858.html
Sent from the Kannel - User mailing list archive at Nabble.com.







--
View this message in context: http://www.nabble.com/Smsbox-on-Kannel-1.4.3-tp25889254p25905710.html
Sent from the Kannel - User mailing list archive at Nabble.com.




Reply via email to