mpodroid / door-berry

VoIP intercom and door bell system based on Raspberry Pi
98 stars 24 forks source link

External pbx #1

Open npenin opened 10 years ago

npenin commented 10 years ago

Hi,

I have set up asterisk on another machine and doorberry does not seem to call. Is there any way to get some log ?

sfxsfl commented 10 years ago

Hi, to Log Asterisk start as root asterisk -r. There you should see the status of the pjsua agent as soon as it is available. Log information in the context of Python, start the daemon in the file door berry in directory station. "ctx = daemon.DaemonContext(stdout=sys.stdout)"

One thing I've changed is the initialization in the file keypad to use a pull-up resistor for the push button.

Regards Stefan

Sent from Mobile Device ...

Am 21.06.2014 um 13:49 schrieb Nicolas Penin notifications@github.com:

Hi,

I have set up asterisk on another machine and doorberry does not seem to call. Is there any way to get some log ?

— Reply to this email directly or view it on GitHub.

npenin commented 10 years ago

I finally found my mistake. Thanks for your fast answer. Unfortunately, I have no sound. I am using the wolfson audio card and the dmic on it. Did you already had a chance to test that config ?

sfxsfl commented 10 years ago

Hi, Your setup sounds pretty interesting to me. So far I've managed to get my USB audio device working and to call different pc's from my door station. However I failed on the video device setup. It seems that pjsip supports video but not with a python API. There is still some work todo ...

I would be interested to stay in touch. We might be able to leverage on each other ...

BR Stefan

Sent from Mobile Device ...

Am 21.06.2014 um 17:03 schrieb Nicolas Penin notifications@github.com:

I finally found my mistake. Thanks for your fast answer. Unfortunately, I have no sound. I am using the wolfson audio card and the dmic on it. Did you already had a chance to test that config ?

— Reply to this email directly or view it on GitHub.

motom001 commented 9 years ago

Maybe your are interesseted in my project DoorPi: https://github.com/motom001/DoorPi It's an fork from door-berry, but the python part is nearly complete rewritten...