Java ManagerAPI video problem

we are using CounterPath X-lite as SIP phone, and video call is working correctly when some extension is dialed by the phone. But, when the connection is made by using ManagerAPI (or LiveJava) we cannot see video, voice is working correctly. We have tried to set Global variables for the asterisk server (LiveJava class) to the values that are already set at the sip.conf general context, but with no success.

At the log there are following lines that are repeating:

WARNING[6607] app_dial.c: Unable to create channel of type ‘IAX2’ (cause 3 - No route to destination)
NOTICE[6607] rtp.c: Unknown RTP codec 126 received from ‘ip address’

IAX2 part is not quite clear because for both users only SIP is checked.

Can someone help on this?

Thanks in advance,