Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Monitoring Phoner (Read 353 times)
Petr Laznovsky
YaBB Newbies
*
Offline


Phoner is great!

Posts: 30
Joined: 27. Feb 2009
Monitoring Phoner
10. Apr 2018 at 11:32
Print Post  
Using Phoner as an answering machine for about 10 years, now on virtual machine. Time by time Phoner crash or freeze and until i am noticed about this, answering machine is not receiving calls.

Thinking about way to monitor/kill/restart Phoner in such case. One way is to periodically check if binary running e.g.
Code
Select All
 tasklist /IM "Phoner.exe" 

but this does not detect frozen aplication, so tests should be more smart. 
Is it better to check if aplication listening on specific port e.g.
Code
Select All
netstat -anop tcp | findstr ":5060" 

or perform some SIp protocol testing with SipSak http://ftp.unpad.ac.id/orari/library/library-sw-hw/linux-1/sip/sip-proxy/sipsak/... or another similar tools?
  
Back to top
 
IP Logged
 
Phoner Admin
YaBB Administrator
*****
Offline



Posts: 8877
Location: Germany
Joined: 12. Oct 2003
Gender: Male
Re: Monitoring Phoner
Reply #1 - 10. Apr 2018 at 11:36
Print Post  
I am not very familiar with tools like curl. But theoretically you can do a HTTP request to the local SIP address: http://localhost:5060/
If you get no response, Phoner is not running or working...
  
Back to top
WWWGTalkSkype/VoIP  
IP Logged
 
Petr Laznovsky
YaBB Newbies
*
Offline


Phoner is great!

Posts: 30
Joined: 27. Feb 2009
Re: Monitoring Phoner
Reply #2 - 10. Apr 2018 at 14:53
Print Post  
Phoner Admin wrote on 10. Apr 2018 at 11:36:
I am not very familiar with tools like curl. But theoretically you can do a HTTP request to the local SIP address: http://localhost:5060/
If you get no response, Phoner is not running or working...


Thanks, will try it. Expect the port number is according to: Options, Communication, Devices, SIP, Localport ??
  
Back to top
 
IP Logged
 
Phoner Admin
YaBB Administrator
*****
Offline



Posts: 8877
Location: Germany
Joined: 12. Oct 2003
Gender: Male
Re: Monitoring Phoner
Reply #3 - 10. Apr 2018 at 15:14
Print Post  
Quote:
Thanks, will try it. Expect the port number is according to: Options, Communication, Devices, SIP, Localport ??

Exactly! Yes
  
Back to top
WWWGTalkSkype/VoIP  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint