DS-KD8003 - DS-KV8113 - DS-KV8213 - DS-KV6113 - DS-KV8413 and .... integration Hikvision HikConnect Video intercom doorbell

Do you mean this?

[hikvision]
type=identify
endpoint=hikvision
match=192.168.0.71

IP of the indoor.I suppose that it matches [email protected] (indoor station extension → asterisk trunk). Keep it as you already have it in docs.I only changed the 10000000005 to 10010100000 and calls working perfect either using linhome or linphone.

If i read correctly there is no 2 way audio right? Not a problem for me sure, i am just asking in order to not waste my time by looking for something that is not currently supported.

ah ok, will change it back :slight_smile:
no, audio should work, its video thats doesnt get forwarded, thats why i use that baresip client to inject rtsp feed… sometimes, maybe 1 call on 10 i dont have 2 way audio, but normally no issue

I will disable hik-connect and try again. I muted the call notifications inside the app but it may causing conflict leaving it enabled…

Hm, I still have Hikconnect enabled, do you use Linhome registered directly to asterisk?

1st method) iOS Linhome app registered to linhome.org (1-way audio). I can only hear the mic input from doorbell.
2nd) iOS Linphone registered to asterisk as 6000 e.g. Same issue. (Locally tested)

*Also tested linphone with android…All permissions allowed microphone etc. but still the same.

Hmm, maybe wireshark the call? i know hikvision used hardcoded ports, my guess is that i dont have video… didnt yet have time to play with the ports

Maybe in your case it only wants the 9654 port, for me it works, even if i define random ports

here is a trace i did before…

Strange that my outdoor/indoor station is not shown in wireshark. Maybe because they are on wifi? Anyways…This is a wireshark result when i call from my phone to the outdoor station. In this example i am using wireguard because i am not home. No routing issue btw.If i call from one phone to another using asterisk 2 way audio works fine…

When i receive the video call on my phone and answer i can hear the doorbell’s mic input…If i try to speak from my phone its like loopback. I instant hear my voice from my phones speaker. It’s not the same as classic voip issues hearing your voice with delay etc…

seems your audio and video ports are indeed completely different
Not sure with Linphone Andoid, but on some SIP clients, you can also make a fixed audio/video port

I would try to setup the rtp range in Asterisk, within 7000-9000 , because its default 10000-20000
also test with linphone desktop, there you can define the ports manually, just for testing, seems yours is using 7246 for audio…

What you can also do, run the script, just once , then kill/stop it (or run the script on your desktop where linphone desktop is running) so the registtaion IP is the same)

Then just setup an account on linphone desktop, that registers directly on your indoor station, so you take asteriks complete out of the loop… i think if the indoor gets the registration from script (because of the serial its sending), yo can also register linphone directly, just use 1000000000X as a Sip username, and your passord, then register on your indoor on IP:5065 , make sure you also set the listeing port fixed to 5060 on screenshot above, seems the invite coming from indoor to an extension is always hardcoded to 5060 (in my case), otherwise you dont get the invite coming in

what you can also do, just a a quick test, change the listening port in the script back to 5060 , its now 5061 … then run the script with debug mode enabled, the do a doorpress call , you should see the event coming in, with the audio/video ports

1 Like
C:\Users\Alex>python3 C:\Users\Alex\Desktop\hikvision_register.py --ip 192.168.1.27 --domain 192.168.1.154 --username 10000000005 --extension 10000000005 --name Asterisk --password INDOORSTATIONPASSWORD --debug
INFO:sip-server:Registering
DEBUG:sip-server:>REGISTER sip:192.168.1.154:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.27:5060;rport
Max-Forwards: 70
Contact: <sip:[email protected]:5060>
To: ""<sip:[email protected]:5065>
From: "Asterisk"<sip:[email protected]:5065>
Call-ID: 4277300034
CSeq: 1 REGISTER
Expires: 600
Allow: NOTIFY, INVITE, ACK, CANCEL, BYE, REFER, INFO, OPTIONS, MESSAGE
Content-Type: text/xml
User-Agent: eXosip/3.6.0
Content-Length: 166

