Correction: Trying to send to localhost:8080/cgi-bin/wap-push gives:

 

Unable to connect to remote host.

 

Davor Spasoski

VAS Engineering Group Leader

Cosmofon

 

  _____  

From: Davor Spasoski 
Sent: Monday, May 28, 2007 11:26 AM
To: 'users@kannel.org'
Subject: Working configuration for wap push

 

Hi,

 

I'm trying to make kannel 1.3.1 work as PPG using the configuration below. I
used this version for long as sms gateway and it worked fine with the config
below.

Adding the PPG core group and WAP push user does not seem to work. 

netstat -an | grep 8080 gives:

tcp        1      0 172.20.106.100:40860    172.20.1.30:8080
CLOSE_WAIT

 

and sending wap-push message to localhost:8080/cgi-bin/wap-push.cgi

gives

 Unknown request

 

Am I missing something?

 

#===========================================================================
===============

# 1. Bearerbox configuration

#===========================================================================
===============

group = core

admin-port = 4000

smsbox-port = 4001

admin-password = gwyadmin

status-password = gwyadmin

box-allow-ip = "*.*.*.*"

unified-prefix = ""

log-file = "bearerbox.log"

log-level = 1

access-log = "access.log"

store-file = "kannel.store"

dlr-storage = internal

#===========================================================================
===============

 

#===========================================================================
===============

# 2. SMS centre connection

#===========================================================================
===============

group = smsc

smsc = smpp

host = 172.20.207.107

smsc-id = smsc1a

port = 3705

receive-port = 3705

transceiver-mode = 0

smsc-username = iq

smsc-password = iq

system-type ="VMA"

address-range = ""

source-addr-ton = 0

source-addr-npi = 1

dest-addr-ton = 0

dest-addr-npi = 1

interface-version = 34

enquire-link-interval = 15

reconnect-delay = 30

msg-id-type = 1

#===========================================================================
===============

 

#===========================================================================
===============

# 3. Definition of the SMS box

#===========================================================================
===============

group = smsbox

smsbox-id = smsbox1

bearerbox-host = localhost

sendsms-port = 4004

sendsms-chars = "0123456789 +-"

access-log = "smsboxaccess.log"

mo-recode = 1

#===========================================================================
===============

 

#===========================================================================
===============

# 3. SMS box routing

#===========================================================================
===============

group = smsbox-route

smsbox-id = smsbox1

smsc-ids = smsc1a

#===========================================================================
===============

 

#===========================================================================
===============

# 4. Definition of PPG core group for Push Initiator (PI)

#===========================================================================
===============

group = ppg

ppg-url = /cgi-bin/wap-push.cgi

ppg-port = 8080

concurrent-pushes = 100

trusted-pi = false

users = 1024

ppg-allow-ip = "*.*.*.*"

#===========================================================================
===============

 

#===========================================================================
===============

# 4.1 WAP Push user

#===========================================================================
===============

group = wap-push-user

wap-push-user = test

ppg-username = test

ppg-password = test

#===========================================================================
===============

 

#===========================================================================
===============

# 5. SEND-SMS USERS

#===========================================================================
===============

group = sendsms-user

username = bulk

password = bulk

user-allow-ip = "*.*.*.*"

forced-smsc = smsc1a

max-messages = 10

concatenation = 1

 

Davor Spasoski

VAS Engineering Group Leader

Cosmofon

 


COSMOFON - Mobile Telecommunications Services - A.D. Skopje
_______________________________________________________________
This  e-mail  (including   any   attachments) is   confidential and  may  be 
protected  by  legal  privilege.  If  you are not the intended recipient, you 
should not copy it, re-transmit it, use  it  or  disclose its contents, but 
should return it to the sender  immediately  and delete  your  copy from your 
system. Any unauthorized  use or dissemination of this message in whole or in 
part is strictly prohibited. Please note that e-mails are susceptible  to 
change. COSMOFON A.D. Skopje shall not be liable  for  the improper or  
incomplete transmission of the information contained in this communication nor 
for any delay in its receipt or damage to your system.

Reply via email to