Page Index Toggle Pages: 1 Send TopicPrint
Hot Topic (More than 10 Replies) Like call API (Read 14713 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: 11389
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: 11389
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: 3
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: 11389
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
 
CallerID
YaBB Newbies
*
Offline


Phoner is great!

Posts: 3
Joined: 20. Jul 2020
Re: Like call API
Reply #7 - 24. Nov 2022 at 02:40
Print Post  
I see we got Telegram notification support in the latest version.
I guess HTTP requests are implemented, so let me remind you of that request  Smiley
  
Back to top
 
IP Logged
 
Phoner Admin
YaBB Administrator
*****
Offline



Posts: 11389
Location: Germany
Joined: 12. Oct 2003
Gender: Male
Re: Like call API
Reply #8 - 24. Nov 2022 at 14:04
Print Post  
You can exactly do this with PhonerLite. You can setup an application that will be called for an incoming call. Just put there the name of your script. The phone number will be the first parameter. So you just have to put the parameter as part of your URL within your script.
  
Back to top
WWW  
IP Logged
 
CallerID
YaBB Newbies
*
Offline


Phoner is great!

Posts: 3
Joined: 20. Jul 2020
Re: Like call API
Reply #9 - 24. Nov 2022 at 19:27
Print Post  
Yes, my script works fine, I just wish I could do without it. And it would be nice to get the type of event (incoming call, missed call, etc.)
  
Back to top
 
IP Logged
 
Phoner Admin
YaBB Administrator
*****
Offline



Posts: 11389
Location: Germany
Joined: 12. Oct 2003
Gender: Male
Re: Like call API
Reply #10 - 25. Nov 2022 at 10:35
Print Post  
You can configure a different script per event. These scripts can call your main script with additional event type parameter.
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint