|
Hi, My SMSC provider's setup has separate SMSCs for MT and MO
messages. I am able to successfully send message thru MT SMSC but for receiving
messages, the Bearer box receives the messages but it does not forward it to
the SMSBox. I have tried all possible configuration parameters that I
can think of in the config file...but with no success. Can somebody please let
me know where am i going wrong? As per the gateway log, the value of source address and
destination address begin with prefix '+', could that be the reason why bearer
box is not forwarding the requests? Below is the gateway.log
entry: 2006-07-23 11:26:52 [24871] [7] DEBUG: SMPP[TYNTECMO]: Got
PDU: 2006-07-23 11:26:52 [24871] [7] DEBUG: SMPP PDU 0x8192980
dump: 2006-07-23 11:26:52 [24871] [7] DEBUG:
type_name: deliver_sm 2006-07-23 11:26:52 [24871] [7] DEBUG:
command_id: 5 = 0x00000005 2006-07-23 11:26:52 [24871] [7] DEBUG:
command_status: 0 = 0x00000000 2006-07-23 11:26:52 [24871] [7] DEBUG:
sequence_number: 307350 = 0x0004b096 2006-07-23 11:26:52 [24871] [7] DEBUG:
service_type: NULL 2006-07-23 11:26:52 [24871] [7] DEBUG:
source_addr_ton: 0 = 0x00000000 2006-07-23 11:26:52 [24871] [7] DEBUG:
source_addr_npi: 0 = 0x00000000 2006-07-23 11:26:52 [24871] [7] DEBUG:
source_addr: "+46708402852" 2006-07-23 11:26:52 [24871] [7] DEBUG:
dest_addr_ton: 0 = 0x00000000 2006-07-23 11:26:52 [24871] [7] DEBUG:
dest_addr_npi: 0 = 0x00000000 2006-07-23 11:26:52 [24871] [7] DEBUG:
destination_addr: "+447624804202" 2006-07-23 11:26:52 [24871] [7] DEBUG:
esm_class: 0 = 0x00000000 2006-07-23 11:26:52 [24871] [7] DEBUG:
protocol_id: 0 = 0x00000000 2006-07-23 11:26:52 [24871] [7] DEBUG:
priority_flag: 0 = 0x00000000 2006-07-23 11:26:52 [24871] [7] DEBUG:
schedule_delivery_time: NULL 2006-07-23 11:26:52 [24871] [7] DEBUG:
validity_period: NULL 2006-07-23 11:26:52 [24871] [7] DEBUG:
registered_delivery: 0 = 0x00000000 2006-07-23 11:26:52 [24871] [7] DEBUG:
replace_if_present_flag: 0 = 0x00000000 2006-07-23 11:26:52 [24871] [7] DEBUG:
data_coding: 0 = 0x00000000 2006-07-23 11:26:52 [24871] [7] DEBUG:
sm_default_msg_id: 0 = 0x00000000 2006-07-23 11:26:52 [24871] [7] DEBUG:
sm_length: 3 = 0x00000003 2006-07-23 11:26:52 [24871] [7] DEBUG:
short_message: "Glo" 2006-07-23 11:26:52 [24871] [7] DEBUG: SMPP PDU dump ends. 2006-07-23 11:26:52 [24871] [7] DEBUG: SMPP[TYNTECMO]:
Sending PDU: 2006-07-23 11:26:52 [24871] [7] DEBUG: SMPP PDU 0x8192a88
dump: 2006-07-23 11:26:52 [24871] [7] DEBUG:
type_name: deliver_sm_resp 2006-07-23 11:26:52 [24871] [7] DEBUG:
command_id: 2147483653 = 0x80000005 2006-07-23 11:26:52 [24871] [7] DEBUG:
command_status: 10 = 0x0000000a 2006-07-23 11:26:52 [24871] [7] DEBUG:
sequence_number: 307350 = 0x0004b096 2006-07-23 11:26:52 [24871] [7] DEBUG:
message_id: NULL 2006-07-23 11:26:52 [24871] [7] DEBUG: SMPP PDU dump ends. The request is not forwaded to the SMSBox afer this... My kannel.conf is as below: group = core admin-port = 13000 smsbox-port = 13001 admin-password = bar #status-password = foo log-file = "/var/smscgw/gateway.log" log-level = 0 box-deny-ip = "*.*.*.*" box-allow-ip = "127.0.0.1,x.x.x.x" unified-prefix="+447,00447,0;+,00;+467,00467,0" access-log = "/var/smscgw/access.log" sms-incoming-queue-limit=20 # SMSC CONNECTION FOR MT MESSAGES group = smsc smsc = smpp smsc-id = SMSCCMT denied-smsc-id = "SMSCMO" smsc-username = "xxxx" smsc-password = "xxxx" host = x.x.x.x port = 2775 receive-port = 0 system-type = "CMT" interface-version = 34 source-addr-ton = 1 source-addr-npi = 1 dest-addr-ton = 1 dest-addr-npi = 1 # SMSC CONNECTION FOR MO MESSAGES group = smsc smsc = smpp smsc-id = SMSCMO denied-smsc-id = "SMSCCMT" smsc-username = "xxxxmo" smsc-password = "xxxx" host = x.x.x.x port = 2775 receive-port = 2775 system-type = "CMT" interface-version = 34 address-range = "+447624804202" source-addr-ton = 1 source-addr-npi = 1 dest-addr-ton = 1 dest-addr-npi = 1 # SMSBOX SETUP group = smsbox bearerbox-host = localhost sendsms-port = 13013 sendsms-chars = "0123456789 +-" global-sender = 13013 log-file = "/var/smscgw/smsbox.log" log-level = 1 access-log = "/var/smscgw/access.log" # SEND-SMS USERS group = sendsms-user username = xxx password = xxx user-deny-ip = "*.*.*.*" user-allow-ip = "*.*.*.*" max-messages = 1 # SERVICES # there should be default always group = sms-service keyword = default text = "No service specified for default" url=""> #post-url=""> max-messages = 0 Is there a limitation in kannel to allow MT and MO messages
through one SMSC only? Thanks for any help. Puzzled, Rachita |
- Strange behaviour of bearer box....plz. help Rachita Sachdeva
