Use sip_from_user in orbit extension for an outbound call that is parked.

This allows outbound calls to receive a call back to original extension that parked it if the parked call is left in park.
This commit is contained in:
FusionPBX
2022-06-17 10:55:33 -06:00
committed by GitHub
parent 7a6f02474e
commit 632898d4a9

View File

@@ -19,7 +19,7 @@
<anti-action application="set" data="effective_caller_id_name=${cond ${regex ${direction} | inbound} == true ? 'park#${caller_id_name}' : 'park#${callee_id_name}'}" inline="true"/>
<anti-action application="set" data="valet_parking_timeout=900"/>
<anti-action application="set" data="valet_hold_music=${hold_music}"/>
<anti-action application="set" data="valet_parking_orbit_exten=${referred_by_user}"/>
<anti-action application="set" data="valet_parking_orbit_exten=${cond ${regex ${referred_by_user} | ^$} == true ? ${sip_from_user} : ${referred_by_user}}"/>
<anti-action application="answer" data=""/>
<anti-action application="valet_park" data="park@${domain_name} *${park_lot}"/>
</condition>