Suddenly Video Call is not working

thomas_ahn

New Member
Jan 26, 2021
5
0
1
62
Kuala Lumpur Malaysia
Suddenly Video call is not working and found followings:
1. on Variables - Fusion PBX, the global_codec_prefs is set as:
G7221@32000h,G7221@16000h,H264,PCMU,PCMA

2. on freeswith after save the variables and restarted
freeswitch@debian> global_getvar global_codec_prefs
G7221@32000h,G7221@16000h,H264,PCMU,PCMA

3. /etc/freeswitch/vars.xml

<!-- Codecs -->
<X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=G7221@32000h,G7221@16000h,PCMU,PCMA" />
<X-PRE-PROCESS cmd="set" data="global_codec_prefs=G7221@32000h,G7221@16000h,H264,PCMU,PCMA" />
<X-PRE-PROCESS cmd="set" data="media_mix_inbound_outbound_codecs=true" />

5. /etc/freeswitch/sip_profiles/internal.xml.noload

<param name="inbound-codec-prefs" value="$${global_codec_prefs}"/>
<param name="outbound-codec-prefs" value="$${global_codec_prefs}"/>

4. freeswitch@debian> sofia status profile internal
=================================================================================================
Name internal
Domain Name N/A
Auto-NAT false
DBName sofia_reg_internal
OUTBOUND-PROXY N/A
CODECS IN G7221@32000h,G7221@16000h,G722,PCMU,PCMA
CODECS OUT G7221@32000h,G7221@16000h,G722,PCMU,PCMA

here the CODEC IN/OUT in internal profile were not affected by global_codec_prefs and SIP invite was not processed the H264 code by freeswitch..

Please help me to resolve this issue..
Thanks in advanced.