Specifications
PA-001011-03-04 Aastra July 2014
195
$menu->output();
4.13 “Select” and “Dial” in the same TextMenu object
The only way to have a “Select” and “Dial” keys in the same text menu, the only option is to use
“Dial” as a system command and mimic “Select” with a custom key.
<AastraIPPhoneTextMenu destroyOnExit = ”yes”>
<Title>Dial and Select</Title>
<MenuItem>
<Prompt>First Selection</Prompt>
<URI>200</URI>
<Selection>200</Selection>
</MenuItem>
<MenuItem>
<Prompt>Second Selection</Prompt>
<URI>201</URI>
<Selection>201</Selection>
</MenuItem>
<SoftKey index = “1”>
<Label>Dial</Label>
<URI>SoftKey:Dial</URI>
</SoftKey>
<SoftKey index = “2”>
<Label>Select</Label>
<URI>http://myserver.com/script.php</URI>
</SoftKey>
</AastraIPPhoneTextMenu>
When the user selects item 1 and presses
Softkey 1, the phone dials 200
Softkey 2, the requested URI requested is http://myserver.com/script.php?selection=200