Yealink Forums

Full Version: Close YealinkIPPhoneInputScreen by SoftKey:Submit
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
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.
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.
Reference URL's