Hi,
I’m using the module callcenter in the dialplan for a callqueue application. When a caller dial the callqueue number and when the “callcenter” application is reached, the callcenter application ring a agent. At this point agent can answer or not he can also hangup the call. After this, when I shutdown freeswitch the following trace appears in the console:
2023-12-15 15:13:41.255462 99.30% [CRIT] sofia.c:3531 Waiting for 1 session(s)
And freeswitch is waiting a few seconds before exit.
When no agent is associated to the callqueue and the caller hangup there is no problem.But when the call is offering to an agent this probleme occurs.
Is there someone who has encountered this issue?
freeswitch release: FreeSWITCH Version 1.10.7-release-19-883d2cb662~64bit
OS: debian bullseye
Extract of the dialplan:
<extension name="CCQ_999011000001_84000">
<condition expression="CCQ_999011000001_84000" field="destination_number">
<action application="log" data="dialpan coming from cc-gw"/>
<action application="set" data="cc_dest_domain=${sip_to_host}"/>
<action application="set" data="sip_h_X-CALLER-INFO="${caller_id_name}" <sip:${caller_id_number}@${sip_to_host}>"/>
<action application="set" data="sip_h_X-RB-CMD=ignore_cf,ignore_er"/>
<action application="set" data="sip_h_X-CALLER-CALL-ID=${sip_call_id}"/>
<action application="set" data="originate_timeout=10"/>
<action application="set" data="sip_from_display=CallQueue 1 pour EPE for test"/>
<action application="set" data="hold_music={profile=swift}http_cache://http://10.10.13.52:8135/api/rainbow/rvcpprovisioning/v1.0/cloudpbxs/62067d8273d8fe6c64363052/greetings/650c4439f9b8c8b38600b6c2"/>
<action application="set" data="recording_prompt="/>
<action application="set" data="cc_export_vars=hold_music,sip_h_X-RB-CMD,cc_dest_domain,sip_h_X-CALLER-INFO,sip_h_X-CALLER-CALL-ID,originate_timeout,sip_from_display"/>
<action application="answer"/>
<action application="lua" data="recording.lua"/>
<action application="callcenter" data="CCQ_999011000001_84000"/>
<action application="set" data="cc_overflow_no_agent_timeout_destination=*56*84000"/>
<action application="set" data="cc_overflow_no_agent_timeout_gateway=999011000001"/>
<action application="set" data="cc_overflow_timeout_destination=*56*84000"/>
<action application="set" data="cc_overflow_timeout_gateway=999011000001"/>
<action application="set" data="cc_overflow_from=${destination_number}"/>
<action application="set" data="cc_overflow_X-CALLER-INFO="${caller_id_name}" <sip:${caller_id_number}@${sip_to_host};overflow>"/>
<action application="lua" data="overflow.lua"/>
</condition>
</extension>