Re: Problem with wap push - solved - or not

2004-12-13 Thread Aarno Syvänen
There three other issues:
a) your si-id must be unique. Second si with same si-id could be
discarded.
b) your action should probably be signal-high. This forces the
phone to alert immediately.
c) and si-expires must be a future date.
Aarno
On 10.12.2004, at 18:04, Marko Helle wrote:
Hi all,
Well, I did solve the problem which I described (request
headers were a bit malformed, I will send post later about
how I did it and also some php code to show how wap push
messages are delivered to kannel, but I want to solve this
problem completly so that I dont provide incorrect info).
So, sending works just like it should (kannel logs says that
message is delivered successfully), and my SMSC admin
guy replyed my mail that their logs claims that messages has
been delivered also successfully.
But still I cannot get wap push to my phone.
Phone is nokia 3100 with vodafone sim.
Plain text messages works just fine.
Anyone have any idea what is going on?
I'm completly stuck (really dont know what to do), and any
help would be highly appreciated.
:)Marko

-Original Message-
From: Marko Helle [mailto:[EMAIL PROTECTED]
Sent: 10. joulukuuta 2004 14:54
To: [EMAIL PROTECTED]
Subject: RE: Problem with wap push - solved
Hi,
I already solved this problem, but will post results
a little later...
:)Marko
-Original Message-
From: Marko Helle [mailto:[EMAIL PROTECTED]
Sent: 10. joulukuuta 2004 13:10
To: [EMAIL PROTECTED]
Subject: Problem with wap push
Hi all,
I added following info to this post(TOC):
1) Problem description
2) Post data which I sent to kannel
3) Wap box output
4) Kannel http response
5) Configuration file for Kannel
1) Problem description:
---
Sending/receiving plain SMS works nicely with only SMSC specified
in end of config file (5) :)
But when I try to send wap push (2), wapbox prints errors (3)
and I get error message (4) as response.
Any idea what I'm doing wrong?
:)Marko

2) Post data which I sent to kannel:

POST /wappush HTTP/1.1
Host: localhost
Connection: Close
Content-Type: multipart/related; boundary=asdlfkjiurwghasf;
type=application/xml
Content-length: 1340
--asdlfkjiurwghasf
Content-Type: application/xml
?xml version=1.0?
!DOCTYPE pap PUBLIC -//WAPFORUM//DTD PAP//EN
http://www.wapforum.org/DTD/pap_1.0.dtd;
pap
push-message push-id=123412341324
deliver-before-timestamp=2012-12-28T06:45:00Z
deliver-after-timestamp=2001-02-28T06:45:00Z
progress-notes-requested=false
address
address-value=WAPPUSH=+SomePhoneNumber/TYPE=PLMN/
quality-of-service priority=low
delivery-method=unconfirmed
network-required=true
network=GSM
bearer-required=true
bearer=SMS/
/push-message
/pap
--asdlfkjiurwghasf
Content-Type: application/xml
?xml version=1.0?
!DOCTYPE si PUBLIC -//WAPFORUM//DTD SI 1.0//EN
http://www.wapforum.org/DTD/si.dtd;
si
indication href=www.someurl.com
si-id=[EMAIL PROTECTED]
action=signal-high
created=1999-06-25T15:23:15Z
si-expires=2002-06-30T00:00:00Z
My First WapPush
/indication
/si
--asdlfkjiurwghasf--

