Jump to content
Allodo

Dahua VTO2000A, SIP Firmware and Asterisk

Recommended Posts


oh lol my fault. thats what i meant. now i did a firmware update of both devices vth15 and vto2000a. my vto2000a is connected via 2-wire. in my vth the device isnt listet and i cant add one. is there something that i forgot to configure?

btw thanks a lot

 

EDIT:

Another question. i was trying around with other firmwares. it seems like a downgrade isnt possible anymore, am i right?

 

EDIT No 2.:

 

i found newer firmware for 2-wire models and was succesful in updating them.

Is there a way running a SIP-Server on one of the devices AND let them work together via 2wire?

Edited by tobit6795

Share this post


Link to post
Share on other sites

I own a VTO2000a and a VTH1550CH. Both were flashed with SIP firmware, VTO with an older one, VTH with a firmware from 2017. Yesterday I updated the VTH using VDPConfig to General_VTH151X_Eng_SIP_V4.300.0000000.5.R.20181024. It is not bricked, it booted up and asked me to set a password and an email address. It works, I can finally set an IPC which it can monitor nicely. Also the time settings now work, it shows my time zone instead of GMT. The GUI has been changed completely, it no longer looks like a child has designed it.

However, it looks like all the settings from the previous setup were wiped, and I cannot find the SIP configuration menu (this was the "Project Settings" menu from the previous version of the GUI). Resetting to factory settings from ConfigTool nor VDPConfig does not work (both tools want me to enable telnet before I reset it to factory settings, and telnet is not available on VTH1550 in newer firmwares).

Did any one figure out how the SIP configuration menu can be accessed? Dahua really sucks with their documentation...

Share this post


Link to post
Share on other sites

OK, I've figured it out thanks to the video attached below; the new GUI is shown from minute 8 onwards.

 

Basically, when you just touch and release the "Settings" icon, the device asks you for the password you set during the initial boot after the FW upgrade. This menu is the classic menu from where you can set the ringing sounds, volume, brightness etc.

To enter the menu where you can set the SIP server parameters and also the VTO's IP, one has to touch and hold the "Settings" icon for about 5-8 seconds. A password prompt will pop up; here you have to enter the same password you use for the other menu I described above (the one that the device asked for after the FW update), and not the Dahua standard "888888" or "002236"!

So to sum up, my VTH1550C now works flawlessly with General_VTH151X_Eng_SIP_V4.300.0000000.5.R.20181024. Well, sort of flawlessly... Today I noticed that the time is once again GMT and not my time zone ? But the automatic time update can be turned off.

Two interesting things, both related to this second menu you get after holding the Settings icon for  8 seconds. One, there is the option to turn on SSH. And second, if you have forgotten your password, there is the option on the password prompt to send you an email how to reset it (according to the text, it will send some data from the VTH to Dahua (e.g. serial number)). I have not tried it.

 

Video showing the new VTH GUI>

https://www.youtube.com/watch?v=RjpjK3Zi5I4

 

Share this post


Link to post
Share on other sites

Does anyone know how to add and configure the additional modules in the new V4.x SIP firmware.

In the V3.x firmware, I could add a keypad module and set the layout to have it below the camera module. There is no layout section that I can find in V4.x.

Also, the unlock code (which I assume is the "First Unlock Command" under Local Setting->Access Control->Local) won't work from the keypad module now (entering eg #123#).

There is also no unlock button in the web interface that I can find (it used to be under the video window). Basically, how can I unlock now?!

Share this post


Link to post
Share on other sites
9 minutes ago, rickwookie said:

Does anyone know how to add and configure the additional modules in the new V4.x SIP firmware.

 

Just set Device type as Small apartment. (It was similar setting in old web interface called Modularized villa)  

Share this post


Link to post
Share on other sites
32 minutes ago, jartashi said:

Just set Device type as Small apartment. (It was similar setting in old web interface called Modularized villa)  

Brilliant! Now I can unlock again!

 

Unfortunately, I can't seem to see where to set the number that the VTO calls once I change to "Small Appartment" mode. It will only call 9901.

 

Still can't find an unlock button in the web UI though. Does anyone know a cgi.bin? command that I can send to the VTO on port 80 to fire an unlock?

EDIT: I can see 9901 as the button label in the "Facade Layout", but clicking on that only pops up a blank Room List dialog. I can't add any rooms to the Room List though.

Edited by rickwookie
Stupid

Share this post


Link to post
Share on other sites

Enable the internal SIP Server again, then make the room configuration and disable it again - seems to be a UI issue.

Regarding the HTTP command for unlocking:

  • Primary Unlock (in the VTO2000A): http://admin:password@doorbell/cgi-bin/accessControl.cgi?action=openDoor&channel=1&UserID=101&Type=Remote
  • Secondary Unlock (the DEE1010B): http://admin:password@doorbell/cgi-bin/accessControl.cgi?action=openDoor&channel=2&UserID=101&Type=Remote

Cheers,

Uli

 

Share this post


Link to post
Share on other sites
13 minutes ago, SirUli said:

Enable the internal SIP Server again, then make the room configuration and disable it again - seems to be a UI issue.

