VTO4202F + VTH5341G-W + Fritz!Box + Asterisk

fanavity

n3wb
Joined
Feb 18, 2020
Messages
17
Reaction score
0
Location
Germany
Hi,

i have a VTO4202F with my Fritz!Box and Asterix configured and all worked fine. Yesterday i received my VTH5341G-W and wanted to add it to the configuration, but i'm not able to get it running.

My sip.config:

Code:
[general]
language=de
bindport = 5060
bindaddr = 0.0.0.0
externrefresh=30
nat=force_rport,comedia
srvlookup=yes
transport=udp
externip=192.168.178.67
localnet=10.40.0.1/255.255.0.0
directmedia=yes
videosupport=yes
register => haustuer:***@192.168.178.1/haustuer

[8001]
host=dynamic
defaultuser=VTO2000A
type=friend
secret=***
context=ausgehend
canreinvite=yes
qualify=yes
disallow=all
allow=ulaw
allow=h264
dtmfmode=info

[201]
host=dynamic
defaultuser=VTH
type=friend
secret=***
context=ausgehend
canreinvite=yes
qualify=yes
disallow=all
allow=ulaw
allow=h264
dtmfmode=info
videosupport=yes

[videodoorgateway]
context=eingehend
type=friend
insecure=invite
nat=force_rport,comedia instead
defaultuser=haustuer
fromuser=haustuer
fromdomain=fritz.box
secret=***
host=192.168.178.1
dtmfmode=rfc2833
disallow=all
allow=ulaw
my extensions.conf

Code:
[ausgehend]
exten => 101,1,Set(CALLERID(num)=101)
exten => 101,n,Ringing()
exten => 101,n,Dial(SIP/23@videodoorgateway,10,m)
exten => 101,n,Hangup()

[default]
include => ausgehend
show peers
Code:
Name/username             Host                                    Dyn Forcerport Comedia    ACL Port     Status      Description
201/VTH                   (Unspecified)                            D  Yes        Yes            0        UNKNOWN
8001/VTO2000A             192.168.178.15                           D  Yes        Yes            5060     OK (3 ms)
videodoorgateway/haustuer 192.168.178.1                               Yes        No             5060     Unmonitored
3 sip peers [Monitored: 1 online, 1 offline Unmonitored: 1 online, 0 offline]
I'm not able to configre the VTH to register at the asterisk correctly. I try it over Dahua COnfigtool.
SIP Server IP: 192.168.178.67
Port: 5060
SIP Register Pwd: empty
SIP Realm: asterisk
Login User: 201
Login Password: ***
Enable: Checked

Whats wrong ? Idk. I hope you can help me :)

EDIT: And is it possible to configure the SIP at the VTH itself or is that only working via Configtool?
 
Last edited:
Top