<regXML>
<version>V2.0.0</version>
<regDevName>Asterisk</regDevName>
<regDevSerial>Q12345678</regDevSerial>
<regDevMacAddr>00:0c:29:12:12:12</regDevMacAddr>
</regXML>
DEBUG:sip-server:SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.1.27:5060;rport=5060
From: "Asterisk" <sip:[email protected]:5065>
To: "" <sip:[email protected]:5065>;tag=490759275
Call-ID: 4277300034
CSeq: 1 REGISTER
Content-Type: text/xml
User-Agent: sipServer
Date: Tue, 17 Jan 2023 15:07:53 GMT
Content-Length:   102

<version>V2.0.0</version>
<random>AJcyg92+SvARJB0FKv2irQ==</random>
<isSummerTime>0</isSummerTime>

INFO:sip-server:OK REGISTER
DEBUG:sip-server:INVITE sip:[email protected]:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.154:5060;rport;branch=z9hG4bK493375789
From: OUTDOOR STATION <sip:[email protected]>;tag=1494075330
To: <sip:[email protected]:5060>
Call-ID: 1333993736
CSeq: 20 INVITE
Contact: <sip:[email protected]:5060>
Content-Type: application/sdp
Max-Forwards: 70
User-Agent: HKVS/2.0.0
Subject: This is a call to app.
Content-Length:   457

v=0
o=Q10301956 0 0 IN IP4 192.168.1.154
s=Talk session
c=IN IP4 192.168.1.156
t=0 0
a=doorFloor:0
a=responseType:0
a=doorType:1
a=isSpecialType:0
a=isConfirm:0
a=version:V1.0.0
a=lockNum:1
m=audio 9654 RTP/AVP 0 8 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=sendrecv
m=video 9856 RTP/AVP 96
a=rtpmap:96 H264/90000
a=fmtp:96 profile-level-id=42801F;packetization-mode=1
a=recvonly

INFO:sip-server:Received invite (call)
DEBUG:sip-server:>SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.1.154:5060;rport;branch=z9hG4bK493375789
To: <sip:[email protected]:5060>
From: OUTDOOR STATION <sip:[email protected]>;tag=1494075330
Call-ID: 1333993736
CSeq: 1 INVITE
Content-Length: 0


DEBUG:sip-server:>SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 192.168.1.154:5060;rport;branch=z9hG4bK493375789
Contact: <sip:[email protected]:5060>
To: <sip:[email protected]:5060>
From: OUTDOOR STATION <sip:[email protected]>;tag=1494075330
Call-ID: 1333993736
CSeq: 1 INVITE
User-Agent: eXosip/3.6.0
Allow-Events: talk, hold
Content-Length: 0


DEBUG:sip-server:CANCEL sip:[email protected]:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.154:5060;rport;branch=z9hG4bK493375789
From: OUTDOOR STATION <sip:[email protected]>;tag=1494075330
To: <sip:[email protected]:5060>
Call-ID: 1333993736
CSeq: 20 CANCEL
Max-Forwards: 70
User-Agent: HKVS/2.0.0
Content-Length: 0


INFO:sip-server:Call ended by caller
DEBUG:sip-server:>SIP/2.0 200 OK
Contact: <sip:[email protected]:5060>
To: <sip:[email protected]:5060>
From: OUTDOOR STATION <sip:[email protected]>;tag=1494075330
Call-ID: 1333993736
CSeq: 20 CANCEL
User-Agent: eXosip/3.6.0
Allow-Events: talk, hold
Content-Length: 0


DEBUG:sip-server:CANCEL sip:[email protected]:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.154:5060;rport;branch=z9hG4bK493375789
From: OUTDOOR STATION <sip:[email protected]>;tag=1494075330
To: <sip:[email protected]:5060>
Call-ID: 1333993736
CSeq: 20 CANCEL
Max-Forwards: 70
User-Agent: HKVS/2.0.0
Content-Length: 0


INFO:sip-server:Call ended by caller
DEBUG:sip-server:>SIP/2.0 200 OK
Contact: <sip:[email protected]:5060>
To: <sip:[email protected]:5060>
From: OUTDOOR STATION <sip:[email protected]>;tag=1494075330
Call-ID: 1333993736
CSeq: 20 CANCEL
User-Agent: eXosip/3.6.0
Allow-Events: talk, hold
Content-Length: 0


