Video Calls Automatically Dropping

Hello, I am running Asterisk 1.8.17 with FreePBX 2.6

I have trying to get video calls to work on the internal network between two extensions. One is on a Yealink VP530 phone and the other is on x-lite.

Both endpoints are running h263 codec and it is also enabled under the asterisk sip settings.

The video from the yealink phones shows up in x-lite but the x-lite video does not show up on the yealink phone. Also, the call drops after about 5s automatically. Even if no video is being sent between the two endpoints it drops.

For both extensions i have h263 set in the allow field.

Anyone have any ideas what could be causing this?

This is what the log says during the calls.

[2013-06-05 12:58:34] WARNING[29099] app_dial.c: Unable to create channel of typ e ‘SIP’ (cause 20 - Subscriber absent)
[2013-06-05 12:58:34] WARNING[29100] app_dial.c: Unable to create channel of typ e ‘SIP’ (cause 20 - Subscriber absent)
[2013-06-05 12:58:34] WARNING[29112] app_dial.c: Unable to create channel of typ e ‘SIP’ (cause 20 - Subscriber absent)
[2013-06-05 12:58:44] WARNING[9653] chan_sip.c: Ignoring video media offer becau se port number is zero
[2013-06-05 12:59:28] WARNING[9653] chan_sip.c: Retransmission timeout reached o n transmission NjdjMjZkNzYyNDhiZTkzMTU1ZDIxMWM0MTA5OGY0YWE for seqno 2 (Critical Response) – See https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions
Packet timed out after 6401ms with no response
[2013-06-05 12:59:28] WARNING[9653] chan_sip.c: Hanging up call NjdjMjZkNzYyNDhi ZTkzMTU1ZDIxMWM0MTA5OGY0YWE - no reply to our critical packet (see https://wiki. asterisk.org/wiki/display/AST/SIP+Retransmissions).
[2013-06-05 12:59:28] WARNING[29191] app_macro.c: No such context ‘macro-from-za ptel-i1/##########’ for macro ‘from-zaptel-i1/##########’
[2013-06-05 12:59:28] WARNING[29196] app_dial.c: Unable to create channel of typ e ‘SIP’ (cause 20 - Subscriber absent)
[2013-06-05 12:59:34] WARNING[9653] chan_sip.c: Ignoring video media offer because port number is zero

Little hope of help here if you are using FreePBX 2.6, lots of things have changed in the last six years. try updating to a supported version.