3) Wap box output:
--
2004-12-10 12:40:00 [30093] [11] DEBUG: HTTP: Creating HTTPClient for
`127.0.0.1'.
2004-12-10 12:40:12 [30096] [14] INFO: PPG: Accept request /wappush 
from
127.0.0.1
2004-12-10 12:40:12 [30096] [14] WARNING: PPG: headers_acceptable: got
unacceptable push headers
2004-12-10 12:40:12 [30096] [14] WARNING: PPG: Unparsable push 
headers, the
request unacceptable
2004-12-10 12:40:12 [30096] [14] DEBUG: PPG: send_bad_message_response:
telling pi
2004-12-10 12:40:12 [30096] [14] DEBUG: HTTP: Resetting HTTPClient for
`127.0.0.1'.
2004-12-10 12:48:11 [30092] [10] DEBUG: HTTP: Destroying HTTPClient 
area
0x81a95d8.
2004-12-10 12:48:11 [30092] [10] DEBUG: HTTP: Destroying HTTPClient for
`127.0.0.1'.


4) Kannel http response:

HTTP/1.1 202 Accepted
Server: Kannel/1.3.2
Content-Length: 296
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
badmessage-response code=2000
desc=Not understood due to malformed syntax
bad-message-fragment=multipart/related;
boundary=asdlfkjiurwghasf;
/badmessage-response
/pap

5) Configuration file for Kannel:
-
# ===
# BEARERBOX SETUP
# ===
group = core
admin-port = 13000
admin-password = run
admin-deny-ip = *.*.*.*
admin-allow-ip = 127.0.0.1;192.168.*.*
smsbox-port = 13003
wapbox-port = 13004
box-deny-ip = *.*.*.*
box-allow-ip = 127.0.0.1
wdp-interface-name = *

SMPP server

2004-12-13 Thread anders . ekstrom
Hi,

is there any support for incomming smpp-connections in kannels sms-gw?

we are running smpp-connection to our operators today but would like to route
incomming messages thru smpp to.

best regard
anders ekstrom








This message was sent using IMP, the Internet Messaging Program.




sqlbox time-column question

2004-12-13 Thread Klaus Darilion
Hi all!
Can someone tell me about the time format in the time column of the 
sqlbox tables? In SMPP the time is defined as text string:
YYMMDDhhmmsstnnp
But the time column is in integer format.

My SMSC accepts only SMS with schedule_delivery_time = NULL. This is 
easy to achieve using the HTTP interface without specifying the 
deferred attribute.

But how can I do this using the sqlbox. Although when I enter '0' in the 
time field, it will use the current time.

Even if I leave the column empty (NULL) the current time will be inserted.
Is there a solution to my problem without changing code? If not, where 
should I start?

regards,
klaus



Re: SMPP send-receive multiple servers

2004-12-13 Thread Christian Vandrei
Hi Tom,
I had that by myself and solved it by setting transceiver-mode = true 
for the sending smpp-connection.

Hope this helps,
Christian.
[EMAIL PROTECTED] wrote:
Hi list,
i want to connect to an smsc that is using two SMPP servers.
One for sending stuff, and one for receiving stuff. They both use port
8100. As it turns out, i can connect fine with one of them at a time,
however the second link always gives following error ;
SMSC rejected login to transmit, code 0x0005 (ESME Already in Bound
State)
I've played with receive port etc..but that does not seem to solve
anything...
In my config at the moment i got;
###receiving SMPP
group = smsc
smsc = smpp
smsc-id = smscprovider
host = blah.blah.blah.blah
#port = 8100
receive-port = 8100
interface-version = 34
transceiver-mode = no
smsc-username = XX
smsc-password = XX
system-type = XX
address-range = 
source-addr-autodetect = false

###Sending SMPP
group = smsc
smsc = smpp
smsc-id = smscprovider2
host = blah.blah.blah.blah2 # this is a second IP !
port = 8100
interface-version = 34
transceiver-mode = no
smsc-username = XX
smsc-password = XX
system-type = XX
address-range = 
source-addr-autodetect = false

If anyone has suggestions on how to handle this or what could be wrong
with this configuration setup, i'd greatly appreciate it !
Thnx
Tom


 




Configuring SMPP

2004-12-13 Thread Andreas Friis
I'm trying to integrate Kannel with an operators SMSC via SMPP. I can 
send messages to them over SMPP via kannel perfectly but i dont know how 
to configure kannel to listen to SMPP connections. What should I put in 
the conf.-file?

This is a small part of my smskannel.conf:
group = smsc
smsc = smpp
host = their ip adress
port = their port number
smsc-username = the username
smsc-password = the password
system-type = VMA
address-range = 
Best regards
Andreas Friis



Re: GSM Modem + SMPP

2004-12-13 Thread J. Kizito
If I get you right, yes. You can have more than one sms-c group configurations 
in the same conf file. Then you can make a number of restrictions, like, 
which one to use, ... browse the userguide for details.
--
J.

On Saturday 11 December 2004 03:57, Tech mark wrote:
 hi Kannel ,


 I would like to know , in kannel , is there any possibility to run GSM
 modem + SMPP simultaniously in a same configuaration file ? my requrement
 is ,
 1. start to send sms via GSM modem
 2. when in some instances i want to send sms via smpp as well .

 plz guide me .

 Thanx in advance


 -
 Do you Yahoo!?
  Send holiday email and support a worthy cause. Do good.