Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can I use also a Dahua VTH monitor? #341

Open
Cr4z33 opened this issue Jul 12, 2024 · 0 comments
Open

Can I use also a Dahua VTH monitor? #341

Cr4z33 opened this issue Jul 12, 2024 · 0 comments

Comments

@Cr4z33
Copy link

Cr4z33 commented Jul 12, 2024

So right now I am using a VTO doorbell with your Asterisk integration to answer to it straight from Home Assistant.

I was wondering if a Dahua VTH touch monitor can connect to this SIP server too?

If yes what shall I enter in the Asterisk CONF files and what to enter in the VTH settings (I usually use Dahua ConfigTool for it)?

  • The Asterisk SIP server is at IP address 192.168.3.222 and has extension 9901
  • The VTO is at IP address 192.168.3.12 and has extension 8001
  • The VTH is at IP address 192.168.3.15 and has extension 9902

These are my current CONFs:

  • extensions.conf
; Note: this file has been modified from the Asterisk defaults for the add-on

[general]
static=yes

[default]
exten => 9901,1,NoOp()
 same => n,Answer()
 same => n,Hangup()
;
include => parkedcalls
;
exten => 444,1,Park(,s)
;
exten => 555,1,ParkedCall(default,701)
;
exten => _X!,1,Dial(${PJSIP_DIAL_CONTACTS(${EXTEN})})
;
;extension for dialing chan_sip devices.
;exten => _X!,1,Dial(SIP/${EXTEN})

[parkedcallstimeout]
exten => s,1,Hangup()

  • pjsip_custom.conf
; Place your own extensions here.

[8001]
type = endpoint
context = default
disallow = all
allow = alaw,ulaw
allow = h264
direct_media_method = invite
dtmf_mode = info
callerid = "Doorbell" <8001>
force_rport = no
aors = 8001
auth = auth8001

[8001]
type = aor
max_contacts = 1

[auth8001]
type = auth
auth_type = userpass
password = somepassword
username = 8001

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant