Hello,
I need little help, because i dont know, where is problem with app for videophone Dahua VTO2000A. I have videophone Dahua VTO2000A and two android phones, one is Samsung J5 2016 model and other Lenovo A850. VTO2000A works as SIP server and registration works fine on both phones. But I have problem with calls, when I call from VTO2000A to Samsung J5, it works fine, but from VTO to Lenovo A850, its not working. I used Wireshark to see UDP stream and there is only INVITE message and no response from Lenovo A850. I also tried call from both phones to VTO but thats not working, even on Samsung J5. Below are logs from Wireshark. One is when I call from VTO to Lenovo A850 and other from Lenovo A850 to VTO.
Thank you.
Best Regards
Lukas
Log from Wireshark - VTO to Lenovo A850:
Via: SIP/2.0/UDP 192.168.88.55:5060;rport;branch=z9hG4bK642351168
Via: SIP/2.0/UDP 192.168.88.55:5061;rport=5061;branch=z9hG4bK932878039
CSeq: 20 INVITE
User-agent: Dahua UAC/3.0 VTO2000A V3.300.1.0
Expires: 120
Max-Forwards: 69
Content-Type: application/sdp
Content-Length: 252
v=0
o=0 0 0 IN IP4 192.168.88.55
s=Dahua VT 1.5
c=IN IP4 192.168.88.55
t=0 0
m=video 20001 RTP/AVP 96
a=framerate:25.000000
a=rtpmap:96 H264/90000
a=sendrecv
m=audio 20000 RTP/AVP 97 0
a=rtpmap:97 PCM/16000
a=rtpmap:0 PCMU/8000
a=sendrecv
Via: SIP/2.0/UDP 192.168.88.55:5060;rport;branch=z9hG4bK642351168
Via: SIP/2.0/UDP 192.168.88.55:5061;rport=5061;branch=z9hG4bK932878039
CSeq: 20 INVITE
User-agent: Dahua UAC/3.0 VTO2000A V3.300.1.0
Expires: 120
Max-Forwards: 69
Content-Type: application/sdp
Content-Length: 252
v=0
o=0 0 0 IN IP4 192.168.88.55
s=Dahua VT 1.5
c=IN IP4 192.168.88.55
t=0 0
m=video 20001 RTP/AVP 96
a=framerate:25.000000
a=rtpmap:96 H264/90000
a=sendrecv
m=audio 20000 RTP/AVP 97 0
a=rtpmap:97 PCM/16000
a=rtpmap:0 PCMU/8000
a=sendrecv
Via: SIP/2.0/UDP 192.168.88.55:5060;rport;branch=z9hG4bK642351168
Via: SIP/2.0/UDP 192.168.88.55:5061;rport=5061;branch=z9hG4bK932878039
CSeq: 20 INVITE
User-agent: Dahua UAC/3.0 VTO2000A V3.300.1.0
Expires: 120
Max-Forwards: 69
Content-Type: application/sdp
Content-Length: 252
v=0
o=0 0 0 IN IP4 192.168.88.55
s=Dahua VT 1.5
c=IN IP4 192.168.88.55
t=0 0
m=video 20001 RTP/AVP 96
a=framerate:25.000000
a=rtpmap:96 H264/90000
a=sendrecv
m=audio 20000 RTP/AVP 97 0
a=rtpmap:97 PCM/16000
a=rtpmap:0 PCMU/8000
a=sendrecv
Log from Wireshark - Lenovo A850 to VTO:
Via: SIP/2.0/UDP 192.168.88.55:5060;rport;branch=z9hG4bK1583524996
Via: SIP/2.0/UDP 192.168.88.55:5061;rport=5061;branch=z9hG4bK366872783
CSeq: 20 INVITE
User-agent: Dahua UAC/3.0 VTO2000A V3.300.1.0
Expires: 120
Max-Forwards: 69
Content-Type: application/sdp
Content-Length: 252
v=0
o=0 0 0 IN IP4 192.168.88.55
s=Dahua VT 1.5
c=IN IP4 192.168.88.55
t=0 0
m=video 20001 RTP/AVP 96
a=framerate:25.000000
a=rtpmap:96 H264/90000
a=sendrecv
m=audio 20000 RTP/AVP 97 0
a=rtpmap:97 PCM/16000
a=rtpmap:0 PCMU/8000
a=sendrecv
Via: SIP/2.0/UDP 192.168.88.55:5060;rport;branch=z9hG4bK1583524996
Via: SIP/2.0/UDP 192.168.88.55:5061;rport=5061;branch=z9hG4bK366872783
CSeq: 20 INVITE
User-agent: Dahua UAC/3.0 VTO2000A V3.300.1.0
Expires: 120
Max-Forwards: 69
Content-Type: application/sdp
Content-Length: 252
v=0
o=0 0 0 IN IP4 192.168.88.55
s=Dahua VT 1.5
c=IN IP4 192.168.88.55
t=0 0
m=video 20001 RTP/AVP 96
a=framerate:25.000000
a=rtpmap:96 H264/90000
a=sendrecv
m=audio 20000 RTP/AVP 97 0
a=rtpmap:97 PCM/16000
a=rtpmap:0 PCMU/8000
a=sendrecv
Via: SIP/2.0/UDP 192.168.88.163:59927;branch=z9hG4bK.q6ts8o4cW;rport
CSeq: 20 INVITE
Call-ID: bxn0Lq~PKV
Max-Forwards: 70
Supported: replaces, outbound
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO, UPDATE
Content-Type: application/sdp
Content-Length: 245
User-Agent: LinphoneAndroid/3.3.2 (belle-sip/1.6.3)
v=0
o=502 200 2310 IN IP4 192.168.88.163
s=Talk
c=IN IP4 192.168.88.163
t=0 0
a=rtcp-xr:rcvr-rtt=all:10000 stat-summary=loss,dup,jitt,TTL voip-metrics
m=audio 7076 RTP/AVP 0 8 101
a=rtpmap:101 telephone-event/8000
a=rtcp-fb:* ccm tmmbr
Via: SIP/2.0/UDP 192.168.88.163:59927;branch=z9hG4bK.q6ts8o4cW;rport
CSeq: 20 INVITE
Call-ID: bxn0Lq~PKV
Max-Forwards: 70
Supported: replaces, outbound
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO, UPDATE
Content-Type: application/sdp
Content-Length: 245
User-Agent: LinphoneAndroid/3.3.2 (belle-sip/1.6.3)
v=0
o=502 200 2310 IN IP4 192.168.88.163
s=Talk
c=IN IP4 192.168.88.163
t=0 0
a=rtcp-xr:rcvr-rtt=all:10000 stat-summary=loss,dup,jitt,TTL voip-metrics
m=audio 7076 RTP/AVP 0 8 101
a=rtpmap:101 telephone-event/8000
a=rtcp-fb:* ccm tmmbr
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.88.163:59927;branch=z9hG4bK.q6ts8o4cW;rport=59927
Call-ID: bxn0Lq~PKV
CSeq: 20 INVITE
User-Agent: Dahua UAS/3.0 VTO2000A
Content-Length: 0
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.88.163:59927;branch=z9hG4bK.q6ts8o4cW;rport=59927
Call-ID: bxn0Lq~PKV
CSeq: 20 INVITE
User-Agent: Dahua UAS/3.0 VTO2000A
Content-Length: 0
SIP/2.0 101 Dialog Establishement
Via: SIP/2.0/UDP 192.168.88.163:59927;branch=z9hG4bK.q6ts8o4cW;rport=59927
Call-ID: bxn0Lq~PKV
CSeq: 20 INVITE
User-Agent: Dahua UAS/3.0 VTO2000A
Content-Length: 0
SIP/2.0 101 Dialog Establishement
Via: SIP/2.0/UDP 192.168.88.163:59927;branch=z9hG4bK.q6ts8o4cW;rport=59927
Call-ID: bxn0Lq~PKV
CSeq: 20 INVITE
User-Agent: Dahua UAS/3.0 VTO2000A
Content-Length: 0
SIP/2.0 101 Dialog Establishement
Via: SIP/2.0/UDP 192.168.88.163:59927;branch=z9hG4bK.q6ts8o4cW;rport=59927
Call-ID: bxn0Lq~PKV
CSeq: 20 INVITE
User-agent: Dahua UAC/3.0 VTO2000A V3.300.1.0
Content-Length: 0
SIP/2.0 101 Dialog Establishement
Via: SIP/2.0/UDP 192.168.88.163:59927;branch=z9hG4bK.q6ts8o4cW;rport=59927
Call-ID: bxn0Lq~PKV
CSeq: 20 INVITE
User-agent: Dahua UAC/3.0 VTO2000A V3.300.1.0
Content-Length: 0
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 192.168.88.163:59927;branch=z9hG4bK.q6ts8o4cW;rport=59927
Call-ID: bxn0Lq~PKV
CSeq: 20 INVITE
User-agent: Dahua UAC/3.0 VTO2000A V3.300.1.0
Maxringingtime: 27
Maxconnectingtime: 120
Dependentinfo:
Content-Length: 0
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 192.168.88.163:59927;branch=z9hG4bK.q6ts8o4cW;rport=59927
Call-ID: bxn0Lq~PKV
CSeq: 20 INVITE
User-agent: Dahua UAC/3.0 VTO2000A V3.300.1.0
Maxringingtime: 27
Maxconnectingtime: 120
Dependentinfo:
Content-Length: 0
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.88.163:59927;branch=z9hG4bK.q6ts8o4cW;rport=59927
Call-ID: bxn0Lq~PKV
CSeq: 20 INVITE
User-agent: Dahua UAC/3.0 VTO2000A V3.300.1.0
Content-Type: application/sdp
Content-Length: 252
v=0
o=0 0 0 IN IP4 192.168.88.55
s=Dahua VT 1.5
c=IN IP4 192.168.88.55
t=0 0
m=video 20001 RTP/AVP 96
a=framerate:25.000000
a=rtpmap:96 H264/90000
a=sendrecv
m=audio 20000 RTP/AVP 97 0
a=rtpmap:97 PCM/16000
a=rtpmap:0 PCMU/8000
a=sendrecv
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.88.163:59927;branch=z9hG4bK.q6ts8o4cW;rport=59927
Call-ID: bxn0Lq~PKV
CSeq: 20 INVITE
User-agent: Dahua UAC/3.0 VTO2000A V3.300.1.0
Content-Type: application/sdp
Content-Length: 252
v=0
o=0 0 0 IN IP4 192.168.88.55
s=Dahua VT 1.5
c=IN IP4 192.168.88.55
t=0 0
m=video 20001 RTP/AVP 96
a=framerate:25.000000
a=rtpmap:96 H264/90000
a=sendrecv
m=audio 20000 RTP/AVP 97 0
a=rtpmap:97 PCM/16000
a=rtpmap:0 PCMU/8000
a=sendrecv
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.88.163:59927;branch=z9hG4bK.q6ts8o4cW;rport=59927
Call-ID: bxn0Lq~PKV
CSeq: 20 INVITE
User-agent: Dahua UAC/3.0 VTO2000A V3.300.1.0
Content-Type: application/sdp
Content-Length: 252
v=0
o=0 0 0 IN IP4 192.168.88.55
s=Dahua VT 1.5
c=IN IP4 192.168.88.55
t=0 0
m=video 20001 RTP/AVP 96
a=framerate:25.000000
a=rtpmap:96 H264/90000
a=sendrecv
m=audio 20000 RTP/AVP 97 0
a=rtpmap:97 PCM/16000
a=rtpmap:0 PCMU/8000
a=sendrecv
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.88.163:59927;branch=z9hG4bK.q6ts8o4cW;rport=59927
Call-ID: bxn0Lq~PKV
CSeq: 20 INVITE
User-agent: Dahua UAC/3.0 VTO2000A V3.300.1.0
Content-Type: application/sdp
Content-Length: 252
v=0
o=0 0 0 IN IP4 192.168.88.55
s=Dahua VT 1.5
c=IN IP4 192.168.88.55
t=0 0
m=video 20001 RTP/AVP 96
a=framerate:25.000000
a=rtpmap:96 H264/90000
a=sendrecv
m=audio 20000 RTP/AVP 97 0
a=rtpmap:97 PCM/16000
a=rtpmap:0 PCMU/8000
a=sendrecv
Via: SIP/2.0/UDP 192.168.88.55:5060;rport;branch=z9hG4bK64826557
Via: SIP/2.0/UDP 192.168.88.55:5061;rport=5061;branch=z9hG4bK1945099006
Call-ID: bxn0Lq~PKV
CSeq: 21 BYE
User-agent: Dahua UAC/3.0 VTO2000A V3.300.1.0
Max-Forwards: 69
Content-Length: 0
Via: SIP/2.0/UDP 192.168.88.55:5060;rport;branch=z9hG4bK64826557
Via: SIP/2.0/UDP 192.168.88.55:5061;rport=5061;branch=z9hG4bK1945099006
Call-ID: bxn0Lq~PKV
CSeq: 21 BYE
User-agent: Dahua UAC/3.0 VTO2000A V3.300.1.0
Max-Forwards: 69
Content-Length: 0
SIP/2.0 501 Not implemented
Via: SIP/2.0/UDP 192.168.88.55:5060;rport;branch=z9hG4bK64826557
Via: SIP/2.0/UDP 192.168.88.55:5061;rport=5061;branch=z9hG4bK1945099006
Call-ID: bxn0Lq~PKV
CSeq: 21 BYE
SIP/2.0 501 Not implemented
Via: SIP/2.0/UDP 192.168.88.55:5060;rport;branch=z9hG4bK64826557
Via: SIP/2.0/UDP 192.168.88.55:5061;rport=5061;branch=z9hG4bK1945099006
Call-ID: bxn0Lq~PKV
CSeq: 21 BYE
Via: SIP/2.0/UDP 192.168.88.163:59927;branch=z9hG4bK.q6ts8o4cW;rport
Call-ID: bxn0Lq~PKV
Max-Forwards: 70
CSeq: 20 CANCEL
User-Agent: LinphoneAndroid/3.3.2 (belle-sip/1.6.3)
Via: SIP/2.0/UDP 192.168.88.163:59927;branch=z9hG4bK.q6ts8o4cW;rport
Call-ID: bxn0Lq~PKV
Max-Forwards: 70
CSeq: 20 CANCEL
User-Agent: LinphoneAndroid/3.3.2 (belle-sip/1.6.3)
SIP/2.0 481 Call Leg/Transaction Does Not Exist
Via: SIP/2.0/UDP 192.168.88.163:59927;branch=z9hG4bK.q6ts8o4cW;rport=59927
Call-ID: bxn0Lq~PKV
CSeq: 20 CANCEL
User-Agent: Dahua UAS/3.0 VTO2000A
Content-Length: 0
SIP/2.0 481 Call Leg/Transaction Does Not Exist
Via: SIP/2.0/UDP 192.168.88.163:59927;branch=z9hG4bK.q6ts8o4cW;rport=59927
Call-ID: bxn0Lq~PKV
CSeq: 20 CANCEL
User-Agent: Dahua UAS/3.0 VTO2000A
Content-Length: 0