check the linefeeds, etc
on the webpage the code is shown with linebreaks which should not be there
for example, what you may see in the webpage as:
'<address
address-value="WAPPUSH=+'.$country_code.$phone.'/TYPE=PLMN <at>
ppg.nokia.com"/>'."\r\n".
'<quality-of-service delivery-method="unconfirmed"
network="GSM"
bearer="SMS"/>'.
should be only 2 lines and not 4
'<address address-value="WAPPUSH=+'.$country_code.$phone.'/TYPE=PLMN
<at> ppg.nokia.com"/>'."\r\n".
'<quality-of-service delivery-method="unconfirmed"
network="GSM"
bearer="SMS"/>'.
On Jan 24, 2008 10:55 AM, Mike Nwaogu <[EMAIL PROTECTED]> wrote:
>
> hate to bother your juan,
> I'm getting this error,
>
> 2008-01-24 07:21:47 [32336] [14] INFO: PPG: Accept request </wappush> from
> <127.0.0.1>
> 2008-01-24 07:21:47 [32336] [14] WARNING: PPG: No MIME content received, the
> request unacceptable
>
> and below is my config file.
>
> ========CONFIG FILE==========
> group = core
> admin-password = digital
> admin-port = 13006
> wapbox-port = 13007
> smsbox-port = 13008
> wdp-interface-name = *
> log-file = "/var/log/kannel/bearerbox.log"
> log-level = 0
> access-log = "/var/log/kannel/access.log"
>
> group = wapbox
> bearerbox-host = localhost
> log-file = "/var/log/wapbox.log"
> log-level = 0
> access-log = "/var/log/kannel/access.log"
>
> group = smsbox
> bearerbox-host = localhost
> sendsms-port = 13031
> sendsms-chars = "0123456789 +-"
> log-file = /var/log/smsbox.log
> log-level = 2
>
> group = ppg
> ppg-url = /wappush
> ppg-port = 13014
> concurrent-pushes = 100
> global-sender = "MikeCom"
> trusted-pi = true
> users = 1024
> ppg-allow-ip = "127.0.0.1"
>
> group = wap-push-user
> wap-push-user = miken
> ppg-username = foo
> ppg-password = bar
> allow-ip = "127.0.0.1"
>
> group = sendsms-user
> username = foo
> password = bar
>
> group = sms-service
> keyword = default
> get-url =
> "http://localhost/mikecom/index.php?SOURCEADDR=%p&DESTADDR=%P&KEYWORD=%k&ID=%I&ORIGIN=%i&MESSAGE=%a"
> max-messages = 1
> catch-all=true
>
> ========CONFIG FILE==========
>
> Regards,
> Mike Nwaogu
> Tel: 234_802_325_6437
> Eml: [EMAIL PROTECTED]
>
>
> ----- Original Message ----
> From: Juan Nin <[EMAIL PROTECTED]>
> To: Mike Nwaogu <[EMAIL PROTECTED]>
> Cc: [email protected]
> Sent: Thursday, January 24, 2008 3:09:24 AM
> Subject: Re: Setting up wappush
>
> http://thread.gmane.org/gmane.comp.mobile.kannel.user/11009
>
> On Jan 23, 2008 4:03 PM, Mike Nwaogu <[EMAIL PROTECTED]> wrote:
> >
> > Hey People,
> > I'm setting up a service were I have to send a wap push as a response to
> the
> > subscribers request.
> > Question is how do I set up kannel to do this and how do compose the http
> > url to send a wap push
> > Regards,
> > Mike Nwaogu
> > Tel: 234_802_325_6437
> > Eml: [EMAIL PROTECTED]
> >
> >
> > ________________________________
> > Never miss a thing. Make Yahoo your homepage.
>
>
>
> ________________________________
> Never miss a thing. Make Yahoo your homepage.