No subject


Fri Sep 2 03:59:05 CDT 2011


exten =3D> 046,1,NoOp(BrideBape)
exten =3D> 046,2,Answer()
exten =3D> 046,3,Bridge(${CHANBAPE}, F(5))
exten =3D> 046,4,Playback(tt-monkeys)
exten =3D> 046,5,NoOp(Finish!)
exten =3D> 046,6,NoOp(Finish More!)

exten =3D> 047,1,NoOp(BridgeBape2)
exten =3D> 047,2,Answer()
exten =3D> 047,3,Bridge(${CHANBAPE}, F)
exten =3D> 047,4,Playback(tt-allbusy)
exten =3D> 047,5,NoOp(BridgeBape2 finish)

exten =3D> 048,1,NoOp(BridgeBape3)
exten =3D> 048,2,Answer()
exten =3D> 048,3,Bridge(${CHANBAPE}, F(049,4))
exten =3D> 048,4,NoOp(Failure)

exten =3D> 050,1,NoOp(BrigeBape4)
exten =3D> 050,2,Answer()
exten =3D> 050,3,Bridge(${CHANBAPE}, F(bridgetestcontext,20,1))


Also this stuff:
exten =3D> 049,1,NoOp(Failure)
exten =3D> 049,2,NoOp(Failure)
exten =3D> 049,3,NoOp(Failure)
exten =3D> 049,4,Playback(tt-weasels)
exten =3D> 049,5,NoOp(BridgeBape3 Success)

[bridgetestcontext]
exten =3D> 20,1,NoOp(Successful bape4)
exten =3D> 20,n,Playback(tt-somethingwrong)


For each of these cases, I just checked to make sure that hanging up the br=
idger resulted in the bridged party getting sent to the expected position.

There will be automated tests added for bridging in general as well as for =
this feature into testsuite soon as well.


Thanks,

jrose


--===============1558769054548371295==
Content-Type: text/html; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable




<html>
 <body>
  <div style=3D"font-family: Verdana, Arial, Helvetica, Sans-Serif;">
   <table bgcolor=3D"#f9f3c9" width=3D"100%" cellpadding=3D"8" style=3D"bor=
der: 1px #c9c399 solid;">
    <tr>
     <td>
      This is an automatically generated e-mail. To reply, visit:
      <a href=3D"https://reviewboard.asterisk.org/r/1825/">https://reviewbo=
ard.asterisk.org/r/1825/</a>
     </td>
    </tr>
   </table>
   <br />


<table bgcolor=3D"#fefadf" width=3D"100%" cellspacing=3D"0" cellpadding=3D"=
8" style=3D"background-image: url('https://reviewboard.asterisk.org/media/r=
b/images/review_request_box_top_bg.png'); background-position: left top; ba=
ckground-repeat: repeat-x; border: 1px black solid;">
 <tr>
  <td>

<div>Review request for Asterisk Developers, Mark Michelson and Matt Jordan=
.</div>
<div>By jrose.</div>





<h1 style=3D"color: #575012; font-size: 10pt; margin-top: 1.5em;">Descripti=
on </h1>
<table width=3D"100%" bgcolor=3D"#ffffff" cellspacing=3D"0" cellpadding=3D"=
10" style=3D"border: 1px solid #b8b5a0">
 <tr>
  <td>
   <pre style=3D"margin: 0; padding: 0; white-space: pre-wrap; white-space:=
 -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap=
: break-word;">Similar to the F option added to queue, this adds a new opti=
on to the bridge application to transfer the party that gets bridged upon (=
awkwardly worded maybe) to a position in the dialplan specified by the brid=
ge 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_q=
ueue into utils.</pre>
  </td>
 </tr>
</table>


<h1 style=3D"color: #575012; font-size: 10pt; margin-top: 1.5em;">Testing <=
/h1>
<table width=3D"100%" bgcolor=3D"#ffffff" cellspacing=3D"0" cellpadding=3D"=
10" style=3D"border: 1px solid #b8b5a0">
 <tr>
  <td>
   <pre style=3D"margin: 0; padding: 0; white-space: pre-wrap; white-space:=
 -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap=
: break-word;">A sip phone would dial the following extension:
exten =3D&gt; 045,1,NoOp(BindBape)
exten =3D&gt; 045,2,Answer()
exten =3D&gt; 045,3,Set(GLOBAL(CHANBAPE)=3D${CHANNEL})
exten =3D&gt; 045,4,Playback(tt-weasels)
exten =3D&gt; 045,5,Wait(30)
exten =3D&gt; 045,6,HangUp()




More information about the asterisk-dev mailing list