Thread: wtai

    #1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2002
    Posts
    4
    Rep Power
    0

    wtai


    does siemens me45 support wtai?
  2. #2
  3. Contributing User
    Devshed Intermediate (1500 - 1999 posts)

    Join Date
    Oct 2001
    Location
    New Zealand
    Posts
    1,774
    Rep Power
    24
    The M35 does so I'm guessing the M45 does too.
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2002
    Posts
    4
    Rep Power
    0

    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>
  6. #4
  7. Contributing User
    Devshed Intermediate (1500 - 1999 posts)

    Join Date
    Oct 2001
    Location
    New Zealand
    Posts
    1,774
    Rep Power
    24
    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.
  8. #5
  9. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2002
    Location
    Chicago, IL
    Posts
    5
    Rep Power
    0
    <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.....
  10. #6
  11. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2000
    Location
    Alton,Hampshire,UK
    Posts
    40
    Rep Power
    15

    Re: the script


    Originally posted by inijoey
    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>
    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..
  12. #7
  13. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2002
    Location
    Chicago, IL
    Posts
    5
    Rep Power
    0

    Re: Re: the script


    Originally posted by peterg


    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.. [/B]
    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 + ?
  14. #8
  15. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2000
    Location
    Alton,Hampshire,UK
    Posts
    40
    Rep Power
    15
    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..

IMN logo majestic logo threadwatch logo seochat tools logo