|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
You don't need a fax machine to get faxes. Get a fax-to-email fax number from CallWave. Try it free.
|
|
#1
|
|||
|
|||
|
wtai
does siemens me45 support wtai?
![]() |
|
#2
|
||||
|
||||
|
The M35 does so I'm guessing the M45 does too.
|
|
#3
|
|||
|
|||
|
the script
i've tried this script but it didn't work
could you tell me what's wrong with this script? script 1 : <?php header("Content-type: text/vnd.wap.wml") ; echo "<?xml version='1.0'?>" ; ?> <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml"> <wml> <card> <do type="options" label="Call"> <go href="wtai://wp/mc;+62248313816"/> </do> <p> Please call me ! </p> </card> </wml> script 2 : <? header("Content-type: text/vnd.wap.wml"); echo("<?xml version=\"1.0\"?>\n"); echo("<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\" \"http://www.wapforum.org/DTD/wml_1.1.xml\">\n\n"); ?> <wml> <template> <do type="prev" label="Back"> <prev/> </do> </template> <card id="card" title="Profil"> <p> <b>Telp</b> : <a href="wtai://wp/mc;+62248313816">+62248313816</a><br/> <b>Telp</b> : <a href="wtai://wp/ap;+62248313816">+62248313816 >>> to phone book</a><br/> </p> </card> </wml> |
|
#4
|
||||
|
||||
|
There doesn't seem to be anything wrong with the script, I don't know if the php headers are doing something wrong, as I founf they interfered with XML output on our server here (so they may interfere with WML output).
If it all shows correctly, then possibly the phone doesn't support WTAI. |
|
#5
|
|||
|
|||
|
<a href="wtai://wp/mc;+18471234567">1(847)123-4567</a><br/>
My clients will never be outside of the (847) area code. Within the wtai, do I need the +1. Now that I think of it, I do - we have 11 digit dialing now. Nevermind..... |
|
#6
|
||||
|
||||
|
Re: the script
Quote:
Try this for a header instead.. Code:
<?php
header("Content-type: text/vnd.wap.wml");
echo "<?xml version=\"1.0\"?>";
echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\""
. " \"http://www.wapforum.org/DTD/wml_1.1.xml\">";
echo "\n\n";
?>
and here's my WTAI.. Code:
<anchor>Call Me <go href="wtai://wp/mc;07786XXXXXX"/> </anchor> <br/> I don't think you're allowed to use the +countrycode but I could well be wrong. I found that WTAI worked on my Trium Geo and Ericsson T39M, but not at all on my Nokia 7110.. |
|
#7
|
|||
|
|||
|
Re: Re: the script
Quote:
Here in Chicago we have 11 digit dialing, even to call the person next door. I know I need 1 (area code) 7 digit number, but do I need the + ? |
|
#8
|
||||
|
||||
|
Hmmm,
I admitted defeat and RTFM'd ![]() I found a reference to WTAI here, which has lots of examples on how to handle WTAI, but interestingly none of the examples show dialling using a '+' sign... But it does mention phone number formats a lot, so I proceeded to look at the format guide. ..where it does mention it, but I'm still non the wiser. My theory is that once again, different manufacturers have implemented bits of the WAP spec at different levels.. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > WAP Programming > wtai |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|