Yealink Forums

Full Version: ActionURL-HELP!!!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
(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
(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/down...V82_20.pdf

If any question, please feel free to contact us.

Best Regards
Aishion
(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/down...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.
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.
(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
Reference URL's