DEBUG:sip-server:CANCEL sip:[email protected]:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.154:5060;rport;branch=z9hG4bK493375789
From: OUTDOOR STATION <sip:[email protected]>;tag=1494075330
To: <sip:[email protected]:5060>
Call-ID: 1333993736
CSeq: 20 CANCEL
Max-Forwards: 70
User-Agent: HKVS/2.0.0
Content-Length: 0


INFO:sip-server:Call ended by caller
DEBUG:sip-server:>SIP/2.0 200 OK
Contact: <sip:[email protected]:5060>
To: <sip:[email protected]:5060>
From: OUTDOOR STATION <sip:[email protected]>;tag=1494075330
Call-ID: 1333993736
CSeq: 20 CANCEL
User-Agent: eXosip/3.6.0
Allow-Events: talk, hold
Content-Length: 0


DEBUG:sip-server:CANCEL sip:[email protected]:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.154:5060;rport;branch=z9hG4bK493375789
From: OUTDOOR STATION <sip:[email protected]>;tag=1494075330
To: <sip:[email protected]:5060>
Call-ID: 1333993736
CSeq: 20 CANCEL
Max-Forwards: 70
User-Agent: HKVS/2.0.0
Content-Length: 0


INFO:sip-server:Call ended by caller
DEBUG:sip-server:>SIP/2.0 200 OK
Contact: <sip:[email protected]:5060>
To: <sip:[email protected]:5060>
From: OUTDOOR STATION <sip:[email protected]>;tag=1494075330
Call-ID: 1333993736
CSeq: 20 CANCEL
User-Agent: eXosip/3.6.0
Allow-Events: talk, hold
Content-Length: 0


DEBUG:sip-server:CANCEL sip:[email protected]:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.154:5060;rport;branch=z9hG4bK493375789
From: OUTDOOR STATION <sip:[email protected]>;tag=1494075330
To: <sip:[email protected]:5060>
Call-ID: 1333993736
CSeq: 20 CANCEL
Max-Forwards: 70
User-Agent: HKVS/2.0.0
Content-Length: 0


INFO:sip-server:Call ended by caller
DEBUG:sip-server:>SIP/2.0 200 OK
Contact: <sip:[email protected]:5060>
To: <sip:[email protected]:5060>
From: OUTDOOR STATION <sip:[email protected]>;tag=1494075330
Call-ID: 1333993736
CSeq: 20 CANCEL
User-Agent: eXosip/3.6.0
Allow-Events: talk, hold
Content-Length: 0


DEBUG:sip-server:CANCEL sip:[email protected]:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.154:5060;rport;branch=z9hG4bK493375789
From: OUTDOOR STATION <sip:[email protected]>;tag=1494075330
To: <sip:[email protected]:5060>
Call-ID: 1333993736
CSeq: 20 CANCEL
Max-Forwards: 70
User-Agent: HKVS/2.0.0
Content-Length: 0


INFO:sip-server:Call ended by caller
DEBUG:sip-server:>SIP/2.0 200 OK
Contact: <sip:[email protected]:5060>
To: <sip:[email protected]:5060>
From: OUTDOOR STATION <sip:[email protected]>;tag=1494075330
Call-ID: 1333993736
CSeq: 20 CANCEL
User-Agent: eXosip/3.6.0
Allow-Events: talk, hold
Content-Length: 0


DEBUG:sip-server:CANCEL sip:[email protected]:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.154:5060;rport;branch=z9hG4bK493375789
From: OUTDOOR STATION <sip:[email protected]>;tag=1494075330
To: <sip:[email protected]:5060>
Call-ID: 1333993736
CSeq: 20 CANCEL
Max-Forwards: 70
User-Agent: HKVS/2.0.0
Content-Length: 0


INFO:sip-server:Call ended by caller
DEBUG:sip-server:>SIP/2.0 200 OK
Contact: <sip:[email protected]:5060>
To: <sip:[email protected]:5060>
From: OUTDOOR STATION <sip:[email protected]>;tag=1494075330
Call-ID: 1333993736
CSeq: 20 CANCEL
User-Agent: eXosip/3.6.0
Allow-Events: talk, hold
Content-Length: 0


