Progress, Proceeding, conditional channel bridging

Hi all,

is there possibility in Asterisk to do such a trick:

  • there is some incoming SIP connection to destination number 100
  • we hold somehow incoming connection and make connection to called party - then we check some condition
  • if all is OK then we bridge leg A and leg B
  • if something is not OK we disconnect with appropriate CAUSE

Regards,
Jarek