Hi,<br><br><br>I tried to call transfer from Zap to Zap channels using Manager Api. How to call transfer <br>between Zap channels. Please give any sample code to do this work.I have able to call transfer<br>from sip to sip using Manager api.<br>
<br><br>This is my code for call transfer from sip to sip<br><br><br>          OriginateAction originateAction;<br>                  hangupAction=new HangupAction();<br>                    ManagerResponse redirectResponse;    <br>
                  ManagerResponse hangupResponse;<br>                  redirectAction=new RedirectAction();<br>                 <br>                  if(rs.next())<br>                 {<br>                <br>            channel1=rs.getString(&quot;channel&quot;);   <br>
            out.println(&quot;Channel:&quot;+channel1);<br>                <br>                <br>                hangupAction.setChannel(channel1);<br>                redirectAction.setChannel(channel1);<br>                redirectAction.setContext(&quot;default&quot;);<br>
                redirectAction.setExten(agent);<br>                redirectAction.setPriority(new Integer(1));<br>                String redirect=redirectAction.getChannel();<br>                managerConnection.login();<br>
                managerConnection.addEventListener(this);<br>                redirectResponse=managerConnection.sendAction(redirectAction, 30000);  <br>                System.out.println(&quot;redirect&quot;+redirectResponse.getResponse());<br>
                Thread.sleep(30000);<br>                managerConnection.logoff();      <br>                }<br>                <br>How can Try with Zap to Zap assist me to solve the above problem or give any link for the reference for the Zap to Zap.<br>
<br><br clear="all"><br>-- <br>Warm Regards,<br>N.Baskar<br><br>