CiscoIPPhoneExecute

Unanswered Question
Sep 26th, 2007

I have a service assigned to line key 6.

This service displays text and offers SoftKeys that when selected change the agent state (IPCC).

Selecting the softkey will call a page with 3 x ExecuteItems. (1 URL & 2 URIs)

<CiscoIPPhoneExecute>

<ExecuteItem Priority="1" URL="Http://xxxx/changeagentstate.jsp"/>

<ExecuteItem Priority="1" URL="Key:Services"/>

<ExecuteItem Priority="1" URL="Key:Line6"/>

</CiscoIPPhoneExecute>

The first execute item brings up a screen that I do not want and cannot change. The second item clears the screen and the third brings the application back to screen with the SoftKeys.

This works on a 7960 but will not work on a 7961. The third execute item will not kick in.

If I move it to the top of the list I can see it working but it will not execute after either of the previous execute items. If I change it to select Key:Line1 it activates the speaker as would be expected.

Why would this work on a 7960 but not a 7961? Any other methods I can use to get back to my original application screen.

thanks.

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
msabir Tue, 10/02/2007 - 10:49

From your post, it is not clear what is your goal. Please elaborate. Also, try using refresh header in the first execute's URL, instead of using three executes. I can explain it, once I know what you are trying to do.

michael.cartwri... Mon, 10/08/2007 - 20:17

I think I understand the problem better now... that being it executes all 3 lines together - not in order as I expected. How can execute one statement after the other has finished.

The 7960 must have been to slow to execute all at once but the 7961 does so.

Mike-1985 Mon, 10/08/2007 - 22:58

As example send just one ExecuteItem:

http://server-ip/script.php&action=1

script.php:

<?php

if(isset($_GET['action']) && is_numeric($_GET['action']))

{

$action = $_GET['action'];

switch($action)

{

case 1:

$output = "code 1";

break;

case 2:

$output = "code 2";

break;

case 3:

$output = "code 3";

break;

}

$action++;

if($action < 3)

{

header("Refresh: 1; url=\"http://server-ip/script.php&action=".$action."\"")

echo $output;

}

}

?>

Didn't test this code. But I guess you got my point ;-)

Actions

This Discussion