July 2017
Intermediate to advanced
434 pages
12h 59m
English
The following example shows how it is possible to call another action if the first action fails.
If the first action is successful, the call is bridged to 1111@example1.company.com and will exist until one of the parties hangs up. After this, no other processing will be done because the caller's channel is closed. (In other words, 1111@example2.company.com is not called.)
If the initial call to 1111@example1.company.com was not successful, the channel will not be closed and the second action will be called.
<extension name="find_me"> <condition field="destination_number" expression="^1111$"> <action application="set" data="hangup_after_bridge=true"/> <action application="set" data="continue_on_fail=true"/> <action ...
Read now
Unlock full access