Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Like call API (Read 5985 times)
Alexander Yurchenko
YaBB Newbies
*
Offline


Phoner is great!

Posts: 3
Joined: 25. Apr 2012
Like call API
25. Apr 2012 at 20:26
Print Post  
Hi, I really like your program. Do you have the opportunity to do in the setting PhonerLite box for link to the web interface, link like this http://site.com/admin/tel/phone.php?num=%s. When have calling, somewhere in the program, click on the link but instead of %s to substitute the number of the caller and the link open in browser?

Thanks for the answer (sorry for my english)
  
Back to top
 
IP Logged
 
Phoner Admin
YaBB Administrator
*****
Offline



Posts: 10093
Location: Germany
Joined: 12. Oct 2003
Gender: Male
Re: Like call API
Reply #1 - 26. Apr 2012 at 08:15
Print Post  
In Phoner (not PhonerLite) you can start any external application for an incoming call. You can start your own batch file, the caller-id will be the first parameter. That batch file can build the URL and can open that URL.
I have no plans to integrate that in PhonerLite.
  
Back to top
WWW  
IP Logged
 
Alexander Yurchenko
YaBB Newbies
*
Offline


Phoner is great!

Posts: 3
Joined: 25. Apr 2012
Re: Like call API
Reply #2 - 27. Apr 2012 at 07:59
Print Post  
I try to use in Options -> External app -> Connected Call
C:\Program Files\Opera\opera.exe %s

But window in Opera does not appear.
What I did wrong?

Thanks
  
Back to top
 
IP Logged
 
Phoner Admin
YaBB Administrator
*****
Offline



Posts: 10093
Location: Germany
Joined: 12. Oct 2003
Gender: Male
Re: Like call API
Reply #3 - 27. Apr 2012 at 10:46
Print Post  
See here: http://www.forum.phoner.de/YaBB.pl?num=1330609805/1#1
You need to call a local batch file and that batch file calls the URL - without calling the browser explicitly.
  
Back to top
WWW  
IP Logged
 
Alexander Yurchenko
YaBB Newbies
*
Offline


Phoner is great!

Posts: 3
Joined: 25. Apr 2012
Re: Like call API
Reply #4 - 27. Apr 2012 at 11:32
Print Post  
Thanks it work  Smiley
  
Back to top
 
IP Logged
 
CallerID
YaBB Newbies
*
Offline


Phoner is great!

Posts: 1
Joined: 20. Jul 2020
Re: Like call API
Reply #5 - 20. Jul 2020 at 17:04
Print Post  
Hello.
I really need this feature too. Cheap D-Link phones have it.

BTW, this is my VBS script for incoming call:
Code
Select All
URL="http://your_site.lan/t?incoming_call&number="

Set WshShell = WScript.CreateObject("WScript.Shell")
Set http = CreateObject("Microsoft.XmlHttp")

On Error Resume Next
URL = URL & WScript.Arguments.Item(0)
http.open "GET", URL, False
http.send ""
if err.Number = 0 Then
	'WScript.Echo http.responseText
Else
	'Wscript.Echo "error " & Err.Number & ": " & Err.Description
End If
Set WshShell = Nothing
Set http = Nothing
 

  
Back to top
 
IP Logged
 
Phoner Admin
YaBB Administrator
*****
Offline



Posts: 10093
Location: Germany
Joined: 12. Oct 2003
Gender: Male
Re: Like call API
Reply #6 - 21. Jul 2020 at 07:59
Print Post  
See my last post. You can specify an application or script that will be called for incoming call. The number of the caller is passed as first parameter.
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint