Yealink Forums
ActionURL-HELP!!! - 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: ActionURL-HELP!!! (/showthread.php?tid=41167)



ActionURL-HELP!!! - evo - 09-29-2017 02:55 PM

What we need is to send by the Action Url on the event INCOMING CALL the number of the number calling.
I reffer to the administrator guide you post, not the same because is not available anymore but from the yealink website aswell.

The structure of an Action Url always seems to be the same

http://192.168.0.20/help.xml?IP=$ip

and following the manual...

action_url.incoming_call (page 318 from my manual)

http://192.168.0.20/help.xml?IP=$ip

So.. using the variable that i need.

$call_id ---- The call_id of the active call
or $calledNumber ---- not sure wich one but tried both

http://192.168.0.20/help.xml?PHONE=$call_id
http://192.168.0.20/help.xml?PHONE=$calledNumber

Where 192.168.0.20 is the IP from the machine that im making the GET request,.
It doesn't work.

Where working on a Yealink T23G

A help will be apreciated!!!

Thanks!!!IdeaIdeaIdeaIdea


RE: ActionURL-HELP!!! - Aishion_Yealink - 09-30-2017 07:50 AM

(09-29-2017 02:55 PM)evo Wrote:  What we need is to send by the Action Url on the event INCOMING CALL the number of the number calling.
I reffer to the administrator guide you post, not the same because is not available anymore but from the yealink website aswell.

The structure of an Action Url always seems to be the same

http://192.168.0.20/help.xml?IP=$ip

and following the manual...

action_url.incoming_call (page 318 from my manual)

http://192.168.0.20/help.xml?IP=$ip

So.. using the variable that i need.

$call_id ---- The call_id of the active call
or $calledNumber ---- not sure wich one but tried both

http://192.168.0.20/help.xml?PHONE=$call_id
http://192.168.0.20/help.xml?PHONE=$calledNumber

Where 192.168.0.20 is the IP from the machine that im making the GET request,.
It doesn't work.

Where working on a Yealink T23G

A help will be apreciated!!!

Thanks!!!
Dear customer,

Can I kindly know what do you mean Action URL can't work? Please note that the IP should be server IP not phone IP?

I test on my side with the latest V82 firmware, and it works well with $calledNumber and$callerID, the steps are below:

1. Set on Web UI:

[attachment=4666]

2. Set my PC IP 10.2.2.2 as a server IP.

3.Make a call and grab the trace file.

4.Then you can see the HTTP GET message that the incoming call number is 321.

[attachment=4667]

If any question, please feel free to contact us.

Best Regards

Aishion


RE: ActionURL-HELP!!! - Aishion_Yealink - 09-30-2017 07:55 AM

(09-29-2017 02:55 PM)evo Wrote:  What we need is to send by the Action Url on the event INCOMING CALL the number of the number calling.
I reffer to the administrator guide you post, not the same because is not available anymore but from the yealink website aswell.

The structure of an Action Url always seems to be the same

http://192.168.0.20/help.xml?IP=$ip

and following the manual...

action_url.incoming_call (page 318 from my manual)

http://192.168.0.20/help.xml?IP=$ip

So.. using the variable that i need.

$call_id ---- The call_id of the active call
or $calledNumber ---- not sure wich one but tried both

http://192.168.0.20/help.xml?PHONE=$call_id
http://192.168.0.20/help.xml?PHONE=$calledNumber

Where 192.168.0.20 is the IP from the machine that im making the GET request,.
It doesn't work.

Where working on a Yealink T23G

A help will be apreciated!!!

Thanks!!!
Dear customer,

Please note that IP should be server IP not phone IP.

I test on my side with the latest firmware, and it works well with $calledNumber and$callerID, the steps are below:

1. Set on Web UI:

[attachment=4668]

2. Set my PC IP 10.2.2.2 as a server IP.

3.Make a call and grab the trace file.

4.Then you can see the HTTP GET message that the incoming call number is 321.

[attachment=4669]

More information about Action URL, please refer below guide from page 622- 640:

