I 've a dahua intercom system composed by:
- a Dahua VTO2000A outdoor unit ()
- a Dahua VTH1510 indoor unit
The system function only if I use an old version of Asterisk with chan_sip (Asterisk 11) and only if the VTO calls a group call (one of the member of the group call is the VTH indoor unit)
Now I’ve made an automation AGI script that in some case (based on a DB query) instead of calling the Group Call answer the call from the outdoor UNIT and plays a ulaw audio file. The script is OK becouse i tested it with zoiper and other telephone. But when I used it with the VTO intercom the script start but after some seconds asterisk fail the call and hangup with the following errors:
[2020-12-16 15:48:16] WARNING [109134]: chan_sip.c : 4038 retrans_pkt : Retransmission timeout reached on transmission … for seqno 21 (Critical Response) – See [SIP Retransmissions - Asterisk Project - Asterisk Project
Packet timed out after 6400ms with no response
[2020-12-16 15:48:16] WARNING [109134]: chan_sip.c : 4067 retrans_pkt : Hanging up call … no reply to our critical packet (see [SIP ).
I attach two capture i made with tcp dump: one is with the right flow of the call the other one is when it fails.
My FreePBX ip is 172.16.0.160
The VTO ip is 172.16.0.111
The VTH ip is 172.16.0.99
Thank U for everyone who will help me in debugging and resolving this problem.
At this link U’ll find two capture file of the problem. One is about the correct behaviour the second one is when the retrasmission event occurs…and the call is hanged up.