<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I would be surprised that you did not always hang up the second channel you are redirecting. Once you transfer one leg there is nothing connected to the second leg so it goes away, I would think.<div><br></div><div>What we do is remember the agent number, transfer the caller, and then setup a call to the agent and meetme room.</div><div><br></div><div>More or less like:</div><div><br></div><div><div>Action: Redirect</div><div>Channel: SIP/GXP280_18-00000001</div><div>Exten: do_meetme601MyID</div><div>Context: cfmc_cdi_private</div><div>Priority: 1</div><div>ActionID: MeetMe</div><div>Async: true</div></div><div><br></div><div><br></div><div><div>Action: Originate</div><div>Channel: Agent/1001</div><div>Exten: do_meetme601MyID2</div><div>Context: cfmc_cdi_private</div><div>Priority: 1</div><div>ActionID: DirectMeet</div><div>Async: true</div><div><br></div><div><br></div><div><div>exten => _do_meetme.,1,UserEvent(BeforeMeetMe,Info:${EXTEN:9} & ${UNIQUEID} & ${CHANNEL})</div><div>exten => _do_meetme.,n,Answer()</div><div>exten => _do_meetme.,n,Set(CfMC_RoomToUse=${EXTEN:9:3})</div><div>exten => _do_meetme.,n,Set(CfMC_CurrentID=${EXTEN:12})</div><div>exten => _do_meetme.,n,Set(MEETME_MOH_CLASS="meetme-music")</div><div>exten => _do_meetme.,n,MeetMe(${CfMC_RoomToUse},CMpqx1)</div><div>exten => _do_meetme.,n,UserEvent(AfterMeetMe,ActionID:${CfMC_CurrentID} & Room:${CfMC_RoomToUse} & ${UNIQUEID} & ${CHANNEL})</div><div>exten => _do_meetme.,n,Hangup()</div></div><div><br></div><div>
<div style="font-family: Helvetica; "><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; ">-- </div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; ">Jim Dickenson</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; "><a href="mailto:dickenson@cfmc.com">mailto:dickenson@cfmc.com</a></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; ">CfMC</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; "><a href="http://www.cfmc.com/">http://www.cfmc.com/</a></div><div><font class="Apple-style-span" face="Monaco" size="2"><span class="Apple-style-span" style="font-size: 10px; "><br></span></font></div></div><br class="Apple-interchange-newline">
</div>
<br><div><div>On Mar 28, 2011, at 1:23 AM, Deka, Rajib IN MAA SL wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><o:smarttagtype namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="country-region"><o:smarttagtype namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="place"><!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]--><style>
<!--
/* Font Definitions */
@font-face
        {font-family:Latha;
        panose-1:2 0 4 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:#606420;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Latha;
        color:windowtext;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
/* List Definitions */
@list l0
        {mso-list-id:1840267282;
        mso-list-type:hybrid;
        mso-list-template-ids:1995619594 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
        {mso-level-tab-stop:.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
-->
</style>
<div lang="EN-US" link="blue" vlink="#606420">
<div class="Section1"><p class="MsoNormal"><font size="2" face="Latha"><span style="font-size:11.0pt;
font-family:Latha">Hello List,<o:p></o:p></span></font></p><p class="MsoNormal"><font size="2" face="Latha"><span style="font-size:11.0pt;
font-family:Latha"><o:p> </o:p></span></font></p><p class="MsoNormal"><font size="2" face="Latha"><span style="font-size:11.0pt;
font-family:Latha">I have scenario as follows,<o:p></o:p></span></font></p><p class="MsoNormal"><font size="2" face="Latha"><span style="font-size:11.0pt;
font-family:Latha"><o:p> </o:p></span></font></p>
<ol style="margin-top:0in" start="1" type="1">
<li class="MsoNormal" style="mso-list:l0 level1 lfo1"><font size="2" face="Latha"><span style="font-size:11.0pt;font-family:Latha">A call comes to queue.<o:p></o:p></span></font>
</li><li class="MsoNormal" style="mso-list:l0 level1 lfo1"><font size="2" face="Latha"><span style="font-size:11.0pt;font-family:Latha">Available agent will answer the call.<o:p></o:p></span></font>
</li><li class="MsoNormal" style="mso-list:l0 level1 lfo1"><font size="2" face="Latha"><span style="font-size:11.0pt;font-family:Latha">BridgeEvent wil be generated in AMI with channel1 and channel2.<o:p></o:p></span></font>
</li><li class="MsoNormal" style="mso-list:l0 level1 lfo1"><font size="2" face="Latha"><span style="font-size:11.0pt;font-family:Latha">Parse channel1 and channel two from the event and redirect them to a meetme room,<o:p></o:p></span></font>
</li></ol><p class="MsoNormal"><font size="2" face="Latha"><span style="font-size:11.0pt;
font-family:Latha"><o:p> </o:p></span></font></p><p class="MsoNormal"><font size="2" face="Latha"><span style="font-size:11.0pt;
font-family:Latha">Dialplan,<o:p></o:p></span></font></p><p class="MsoNormal"><font size="2" face="Latha"><span style="font-size:11.0pt;
font-family:Latha"><o:p> </o:p></span></font></p><p class="MsoNormal"><font size="2" face="Latha"><span style="font-size:11.0pt;
font-family:Latha">Exten => 1234,1,MeetMe(1234,1dq)<o:p></o:p></span></font></p><p class="MsoNormal"><font size="2" face="Latha"><span style="font-size:11.0pt;
font-family:Latha"><o:p> </o:p></span></font></p><p class="MsoNormal"><font size="2" face="Latha"><span style="font-size:11.0pt;
font-family:Latha">But sometime it works and sometime one leg gets disconnected after redirection. Is it a bug to asterisk-1.6.2.13 ?<o:p></o:p></span></font></p><p class="MsoNormal"><font size="2" face="Latha"><span style="font-size:11.0pt;
font-family:Latha"><o:p> </o:p></span></font></p><p class="MsoNormal"><font size="2" face="Latha"><span style="font-size:11.0pt;
font-family:Latha">Regards,<o:p></o:p></span></font></p><p class="MsoNormal"><font size="2" face="Latha"><span style="font-size:11.0pt;
font-family:Latha"><o:p> </o:p></span></font></p><p class="MsoNormal"><b><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy;font-weight:bold">Rajib Deka</span></font></b><o:p></o:p></p><p class="MsoNormal"><font size="1" color="navy" face="Arial"><span style="font-size:
7.5pt;font-family:Arial;color:navy">SIEMENS Ltd</span></font><font size="1" color="#003366" face="Arial"><span style="font-size:7.5pt;font-family:Arial;
color:#003366">.
</span></font><o:p></o:p></p><p class="MsoNormal"><st1:placename w:st="on"><font size="1" color="navy" face="Arial"><span style="font-size:7.5pt;font-family:Arial;color:navy">Robert</span></font></st1:placename><font size="1" color="navy" face="Arial">
<st1:placename w:st="on">V</st1:placename> <st1:placename w:st="on">Chandran</st1:placename>
<st1:placetype w:st="on">Tower</st1:placetype><st1:personname w:st="on">,</st1:personname> First Floor<st1:personname w:st="on">,</st1:personname> West Wing<st1:personname w:st="on">,</st1:personname>
<o:p></o:p></font></p><p class="MsoNormal"><st1:street w:st="on"><st1:address w:st="on"><font size="1" color="navy" face="Arial"><span style="font-size:7.5pt;font-family:Arial;
color:navy">#149<st1:personname w:st="on">,</st1:personname> Velechery Tambaram Main Road</span></font></st1:address><font size="1" color="navy" face="Arial"></font></st1:street><font size="1" color="navy" face="Arial"><st1:personname w:st="on">,</st1:personname>
Pallikaranai<st1:personname w:st="on">,</st1:personname> Chennai-100<st1:personname w:st="on">,
</st1:personname><st1:place w:st="on"><st1:country-region w:st="on">INDIA</st1:country-region></st1:place>.</font><o:p></o:p></p><p class="MsoNormal"><font size="1" color="navy" face="Arial"><span style="font-size:
7.5pt;font-family:Arial;color:navy"><a href="http://www.siemens.com/" title="http://www.siemens.com/">www.siemens.com</a></span></font><o:p></o:p></p><p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:
12.0pt"> </span></font><font size="1" color="navy" face="Arial"><span style="font-size:7.5pt;font-family:Arial;color:navy"><o:p></o:p></span></font></p><p class="MsoNormal"><font size="1" color="navy" face="Arial"><span style="font-size:
7.5pt;font-family:Arial;color:navy">Mob: +91-9176780669</span></font><font size="1" color="#003366" face="Arial"><span style="font-size:7.5pt;font-family:
Arial;color:#003366">
| </span></font><font size="1" color="navy" face="Arial"><span style="font-size:7.5pt;font-family:Arial;color:navy">E-Mail: <a href="mailto:rajib.deka@siemens.com">rajib.deka@siemens.com</a></span></font><o:p></o:p></p><p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:
12.0pt"><o:p> </o:p></span></font></p>
</div>
<br>
<hr>
<font face="Arial" color="Gray" size="1">Important notice: This e-mail and any attachment there to contains corporate proprietary information. If you have received it by mistake, please notify us immediately by reply e-mail and delete this e-mail and its attachments
from your system.<br>
Thank You.<br>
</font>
</div>
--<br>_____________________________________________________________________<br>-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com">http://www.api-digital.com</a> --<br>New to Asterisk? Join us for a live introductory webinar every Thurs:<br> <a href="http://www.asterisk.org/hello">http://www.asterisk.org/hello</a><br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a></o:smarttagtype></o:smarttagtype></blockquote></div><br></div></body></html>