Thank very much Arnoo for reply me, but I think I don't understand you about the cgi-bin/wap-push.cgi
When I run this command
./test_ppg -q http://172.24.249.44:3128/cgi-bin/wap-push.cgi?username=foo&password=bar SI.xml PAP.xml
I get this error:
[EMAIL PROTECTED] test]# ./test_ppg -q http://172.24.249.44:3128/cgi-bin/wap-push.cgi?username=foo&password=bar SI.xml PAP.xml
[1] 18772
2003-03-31 12:55:29 [0] INFO: a configuration file input assumed
2003-03-31 12:55:29 [0] ERROR: fopen failed: couldn't open `http://172.24.249.44:3128/cgi-bin/wap-push.cgi?username=foo'
2003-03-31 12:55:29 [0] ERROR: System error 2: No such file or directory
2003-03-31 12:55:29 [0] PANIC: Failed to load main configuration file `http://172.24.249.44:3128/cgi-bin/wap-push.cgi?username=foo'. Aborting!
bash: SI.xml: command not found
[1]+ Exit 1 ./test_ppg -q http://172.24.249.44:3128/cgi-bin/wap-push.cgi?username=foo
I don't know which step I'm doing bad,when it said
"fopen failed: couldn't open"
If my ppg-url= /cgi-bin/wap-push.cgi, I guess it is because the /cgi-bin/wap-push.cgi has to exist, do I have to create it?, but what does wap-push.cgi has to have?
Thanks in advance, I will be very grateful with any contribution,
********************************************************** This is my conf file::: ........... ............... # PPG CORE SETUP, for defining the push request interface group = ppg ppg-url = /cgi-bin/wap-push.cgi ppg-port = 3128 concurrent-pushes = 100 trusted-pi = true users = 1024 ppg-allow-ip = "*.*.*.*"
# PPG USER SETUP, for authorizing a specific push user group = wap-push-user wap-push-user = foo ppg-username = foo ppg-password = bar
# SMSC CONNECTIONS, for pushing SI, SL, MMS notifications or whatever over SMS
group = smsc
smsc = http
smsc-id = HTTP
port = 10000
system-type = kannel
smsc-username = foo
smsc-password = bar
no-sender = true
no-coding = true
send-url=http://host:port/path
# SMSBOX SETUP (a kludge!) group = smsbox bearerbox-host = localhost
******************************************* The SI.xml and PAP.xml
<?xml version="1.0"?><!DOCTYPE si PUBLIC "-//WAPFORUM//DTD SI 1.0//EN" = "http://www.wapforum.org/DTD/si.dtd"><si><indication = href=http://mm.yahoo.com si-id="[EMAIL PROTECTED]" = action="signal-medium" created="2002-12-11T01:06:45Z">want to = test</indication></si>
<?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="[EMAIL PROTECTED]" = deliver-before-timestamp="2003-04-04T06:45:00Z" = deliver-after-timestamp="2000-02-27T06:45:00Z" = progress-notes-requested="false"><address = address-value="WAPPUSH=+51198196125/[EMAIL PROTECTED]"></= address><quality-of-service priority="low" = delivery-method="unconfirmed" network-required="true" = network="GSM" bearer-required="true" = bearer="SMS"></quality-of-service></push-message></pap>
The SI.xml and PAP.xml are int /test, too. ********************************************************
_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail
