Getting Callback from Call Park

Status
Not open for further replies.

browadam

New Member
Mar 25, 2020
1
0
1
53
Is there a way to program a timeout destination for a parking lot? The scenario is a call is placed in a parking lot. They page or tell someone else to pick up the call. The call is never picked up. Instead of just terminating the call can we have the call ring back the extension, dial and extension/ring group, etc.? I appreciate your help in advance!

Adam
 

krooney

Member
Jun 18, 2018
172
16
18
its already programmed in the dialplan

<extension name="valet_park" continue="false" uuid="865053ce-c985-4593-842c-eed2ac1a7900">
<condition field="destination_number" expression="^(park\+)?\*(59[0-9][0-9])$" break="never"/>
<condition field="${sip_h_Referred-By}" expression="sip:(.*)@.*" break="never">
<action application="set" data="referred_by_user=$1" inline="true"/>
</condition>
<condition field="destination_number" expression="^(park\+)?\*(59[0-9][0-9])$" break="never">
<action application="set" data="park_in_use=false" inline="true"/>
<action application="set" data="park_lot=$2" inline="true"/>
<action application="info" data=""/>
</condition>
<condition field="destination_number" expression="^(park\+)?\*(59[0-9][0-9])$"/>
<condition field="${referred_by_user}" expression="^.+$" break="never">
<action application="set" data="valet_info_park=${valet_info park@${domain_name}}|\*${park_lot}" inline="true"/>
<action application="set" data="park_in_use=${regex ${valet_info park@${domain_name}}|\*${park_lot}}" inline="true"/>
</condition>
<condition field="${park_in_use}" expression="true" break="never">
<action application="transfer" data="${referred_by_user} XML ${context}"/>
<anti-action application="set" data="effective_caller_id_name=park#${caller_id_name}" inline="true"/>
<anti-action application="set" data="valet_parking_timeout=180"/>
<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="valet_park" data="park@${domain_name} *${park_lot}"/>
</condition>
</extension>
 

Bifur

Member
Sep 13, 2020
122
9
18
Hate to bump this, but I ran into the same issue. Callback was not working after 180 seconds. I manually changed it to 120, clicked save, and then it started ringing back in 120 seconds. Figured this may help someone in the future.
 
  • Like
Reactions: breeze
Status
Not open for further replies.