DEBUG:sip-server:CANCEL sip:[email protected]:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.154:5060;rport;branch=z9hG4bK493375789
From: OUTDOOR STATION <sip:[email protected]>;tag=1494075330
To: <sip:[email protected]:5060>
Call-ID: 1333993736
CSeq: 20 CANCEL
Max-Forwards: 70
User-Agent: HKVS/2.0.0
Content-Length: 0


INFO:sip-server:Call ended by caller
DEBUG:sip-server:>SIP/2.0 200 OK
Contact: <sip:[email protected]:5060>
To: <sip:[email protected]:5060>
From: OUTDOOR STATION <sip:[email protected]>;tag=1494075330
Call-ID: 1333993736
CSeq: 20 CANCEL
User-Agent: eXosip/3.6.0
Allow-Events: talk, hold
Content-Length: 0

hmm, seems the RTP info is not debugged :frowning:

can you try the linphone desktop approach? just run the script back on port 5061 on same OS where you run linphone desktop with SIP listening port 5060

Ok maybe we have some info now.

Script with port 5061 executed from cmd :

C:\Users\Alex>python3 C:\Users\Alex\Desktop\hikvision_register.py --ip 192.168.1.27 --domain 192.168.1.154 --username 10000000005 --extension 10000000005 --name Asterisk --password MYPASS --debug
INFO:sip-server:Registering
DEBUG:sip-server:>REGISTER sip:192.168.1.154:5061 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.27:5061;rport
Max-Forwards: 70
Contact: <sip:[email protected]:5061>
To: ""<sip:[email protected]:5065>
From: "Asterisk"<sip:[email protected]:5065>
Call-ID: 3948309726
CSeq: 1 REGISTER
Expires: 600
Allow: NOTIFY, INVITE, ACK, CANCEL, BYE, REFER, INFO, OPTIONS, MESSAGE
Content-Type: text/xml
User-Agent: eXosip/3.6.0
Content-Length: 166

<regXML>
<version>V2.0.0</version>
<regDevName>Asterisk</regDevName>
<regDevSerial>Q12345678</regDevSerial>
<regDevMacAddr>00:0c:29:12:12:12</regDevMacAddr>
</regXML>
DEBUG:sip-server:SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.1.27:5061;rport=5061
From: "Asterisk" <sip:[email protected]:5065>
To: "" <sip:[email protected]:5065>;tag=1293163761
Call-ID: 3948309726
CSeq: 1 REGISTER
Content-Type: text/xml
User-Agent: sipServer
Date: Tue, 17 Jan 2023 17:46:09 GMT
Content-Length:   102

<version>V2.0.0</version>
<random>oeVV4xA7Velt6QoGn47PEg==</random>
<isSummerTime>0</isSummerTime>

INFO:sip-server:OK REGISTER

Script didnt show something this time but…
Linphone Desktop account is with red triangle like its not registering but because of your script, when i press the doorbell linphone desktop started ringing.Answered but no audio or video ofc but wireshark captured some rtp ports.


192.168.1.154 : Indoor Station
192.168.1.27 : PC
192.168.1.156: Outdoor Station

Remember, you need to configure linphone desktop to register on your indoor station, on port 5065 , you used 5060… The listening port needs to be 5060, you can find listening port in network settings, 5060 is needed to receive the invite, seems it’s hardcoded in the indoor station

C:\Users\Alex>python3 C:\Users\Alex\Desktop\hikvision_register.py --ip 192.168.1.27 --domain 192.168.1.154 --username 10000000005 --extension 10000000005 --name Asterisk --password MYPASS --debug
INFO:sip-server:Registering
DEBUG:sip-server:>REGISTER sip:192.168.1.154:5061 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.27:5061;rport
Max-Forwards: 70
Contact: <sip:[email protected]:5061>
To: ""<sip:[email protected]:5065>
From: "Asterisk"<sip:[email protected]:5065>
Call-ID: 8113280064
CSeq: 1 REGISTER
Expires: 600
Allow: NOTIFY, INVITE, ACK, CANCEL, BYE, REFER, INFO, OPTIONS, MESSAGE
Content-Type: text/xml
User-Agent: eXosip/3.6.0
Content-Length: 166