Regarding the HTTP command for unlocking:

  • Primary Unlock (in the VTO2000A): http://admin:password@doorbell/cgi-bin/accessControl.cgi?action=openDoor&channel=1&UserID=101&Type=Remote
  • Secondary Unlock (the DEE1010B? http://admin:password@doorbell/cgi-bin/accessControl.cgi?action=openDoor&channel=2&UserID=101&Type=Remote

Cheers,

Uli

 

Amazing!

Annoying that you have to wait for a reboot when switching modes, but hey ho.

In the Room Number Management, do I need to include the #0 after the extension/group number that I want to add (as 9901 has it listed as 9901#0)?

Btw, I didn't even know that the DEE1010B was a thing! Can you cascade them on the RS485 bus to get more than one extra channel (channel 3, 4, 5, etc.)?

Thanks once again both @jartashi and @SirUli.

Share this post


Link to post
Share on other sites

@SirUli since you're the king of the URL commands... I can get RTSP streams from the panel using:

rtsp://admin:password@cameraIP/cam/realmonitor?channel=1&subtype=0 for the main stream and

rtsp://admin:password@cameraIP/cam/realmonitor?channel=1&subtype=1 for the substream, but how can I get a still JPEG.

Thanks.

Share this post


Link to post
Share on other sites

Unfortunately the command:

http://<ip>/cgi-bin/snapshot.cgi? [channel=<channelNo>]

from other Dahua IP cams does not work on my VTO.

So I use this in a PHP script to grab a pic:

$snapshot =  shell_exec('avconv -y -i \'rtsp://admin:admin@vto_ip\' -f image2 -vframes 1 -pix_fmt yuvj420p /home/user/snapshot.jpg');

 

Share this post


Link to post
Share on other sites
3 hours ago, riogrande75 said:

 


http://<ip>/cgi-bin/snapshot.cgi? [channel=<channelNo>]

 

Exactly this url (i used http://admin:password@hostname/cgi-bin/snapshot.cgi) gives me a picture BUT (and that is why i don't use it) it takes ages to get the picture back and thus has a high delay. Therefore i'm using a solution like riogrande75 but with a daemon that runs continuously and writes every couple seconds the image to a ramdisk. Through that i have the "current" picture available for anything you can imagine, e.g. Telegram or Fritz!Fon ;)

 

21 hours ago, rickwookie said:

In the Room Number Management, do I need to include the #0 after the extension/group number that I want to add (as 9901 has it listed as 9901#0)? 

Btw, I didn't even know that the DEE1010B was a thing! Can you cascade them on the RS485 bus to get more than one extra channel (channel 3, 4, 5, etc.)?

You don't have to include the #0, i just have 101, 102 etc as room names. And DEE1010B is only possible to be available once on the RS485 bus to my knowledge.

Edited by SirUli
Forgot hostname in URL

Share this post


Link to post
Share on other sites
1 hour ago, SirUli said:

Exactly this url (i used http://admin:password/cgi-bin/snapshot.cgi) gives me a picture BUT (and that is why i don't use it) it takes ages to get the picture back and thus has a high delay. Therefore i'm using a solution like riogrande75 but with a daemon that runs continuously and writes every couple seconds the image to a ramdisk. Through that i have the "current" picture available for anything you can imagine, e.g. Telegram or Fritz!Fon ;)

Wow. that command actually works and I get a jpeg instantly. It didn't used to work at all with the old firmware for me.

Problem is that, as with the unlock, it needs Digest HTTP Authentication, so it's difficult to do for me from a script command.

Share this post


Link to post
Share on other sites
32 minutes ago, rickwookie said:

Problem is that, as with the unlock, it needs Digest HTTP Authentication, so it's difficult to do for me from a script command.

Does that work for you?
curl --user="admin:pass" http://hostname/cgi-bin/snapshot.cgi --digest -o /mnt/ramdisk/snapshot.jpg

Cheers,

Uli

Share this post


Link to post
Share on other sites
4 hours ago, SirUli said:

Does that work for you?

curl --user="admin:pass" http://hostname/cgi-bin/snapshot.cgi --digest -o /mnt/ramdisk/snapshot.jpg

Cheers,

Uli

Yes probably. Tbh I can also use

wget -O snapshot.jpg http://admin:password@<IP>/cgi-bin/snapshot.cgi

Share this post


Link to post
Share on other sites

Hello Guys

Need a bit of advice, i currently have a VT)2000a and VTH1550CH currently running SIP versions, reason for this i needed to disable voice commands which is available in SIP version of firmware.  I have also noticed better Video from VTO2000a on the latest SIP versions, anyone else noticed this?

For some odd reason i cannot get my VTO talking to VTH in sip versions unless i run VTO as a SIP server and connect my VTH using SIP.

Above is OK but issue i get is whenever VTO reboots i cant get it talking to VTH again.  It seems the VTO extension takes time to come online.

Any suggestions please?

Share this post


Link to post
Share on other sites

Hi, I got few questions.

If I upgrade via tftp (which I already mastered :) ), sonia.zip and VideoDaemon.zip from new firmware are not uploaded to VTO. Is it a problem? What they are for? 

Currently I have 2018-06-06 V4.000.0000000.1.R version installed.

Basically everything works, but I can't manage to get video stream. In MicroSIP on desktop I get green screen with some dots. On mobile I just can't find a client that works with video. I had working video once, but I can't remember what was the program on android, i tried few, then left for a month :) Now none of programs on mobile even try to show video.

Also, though not very important to me, openDoor command in api results in "Error
Bad Request!" reply.

Also no advices about early media video?

Thanks!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×