Connect door bell via WLAN(SIP) to VoIP server

christian
Posts: 2
Joined: Sun Dec 31, 2017 10:01 am

Connect door bell via WLAN(SIP) to VoIP server

Postby christian » Sun Dec 31, 2017 10:13 am

Hello,

i just cleaned up my project a bit and uploaded it to github, but it is still work in progress:
https://github.com/chrta/sip_call

When the door bell rings, a VoIP call is initiated. It keeps ringing for a predefined duration or until someone picks up the phone.

Hardware
I used a simple ESP32 dev board, that is connected to two opto couplers to detect a door bell signal (12V AC in my case). The opto couplers pull down a GPIO pin on the ESP32.

Firmware
The current implementation is tested with AVM Fritzbox 7490 (DSL router with internal SIP server). All configuration options are available via "make menuconfig".
The SIP protocol is self written and implemented "quick and dirty" for the Fritzbox. But it should not be too complicated to get it running for other SIP servers.

Regards,
Christian

WiFive
Posts: 1914
Joined: Tue Dec 01, 2015 7:35 am

Re: Connect door bell via WLAN(SIP) to VoIP server

Postby WiFive » Sun Dec 31, 2017 12:07 pm

Nice are you going to try to get g.711 audio and rtp working?

christian
Posts: 2
Joined: Sun Dec 31, 2017 10:01 am

Re: Connect door bell via WLAN(SIP) to VoIP server

Postby christian » Sun Dec 31, 2017 12:40 pm

WiFive wrote:Nice are you going to try to get g.711 audio and rtp working?


I have tried that in the beginning, but struggled with sdp and rtp. At the moment i do not plan to implement it myself.
A receiving rtp socket is already set up, but all received data is discarded. No data is sent and the rtp reports (?) are ignored.

Who is online

Users browsing this forum: No registered users and 2 guests