<regXML>
<version>V2.0.0</version>
<regDevName>Asterisk</regDevName>
<regDevSerial>Q12345678</regDevSerial>
<regDevMacAddr>00:0c:29:12:12:12</regDevMacAddr>
</regXML>
DEBUG:sip-server:SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.1.27:5061;rport=5061
From: "Asterisk" <sip:[email protected]:5065>
To: "" <sip:[email protected]:5065>;tag=1967284821
Call-ID: 8113280064
CSeq: 1 REGISTER
Content-Type: text/xml
User-Agent: sipServer
Date: Tue, 17 Jan 2023 18:22:38 GMT
Content-Length:   102

<version>V2.0.0</version>
<random>oeVV4xA7Velt6QoGn47PEg==</random>
<isSummerTime>0</isSummerTime>

INFO:sip-server:OK REGISTER
DEBUG:sip-server:ACK sip:[email protected]:5061 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.154:5060;rport=5060;branch=z9hG4bK91372429
From: "OUTDOOR STATION" <sip:[email protected]>;tag=1534754029
To: <sip:[email protected]:5060>;tag=G-o6Gf5
Call-ID: 2084230929
CSeq: 20 ACK
Contact: <sip:[email protected]:5060>
Max-forwards: 70
User-agent: HKVS/2.0.0
Content-Length: 0


INFO:sip-server:Unhandled data: ACK sip:[email protected]:5061 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.154:5060;rport=5060;branch=z9hG4bK91372429
From: "OUTDOOR STATION" <sip:[email protected]>;tag=1534754029
To: <sip:[email protected]:5060>;tag=G-o6Gf5
Call-ID: 2084230929
CSeq: 20 ACK
Contact: <sip:[email protected]:5060>
Max-forwards: 70
User-agent: HKVS/2.0.0
Content-Length: 0


DEBUG:sip-server:ACK sip:[email protected]:5061 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.154:5060;rport=5060;branch=z9hG4bK91372429
From: "OUTDOOR STATION" <sip:[email protected]>;tag=1534754029
To: <sip:[email protected]:5060>;tag=G-o6Gf5
Call-ID: 2084230929
CSeq: 20 ACK
Contact: <sip:[email protected]:5060>
Max-forwards: 70
User-agent: HKVS/2.0.0
Content-Length: 0


INFO:sip-server:Unhandled data: ACK sip:[email protected]:5061 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.154:5060;rport=5060;branch=z9hG4bK91372429
From: "OUTDOOR STATION" <sip:[email protected]>;tag=1534754029
To: <sip:[email protected]:5060>;tag=G-o6Gf5
Call-ID: 2084230929
CSeq: 20 ACK
Contact: <sip:[email protected]:5060>
Max-forwards: 70
User-agent: HKVS/2.0.0
Content-Length: 0


DEBUG:sip-server:ACK sip:[email protected]:5061 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.154:5060;rport=5060;branch=z9hG4bK91372429
From: "OUTDOOR STATION" <sip:[email protected]>;tag=1534754029
To: <sip:[email protected]:5060>;tag=G-o6Gf5
Call-ID: 2084230929
CSeq: 20 ACK
Contact: <sip:[email protected]:5060>
Max-forwards: 70
User-agent: HKVS/2.0.0
Content-Length: 0


INFO:sip-server:Unhandled data: ACK sip:[email protected]:5061 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.154:5060;rport=5060;branch=z9hG4bK91372429
From: "OUTDOOR STATION" <sip:[email protected]>;tag=1534754029
To: <sip:[email protected]:5060>;tag=G-o6Gf5
Call-ID: 2084230929
CSeq: 20 ACK
Contact: <sip:[email protected]:5060>
Max-forwards: 70
User-agent: HKVS/2.0.0
Content-Length: 0


