FreeSWITCH is a Software Defined Telecom Stack enabling the digital transformation from proprietary telecom switches to a versatile software implementation that runs on any commodity hardware. From a Raspberry PI to a multi-core server, FreeSWITCH can unlock the telecommunications potential of any device.
I used this command to outbound my telephone in fs_cli:
originate {return_ring_ready=false,bridge_early_media=true,bypass_media=false,rtcp_mux=false,playback_terminators=none,origination_caller_id_number=1234,origination_caller_id_name=1234}sofia/external/1234@sip-server-ip:port &bridge([origination_caller_id_number=1234,origination_caller_id_name=1234,call_timeout=60]sofia/external/5678@sip-server-ip)
then excute:
uuid_transfer calleruuid1234 -both 'set:hangup_after_bridge=false,set:park_after_bridge=true,park:' inline
next:
uuid_setvar calleduuid5678 playback_delimiter=&
It return "No such channel".
After uuid_transfer, whatever uuid_setvar or uuid_break, fs_cli return "No such channel" when uuid only is calleduuid.
Everything is right when I remove "bridge_early_media=true" from originate command.
There are three environments, but only one has the situation. By comparing configuration file, just found gateway file is deffrent. The error situation's gateway configuration file:
I used this command to outbound my telephone in fs_cli:
originate {return_ring_ready=false,bridge_early_media=true,bypass_media=false,rtcp_mux=false,playback_terminators=none,origination_caller_id_number=1234,origination_caller_id_name=1234}sofia/external/1234@sip-server-ip:port &bridge([origination_caller_id_number=1234,origination_caller_id_name=1234,call_timeout=60]sofia/external/5678@sip-server-ip)
then excute:uuid_transfer calleruuid1234 -both 'set:hangup_after_bridge=false,set:park_after_bridge=true,park:' inline
next:uuid_setvar calleduuid5678 playback_delimiter=&
It return "No such channel".After uuid_transfer, whatever uuid_setvar or uuid_break, fs_cli return "No such channel" when uuid only is calleduuid. Everything is right when I remove "bridge_early_media=true" from originate command.
There are three environments, but only one has the situation. By comparing configuration file, just found gateway file is deffrent. The error situation's gateway configuration file:
The right situation's gateway configuration file:
It is bound to happen when "bridge_early_media=true" is in originate outbound command. Why?