SOLVED

I have chaned the conf file in these lines:

port=3748
# receive-port=3748
transceiver-mode = 1

HTH to somebody

Aleks



aleksandar ivanovski wrote:
Hi James/everybody

I have managed to establish connection with SMSC and happily sending SMS messages :-).
The problem is that I cannot receive message i.e. the web status of the kannel says 0 received messages.
The SMSC told me that they have give me a transceiver account. So I should be sending and receiving SMSs on the same port ? (3748) as said by the SMSC.
netstat -a does not give me a 3748 port listen :-(.
so i added


receive-port=3748 in smskannel.conf.

I am attaching the smskannel.conf :, and bellow the smsc logs

#
# THIS IS A SAMPLE CONFIGURATION FOR SMS KANNEL
#
# It is run like this:
#
#  1% gw/bearerbox gw/smskannel.conf
#  2% gw/smsbox gw/smskannel.conf
#  3% test/fakesmsc -p 10000 -H localhost -i 1 -m 100 "123 345 text nop"
#
# ..all 3 commands in separate shells (or screen sessions)
#
# For any modifications to this file, see Kannel User Guide
# If that does not help, send email to [email protected]
#
#   Kalle Marjola May 2000
#   Changed for new fakesmsc version by Uoti Urpala Jan 2001
#   Added service and sendsms for HTTP SMSC by Kalle Marjola Mar 2001
#

group = core
admin-port = 13000
smsbox-port = 13001
admin-password = bar
#status-password = foo
#admin-deny-ip = ""
#admin-allow-ip = ""
#log-file = "/tmp/kannel.log"
#log-level = 0
#box-deny-ip = "*.*.*.*"
#box-allow-ip = "127.0.0.1"
box-allow-ip = "*.*.*.*"
#unified-prefix = "+358,00358,0;+,00"
access-log = "/tmp/access.log"
store-file = "/tmp/kannel.store"
#ssl-server-cert-file = "cert.pem"
#ssl-server-key-file = "key.pem"
#ssl-certkey-file = "mycertandprivkeyfile.pem"

# SMSC CONNECTIONS

group = smsc
smsc = smpp
host= IPAddress
port=3748
receive-port=3748
smsc-username = "xxxx"
smsc-password = xxxx
system-type = "VMA"
source-addr-ton = 1
source-addr-npi = 1
connect-allow-ip = *.*.*.*

# SMSBOX SETUP

group = smsbox
bearerbox-host = localhost
sendsms-port = 13013
# global-sender = 13013
global-sender = xxx
sendsms-chars = "0123456789 +-"
log-file = "/tmp/smsbox.log"
log-level = 0
access-log = "/tmp/access.log"

# SEND-SMS USERS

group = sendsms-user
username = tester
password = foobar
#user-deny-ip = ""
#user-allow-ip = ""

# SERVICES

group = sms-service
keyword = nop
text = "You asked nothing and I did it!"

# there should be default always

group = sms-service
keyword = default
text = "No service specified"


I called the SMS operator and here are the log files from their billing system:




2005-04-22 12:41:28,370 INFO in.SMSC_15-in 38970300644 -> 142172 - - [0] A
2005-04-22 12:41:28,370 DEBUG smpp.SMPPClient PDU sent DeliverSmResp (19112/0, message_id=null)
2005-04-22 12:41:28,370 ERROR port.AbstractAsyncPort Message receiving failed: Port isn't transmitter



2005-04-22 11:11:12,121 DEBUG smpp.SMPPClient PDU received DeliverSm (18473/0, service_type=null, source_addr_ton=1, source_ad
dr_npi=1, source_addr=38970327924, dest_addr_ton=0, dest_addr_npi=1, destination_addr=070142172, esm_class=0, protocol_id=0, p
riority_flag=0, schedule_delivery_time=null, validity_period=null, registered_delivery=0, replace_if_present_flag=0, data_codi
ng=0, sm_default_msg_id=0, short_message=Tert)
2005-04-22 11:11:12,121 DEBUG smpp.SMPPClient PDU sent DeliverSmResp (18473/0, message_id=null)
2005-04-22 11:11:12,121 INFO in.SMSC_15-in 38970327924 -> 070142172 - - [0] Tert
2005-04-22 11:11:12,121 ERROR port.AbstractAsyncPort Message receiving failed: Port isn't transmitter





what does it mean "Port isn't transmitter"

Any IDEA?

THANK YOU ALL

Alex







Reply via email to