Hi
Mohamed,
Sorry,
with my understanding I cannot point any possible errors in config file (if
there is any).
If You
can configure message which Your smsc simulator sends, then perhaps
this might help to
figure out what
values to set (output when receiving MO of properly
working smpp connection):
SMPP
PDU 0x819fe38 dump:
type_name: deliver_sm
command_id: 5 = 0x00000005
command_status: 0 = 0x00000000
sequence_number: 4744 = 0x00001288
service_type: NULL
source_addr_ton: 0 = 0x00000000
source_addr_npi: 0 = 0x00000000
source_addr: "447786000000" // msisdn changed
dest_addr_ton: 0 = 0x00000000
dest_addr_npi: 0 = 0x00000000
destination_addr: "1234" //service id changed
esm_class: 0 = 0x00000000
protocol_id: 0 = 0x00000000
priority_flag: 0 = 0x00000000
schedule_delivery_time: NULL
validity_period: NULL
registered_delivery: 0 = 0x00000000
replace_if_present_flag: 0 = 0x00000000
data_coding: 0 = 0x00000000
sm_default_msg_id: 0 = 0x00000000
sm_length: 29 = 0x0000001d
short_message:
Octet string at 0x819f0e8:
len: 29
size: 30
immutable: 0
data: xx xx xx xx xx xx xx xx xx xx 20 54 65 73 74 69 KEYWORD Testi // keyword changed/blanked
data: 76 69 65 73 74 69 20 78 6d 61 68 65 79 viesti xmahey
Octet string dump ends.
source_subaddress: "12345" // short code changed
dest_subaddress: "123456" // network operator code changed
SMPP PDU dump ends.
SMPP[OPERATELECOM]: Sending PDU:
SMPP PDU 0x819ffb8 dump:
type_name: deliver_sm_resp
command_id: 2147483653 = 0x80000005
command_status: 0 = 0x00000000
sequence_number: 4744 = 0x00001288
message_id: NULL
SMPP PDU dump ends.
type_name: deliver_sm
command_id: 5 = 0x00000005
command_status: 0 = 0x00000000
sequence_number: 4744 = 0x00001288
service_type: NULL
source_addr_ton: 0 = 0x00000000
source_addr_npi: 0 = 0x00000000
source_addr: "447786000000" // msisdn changed
dest_addr_ton: 0 = 0x00000000
dest_addr_npi: 0 = 0x00000000
destination_addr: "1234" //service id changed
esm_class: 0 = 0x00000000
protocol_id: 0 = 0x00000000
priority_flag: 0 = 0x00000000
schedule_delivery_time: NULL
validity_period: NULL
registered_delivery: 0 = 0x00000000
replace_if_present_flag: 0 = 0x00000000
data_coding: 0 = 0x00000000
sm_default_msg_id: 0 = 0x00000000
sm_length: 29 = 0x0000001d
short_message:
Octet string at 0x819f0e8:
len: 29
size: 30
immutable: 0
data: xx xx xx xx xx xx xx xx xx xx 20 54 65 73 74 69 KEYWORD Testi // keyword changed/blanked
data: 76 69 65 73 74 69 20 78 6d 61 68 65 79 viesti xmahey
Octet string dump ends.
source_subaddress: "12345" // short code changed
dest_subaddress: "123456" // network operator code changed
SMPP PDU dump ends.
SMPP[OPERATELECOM]: Sending PDU:
SMPP PDU 0x819ffb8 dump:
type_name: deliver_sm_resp
command_id: 2147483653 = 0x80000005
command_status: 0 = 0x00000000
sequence_number: 4744 = 0x00001288
message_id: NULL
SMPP PDU dump ends.
:)Marko
-----Original Message-----Thank you for your response. Below is myconfig file
From: Mohamed Sadok MOUHA [mailto:[EMAIL PROTECTED]
Sent: 29. joulukuuta 2004 13:48
To: kannel
Subject: RE: Using Kannel for SMS
group = core
admin-port = 13000
smsbox-port = 13001
admin-password = admin
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"
unified-prefix = "+216,00216,0;+,00"
access-log = "/var/log/kannel/kannel_access.log"
store-file = "/var/log/kannel/kannel.store"
# SMSC CONNECTIONS
group = smsc
smsc = smpp
smsc-id = mysmsc
host = XXXXX
port = 10000
receive-port = 10000
transceiver-mode = true
smsc-username = "pavel"
smsc-password = wpsd
system-type = "VMA"
address-range = ""
source-addr-ton = 0
source-addr-npi = 0
dest-addr-ton = 0
dest-addr-npi = 0
group = smsbox
smsbox-id = mysmsbox
bearerbox-host = localhost
sendsms-port = 13013
global-sender = 13013
sendsms-chars = "0123456789 +-"
log-file = "/var/log/kannel/smsbox.log"
log-level = 0
access-log = "/var/log/kannel/smsbox_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!"
group = sms-service
keyword = default
text = "No service specified"
group = smsbox-route
smsbox-id = mysmsbox
smsc-ids = mysmsc
shortcuts = ""
group = sms-service
keyword = default
name = "test1"
max-messages = 10
concatenation = false
denied-receiver-prefix = "35"
accepted-smsc = mysmsc
split-chars = " "
omit-empty = true
text = "TEST1 TEST1 TEST1 TEST1 TEST1 TEST1 TEST1 TEST1 TEST1 TEST1 TEST1 TEST1 TEST1 TEST1 TEST1 TEST1"
Thanx
