Skip to content

Commit

Permalink
Add a timeout for parked calls
Browse files Browse the repository at this point in the history
This is a safeguard in case the ESL connection drops while inbound calls
are being received but no longer processed by switchio.

Resolves #47
  • Loading branch information
Tyler Goodlet committed Dec 4, 2017
1 parent 213b9de commit dc7def3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions conf/ci-minimal/dialplan/switchydp.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<!-- Park call and transfer control to esl -->
<extension name="switchiopark">
<condition field="destination_number" expression="^(.*)$">
<action application="set" data="park_timeout=3:DESTINATION_OUT_OF_ORDER"/>
<action application="park"/>
</condition>
</extension>
Expand Down

0 comments on commit dc7def3

Please sign in to comment.