Actions

Open door script does not work: Difference between revisions

From Zenitel Wiki

No edit summary
No edit summary
 
Line 24: Line 24:
<br style="clear:both;" />
<br style="clear:both;" />


[[Category: Zenitel Operator Troubleshooting]]
[[Category: VS-Operator Troubleshooting]]

Latest revision as of 09:38, 29 June 2023

AI.png

The Open Door script as described in early versions of the manual, and as part of standard scripts in early VS-Operators itself, does not work for both incoming and outgoing calls. This is be rectified in later versions, and it is recommended to download and install the latest version of both VS-Operator Server and VS-Operator Client.

The correct script is:

string dirop = App.Params.Get("DIROP", ""); 
string dira = App.Params.Get("DIRA", ""); 
int nnop = App.Params.Get("NNOP", 0);
int nna = App.Params.Get("NNA", 0);
 
if ((dira==dirop) && (nna==nnop))
{
	App.STE ("@U%NNB $ER U2 U0 U1 U1 L%DIRB U3 L(%NNOP)%DIROP"); 
	App.Delay (3500);
	App.STE ("@U%NNB $ER U2 U0 U0 U1 L%DIRB U3 L(%NNOP)%DIROP");
}
else
{
	App.STE ("@U%NNA $ER U2 U0 U1 U1 L%DIRA U3 L(%NNOP)%DIROP");
	App.Delay (3500);
	App.STE ("@U%NNA $ER U2 U0 U0 U1 L%DIRA U3 L(%NNOP)%DIROP");
}


MediaWiki spam blocked by CleanTalk.