hello

I'm trying to use kannel 1.4.1 together with an ericsson MMSC.
For some reason, I cannot get the MMS notification send out correctly.
For SMS-C I use NowSMS.

Capturing the incoming push from the MMSC: (note that I have masked some 
private info)

POST /wappush HTTP/1.1
Message-Id: meiv0pre1ds5w3kn00
Authorization: Basic amVyaTpyeWFu
User-Agent: MMS-Relay-DeliveryInitiator
Accept: application/xml
Connection: keep-alive
Content-Type: multipart/related; boundary="msgpart_0_1038_1212920883204"; 
type="application/xml"
Host: 19x.1xx.x.xx:8080
Content-Length: 985

--msgpart_0_1038_1212920883204
Content-Type: application/xml

<?xml version="1.0"?>
<!DOCTYPE pap PUBLIC "-//WAPFORUM//DTD PAP 1.0//EN"
         
"http://www.wapforum.org/DTD/pap_1.0.dtd">
<pap>
  <push-message push-id="[EMAIL PROTECTED]" 
deliver-before-timestamp="2008-06-10T10:28:02Z" 
ppg-notify-requested-to="http://mmsc.xxxxxxxxxxxx.homeip.net/servlets/mms">
    <address address-value="WAPPUSH=+31xxxxxxxxxx/[EMAIL 
PROTECTED]"></address>
    <quality-of-service priority="medium" 
delivery-method="unconfirmed"></quality-of-service>
  </push-message>
</pap>

--msgpart_0_1038_1212920883204
Content-Type: application/vnd.wap.mms-message
X-Wap-Application-Id: 4

[EMAIL PROTECTED]/TYPE=PLMN..ISPDiagnotic MM1 TEST: Sun Jun 08, 
12:28......K........http://mmsc.xxxxxxxxxxxx.homeip.net/servlets/mms?message-id=meiv0pre1ds5w3kn00.
--msgpart_0_1038_1212920883204--HTTP/1.1 202 Accepted
Server: Kannel/1.4.1
Content-Length: 448
Content-Type: application/xml

<?xml version="1.0"?><!DOCTYPE pap PUBLIC "-//WAPFORUM//DTD PAP 
1.0//EN" 
"http://www.wapforum.org/DTD/pap_1.0.dtd"><pap><push-response 
push-id="[EMAIL PROTECTED]" sender-name="sevenofnine; WAP/1.3 (Kannel/1.4.1)" 
reply-time="2008-06-08T10:26:34Z" 
sender-address="/wappush"><response-result code ="1001" desc="The request 
has been accepted for 
processing"></response-result></push-response></pap>

Kannel sends out 3 SMS messages but they never arrive at the phone.

I've searched through various sites and forums, but cannot find a clue what's 
wrong.
Test messages from NowSMS work fine, so that should not be the problem.

Here is my kannel.conf:

#
# SAMPLE CONFIGURATION FOR KANNEL PPG (PUSH OVER SMS)
#
# It is run like this:
#
#  1% gw/bearerbox gw/pushkannel.conf
#  2% gw/wapbox gw/pushkannel.conf
#
#  Boys and girls: use more complex passwords when setting up real 
services,
#  this is an *example* file !
#
#  Aarno Syvänen in August 2001, for Wiral Ltd

include = /usr/local/kannel/modems.conf

# BEARERBOX SETUP, for Kannel core operations

group = core
admin-port = 13000
smsbox-port = 13001
wapbox-port = 13002
admin-password = bar
wdp-interface-name = "0.0.0.0"
log-file = "/tmp/bearerbox.log"
log-level = 0
box-allow-ip = "127.0.0.*;192.168.0.*"

# WAPBOX SETUP, for pushing and for pulling (fetching) the wap data

group = wapbox
bearerbox-host = 127.0.0.1
log-file = "/tmp/wapbox.log"
log-level = 0
syslog-level = none

# PPG CORE SETUP, for defining the push request interface

group = ppg
ppg-url = /wappush
ppg-port = 8080
concurrent-pushes = 100
trusted-pi = false
users = 1024
ppg-allow-ip = "*.*.*.*"

# PPG USER SETUP, for authorizing a specific push user

group = wap-push-user
wap-push-user = xxxx
ppg-username = xxxxx
ppg-password = xxxx

# SMSC CONNECTIONS, for pushing SI, SL, MMS notifications or whatever over SMS



group = smsc
smsc = smpp
host = 192.168.0.161
smsc-id = NOWSMS
port = 9900
transceiver-mode = yes
smsc-username = "xxx"
smsc-password = "xxx"
address-range = "31000000000-31999999999"
source-addr-ton = 0
source-addr-npi = 1
system-type = "VMA"
enquire-link-interval = 30



# SMSBOX SETUP (a kludge!)

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

group = sendsms-user
concatenation = true
username = xxx
password = xxx
max-messages = 10


In the SMSIN log file from NowSMS I see 3 SMS messages coming in from Kannel.





      

Reply via email to