[asterisk-dev] [Code Review] F option for bridge application

jrose reviewboard at asterisk.org
Thu Mar 22 14:26:48 CDT 2012


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/1825/
-----------------------------------------------------------

(Updated March 22, 2012, 2:26 p.m.)


Review request for Asterisk Developers, Mark Michelson and Matt Jordan.


Changes
-------

Made suggested changes.


Summary
-------

Similar to the F option added to queue, this adds a new option to the bridge application to transfer the party that gets bridged upon (awkwardly worded maybe) to a position in the dialplan specified by the bridge F option from the perspective of the channel that bridged.

Also moves a shared function from a couple of places for app_dial and app_queue into utils.


This addresses bug ASTERISK-19282.
    https://issues.asterisk.org/jira/browse/ASTERISK-19282


Diffs (updated)
-----

  /trunk/main/utils.c 360188 
  /trunk/apps/app_queue.c 360188 
  /trunk/include/asterisk/utils.h 360188 
  /trunk/main/features.c 360188 
  /trunk/apps/app_dial.c 360188 

Diff: https://reviewboard.asterisk.org/r/1825/diff


Testing
-------

A sip phone would dial the following extension:
exten => 045,1,NoOp(BindBape)
exten => 045,2,Answer()
exten => 045,3,Set(GLOBAL(CHANBAPE)=${CHANNEL})
exten => 045,4,Playback(tt-weasels)
exten => 045,5,Wait(30)
exten => 045,6,HangUp()




More information about the asterisk-dev mailing list