Ppg gateway failure

"John M. Lauck" <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <BF4BB518.58EB%[email protected]>
Can anyone tell me why the test_ppg app produces an error ³push failed,
service not found²?

I must be missing something in both the wap and ppg conf in kannel.

Here's the test_ppg output:


[root@xxxxxmm test]# ./test_ppg tppg
2005-09-12 22:36:02 [11628] [0] INFO: a configuration file input assumed
2005-09-12 22:36:02 [11628] [0] DEBUG: Dumping Cfg 0x9362198
2005-09-12 22:36:02 [11628] [0] DEBUG:   filename = <tppg>
2005-09-12 22:36:02 [11628] [0] DEBUG:   dumping group (test-ppg):
2005-09-12 22:36:02 [11628] [0] DEBUG:     <group> = <test-ppg>
2005-09-12 22:36:02 [11628] [0] DEBUG:   dumping group (configuration):
2005-09-12 22:36:02 [11628] [0] DEBUG:     <pap-file> =
</etc/kannel/test/pappush.txt>
2005-09-12 22:36:02 [11628] [0] DEBUG:     <group> = <configuration>
2005-09-12 22:36:02 [11628] [0] DEBUG:     <push-url> =
<http://localhost:8080/wappush>
2005-09-12 22:36:02 [11628] [0] DEBUG:     <content-file> =
</etc/kannel/test/si.txt>
2005-09-12 22:36:02 [11628] [0] DEBUG:     <username> = <wap_pusher>
2005-09-12 22:36:02 [11628] [0] DEBUG:     <password> = <xxxxxa>
2005-09-12 22:36:02 [11628] [0] DEBUG: Dump ends.
2005-09-12 22:36:02 [11628] [0] DEBUG: Started thread 1
(test/test_ppg.c:push_thread)
2005-09-12 22:36:02 [11628] [1] DEBUG: Thread 1
(test/test_ppg.c:push_thread) maps to pid 11628.
2005-09-12 22:36:02 [11628] [1] DEBUG: we have push content
2005-09-12 22:36:02 [11628] [1] DEBUG: Octet string at 0x935df70:
2005-09-12 22:36:02 [11628] [1] DEBUG:   len:  949
2005-09-12 22:36:02 [11628] [1] DEBUG:   size: 1024
2005-09-12 22:36:02 [11628] [1] DEBUG:   immutable: 0
2005-09-12 22:36:02 [11628] [1] DEBUG:   data: 0d 0a 2d 2d 61 73 64 6c 66 6b
6a 69 75 72 77 67   ..--asdlfkjiurwg
2005-09-12 22:36:02 [11628] [1] DEBUG:   data: 68 61 73 66 0d 0a 43 6f 6e 74
65 6e 74 2d 54 79   hasf..Content-Ty
2005-09-12 22:36:02 [11628] [1] DEBUG:   data: 70 65 3a 20 61 70 70 6c 69 63
61 74 69 6f 6e 2f   pe: application/
2005-09-12 22:36:02 [11628] [1] DEBUG:   data: 78 6d 6c 0d 0a 0d 0a 3c 3f 78
6d 6c 20 76 65 72   xml....<?xml ver
2005-09-12 22:36:02 [11628] [1] DEBUG:   data: 73 69 6f 6e 3d 22 31 2e 30 22
3f 3e 20 0a 3c 21   sion="1.0"?> .<!
2005-09-12 22:36:02 [11628] [1] DEBUG:   data: 44 4f 43 54 59 50 45 20 70 61
70 20 50 55 42 4c   DOCTYPE pap PUBL
2005-09-12 22:36:02 [11628] [1] DEBUG:   data: 49 43 20 22 2d 2f 2f 57 41 50
46 4f 52 55 4d 2f   IC "-//WAPFORUM/
2005-09-12 22:36:02 [11628] [1] DEBUG:   data: 2f 44 54 44 20 50 41 50 2f 2f
45 4e 22 20 0a 22   /DTD PAP//EN" ."
2005-09-12 22:36:02 [11628] [1] DEBUG:   data: 68 74 74 70 3a 2f 2f 77 77 77
2e 77 61 70 66 6f   http://www.wapfo
2005-09-12 22:36:02 [11628] [1] DEBUG:   data: 72 75 6d 2e 6f 72 67 2f 44 54
44 2f 70 61 70 5f   rum.org/DTD/pap_
2005-09-12 22:36:02 [11628] [1] DEBUG:   data: 31 2e 30 2e 64 74 64 22 3e 20
0a 3c 70 61 70 3e   1.0.dtd"> .<pap>
2005-09-12 22:36:02 [11628] [1] DEBUG:   data: 20 0a 3c 70 75 73 68 2d 6d 65
73 73 61 67 65 20    .<push-message
2005-09-12 22:36:02 [11628] [1] DEBUG:   data: 70 75 73 68 2d 69 64 3d 22 39
66 6a 65 6f 33 39   push-id="9fjeo39
2005-09-12 22:36:02 [11628] [1] DEBUG:   data: 6a 66 30 38 34 40 70 69 2e 63
6f 6d 22 20 0a 64   [email protected]" .d
2005-09-12 22:36:02 [11628] [1] DEBUG:   data: 65 6c 69 76 65 72 2d 62 65 66
6f 72 65 2d 74 69   eliver-before-ti
2005-09-12 22:36:02 [11628] [1] DEBUG:   data: 6d 65 73 74 61 6d 70 3d 22 32
30 30 31 2d 30 39   mestamp="2001-09
2005-09-12 22:36:02 [11628] [1] DEBUG:   data: 2d 32 38 54 30 36 3a 34 35 3a
30 30 5a 22 20 0a   -28T06:45:00Z" .
2005-09-12 22:36:02 [11628] [1] DEBUG:   data: 64 65 6c 69 76 65 72 2d 61 66
74 65 72 2d 74 69   deliver-after-ti
2005-09-12 22:36:02 [11628] [1] DEBUG:   data: 6d 65 73 74 61 6d 70 3d 22 32
30 30 31 2d 30 32   mestamp="2001-02
2005-09-12 22:36:02 [11628] [1] DEBUG:   data: 2d 32 38 54 30 36 3a 34 35 3a
30 30 5a 22 20 0a   -28T06:45:00Z" .
2005-09-12 22:36:02 [11628] [1] DEBUG:   data: 70 72 6f 67 72 65 73 73 2d 6e
6f 74 65 73 2d 72   progress-notes-r
2005-09-12 22:36:02 [11628] [1] DEBUG:   data: 65 71 75 65 73 74 65 64 3d 22
66 61 6c 73 65 22   equested="false"
2005-09-12 22:36:02 [11628] [1] DEBUG:   data: 3e 20 0a 3c 61 64 64 72 65 73
73 20 61 64 64 72   > .<address addr
2005-09-12 22:36:02 [11628] [1] DEBUG:   data: 65 73 73 2d 76 61 6c 75 65 3d
22 57 41 50 50 55   ess-value="WAPPU
2005-09-12 22:36:02 [11628] [1] DEBUG:   data: 53 48 3d 31 39 32 2e 31 36 38
2e 32 31 34 2e 31   SH=192.168.214.1
2005-09-12 22:36:02 [11628] [1] DEBUG:   data: 2f 54 59 50 45 3d 49 50 56 34
40 7a 65 62 72 61   /TYPE=IPV4@xxxxx
2005-09-12 22:36:02 [11628] [1] DEBUG:   data: 6d 6d 2e 64 79 6e 64 6e 73 2e
6f 72 67 22 2f 3e   mm.dyndns.org"/>
2005-09-12 22:36:02 [11628] [1] DEBUG:   data: 20 0a 3c 71 75 61 6c 69 74 79
2d 6f 66 2d 73 65    .<quality-of-se
2005-09-12 22:36:02 [11628] [1] DEBUG:   data: 72 76 69 63 65 20 70 72 69 6f
72 69 74 79 3d 22   rvice priority="
2005-09-12 22:36:02 [11628] [1] DEBUG:   data: 6c 6f 77 22 20 0a 64 65 6c 69
76 65 72 79 2d 6d   low" .delivery-m
2005-09-12 22:36:02 [11628] [1] DEBUG:   data: 65 74 68 6f 64 3d 22 75 6e 63
6f 6e 66 69 72 6d   ethod="unconfirm
2005-09-12 22:36:02 [11628] [1] DEBUG:   data: 65 64 22 20 0a 3c 2f 71 75 61
6c 69 74 79 2d 6f   ed" .</quality-o
2005-09-12 22:36:02 [11628] [1] DEBUG:   data: 66 2d 73 65 72 76 69 63 65 3e
20 0a 3c 2f 70 75   f-service> .</pu
2005-09-12 22:36:02 [11628] [1] DEBUG:   data: 73 68 2d 6d 65 73 73 61 67 65
3e 20 0a 3c 2f 70   sh-message> .</p
2005-09-12 22:36:02 [11628] [1] DEBUG:   data: 61 70 3e 20 0a 0d 0a 2d 2d 61
73 64 6c 66 6b 6a   ap> ...--asdlfkj
2005-09-12 22:36:02 [11628] [1] DEBUG:   data: 69 75 72 77 67 68 61 73 66 0d
0a 43 6f 6e 74 65   iurwghasf..Conte
2005-09-12 22:36:02 [11628] [1] DEBUG:   data: 6e 74 2d 54 79 70 65 3a 20 74
65 78 74 2f 76 6e   nt-Type: text/vn
2005-09-12 22:36:02 [11628] [1] DEBUG:   data: 64 2e 77 61 70 2e 73 69 0d 0a
0d 0a 3c 3f 78 6d   d.wap.si....<?xm
2005-09-12 22:36:02 [11628] [1] DEBUG:   data: 6c 20 76 65 72 73 69 6f 6e 3d
22 31 2e 30 22 3f   l version="1.0"?
2005-09-12 22:36:02 [11628] [1] DEBUG:   data: 3e 20 0a 3c 21 44 4f 43 54 59
50 45 20 73 69 20   > .<!DOCTYPE si
2005-09-12 22:36:02 [11628] [1] DEBUG:   data: 50 55 42 4c 49 43 20 22 2d 2f
2f 57 41 50 46 4f   PUBLIC "-//WAPFO
2005-09-12 22:36:02 [11628] [1] DEBUG:   data: 52 55 4d 2f 2f 44 54 44 20 53
49 20 31 2e 30 2f   RUM//DTD SI 1.0/
2005-09-12 22:36:02 [11628] [1] DEBUG:   data: 2f 45 4e 22 20 0a 22 68 74 74
70 3a 2f 2f 77 77   /EN" ."http://ww
2005-09-12 22:36:02 [11628] [1] DEBUG:   data: 77 2e 77 61 70 66 6f 72 75 6d
2e 6f 72 67 2f 44   w.wapforum.org/D
2005-09-12 22:36:02 [11628] [1] DEBUG:   data: 54 44 2f 73 69 2e 64 74 64 22
3e 20 0a 3c 73 69   TD/si.dtd"> .<si
2005-09-12 22:36:02 [11628] [1] DEBUG:   data: 3e 20 0a 3c 69 6e 64 69 63 61
74 69 6f 6e 20 68   > .<indication h
2005-09-12 22:36:02 [11628] [1] DEBUG:   data: 72 65 66 3d 22 68 74 74 70 3a
2f 2f 7a 65 62 72   ref="http://zebr
2005-09-12 22:36:02 [11628] [1] DEBUG:   data: 61 6d 6d 2e 64 79 6e 64 6e 73
2e 6f 72 67 22 20   amm.dyndns.org"
2005-09-12 22:36:02 [11628] [1] DEBUG:   data: 0a 73 69 2d 69 64 3d 22 31 40
7a 65 62 72 61 6d   .si-id="1@xxxxxm
2005-09-12 22:36:02 [11628] [1] DEBUG:   data: 6d 2e 63 6f 6d 22 20 0a 61 63
74 69 6f 6e 3d 22   m.com" .action="
2005-09-12 22:36:02 [11628] [1] DEBUG:   data: 73 69 67 6e 61 6c 2d 68 69 67
68 22 20 0a 63 72   signal-high" .cr
2005-09-12 22:36:02 [11628] [1] DEBUG:   data: 65 61 74 65 64 3d 22 31 39 39
39 2d 30 36 2d 32   eated="1999-06-2
2005-09-12 22:36:02 [11628] [1] DEBUG:   data: 35 54 31 35 3a 32 33 3a 31 35
5a 22 20 0a 73 69   5T15:23:15Z" .si
2005-09-12 22:36:02 [11628] [1] DEBUG:   data: 2d 65 78 70 69 72 65 73 3d 22
32 30 30 32 2d 30   -expires="2002-0
2005-09-12 22:36:02 [11628] [1] DEBUG:   data: 36 2d 33 30 54 30 30 3a 30 30
3a 30 30 5a 22 3e   6-30T00:00:00Z">
2005-09-12 22:36:02 [11628] [1] DEBUG:   data: 20 0a 57 61 6e 74 20 74 6f 20
74 65 73 74 20 61    .Want to test a
2005-09-12 22:36:02 [11628] [1] DEBUG:   data: 20 66 65 74 63 68 3f 20 0a 3c
2f 69 6e 64 69 63    fetch? .</indic
2005-09-12 22:36:02 [11628] [1] DEBUG:   data: 61 74 69 6f 6e 3e 20 0a 3c 2f
73 69 3e 20 0a 0d   ation> .</si> ..
2005-09-12 22:36:02 [11628] [1] DEBUG:   data: 0a 2d 2d 61 73 64 6c 66 6b 6a
69 75 72 77 67 68   .--asdlfkjiurwgh
2005-09-12 22:36:02 [11628] [1] DEBUG:   data: 61 73 66 2d 2d
asf--
2005-09-12 22:36:02 [11628] [1] DEBUG: Octet string dump ends.
2005-09-12 22:36:02 [11628] [1] DEBUG: and headers
2005-09-12 22:36:02 [11628] [1] DEBUG: Dumping HTTP headers:
2005-09-12 22:36:02 [11628] [1] DEBUG:  Octet string at 0x934ba90:
2005-09-12 22:36:02 [11628] [1] DEBUG:    len:  82
2005-09-12 22:36:02 [11628] [1] DEBUG:    size: 1024
2005-09-12 22:36:02 [11628] [1] DEBUG:    immutable: 0
2005-09-12 22:36:02 [11628] [1] DEBUG:    data: 43 6f 6e 74 65 6e 74 2d 54
79 70 65 3a 20 6d 75   Content-Type: mu
2005-09-12 22:36:02 [11628] [1] DEBUG:    data: 6c 74 69 70 61 72 74 2f 72
65 6c 61 74 65 64 3b   ltipart/related;
2005-09-12 22:36:02 [11628] [1] DEBUG:    data: 20 62 6f 75 6e 64 61 72 79
3d 61 73 64 6c 66 6b    boundary=asdlfk
2005-09-12 22:36:02 [11628] [1] DEBUG:    data: 6a 69 75 72 77 67 68 61 73
66 3b 20 74 79 70 65   jiurwghasf; type
2005-09-12 22:36:02 [11628] [1] DEBUG:    data: 3d 22 61 70 70 6c 69 63 61
74 69 6f 6e 2f 78 6d   ="application/xm
2005-09-12 22:36:02 [11628] [1] DEBUG:    data: 6c 22
l"
2005-09-12 22:36:02 [11628] [1] DEBUG:  Octet string dump ends.
2005-09-12 22:36:02 [11628] [1] DEBUG:  Octet string at 0x93561c0:
2005-09-12 22:36:02 [11628] [1] DEBUG:    len:  49
2005-09-12 22:36:02 [11628] [1] DEBUG:    size: 1024
2005-09-12 22:36:02 [11628] [1] DEBUG:    immutable: 0
2005-09-12 22:36:02 [11628] [1] DEBUG:    data: 58 2d 57 41 50 2d 41 70 70
6c 69 63 61 74 69 6f   X-WAP-Applicatio
2005-09-12 22:36:02 [11628] [1] DEBUG:    data: 6e 2d 49 64 3a 20 68 74 74
70 3a 2f 2f 77 77 77   n-Id: http://www
2005-09-12 22:36:02 [11628] [1] DEBUG:    data: 2e 77 69 72 61 6c 2e 63 6f
6d 3a 77 6d 6c 2e 75   .wiral.com:wml.u
2005-09-12 22:36:02 [11628] [1] DEBUG:    data: 61
a
2005-09-12 22:36:02 [11628] [1] DEBUG:  Octet string dump ends.
2005-09-12 22:36:02 [11628] [1] DEBUG: End of dump.
2005-09-12 22:36:02 [11628] [1] DEBUG: TEST_PPG: starting to push job 0
2005-09-12 22:36:02 [11628] [1] DEBUG: Started thread 2
(gwlib/fdset.c:poller)
2005-09-12 22:36:02 [11628] [1] DEBUG: Started thread 3
(gwlib/http.c:write_request_thread)
2005-09-12 22:36:02 [11628] [1] DEBUG: push done
2005-09-12 22:36:02 [11628] [2] DEBUG: Thread 2 (gwlib/fdset.c:poller) maps
to pid 11628.
2005-09-12 22:36:02 [11628] [3] DEBUG: Thread 3
(gwlib/http.c:write_request_thread) maps to pid 11628.
2005-09-12 22:36:02 [11628] [3] DEBUG: Parsing URL
`http://localhost:8080/wappush?username=wap_pusher&password=xxxxxa':
2005-09-12 22:36:02 [11628] [3] DEBUG:   Scheme: http://
2005-09-12 22:36:02 [11628] [3] DEBUG:   Host: localhost
2005-09-12 22:36:02 [11628] [3] DEBUG:   Port: 8080
2005-09-12 22:36:02 [11628] [3] DEBUG:   Username: (null)
2005-09-12 22:36:02 [11628] [3] DEBUG:   Password: (null)
2005-09-12 22:36:02 [11628] [3] DEBUG:   Path: /wappush
2005-09-12 22:36:02 [11628] [3] DEBUG:   Query:
username=wap_pusher&password=xxxxxa
2005-09-12 22:36:02 [11628] [3] DEBUG:   Fragment: (null)
2005-09-12 22:36:02 [11628] [3] DEBUG: HTTP: Opening connection to
`localhost:8080' (fd=12).
2005-09-12 22:36:02 [11628] [3] DEBUG: Socket connecting
2005-09-12 22:36:02 [11628] [2] DEBUG: Get info about connecting socket
2005-09-12 22:36:02 [11628] [2] DEBUG: HTTP: Sending request:
2005-09-12 22:36:02 [11628] [2] DEBUG: Octet string at 0x935ec28:
2005-09-12 22:36:02 [11628] [2] DEBUG:   len:  1189
2005-09-12 22:36:02 [11628] [2] DEBUG:   size: 2048
2005-09-12 22:36:02 [11628] [2] DEBUG:   immutable: 0
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 50 4f 53 54 20 2f 77 61 70 70
75 73 68 3f 75 73   POST /wappush?us
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 65 72 6e 61 6d 65 3d 77 61 70
5f 70 75 73 68 65   ername=wap_pushe
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 72 26 70 61 73 73 77 6f 72 64
3d 35 31 34 32 33   r&password=xxxxx
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 61 20 48 54 54 50 2f 31 2e 31
0d 0a 48 6f 73 74   a HTTP/1.1..Host
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 3a 20 6c 6f 63 61 6c 68 6f 73
74 3a 38 30 38 30   : localhost:8080
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 0d 0a 43 6f 6e 74 65 6e 74 2d
54 79 70 65 3a 20   ..Content-Type:
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 6d 75 6c 74 69 70 61 72 74 2f
72 65 6c 61 74 65   multipart/relate
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 64 3b 20 62 6f 75 6e 64 61 72
79 3d 61 73 64 6c   d; boundary=asdl
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 66 6b 6a 69 75 72 77 67 68 61
73 66 3b 20 74 79   fkjiurwghasf; ty
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 70 65 3d 22 61 70 70 6c 69 63
61 74 69 6f 6e 2f   pe="application/
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 78 6d 6c 22 0d 0a 58 2d 57 41
50 2d 41 70 70 6c   xml"..X-WAP-Appl
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 69 63 61 74 69 6f 6e 2d 49 64
3a 20 68 74 74 70   ication-Id: http
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 3a 2f 2f 77 77 77 2e 77 69 72
61 6c 2e 63 6f 6d   ://www.wiral.com
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 3a 77 6d 6c 2e 75 61 0d 0a 43
6f 6e 74 65 6e 74   :wml.ua..Content
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 2d 4c 65 6e 67 74 68 3a 20 39
34 39 0d 0a 0d 0a   -Length: 949....
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 0d 0a 2d 2d 61 73 64 6c 66 6b
6a 69 75 72 77 67   ..--asdlfkjiurwg
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 68 61 73 66 0d 0a 43 6f 6e 74
65 6e 74 2d 54 79   hasf..Content-Ty
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 70 65 3a 20 61 70 70 6c 69 63
61 74 69 6f 6e 2f   pe: application/
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 78 6d 6c 0d 0a 0d 0a 3c 3f 78
6d 6c 20 76 65 72   xml....<?xml ver
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 73 69 6f 6e 3d 22 31 2e 30 22
3f 3e 20 0a 3c 21   sion="1.0"?> .<!
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 44 4f 43 54 59 50 45 20 70 61
70 20 50 55 42 4c   DOCTYPE pap PUBL
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 49 43 20 22 2d 2f 2f 57 41 50
46 4f 52 55 4d 2f   IC "-//WAPFORUM/
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 2f 44 54 44 20 50 41 50 2f 2f
45 4e 22 20 0a 22   /DTD PAP//EN" ."
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 68 74 74 70 3a 2f 2f 77 77 77
2e 77 61 70 66 6f   http://www.wapfo
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 72 75 6d 2e 6f 72 67 2f 44 54
44 2f 70 61 70 5f   rum.org/DTD/pap_
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 31 2e 30 2e 64 74 64 22 3e 20
0a 3c 70 61 70 3e   1.0.dtd"> .<pap>
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 20 0a 3c 70 75 73 68 2d 6d 65
73 73 61 67 65 20    .<push-message
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 70 75 73 68 2d 69 64 3d 22 39
66 6a 65 6f 33 39   push-id="9fjeo39
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 6a 66 30 38 34 40 70 69 2e 63
6f 6d 22 20 0a 64   [email protected]" .d
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 65 6c 69 76 65 72 2d 62 65 66
6f 72 65 2d 74 69   eliver-before-ti
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 6d 65 73 74 61 6d 70 3d 22 32
30 30 31 2d 30 39   mestamp="2001-09
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 2d 32 38 54 30 36 3a 34 35 3a
30 30 5a 22 20 0a   -28T06:45:00Z" .
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 64 65 6c 69 76 65 72 2d 61 66
74 65 72 2d 74 69   deliver-after-ti
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 6d 65 73 74 61 6d 70 3d 22 32
30 30 31 2d 30 32   mestamp="2001-02
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 2d 32 38 54 30 36 3a 34 35 3a
30 30 5a 22 20 0a   -28T06:45:00Z" .
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 70 72 6f 67 72 65 73 73 2d 6e
6f 74 65 73 2d 72   progress-notes-r
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 65 71 75 65 73 74 65 64 3d 22
66 61 6c 73 65 22   equested="false"
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 3e 20 0a 3c 61 64 64 72 65 73
73 20 61 64 64 72   > .<address addr
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 65 73 73 2d 76 61 6c 75 65 3d
22 57 41 50 50 55   ess-value="WAPPU
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 53 48 3d 31 39 32 2e 31 36 38
2e 32 31 34 2e 31   SH=192.168.214.1
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 2f 54 59 50 45 3d 49 50 56 34
40 7a 65 62 72 61   /TYPE=IPV4@xxxxx
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 6d 6d 2e 64 79 6e 64 6e 73 2e
6f 72 67 22 2f 3e   mm.dyndns.org"/>
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 20 0a 3c 71 75 61 6c 69 74 79
2d 6f 66 2d 73 65    .<quality-of-se
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 72 76 69 63 65 20 70 72 69 6f
72 69 74 79 3d 22   rvice priority="
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 6c 6f 77 22 20 0a 64 65 6c 69
76 65 72 79 2d 6d   low" .delivery-m
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 65 74 68 6f 64 3d 22 75 6e 63
6f 6e 66 69 72 6d   ethod="unconfirm
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 65 64 22 20 0a 3c 2f 71 75 61
6c 69 74 79 2d 6f   ed" .</quality-o
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 66 2d 73 65 72 76 69 63 65 3e
20 0a 3c 2f 70 75   f-service> .</pu
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 73 68 2d 6d 65 73 73 61 67 65
3e 20 0a 3c 2f 70   sh-message> .</p
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 61 70 3e 20 0a 0d 0a 2d 2d 61
73 64 6c 66 6b 6a   ap> ...--asdlfkj
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 69 75 72 77 67 68 61 73 66 0d
0a 43 6f 6e 74 65   iurwghasf..Conte
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 6e 74 2d 54 79 70 65 3a 20 74
65 78 74 2f 76 6e   nt-Type: text/vn
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 64 2e 77 61 70 2e 73 69 0d 0a
0d 0a 3c 3f 78 6d   d.wap.si....<?xm
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 6c 20 76 65 72 73 69 6f 6e 3d
22 31 2e 30 22 3f   l version="1.0"?
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 3e 20 0a 3c 21 44 4f 43 54 59
50 45 20 73 69 20   > .<!DOCTYPE si
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 50 55 42 4c 49 43 20 22 2d 2f
2f 57 41 50 46 4f   PUBLIC "-//WAPFO
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 52 55 4d 2f 2f 44 54 44 20 53
49 20 31 2e 30 2f   RUM//DTD SI 1.0/
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 2f 45 4e 22 20 0a 22 68 74 74
70 3a 2f 2f 77 77   /EN" ."http://ww
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 77 2e 77 61 70 66 6f 72 75 6d
2e 6f 72 67 2f 44   w.wapforum.org/D
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 54 44 2f 73 69 2e 64 74 64 22
3e 20 0a 3c 73 69   TD/si.dtd"> .<si
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 3e 20 0a 3c 69 6e 64 69 63 61
74 69 6f 6e 20 68   > .<indication h
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 72 65 66 3d 22 68 74 74 70 3a
2f 2f 7a 65 62 72   ref="http://zebr
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 61 6d 6d 2e 64 79 6e 64 6e 73
2e 6f 72 67 22 20   amm.dyndns.org"
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 0a 73 69 2d 69 64 3d 22 31 40
7a 65 62 72 61 6d   .si-id="1@xxxxxm
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 6d 2e 63 6f 6d 22 20 0a 61 63
74 69 6f 6e 3d 22   m.com" .action="
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 73 69 67 6e 61 6c 2d 68 69 67
68 22 20 0a 63 72   signal-high" .cr
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 65 61 74 65 64 3d 22 31 39 39
39 2d 30 36 2d 32   eated="1999-06-2
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 35 54 31 35 3a 32 33 3a 31 35
5a 22 20 0a 73 69   5T15:23:15Z" .si
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 2d 65 78 70 69 72 65 73 3d 22
32 30 30 32 2d 30   -expires="2002-0
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 36 2d 33 30 54 30 30 3a 30 30
3a 30 30 5a 22 3e   6-30T00:00:00Z">
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 20 0a 57 61 6e 74 20 74 6f 20
74 65 73 74 20 61    .Want to test a
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 20 66 65 74 63 68 3f 20 0a 3c
2f 69 6e 64 69 63    fetch? .</indic
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 61 74 69 6f 6e 3e 20 0a 3c 2f
73 69 3e 20 0a 0d   ation> .</si> ..
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 0a 2d 2d 61 73 64 6c 66 6b 6a
69 75 72 77 67 68   .--asdlfkjiurwgh
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 61 73 66 2d 2d
asf--
2005-09-12 22:36:02 [11628] [2] DEBUG: Octet string dump ends.
2005-09-12 22:36:02 [11628] [2] DEBUG: HTTP: Status line: <HTTP/1.1 404 Not
Found>
2005-09-12 22:36:02 [11628] [2] DEBUG: HTTP: Received response:
2005-09-12 22:36:02 [11628] [2] DEBUG: Octet string at 0x935da50:
2005-09-12 22:36:02 [11628] [2] DEBUG:   len:  244
2005-09-12 22:36:02 [11628] [2] DEBUG:   size: 1024
2005-09-12 22:36:02 [11628] [2] DEBUG:   immutable: 0
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 53 65 72 76 65 72 3a 20 4b 61
6e 6e 65 6c 2f 31   Server: Kannel/1
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 2e 34 2e 30 0d 0a 43 6f 6e 74
65 6e 74 2d 4c 65   .4.0..Content-Le
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 6e 67 74 68 3a 20 32 32 0d 0a
48 6f 73 74 3a 20   ngth: 22..Host:
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 6c 6f 63 61 6c 68 6f 73 74 3a
38 30 38 30 0d 0a   localhost:8080..
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 43 6f 6e 74 65 6e 74 2d 54 79
70 65 3a 20 6d 75   Content-Type: mu
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 6c 74 69 70 61 72 74 2f 72 65
6c 61 74 65 64 3b   ltipart/related;
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 20 62 6f 75 6e 64 61 72 79 3d
61 73 64 6c 66 6b    boundary=asdlfk
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 6a 69 75 72 77 67 68 61 73 66
3b 20 74 79 70 65   jiurwghasf; type
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 3d 22 61 70 70 6c 69 63 61 74
69 6f 6e 2f 78 6d   ="application/xm
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 6c 22 0d 0a 58 2d 57 41 50 2d
41 70 70 6c 69 63   l"..X-WAP-Applic
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 61 74 69 6f 6e 2d 49 64 3a 20
68 74 74 70 3a 2f   ation-Id: http:/
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 2f 77 77 77 2e 77 69 72 61 6c
2e 63 6f 6d 3a 77   /www.wiral.com:w
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 6d 6c 2e 75 61 0d 0a 43 6f 6e
74 65 6e 74 2d 4c   ml.ua..Content-L
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 65 6e 67 74 68 3a 20 39 34 39
0d 0a 0d 0a 53 65   ength: 949....Se
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 72 76 69 63 65 20 6e 6f 74 20
73 70 65 63 69 66   rvice not specif
2005-09-12 22:36:02 [11628] [2] DEBUG:   data: 69 65 64 0a
ied.
2005-09-12 22:36:02 [11628] [2] DEBUG: Octet string dump ends.
2005-09-12 22:36:02 [11628] [1] ERROR: push failed, service not found
2005-09-12 22:36:02 [11628] [1] INFO: TEST_PPG: In thread 1 0 succeeded, 1
failed
2005-09-12 22:36:02 [11628] [1] DEBUG: Thread 1
(test/test_ppg.c:push_thread) terminates.
2005-09-12 22:36:02 [11628] [0] INFO: TEST_PPG: 1 requests in 0.000000
seconds, inf requests per second
2005-09-12 22:36:02 [11628] [0] DEBUG: Waiting for 3
(gwlib/http.c:write_request_thread) to terminate
2005-09-12 22:36:02 [11628] [3] DEBUG: Thread 3
(gwlib/http.c:write_request_thread) terminates.
2005-09-12 22:36:02 [11628] [2] DEBUG: Thread 2 (gwlib/fdset.c:poller)
terminates.
2005-09-12 22:36:02 [11628] [0] DEBUG: Immutable octet strings: 42.



