09-26-2013, 10:58 AM
Hello,
I've Yealink T22P, T26P, I configure it to show InputScreen (YealinkIPPhoneInputScreen) by softkey. Everything work fine, but when I press "Submit" button the InputScreen send request on URL, receive result (xml), process it (in my case press HEADSET key), and that is all. InputScreen doesn't close. How can I close InputScreen after press "Submit" button?
My xml scripts:
Main form:
operation_complete
T22P firmware version: 7.70.0.157
T26P firmware version: 6.70.0.157
Thanks
I've Yealink T22P, T26P, I configure it to show InputScreen (YealinkIPPhoneInputScreen) by softkey. Everything work fine, but when I press "Submit" button the InputScreen send request on URL, receive result (xml), process it (in my case press HEADSET key), and that is all. InputScreen doesn't close. How can I close InputScreen after press "Submit" button?
My xml scripts:
Main form:
Code:
<YealinkIPPhoneInputScreen type="string" Timeout="15" Beep="yes" LockIn="no" displayMode="condensed">
<Title wrap="yes">Main form</Title>
<URL>http://MY_HOST/operation_complete.xml</URL>
<InputField>
<Prompt>User Name:</Prompt>
<Parameter>user</Parameter>
<Default></Default>
<!-- SoftKeys -->
<SoftKey index="1">
<Label>Submit</Label>
<URI>SoftKey:Submit</URI>
</SoftKey>
<SoftKey index="2">
<Label>Delete</Label>
<URI>SoftKey:BackSpace</URI>
</SoftKey>
<SoftKey index="3">
<Label></Label>
<URI></URI>
</SoftKey>
<SoftKey index="4">
<Label>Exit</Label>
<URI>SoftKey:Exit</URI>
</SoftKey>
</InputField>
<InputField password="yes">
<Prompt>Password:</Prompt>
<Parameter>password</Parameter>
<Default></Default>
<!-- SoftKeys -->
<SoftKey index="1">
<Label>Submit</Label>
<URI>SoftKey:Submit</URI>
</SoftKey>
<SoftKey index="2">
<Label>Delete</Label>
<URI>SoftKey:BackSpace</URI>
</SoftKey>
<SoftKey index="3">
<Label></Label>
<URI></URI>
</SoftKey>
<SoftKey index="4">
<Label>Exit</Label>
<URI>SoftKey:Exit</URI>
</SoftKey>
</InputField>
</YealinkIPPhoneInputScreen>
operation_complete
Code:
<YealinkIPPhoneExecute Beep="yes">
<ExecuteItem URI="Key:HEADSET" />
</YealinkIPPhoneExecute>
T22P firmware version: 7.70.0.157
T26P firmware version: 6.70.0.157
Thanks