app_bridgeaddchan.c: Make BridgeAdd be more like Bridge

* Made BridgeAdd not hangup the call if there is a problem.
* Reduced message level from warning to verbose for normal exception
cases.
* Added a loop safety check to BridgeAdd.
* Made BridgeAdd set BRIDGERESULT with the status when dialplan is
resumed.

Change-Id: I374d39b8a3edcc794eeb5c6b9f31a01424cdc426
This commit is contained in:
Richard Mudgett
2019-12-30 15:05:44 -06:00
parent cee68ea4f2
commit 19069f7db7
3 changed files with 56 additions and 20 deletions

View File

@@ -0,0 +1,7 @@
Subject: app_bridgeaddchan
Master-Only: true
The BridgeAdd application now behaves more like the Bridge application.
The application now sets the BRIDGERESULT channel variable to indicate
what happened when the channel resumes in dialplan. This is instead of
hanging up the channel on failure conditions.

View File

@@ -0,0 +1,7 @@
Subject: app_bridgeaddchan
Master-Only: true
The BridgeAdd application now behaves more like the Bridge application.
The application now sets the BRIDGERESULT channel variable to indicate
what happened when the channel resumes in dialplan. This is instead of
hanging up the channel on failure conditions.