Presence is not correctly updated when caller rings an IVR

When a user calls an IVR, the presence is updated and sent to subscribers to notify they are on the phone, however it is never terminated so it appears they are busy long after the call ended. Removing the dialplan setting for the presence_id fixes this issue so the caller no longer appears on the phone when the IVR call ends.
This commit is contained in:
FusionPBX 2022-05-07 09:18:42 -06:00 committed by GitHub
parent a4c0e93cbe
commit f2aba2251f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -335,7 +335,6 @@
$dialplan_xml .= " <action application=\"sleep\" data=\"1000\"/>\n";
$dialplan_xml .= " <action application=\"set\" data=\"hangup_after_bridge=true\"/>\n";
$dialplan_xml .= " <action application=\"set\" data=\"ringback=".$ivr_menu_ringback."\"/>\n";
$dialplan_xml .= " <action application=\"set\" data=\"presence_id=".$ivr_menu_extension."@".$_SESSION['domain_name']."\"/>\n";
if (strlen($ivr_menu_language) > 0) {
$dialplan_xml .= " <action application=\"set\" data=\"default_language=".$ivr_menu_language."\" inline=\"true\"/>\n";
$dialplan_xml .= " <action application=\"set\" data=\"default_dialect=".$ivr_menu_dialect."\" inline=\"true\"/>\n";