Yealink Forums
Action URLS - Printable Version

+- Yealink Forums (http://forum.yealink.com/forum)
+-- Forum: IP Phone Series (/forumdisplay.php?fid=4)
+--- Forum: T4x Series (/forumdisplay.php?fid=31)
+--- Thread: Action URLS (/showthread.php?tid=7664)



Action URLS - steveg - 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


RE: Action URLS - James_Yealink - 09-18-2015 08:37 PM

Hello Steve,

Can you export a pcap trace and syslog?
Go to Setting-> Configuration, set syslog to 6, start pcap trace. Reproduce your issue then export them.

Regards,
James


RE: Action URLS - steveg - 09-19-2015 08:23 AM

Thanks James

Done and sent in a PM