Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Do you did make a reset over ssh? I had too no luck without reset, but with reset it works good.
  2. Hello Vytasm! Can you help me please - this instruvtions shows how to change the Language files on the VTO2000. I tryed like you to make it for the VTH15xx but i don't what a destination should set at step 8. Becaus by the VTH i don't become the Message "WARNING Autodetected config: VTO" Or maybe you can upload you ready Firmware? There are two-three ways to solve this:- you set at you Dial() command in asterisks dialplan the option r or R or together. - look at Progress(), the progressinband setting in sip.conf or Ringing() if you would like to avoid the use of 'r' but have issues with the ringback behaviour of Dial(). - make in you diaplan as first step an answer and play after that ring tones. But this is ... http://www.voip-info.org/wiki/view/Asterisk+cmd+Dial I'm sorry, but with the SIP-Protocol you must do this in you Asterisk self. There is no way at the VTO or other dialing SIP-Device to discover this situation - it is simply impossible. The only who can send a message to the VTO back when ringing is canceled, is the Asterisk self. The Panel (SIP-Client) communicates in the Ringing phase only with the Asterisk and with no body else. In this moment the VTO doesn't know that there is a Panel or more then one Clients.... He "see" only the Asterisk, nothing else. The whole Communication is going over the Asterisk. So you can modify you dialapln in such way, that when in Asterisk occure a disconnect event, the whole call to VTO is canceled. https://de.wikipedia.org/wiki/Session_Initiation_Protocol#/media/File:SIP-B2BUA-call-flow.png Look that there is no direct connection between Alice and Boris. The only Connection is the SIP-PBX. You have (may be!) direct connection between VTO and VTH ONLY if the Client is going to answer the call. And then ONLY when the RTP-Media Data a redirected between the VTO and the VTH. That is in sip-calls not allways the Case! The option in asterisk for this is canreinvite. If it is set to NO on one or both of the sides - the stream will going only true the asterisk. This is why i wrote may be. Best Regards and excuse me for my bad english!
  3. Hello! Wrong connection - nooo.... i don't believe this. It is so simple the connection, thet there is no place to going somenthing worng. But in the firmware is it possible, that the setting of the wait time is not fuctioning correct. I never changed the time to see if this works. For me was it enough 1x to open. And i teste that much later, more than 30 or 60sec., the second opening works too. The Porblem is, i don't use any more the nonSIP-Firmware and switsched to the SIP-Protocol. So if i can chek it eve by me. but i don't know if this will help you, because we use completely different Firmware. I test it by me and write again. Offtopic: There is a way per Web Request to open the door too. There is no delay restriction in this case.
  4. I think there is a time after the frist opening that you have to wait, before you can open the door again. By me it is so. But by me doesn't freeze the VTO. May be is yours broken? The wait time is to find/set in the configuration webpage of the VTO.
  5. Hi! I'm not sure for what it is good? In the API PDF stays written: I'm from germany and here exist a Term - Ich verstehe nur Bahnhof (I understand only Station) Meaning - i don't understand nothing. I don't understand the Context of the API Call.... It is may be for the nonSIP-Firmware. Were a Client must register at the VTO?! The example IP-Adress is a Mutlicast-Addres - such thing doesn't exist usualy by SIP. So i think this is all for the nonSIP-Firmware. But i'm not 100% sure. I'm sorry it is to high for me
  6. Hello! Do you tryed the Example: http://192.168.xxx.xxx/cgi-bin/accessControl.cgi?action=openDoor&channel=1&UserID=101&Type=Remote It works fine by me. In the PDF i read: URL-Syntax: http://<ip>/cgi-bin/accessControl.cgi?action=openDoor&channel=<channelNo>[&UserID=<UserID>&Type=<Type>] Param in: channelNo: channelNo: the index of door. Start from 1; The followings are optional: UserID: remote User ID; Type: the open type; default value is “Remote”. For example: http://<ip>/cgi-bin/accessControl.cgi?action=openDoor&channel=1&UserID=101&Type=Remote OK, why 101 - i don't know. I assumed it must be a SIP-DID, or the own 8001 for example... But no. May be 101 is the Linux-UID from admin? Edit: as User ID works 102 too and 103 and ....
  7. There is a new (for me) SIP-Firmware for the VTH indoor Station:ftp://ftp.asm.cz/Dahua/videovratni/VTH15xx/firmware/20160930-CZ-SIP.ZIP
  8. And here some Docu to the links that Foxi found in sonia: ftp://ftp.asm.cz/Dahua/videovratni/_SDK/DAHUA_HTTP_CGI_FOR_VDP.pdf Its only a small number of Links with a little bit more information.
  9. Hi! Yes i tryed it, but become only audio and not video. The same like you. At Asterisk i become the message unknown rtp codec 95. I think that Elcom use Mjpeg (for access as IP Camera?) and something other (VP8/9?) for SIP (Really?!). The App is created from Zoiper for Elcom and it seems, that it is specialy developed for Elcom DoorPhone and Cameras. May be i'm wrong, but i think i remember that codec 95 message occurs only if i set in the original Zoiper App the V9 Video-Codet to on. Edit: Ha.... here stay that 95 is unasigned.... Great http://www.iana.org/assignments/rtp-parameters/rtp-parameters.xhtml
  10. Hello pkozul! Please try to set dtmfmode=info on both sides - not only at the 8001. The conversation from rfc2833 to info should work, but if the other side is set to inband (audio) then asterisk can not transfer the dtmf tone to info. It continous to came as sound at the VTO. Do you hear the tone when you press the keys? If yes, then this is the case. Or show us please you other DID, of the other side, i see here only the 8001. Thanks!
  11. Hello Serge! I tested some with Pushbullet on my Android Xperia M4. So far i now, Pushbullet works with iPhone too. He can send not only Notes per Push - he can send Files (Pictures) too. It is a little bit complicated, than Notes, but it works perfect. And Pushbullet is for free if you don't need Support. Here is a call how to send a Note: #!/bin/bash API="API-Key kommt hier rein" MSG="$1" curl -u $API: https://api.pushbullet.com/v2/pushes -d device_iden="iden-code wohin die Nachricht gehen soll" -d type=note -d title="Alert from Pi" -d body="$MSG" More or less from here: https://jankarres.de/2014/03/raspberry-pi-push-benachrichtigung-bei-ssh-anmeldung/ Here is a Script to Send a files: #!/usr/bin/perl use JSON; use LWP::UserAgent; # credentials and device identifier my $api_key = 'XXXXXXXXXXXXXXXXXXXXXXXXXXX'; my $password = 'XXXXXXXX'; # for what?!?!? my $device = 'XXXXXXXXXXXXXX'; # iden-code come here # file to send my $file_name = 'image.png'; my $file_type = 'image/png'; my $user_agent = LWP::UserAgent->new(); $user_agent->agent('My File Pusher v1.0'); # Send a request for authorisation to upload a file .. my $request_response = $user_agent->post('https://api.pushbullet.com/v2/upload-request', 'Authorization' => 'Bearer '.$api_key, 'Content' => ['file_name' => $file_name, 'file_type' => $file_type]); if ($request_response->is_success) { # no obvious error from the server, parse the JSON .. my $json = from_json($request_response->content); if ($json->{'upload_url'}) { # we have an end point to push to and we can upload the file my @data; # the order of these fields is important, AWS will cry if you don't respect the ordering!! foreach my $item ('awsaccesskeyid', 'acl', 'key', 'signature', 'policy', 'content-type') { push(@data, $item => $json->{'data'}->{$item}) } # and add the file push(@data, 'file' => [ $file_name ]); # now attempt to upload the file my $upload_response = $user_agent->post($json->{'upload_url'}, 'Content_Type' => 'form-data', 'Content' => \@data); if ($upload_response->is_success) { # looks like we uploaded the file successfully # so now send the actual push to the device my $push_response = $user_agent->post('https://api.pushbullet.com/v2/pushes', 'Authorization' => 'Bearer '.$api_key, 'Content-Type' => 'application/json', 'Content' => to_json({'device_iden' => $device, 'type' => 'file', 'file_name' => $json->{'file_name'}, 'file_type' => $json->{'file_type'}, 'file_url' => $json->{'file_url'}})); if ($push_response->is_success) { print "Pushed OK!\n"; } else { print "Push failed!\n"; } } } } Source: May be it works for you? Greetings Edit: I'm using Pushbullet to send a Note with a Key-Word. Under Android i have the App TASKER which looks what for Notes came in per Pushbullet. When he see the Keyword he start by me IP Cam Viewer App. But it should work by you without Tasker an only with a Picture too. Simple sends of Pictures per script (from here) from my Raspberry to Sony M4 works perfect. Delay is not more then 1-2 sec., but it depends of course on the internet connection. When no connection, Push comes later, when connection is reestablished.
  12. Yes, i can confirm that. And this 3 sec. are logical: the VTO is waiting to see if there will folow more Key input and so far there no any more, he evaluate the input - in your case 55, in my 123. Thanks!
  13. Hello Serge! Thank you for the mksquashfs statement. So if correct understand, the only reason to install squashfs-tools is that build.py can find the prerequisite file at start (mksquashfs)? I see.... ok, then symbolic sholud be fully OK and not neccesary to install the tools. I was not 100% sure, that Version is really set to 3 in build.py... But now i can sleep quiet. Thank You!
  14. Hello Serge! Great! Thanks!!! Edit 1: Can you explain me please, how it works wit the unsquashfs or better with the mksquashfs? The squash tools 3.4 installs only a binary mksquashfs3 in /usr/local/bin. So when i start build.py he call mksquashfs and can't find it, because there is no mksquashfs (without 3 at the end) yet. When we install the squash-tools package from debian he install mksquashfs, that can be used, but is in version 4. Is this not the wrong version? So how... and when build.py start the right one (v3)? I'm not sure that this is the case. So i'm very afraid yet to flash my VTO. Maybe im thinking worng, but if we not make a manual symbolic link to mksquashfs3, he will use the new one? And will brick the VTO? Were i'm wrong. Yes i saw, that here is variable with the Name Version in build.py and that this is added to the command String for mksquashfs at the end. But he calls further only mksquashfs and not mksquashfs3. Or is there other way to start in version 3? I don't understand something. Excuse me.
  15. Hello Serge! Big, very Big thank you!!! Great work! Greetings, Julian P.S. By me, he don't found mkimage, so installed addtitionaly u-boot-tools. Is this correct? And in /usr/loca/bin i found only unsquashfs3, but extract.py need unsquashfs, so i make symbilc link in /usr/local/bin for unsquashfs. The same for mksquashfs3 an mksquashfs. Is it ok? Is it normal, that i become a slightly smaller file - about 718 bytes (without changes in the firmware - only repackaged)?