SMPP doesnt let AT driver work??

[email protected]
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
Hey Guys, testing with cvs from March 6th, Im turning up some strange results.
Its probably a configuration error on my part, but who knows. here's the 
problem:

When the smpp smsc is defined (Im connecting to SMPPSim) I send a message to 
it, OR i can also send a message DIRECTLY to the smsc-modem smsc. 
(username=smpp or username=alpha)  alpha is a wavecom modem.

Anyways, when the smpp is defined, it accepts the message, but hten never sends 
anything out the modem. When I take the smpp connection out, its fine. 

Example:


2002-03-06 11:52:16 [2] DEBUG: HTTP: Creating HTTPClient for `192.168.1.104'.
2002-03-06 11:52:16 [3] INFO: smsbox: Got HTTP request </cgi-bin/sendsms> from 
<192.168.1.104>
2002-03-06 11:52:16 [3] INFO: sendsms used by <alpha>
2002-03-06 11:52:16 [3] INFO: sendsms sender:<alpha:12345> (192.168.1.104) 
to:<16047102466> msg:<hia>
2002-03-06 11:52:16 [3] DEBUG: message length 3, sending 1 messages
2002-03-06 11:52:16 [5] DEBUG: boxc_receiver: sms received
2002-03-06 11:52:16 [3] DEBUG: Status: 202 Answer: <Sent.>
2002-03-06 11:52:16 [3] DEBUG: HTTP: Resetting HTTPClient for `192.168.1.104'.



The above is with SMPP & AT turned on. Notice it recieves the message, then 
says sent with nothing done in between.

Here is output with the SMPP definition removed:

2002-03-06 11:53:26 [3] INFO: smsbox: Got HTTP request </cgi-bin/sendsms> from 
<192.168.1.104>
2002-03-06 11:53:26 [3] INFO: sendsms used by <alpha>
2002-03-06 11:53:26 [3] INFO: sendsms sender:<alpha:12345> (192.168.1.104) 
to:<16047102466> msg:<hia>
2002-03-06 11:53:26 [3] DEBUG: message length 3, sending 1 messages
2002-03-06 11:53:26 [8] DEBUG: boxc_receiver: sms received
2002-03-06 11:53:26 [6] DEBUG: smscconn_sender (AT: /dev/ttyS0): sending message
2002-03-06 11:53:26 [6] DEBUG: TP-Validity-Period: 24.0 hours
2002-03-06 11:53:26 [6] DEBUG: AT: Command: AT+CMGS=17
2002-03-06 11:53:26 [3] DEBUG: Status: 202 Answer: <Sent.>
2002-03-06 11:53:26 [3] DEBUG: HTTP: Resetting HTTPClient for `192.168.1.104'.
2002-03-06 11:53:26 [6] DEBUG: Read from modem: '>'
2002-03-06 11:53:26 [6] DEBUG: AT: Command: 0011000B816140172064F60000A703E87418
2002-03-06 11:53:28 [6] DEBUG: Read from modem: '+CMGS:'
2002-03-06 11:53:28 [6] DEBUG: send command status: 0


See what i mean? It recieves ,then sends out the modem properly. 

My question is, with the SMPP simulator, Its supposed to send a message to it, 
then it loops back to kannel, and sends to my phone. Obviously this is 
hindering it =)

Here is my kannel.conf incase you can see something that's messing me up..

group           = core
admin-port      = 13000
smsbox-port     = 13001
admin-password  = bar
#status-password = foo
#admin-deny-ip  = ""
#admin-allow-ip = ""
log-file        = "/var/log/kannel/kannel.log"
log-level       = 0
box-deny-ip     = "*.*.*.*"
#box-allow-ip   = "127.0.0.1"
box-allow-ip    = "192.168.*.*;64.180.*.*;127.*.*.*;10.1.0.*"
unified-prefix  = "00358,0"
access-log      = "/var/log/kannel/access.log"
#store-file     = "kannel.store"
#ssl-certkey-file = "mycertandprivkeyfile.pem"


# SMSC CONNECTIONS
#####################################
group           = smsc
smsc            = at
smsc-id         = alpha
allowed-smsc-id = alpha
modemtype       = wavecom
device          = /dev/ttyS0

## THIS IS WHAT I COMMENT OUT TO GET IT TO WORK
group          = smsc
smsc           = smpp
smsc-id                = smpp
host           = 192.168.1.103
port           = 10000
receive-port   = 10002
smsc-username  = SMPPSim
smsc-password  = ""
system-type    = "VMA"
address-range  = ""

## --------- 

#
#####################################
# SMSBOX SETUP

group           = smsbox
bearerbox-host  = 127.0.0.1
sendsms-port    = 13013
global-sender   = 13013
#sendsms-chars  = "0123456789 +-"
log-file        = "/var/log/kannel/smsbox.log"
log-level       = 0
access-log      = "/var/log/kannel/access.log"

#####################################


# SEND-SMS USERS


group           = sendsms-user
username        = sendAll
password        = xxx
user-deny-ip    = "*.*.*.*"
user-allow-ip   = "192.168.*.*;64.180.*.*;127.*.*.*;10.1.0.*"
concatenation   = true
max-messages    = 5


group           = sendsms-user
username        = alpha
password        = xxx
user-deny-ip    = "*.*.*.*"
user-allow-ip   = "192.168.*.*;64.180.*.*;127.*.*.*;10.1.0.*"
concatenation   = true
max-messages    = 5
default-smsc    = alpha

group           = sendsms-user
username        = smpp
password        = xxx
user-deny-ip    = "*.*.*.*"
user-allow-ip   = "192.168.*.*;64.180.*.*;127.*.*.*;10.1.0.*"
concatenation   = true
max-messages    = 5
default-smsc    = smpp
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.