http://download.support.yealink.com/download?path=upload%2Fattachment%2F2017-9-13%2F3%2F515c5eb6-d552-49b5-abaf-54cdbae3e3aa%2FYealink_SIP-T2_Series_T19%28P%29%20E2_T4_Series_T5_Series_IP_Phones_Administrator_Guide_V82_​20.pdf

If any question, please feel free to contact us.

Best Regards
Aishion


RE: ActionURL-HELP!!! - evo - 10-02-2017 09:02 AM

(09-30-2017 07:55 AM)Aishion_Yealink Wrote:  
(09-29-2017 02:55 PM)evo Wrote:  What we need is to send by the Action Url on the event INCOMING CALL the number of the number calling.
I reffer to the administrator guide you post, not the same because is not available anymore but from the yealink website aswell.

The structure of an Action Url always seems to be the same

http://192.168.0.20/help.xml?IP=$ip

and following the manual...

action_url.incoming_call (page 318 from my manual)

http://192.168.0.20/help.xml?IP=$ip

So.. using the variable that i need.

$call_id ---- The call_id of the active call
or $calledNumber ---- not sure wich one but tried both

http://192.168.0.20/help.xml?PHONE=$call_id
http://192.168.0.20/help.xml?PHONE=$calledNumber

Where 192.168.0.20 is the IP from the machine that im making the GET request,.
It doesn't work.

Where working on a Yealink T23G

A help will be apreciated!!!

Thanks!!!
Dear customer,

Please note that IP should be server IP not phone IP.

I test on my side with the latest firmware, and it works well with $calledNumber and$callerID, the steps are below:

1. Set on Web UI:



2. Set my PC IP 10.2.2.2 as a server IP.

3.Make a call and grab the trace file.

4.Then you can see the HTTP GET message that the incoming call number is 321.



More information about Action URL, please refer below guide from page 622- 640:

http://download.support.yealink.com/download?path=upload%2Fattachment%2F2017-9-13%2F3%2F515c5eb6-d552-49b5-abaf-54cdbae3e3aa%2FYealink_SIP-T2_Series_T19%28P%29%20E2_T4_Series_T5_Series_IP_Phones_Administrator_Guide_V82_​20.pdf

If any question, please feel free to contact us.

Best Regards
Aishion

Thanks for the help!!!but still , i was unable to do it!!

I used both:

http://192.168.2.56/help.xml?PHONE=$callerID
http://192.168.2.56/help.xml?PHONE=$call_id
http://192.168.2.56/help.xml?PHONE=$calledNumber

where 192.168.2.56 is the IP from the machine that i make the request, NEVER THE PHONE IP. I also tried to the ip from our server being 192.168.2.10 and still not working.I got the trace and i only see protocol TCP, not a HTTP!!!

[Image: Action_URLcalled_ID.png]

[Image: PACP_TRACE.png]

[Image: trace2.png]


What am i doing wrong???

Thanks!!

P.S.: i can't download the manual, seems to be offline.But i think i have the same versions.


RE: ActionURL-HELP!!! - evo - 10-02-2017 04:17 PM

All solved!!!! Thanks to all you guys, great forum and great help.
Here was the mistake, or better said, the solution.

http://192.168.1.212:8060/help.xml?PHONE=$callerID

Where the IP is from the machine making the GET request and the 8060 the listening port!Yeaahhhhhhhh-Link!

It was the freaking port of the listening server,obviously until it pop up in my mindBig GrinBig GrinBig Grin

Thanks eitherway for all the support.


RE: ActionURL-HELP!!! - Aishion_Yealink - 10-09-2017 12:49 AM

(10-02-2017 04:17 PM)evo Wrote:  All solved!!!! Thanks to all you guys, great forum and great help.
Here was the mistake, or better said, the solution.

http://192.168.1.212:8060/help.xml?PHONE=$callerID

Where the IP is from the machine making the GET request and the 8060 the listening port!Yeaahhhhhhhh-Link!

It was the freaking port of the listening server,obviously until it pop up in my mindBig GrinBig GrinBig Grin

Thanks eitherway for all the support.

Dear Evo,

Glad to hear that and my pleasure to work with you.

​If you have another question, please feel free to contact us.

Best Regards
Aishion