DEBUG:sip-server:ACK sip:[email protected]:5061 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.154:5060;rport=5060;branch=z9hG4bK91372429
From: "OUTDOOR STATION" <sip:[email protected]>;tag=1534754029
To: <sip:[email protected]:5060>;tag=G-o6Gf5
Call-ID: 2084230929
CSeq: 20 ACK
Contact: <sip:[email protected]:5060>
Max-forwards: 70
User-agent: HKVS/2.0.0
Content-Length: 0


INFO:sip-server:Unhandled data: ACK sip:[email protected]:5061 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.154:5060;rport=5060;branch=z9hG4bK91372429
From: "OUTDOOR STATION" <sip:[email protected]>;tag=1534754029
To: <sip:[email protected]:5060>;tag=G-o6Gf5
Call-ID: 2084230929
CSeq: 20 ACK
Contact: <sip:[email protected]:5060>
Max-forwards: 70
User-agent: HKVS/2.0.0
Content-Length: 0


DEBUG:sip-server:ACK sip:[email protected]:5061 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.154:5060;rport=5060;branch=z9hG4bK91372429
From: "OUTDOOR STATION" <sip:[email protected]>;tag=1534754029
To: <sip:[email protected]:5060>;tag=G-o6Gf5
Call-ID: 2084230929
CSeq: 20 ACK
Contact: <sip:[email protected]:5060>
Max-forwards: 70
User-agent: HKVS/2.0.0
Content-Length: 0


INFO:sip-server:Unhandled data: ACK sip:[email protected]:5061 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.154:5060;rport=5060;branch=z9hG4bK91372429
From: "OUTDOOR STATION" <sip:[email protected]>;tag=1534754029
To: <sip:[email protected]:5060>;tag=G-o6Gf5
Call-ID: 2084230929
CSeq: 20 ACK
Contact: <sip:[email protected]:5060>
Max-forwards: 70
User-agent: HKVS/2.0.0
Content-Length: 0


DEBUG:sip-server:ACK sip:[email protected]:5061 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.154:5060;rport=5060;branch=z9hG4bK91372429
From: "OUTDOOR STATION" <sip:[email protected]>;tag=1534754029
To: <sip:[email protected]:5060>;tag=G-o6Gf5
Call-ID: 2084230929
CSeq: 20 ACK
Contact: <sip:[email protected]:5060>
Max-forwards: 70
User-agent: HKVS/2.0.0
Content-Length: 0


INFO:sip-server:Unhandled data: ACK sip:[email protected]:5061 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.154:5060;rport=5060;branch=z9hG4bK91372429
From: "OUTDOOR STATION" <sip:[email protected]>;tag=1534754029
To: <sip:[email protected]:5060>;tag=G-o6Gf5
Call-ID: 2084230929
CSeq: 20 ACK
Contact: <sip:[email protected]:5060>
Max-forwards: 70
User-agent: HKVS/2.0.0
Content-Length: 0


DEBUG:sip-server:ACK sip:[email protected]:5061 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.154:5060;rport=5060;branch=z9hG4bK91372429
From: "OUTDOOR STATION" <sip:[email protected]>;tag=1534754029
To: <sip:[email protected]:5060>;tag=G-o6Gf5
Call-ID: 2084230929
CSeq: 20 ACK
Contact: <sip:[email protected]:5060>
Max-forwards: 70
User-agent: HKVS/2.0.0
Content-Length: 0


INFO:sip-server:Unhandled data: ACK sip:[email protected]:5061 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.154:5060;rport=5060;branch=z9hG4bK91372429
From: "OUTDOOR STATION" <sip:[email protected]>;tag=1534754029
To: <sip:[email protected]:5060>;tag=G-o6Gf5
Call-ID: 2084230929
CSeq: 20 ACK
Contact: <sip:[email protected]:5060>
Max-forwards: 70
User-agent: HKVS/2.0.0
Content-Length: 0


DEBUG:sip-server:ACK sip:[email protected]:5061 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.154:5060;rport=5060;branch=z9hG4bK91372429
From: "OUTDOOR STATION" <sip:[email protected]>;tag=1534754029
To: <sip:[email protected]:5060>;tag=G-o6Gf5
Call-ID: 2084230929
CSeq: 20 ACK
Contact: <sip:[email protected]:5060>
Max-forwards: 70
User-agent: HKVS/2.0.0
Content-Length: 0


