Page 1 of 1

SIP client

Posted: Sun Feb 15, 2015 11:42 am
by Jacco
Is there a plugin in for detecting phone calls on my Sip account?

Re: SIP client

Posted: Sun Feb 15, 2015 1:10 pm
by Pako
I do not know of anything similar with one exception.
You can try Phoner plugin.
This (obviously) requires that you install program Phoner.
I beg you: if you try it, write your experience here (any kind of course).

Pako

Re: SIP client

Posted: Sun Feb 15, 2015 2:31 pm
by Jacco
I tried your plugin with the phoner program, the Phoner program shows the incoming phone number.
But how can I send this phone number to eventghost.

I tried "External Application" in Phoner when there is an incoming call.


C:\Program Files\EventGhost\EventGhost.exe -e PhoneCall

But nothing in Eventghost,

Jacco


Eventghost is pretty new for me and I learn every day, I am very happy with it.

Re: SIP client

Posted: Sun Feb 15, 2015 4:15 pm
by Pako
Jacco wrote:I tried "External Application" in Phoner when there is an incoming call.
This is nonsense, you do not need it, when you have a plugin.
Now I've tried it, it works smoothly:
1) The downloaded file __init__.py I copied into the directory ...\EventGhost\plugins\Phoner
2) I rebooted EventGhost and added plugin Phoner
3) I start the action Phoner: Start/Connect Phoner (if Phoner is not running at the moment, so it starts)
4) That's it - events from Phoner appearing in EventGhost log

Note to Item 3):
It you can start automatically, for example using event Main.OnInit

Pako

Re: SIP client

Posted: Sun Feb 15, 2015 6:02 pm
by Jacco
The only event I see in hte EventGhost log is.


- Phoner.Offering 257
- Phoner.Disconnecting 257
- Phoner.Disconnected 257
- Phoner.Idle 257

but no incoming number.

Re: SIP client

Posted: Sun Feb 15, 2015 6:18 pm
by Pako
The plugin even has a few other actions, not only the Start/Connect Phoner:
Phoner-Get call info.png
Phoner-Get call info.png (3.88 KiB) Viewed 3485 times
Pako

Re: SIP client

Posted: Sun Feb 15, 2015 9:26 pm
by Jacco
Thanks for you help, now I understand how it is working.

Re: SIP client

Posted: Mon Feb 16, 2015 9:35 am
by Pako
Jacco wrote:now I understand how it is working
And it meets your needs?

Pako

Re: SIP client

Posted: Mon Feb 16, 2015 7:46 pm
by Jacco
Yes it does,

I had for years an analog old modem, connected to a serial2lan converter, that detects the phone number on the wired line.
Now I can skip the modem and the converter, so also two power adapters :)

Thanks,
Jacco