×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    4

    WTAI public functions

    What are the WTAI public library functions?

  2. #2
    Registered User
    Join Date
    Mar 2003
    Posts
    41

    RE: WTAI public functions

    1. WTAPublic.makeCall
    Initiates a mobile-originated voice call; the call must be terminated using the standard UI.
    No WTA events are generated by the voice call initiated using this function. The number parameter specifies the destination to call and must be a phone-number as defined in [FORMAT].
    This function returns an empty string if the call was established successfully, returns an error-code that indicates an error in establishing the call, or returns invalid if this function fails.
    The terminal should verify the phone number format before prompting the user for permission to make the call to the displayed number.

    2. WTAPublic.sendDTMF
    Sends a DTMF sequence through the voice call most recently created using the WTAPublic.makeCall or wtai://wp/mc function.
    No WTA events are generated as a direct or indirect result of invoking this function. The dtmf parameter specifies the DTMF sequence to be sent and must be a dialstring as defined in [FORMAT].
    This function returns an empty string if the DTMF sequence was sent successfully, returns an error-code that indicates an error in sending the DTMF sequence, or returns invalid if the function fails.

    3. WTAPublic.addPBEntry
    Writes a new phonebook entry.
    The number parameter specifies the phone number to associate with the entry and must be a phone-number as defined in [FORMAT]. The name parameter specifies the name to associate with the entry and may be an empty string.
    This function returns an empty string if the phonebook entry was added successfully, returns an error-code that indicates an error in adding the phonebook entry, or returns invalid if the function fails.

  3. #3
    Regular Contributor
    Join Date
    Aug 2005
    Posts
    200

    Re: WTAI public functions

    Quote Originally Posted by Moth View Post
    1. WTAPublic.makeCall
    Initiates a mobile-originated voice call; the call must be terminated using the standard UI.
    No WTA events are generated by the voice call initiated using this function. The number parameter specifies the destination to call and must be a phone-number as defined in [FORMAT].
    This function returns an empty string if the call was established successfully, returns an error-code that indicates an error in establishing the call, or returns invalid if this function fails.
    The terminal should verify the phone number format before prompting the user for permission to make the call to the displayed number.

    I have employed the makecall library and tested the script on a N93. I am able to access the call functionality using Options > Service options > Make Call. However, the following error is generated on pressing 'Make Call':

    "Services: Page not found. Check web address.

    Following is the code which resides within a WML page

    <do type="accept" label="Make Call">
    <go href="wtai://wp/mc;2152752071"/>
    </do>

    Would greatly appreciate assistance with addressing the error.

    Best regards,
    wirefree101

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×