How to automatically close window

Version 1

    Subject: RE: New Message from Eric Pylko in IP Phone Services (IPPS) - IP Phone Serv
    Replied by: Jeffrey Ness on 17-09-2011 09:32:47 PM
    You can add an HTTP Refresh header with the desired timing to call the next URI. I'm not sure if it works correctly with internal phone URI's (like Init:Services), but worth a shot.

    ________________________________

    From: Cisco Developer Community Forums [mailto:cdicuser@developer.cisco.com]
    Sent: Sat 9/17/2011 20:08
    To: cdicuser@developer.cisco.com
    Subject: New Message from Eric Pylko in IP Phone Services (IPPS) - IP Phone Services Questions: How to automatically close window


    Eric Pylko has created a new message in the forum "IP Phone Services Questions":

    --------------------------------------------------------------
    Hi everyone,

    I have a service URL that when pressed, makes a call to a webserver and returns some basic information.

    That part is easy. I want the window to close automatically after 5 seconds or so.

    Here's a simplified version of the XML code going to the phone (I'm using PHP to do some stuff on the server side - I removed it to make this easier to read)


    <?php
    header("Content-type: text/xml");
    <?xml version="1.0" encoding="UTF-8"?>
    <CiscoIPPhoneText>
            <Title>Info window</Title>
            <Text>Here's your status update</Text>
            <SoftKeyItem>
                    <Name>Exit</Name>
                    <URL>SoftKey:Exit</URL>
                    <Position>1</Position>
            </SoftKeyItem>
    </CiscoIPPhoneText>


    That pops up a nice window with the title bar set to "Info window" with the text "Here's your status update".


    While there is an Exit softkey set (and that works), how can I get this to timeout/close after a certain amount of time, like 5 seconds?


    Thanks!


    -Eric
    --
    To respond to this post, please click the following link:

    <http://developer.cisco.com/web/ipps/forums/-/message_boards/view_message/4506982>

    or simply reply to this email.
    --
    This e-mail and any attachments may contain privileged or confidential information. This e-mail is intended solely for the use of the individual or entity to which it is addressed. If you are not the intended recipient of this e-mail, you are hereby notified that any copying, distribution, dissemination or action taken in relation to the contents of this e-mail and any of its attachments is strictly prohibited and may be unlawful. If you have received this e-mail in error, please notify the sender immediately and permanently delete the original e-mail and destroy any copies or printouts of this e-mail as well as any attachments.
    This document was generated from CDN thread

    Created by: Eric Pylko on 17-09-2011 09:08:11 PM
    Hi everyone,
     
    I have a service URL that when pressed, makes a call to a webserver and returns some basic information.
     
    That part is easy. I want the window to close automatically after 5 seconds or so.
     
    Here's a simplified version of the XML code going to the phone (I'm using PHP to do some stuff on the server side - I removed it to make this easier to read)
     

    <?php
    header("Content-type: text/xml");
    <?xml version="1.0" encoding="UTF-8"?>
    <CiscoIPPhoneText>
            <Title>Info window</Title>
            <Text>Here's your status update</Text>
            <SoftKeyItem>
                    <Name>Exit</Name>
                    <URL>SoftKey:Exit</URL>
                    <Position>1</Position>
            </SoftKeyItem>
    </CiscoIPPhoneText>


    That pops up a nice window with the title bar set to "Info window" with the text "Here's your status update".


    While there is an Exit softkey set (and that works), how can I get this to timeout/close after a certain amount of time, like 5 seconds?


    Thanks!


    -Eric

    Subject: RE: New Message from Eric Pylko in IP Phone Services (IPPS) - IP Phone Serv
    Replied by: Eric Pylko on 18-09-2011 10:16:38 AM
    That works great. Thanks Jeffrey!