Yealink Forums
Close YealinkIPPhoneInputScreen by SoftKey:Submit - Printable Version

+- Yealink Forums (http://forum.yealink.com/forum)
+-- Forum: IP Phone Series (/forumdisplay.php?fid=4)
+--- Forum: Phone specific topic (/forumdisplay.php?fid=12)
+---- Forum: T2xP Series (/forumdisplay.php?fid=21)
+---- Thread: Close YealinkIPPhoneInputScreen by SoftKey:Submit (/showthread.php?tid=850)



Close YealinkIPPhoneInputScreen by SoftKey:Submit - antoniy - 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:
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


RE: Close YealinkIPPhoneInputScreen by SoftKey:Submit - Yealink Support - 09-29-2013 05:28 PM

Hi Antoniy,
I tried your xml files, and yes, after press Submit, it didn't close the screen.
We will check further about this issue.
BTW, i tried attached template file, and Submit softkey works, could you try with this xml file and check again?
Thanks.


RE: Close YealinkIPPhoneInputScreen by SoftKey:Submit - antoniy - 09-30-2013 03:12 PM

Hello,

I've tried your sample, but in my test (on T26P) InputScreen haven't closed after the "Submit" button was pressed. May be in the "menu.php" do some action to close the screen?

Thanks.