09-18-2015, 08:51 AM
I am developing php apps to go with our T46G phones
I want to use action URLs and show text on the screen when the phone executes an action URI.
The phones are requesting the php pages just fine but when I out put a XML formated response the phone does not show this on the screen at all
Do action uri's accept XML display and/or menu blocks in return? Is there an example of how I should do this if so?
the xml text for I am using for example is
action offhook uri = http://xx.xx.xx.xx/yealink/offhook.php
Output of offhook.php is
-----------------------------------------
<YealinkIPPhoneTextScreen
doneAction="http://xx.xx.xx.xx/yealink/cancel.php"
Timeout="15"
LockIn="no"
Beep="no"
>
<Title wrap="yes">Off Hoos </Title>
<Text> Your phone is offhook, waiting for your input</Text>
</YealinkIPPhoneTextScreen>
------------------------------------------
Basically my goal is to program buttons during the call and remove them when done.
Thanks
Steve
I want to use action URLs and show text on the screen when the phone executes an action URI.
The phones are requesting the php pages just fine but when I out put a XML formated response the phone does not show this on the screen at all
Do action uri's accept XML display and/or menu blocks in return? Is there an example of how I should do this if so?
the xml text for I am using for example is
action offhook uri = http://xx.xx.xx.xx/yealink/offhook.php
Output of offhook.php is
-----------------------------------------
<YealinkIPPhoneTextScreen
doneAction="http://xx.xx.xx.xx/yealink/cancel.php"
Timeout="15"
LockIn="no"
Beep="no"
>
<Title wrap="yes">Off Hoos </Title>
<Text> Your phone is offhook, waiting for your input</Text>
</YealinkIPPhoneTextScreen>
------------------------------------------
Basically my goal is to program buttons during the call and remove them when done.
Thanks
Steve