Hi,
PDUs are still incompatible with your sendsms. sender = "SOURCE" not "test".
Please decide on a sendsms url and repost logs from that attempt. Need
detailed smsbox app logs and bb app +access logs.
BR,
Nikos
----- Original Message -----
From: gianluca moretti
To: [email protected] ; [email protected]
Sent: Thursday, May 06, 2010 2:27 PM
Subject: RE: No Foreign message ID in DLR when concatenation = true
Sorry, we send you wrong credential, this is the right one:
http://172.31.70.117:13013/cgi-bin/sendsms?username=knlsndusr&password=knl_usr123&from=test&to=XXXXXXXXX&text=Hattiniza+ait+64067.6+TL+tutarinda+odenmemis+fatura+bulunmaktadir.%28Toplam+borcunuz+64067.6+TL%29.+Odeme+yapmamaniz+halinde+hattiniz+kisitlanacaktir.+Odeme+yaptiysaniz+bu+mesaji+dikkate+almayiniz.&validity=1440&dlr-mask=27&dlr-url=http%3A//172.31.70.118%3A7003/SMSReceivingServlet/info%3FSMSC_REPORT=%25A%26SEQUENCE_NUMBER=2000111111111111111112599%26LOG_FLAG=Y%26DELIVERY_FLAG=Y%26CAMP_ID=1-2XHVM%26EXPIRATION_DATE=20110416+12%3A00%3A00.000%26SMSC_TIMESTAMP=%25t%26SMS_ID=%25F%26TEXT=Hattiniza+ait+64067.6+TL+tutarinda+odenmemis+fatura+bulunmaktadir.(Toplam+borcunuz+64067.6+TL).+Odeme+yapmamaniz+halinde+hattiniz+kisitlanacaktir.+Odeme+yaptiysaniz+bu+mesaji+dikkate+almayiniz.%26SMS_SENT_TYPE=Offer%26CAMP_CON_ID=1-2Y8LH%26REQUEST_DATE=20100414+12%3A00%3A00.000%26SHORT_NUMBER=%25P%26DLR_STATUS=%25d%26MSISDN=%25p%26SERVICE_NUMBER=test%26
From: [email protected]
To: [email protected]; [email protected]
Subject: Re: No Foreign message ID in DLR when concatenation = true
Date: Thu, 6 May 2010 13:43:05 +0300
Well, let's see:
You have defined a single sendsms-user with credentials:
username = knlsndusr
password = knl_usr123
and in your send-url you use username=tester&password=foobar. This doesn't
look right and I am wondering how the sms gets past smsbox...
BR,
Nikos
----- Original Message -----
From: gianluca moretti
To: [email protected]
Sent: Thursday, May 06, 2010 12:16 PM
Subject: No Foreign message ID in DLR when concatenation = true
I try to send a SMS with more of 160 char with concatenation = true.
I don't get foreign message id in first DLR when status=8 even if we have
the message-id from the smpp submit_sm_resp message . I want to know, how
to
resolve this issue?
Below:
-sendSMS line
-Kannel. conf
-SMPP Logs
This is the sendsms line
http://172.31.70.117:13013/cgi-bin/sendsms?username=tester&password=foobar&coding=0&from=xxxxxxxx&to=xx111137&text=Hattiniza+ait+64067.6+TL+tutarinda+odenmemis+fatura+bulunmaktadir.%28Toplam+borcunuz+64067.6+TL%29.+Odeme+yapmamaniz+halinde+hattiniz+kisitlanacaktir.+Odeme+yaptiysaniz+bu+mesaji+dikkate+almayiniz.&validity=1440&dlr-mask=27&dlr-url=http%3A//172.31.70.117%3A7003/SMSReceivingServlet/info%3FSMSC_REPORT=%25A%26SEQUENCE_NUMBER=2359111111111111111172007%26LOG_FLAG=Y%26DELIVERY_FLAG=Y%26CAMP_ID=Camp1%26EXPIRATION_DATE=20101205+12%3A00%3A00.000%26SMSC_TIMESTAMP=%25t%26SMS_ID=%25F%26TEXT=Hattiniza+ait+64067.6+TL+tutarinda+odenmemis+fatura+bulunmaktadir.(Toplam+borcunuz+64067.6+TL).+Odeme+yapmamaniz+halinde+hattiniz+kisitlanacaktir.+Odeme+yaptiysaniz+bu+mesaji+dikkate+almayiniz.%26SMS_SENT_TYPE=PARAM%26PARA_PER_ID=22222237%26REQUEST_DATE=20100430+12%3A00%3A00.000%26SHORT_NUMBER=%25P%26DLR_STATUS=%25d%26MSISDN=%25p%26SERVICE_NUMBER=XXXXXXXX%26
The Kannel.conf
#
# THIS IS A SAMPLE CONFIGURATION FOR SMS KANNEL
#
# This basic version is used for system testing. It expects 'fakesmsc' to
# send messages which are replied with simple fixed text message.
# It is run like this:
#
# 1% gw/bearerbox gw/smskannel.conf
# 2% gw/smsbox gw/smskannel.conf
# 3% test/fakesmsc -i 0.1 -m 100 "123 345 text nop"
#
# ..all 3 commands in separate shells (or screen sessions)
# Note that you can run them in different machines but have to
# add certain command line argument and configuration variables then
#
#
# For any modifications to this file, see Kannel User Guide
# If that does not help, see Kannel web page (http://www.kannel.org) and
# various online help and mailing list archives
#
# Notes on those who base their configuration on this:
# 1) check security issues! (allowed IPs, passwords and ports)
# 2) groups cannot have empty rows inside them!
# 3) read the user guide
#
# Kalle Marjola for Kannel project 2001, 2004
#---------------------------------------------
# CORE
#
# There is only one core group and it sets all basic settings
# of the bearerbox (and system). You should take extra notes on
# configuration variables like 'store-file' (or 'store-dir'),
# 'admin-allow-ip' and 'access.log'
group = core
admin-port = 13000
smsbox-port = 13001
admin-password = knladm
status-password = knl_admin123
log-file = /smsadp/kannel/KannelRestartabilityAgent/log/kannel.log
log-level = 0
box-allow-ip = "*.*.*.*"
store-type = file
store-location = /smsadp/kannel/kannel_queue.dat
dlr-storage = oracle
dlr-retry-count = 10
dlr-retry-delay = 200
#---------------------------------------------
# SMSC CONNECTIONS
#
# SMSC connections are created in bearerbox and they handle SMSC specific
# protocol and message relying. You need these to actually receive and
send
# messages to handset, but can use GSM modems as virtual SMSCs
# This is a fake smsc connection, _only_ used to test the system and
services.
# It really cannot relay messages to actual handsets!
#group = smsc
#smsc = smpp
#smsc-id = SMPPSim
#host = 172.31.70.118
#port = 2777
#receive-port = 2777
#smsc-username = smppclient
#smsc-password = password
#system-type = "VMA"
#reconnect-delay = 1
#interface-version=34
#address-range = ""
#source-addr-ton=0
#dest-addr-ton=0
#source-addr-autodetect=no
#source-addr-npi=9
#dest-addr-npi=9
#group = smsc
#smsc = fake
#smsc-id = FAKE
#port = 10000
group = smsc
smsc = smpp
smsc-id = xxxxxx
host = 172.28.167.174
##host = 172.28.167.178
port = 6101
##receive-port = 6101
smsc-username = xxxxxxxx
smsc-password = ceytst
system-type = "TRx"
reconnect-delay = 1
interface-version=34
address-range = ""
#group = smsc
#smsc = smpp
#smsc-id = SMPPSim2
#host = 172.31.70.117
#port = 3777
#receive-port = 3777
#smsc-username = smppclient
#smsc-password = password
#system-type = "VMA"
#reconnect-delay = 1
#interface-version=34
#address-range = ""
#msg-id-type=0
#allowed-prefix-regex=^0[34]
#denied-prefix-regex=^0[1256789]
#group = smsc
#smsc = smpp
#smsc-id = SMPPSim3
#host = 172.31.70.117
#port = 4777
#receive-port = 4777
#smsc-username = smppclient1
#smsc-password = password
#system-type = "VMA"
#reconnect-delay = 1
#interface-version=34
#address-range = ""
##msg-id-type=0
#allowed-prefix-regex=^0[56]
#denied-prefix-regex=^0[1234789]
#group = smsc
#smsc = smpp
#smsc-id = SMPPSim4
#host = 172.31.70.117
#port = 5777
#receive-port = 5777
#smsc-username = smppclient1
#smsc-password = password
#system-type = "VMA"
#reconnect-delay = 1
#interface-version=34
#address-range = ""
##msg-id-type=0
#allowed-prefix-regex=^0[78]
#denied-prefix-regex=^0[1234569]
#
##
# Smsbox(es) do higher-level SMS handling after they have been received
from
# SMS centers by bearerbox, or before they are given to bearerbox for
delivery
group = smsbox
smsbox-id=smsbox_1
bearerbox-host = localhost
bearerbox-port=13001
sendsms-port = 13013
log-file = /smsadp/kannel/KannelRestartabilityAgent/log/smsbox.log
log-level = 0
#access-log = "/tmp/access.log"
#---------------------------------------------
# SEND-SMS USERS
#
# These users are used when Kannel smsbox sendsms interface is used to
# send PUSH sms messages, i.e. calling URL like
#
http://kannel.machine:13013/cgi-bin/sendsms?username=tester&password=foobar...
group = sendsms-user
username = knlsndusr
password = knl_usr123
max-messages = 2
concatenation = true
#user-deny-ip = ""
#user-allow-ip = "*.*.*.*"
#---------------------------------------------
# SERVICES
#
# These are 'responses' to sms PULL messages, i.e. messages arriving from
# handsets. The response is based on message content. Only one sms-service
is
# applied, using the first one to match.
#group = sms-service
#keyword = nop
#text = "You asked nothing and I did it!"
# There should be always a 'default' service. This service is used when no
# other 'sms-service' is applied.
group = sms-service
keyword-regex = ^[a-z]|[A-Z]|[0-9]
catch-all=true
get-url="http://172.31.70.118:7003/SMSReceivingServlet/info?MSISDN=%p&SHORT_NUMBER=%P&KEYWORD=%a"
accepted-smsc=xxxxx
#accepted-smsc=xxxxxx
max-messages=0
######################################################
# ORACLE
group = oracle-connection
id = mydlr
username = kannel
password = KNL_SMSINT!
tnsname = SMSINT
# max count of connections that will be opened for dbpool
# default is 1
max-connections = 10
group = dlr-db
id = mydlr
table = dlr
field-smsc = smsc
field-timestamp = ts
field-destination = destination
field-source = source
field-service = service
field-url = url
field-mask = mask
field-status = status
field-boxc-id = boxc
#group = smsbox-route
#smsbox-id = smsbox_1
#smsc-id = xxxxx
group = smsbox-route
smsbox-id = smsbox_1
smsc-id = xxxxxxxx
#group = smsbox-route
#smsbox-id = smsbox_1
#smsc-id = SMPPSim3
#
#group = smsbox-route
#smsbox-id = smsbox_1
#smsc-id = SMPPSim4
[...snip...]
Avatar per Messenger e sfondo per il PC Creali gratis!
Tanti account di posta? Unisci tutto sotto Hotmail