Here's my kannel.conf:


group = core
admin-port = 13000
admin-password = blackeye
status-password = blackstat
admin-deny-ip = "*.*.*.*"
smsbox-port = 13001
wapbox-port = 13002
box-allow-ip = "*.*.*.*"
udp-allow-ip = "*.*.*.*"
wdp-interface-name="*"
log-file = "/tmp/kannel.log"
log-level = 1
access-log = "/tmp/kannel.access"
unified-prefix = "+358,00358,0;+,00"
white-list = "sms_send"

group = smsc
smsc = at
smsc-id = wave293
#keepalive=5
#sim-buffering=true
max-error-count=2
modemtype = wavecom
device = /dev/ttyS0

group = smsc
smsc = at
smsc-id = sierra
#allowed-smsc-id = ""
modemtype = sierra_750
device = /dev/modem
#speed = 9600
#keepalive = 60
sim-buffering = true
#max-error-count = 5

# SMSBOX SETUP

group = smsbox
bearerbox-host = localhost
sendsms-port = 13013
log-file = "/tmp/smsbox.log"
log-level = 1
access-log = "/tmp/smsaccess.log"


# SMS SERVICE Default
# there should be default always
group = sms-service
keyword = default
get-url = "http://mydomain.org/abc/sms.php?from=%p&body=%a"
max-messages=0
#text = "No service specified"
assume-plain-text = true

group = sendsms-user
username = sms_send
password = xxxxxa
max-messages = 5

include = "/etc/kannel/modems.conf"


# WAPBOX SETUP

group = wapbox
bearerbox-host = localhost
log-file = "/tmp/wapbox.log"
log-level = 1
syslog-level = none
access-log = "/tmp/wapaccess.log"
http-interface-name = *

# PPG SETUP

group = ppg
ppg-url = /wapppush
ppg-port = 8080
concurrent-pushes = 50
users = 52
ppg-allow-ip = "*.*.*.*"
trusted-pi = false
global-sender = 999999999


group = wap-push-user
wap-push-user = "wappushuser"
ppg-username = "wap_pusher"
ppg-password = xxxxxa
default-smsc = sierra

group = smsc 
smsc = http
smsc-id = HTTP 
port = 10000
system-type = kannel
smsc-username = "sms_send"
smsc-password = xxxxxa
#no-sender = true 
#no-coding = true 
send-url = "http://mydomain.org/smschttp"



Thanks,

John
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.