INFO:sip-server:Unhandled data: ACK sip:[email protected]:5061 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.154:5060;rport=5060;branch=z9hG4bK91372429
From: "OUTDOOR STATION" <sip:[email protected]>;tag=1534754029
To: <sip:[email protected]:5060>;tag=G-o6Gf5
Call-ID: 2084230929
CSeq: 20 ACK
Contact: <sip:[email protected]:5060>
Max-forwards: 70
User-agent: HKVS/2.0.0
Content-Length: 0


DEBUG:sip-server:ACK sip:[email protected]:5061 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.154:5060;rport=5060;branch=z9hG4bK91372429
From: "OUTDOOR STATION" <sip:[email protected]>;tag=1534754029
To: <sip:[email protected]:5060>;tag=G-o6Gf5
Call-ID: 2084230929
CSeq: 20 ACK
Contact: <sip:[email protected]:5060>
Max-forwards: 70
User-agent: HKVS/2.0.0
Content-Length: 0


INFO:sip-server:Unhandled data: ACK sip:[email protected]:5061 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.154:5060;rport=5060;branch=z9hG4bK91372429
From: "OUTDOOR STATION" <sip:[email protected]>;tag=1534754029
To: <sip:[email protected]:5060>;tag=G-o6Gf5
Call-ID: 2084230929
CSeq: 20 ACK
Contact: <sip:[email protected]:5060>
Max-forwards: 70
User-agent: HKVS/2.0.0
Content-Length: 0


DEBUG:sip-server:ACK sip:[email protected]:5061 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.154:5060;rport=5060;branch=z9hG4bK91372429
From: "OUTDOOR STATION" <sip:[email protected]>;tag=1534754029
To: <sip:[email protected]:5060>;tag=G-o6Gf5
Call-ID: 2084230929
CSeq: 20 ACK
Contact: <sip:[email protected]:5060>
Max-forwards: 70
User-agent: HKVS/2.0.0
Content-Length: 0


INFO:sip-server:Unhandled data: ACK sip:[email protected]:5061 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.154:5060;rport=5060;branch=z9hG4bK91372429
From: "OUTDOOR STATION" <sip:[email protected]>;tag=1534754029
To: <sip:[email protected]:5060>;tag=G-o6Gf5
Call-ID: 2084230929
CSeq: 20 ACK
Contact: <sip:[email protected]:5060>
Max-forwards: 70
User-agent: HKVS/2.0.0
Content-Length: 0


DEBUG:sip-server:ACK sip:[email protected]:5061 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.154:5060;rport=5060;branch=z9hG4bK91372429
From: "OUTDOOR STATION" <sip:[email protected]>;tag=1534754029
To: <sip:[email protected]:5060>;tag=G-o6Gf5
Call-ID: 2084230929
CSeq: 20 ACK
Contact: <sip:[email protected]:5060>
Max-forwards: 70
User-agent: HKVS/2.0.0
Content-Length: 0


INFO:sip-server:Unhandled data: ACK sip:[email protected]:5061 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.154:5060;rport=5060;branch=z9hG4bK91372429
From: "OUTDOOR STATION" <sip:[email protected]>;tag=1534754029
To: <sip:[email protected]:5060>;tag=G-o6Gf5
Call-ID: 2084230929
CSeq: 20 ACK
Contact: <sip:[email protected]:5060>
Max-forwards: 70
User-agent: HKVS/2.0.0
Content-Length: 0



Ah, now you receive the invite on linphone? Does it ring? Is it online? Because you setup “offline”…
Do you have audio now?

1.27 is linphone right?

Yeah 1.27 pc running linphone… It’s ringing when i press the doorbell but when i answer from linphone no video/audio. The calls lasts about 20 secs then it hangs.

hmm,try 9654 and 9856, that ports are being used to send from 1.156 , thats your outdoor, right?

look at my trace of an original indoor extension, 0.70 is my outdoor, it sends audio to a 0.72 (extension)
in my case it sends audio from 9654 to 9654

so change it to 9654 for audio on linphone

0.71 is my primary indoor

here is trace of orginal indoor extension
image

Hello, how to do doorbell automation using the SDK(call_status).