<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Hold/Resume using Cisco JTAPI (java) in Call Control</title>
    <link>https://community.cisco.com/t5/call-control/hold-resume-using-cisco-jtapi-java/m-p/3563356#M1937</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah yes, call.getConnections() and for each connection you can do getTerminalConnections() and get the terminal connection for the phone you are interested in.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 31 Jan 2018 17:10:59 GMT</pubDate>
    <dc:creator>pmnkumar</dc:creator>
    <dc:date>2018-01-31T17:10:59Z</dc:date>
    <item>
      <title>Hold/Resume using Cisco JTAPI (java)</title>
      <link>https://community.cisco.com/t5/call-control/hold-resume-using-cisco-jtapi-java/m-p/3563353#M1934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #58585b; font-family: CiscoSans, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 16px;"&gt;We have simple cisco jtapi application, the primary use of this application is to capture all event from CUCM (Call Answer, Call initiate, call hold, call resume, call transfer, call conf). &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #58585b; font-family: CiscoSans, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 16px;"&gt;We are able to achieve call Answer and Call Initiate by using makeCall() method which is available in cisco guide. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #58585b; font-family: CiscoSans, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 16px;"&gt;But we are stuck at the point where we need to hold/resume/calltransfer functionality. Can anybody guide me how can we do this ??&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #58585b; font-family: CiscoSans, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 16px;"&gt;Any help will be really helpful. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2018 06:01:02 GMT</pubDate>
      <guid>https://community.cisco.com/t5/call-control/hold-resume-using-cisco-jtapi-java/m-p/3563353#M1934</guid>
      <dc:creator>ehtasham.malik</dc:creator>
      <dc:date>2018-01-30T06:01:02Z</dc:date>
    </item>
    <item>
      <title>Re: Hold/Resume using Cisco JTAPI (java)</title>
      <link>https://community.cisco.com/t5/call-control/hold-resume-using-cisco-jtapi-java/m-p/3563354#M1935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pseudo Code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// To initiate or make a call use the following interface:&lt;/P&gt;&lt;P&gt;Call call = Call.connect(OriginatingTerminal, OriginatingAddress, "to Number");&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//After the call is answered and media established between the phones:&lt;/P&gt;&lt;P&gt;//TerminalB is where you want to hold the call.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TermnialConnection [] termConns = call.getTerminalConnections();&lt;/P&gt;&lt;P&gt;TerminalConnection termConnB = null;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//find the terminal connection of B in this call.&amp;nbsp; Terminal B could have other calls on hold, so this needed&lt;/P&gt;&lt;P&gt;for (termC in termConns){&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if( termC.getTerminal() == TerminalB) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; termConnB = termC;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; break;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if (termConnB != null ){&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; try {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; termConnB.hold();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; } catch (Exception exp){}&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2018 22:07:50 GMT</pubDate>
      <guid>https://community.cisco.com/t5/call-control/hold-resume-using-cisco-jtapi-java/m-p/3563354#M1935</guid>
      <dc:creator>pmnkumar</dc:creator>
      <dc:date>2018-01-30T22:07:50Z</dc:date>
    </item>
    <item>
      <title>Re: Hold/Resume using Cisco JTAPI (java)</title>
      <link>https://community.cisco.com/t5/call-control/hold-resume-using-cisco-jtapi-java/m-p/3563355#M1936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your anser, but actually there is no method in call object which return TerminalConnection Array. &lt;/P&gt;&lt;P&gt;Call object has one method to return Connection but we can't case connection into the TerminalConnection . &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jan 2018 06:40:58 GMT</pubDate>
      <guid>https://community.cisco.com/t5/call-control/hold-resume-using-cisco-jtapi-java/m-p/3563355#M1936</guid>
      <dc:creator>ehtasham.malik</dc:creator>
      <dc:date>2018-01-31T06:40:58Z</dc:date>
    </item>
    <item>
      <title>Re: Hold/Resume using Cisco JTAPI (java)</title>
      <link>https://community.cisco.com/t5/call-control/hold-resume-using-cisco-jtapi-java/m-p/3563356#M1937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah yes, call.getConnections() and for each connection you can do getTerminalConnections() and get the terminal connection for the phone you are interested in.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jan 2018 17:10:59 GMT</pubDate>
      <guid>https://community.cisco.com/t5/call-control/hold-resume-using-cisco-jtapi-java/m-p/3563356#M1937</guid>
      <dc:creator>pmnkumar</dc:creator>
      <dc:date>2018-01-31T17:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: Hold/Resume using Cisco JTAPI (java)</title>
      <link>https://community.cisco.com/t5/call-control/hold-resume-using-cisco-jtapi-java/m-p/3563357#M1938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, now i have an issue while answering the call.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My code is something like that. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i got connections from the the call object. &lt;/P&gt;&lt;P&gt;connection[] con=call.getConnection();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i got two object, 1- for calling party, 2 -for called party. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now when i tried extract TerminalConnection from CalledParty. It don't have any TerminalConnection ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and TerminalConnection has only answer method. Now for called party TerminalConnection is getting null .. &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;How should i answer the call &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Anyhelp &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Feb 2018 07:21:38 GMT</pubDate>
      <guid>https://community.cisco.com/t5/call-control/hold-resume-using-cisco-jtapi-java/m-p/3563357#M1938</guid>
      <dc:creator>ehtasham.malik</dc:creator>
      <dc:date>2018-02-01T07:21:38Z</dc:date>
    </item>
    <item>
      <title>Re: Hold/Resume using Cisco JTAPI (java)</title>
      <link>https://community.cisco.com/t5/call-control/hold-resume-using-cisco-jtapi-java/m-p/3563358#M1939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have call observer on the called party? If your app is adding call observer on the called address or terminal, you should see a CallCtlTermConnRingingEv for the called Terminal. Can you check if you are seeing this? &lt;/P&gt;&lt;P&gt;This event indicates that the terminal connection is in correct state to call answer() API. &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;You will see only 1 terminal connection if you check the connections &lt;/SPAN&gt;&lt;SPAN style="color: #6a6a6a; font-family: arial, sans-serif; font-size: small;"&gt;immediately&lt;/SPAN&gt;&lt;SPAN style="color: #545454; font-size: small; font-family: arial, sans-serif;"&gt; after call.connect(). It takes a few milli seconds to see the terminal connection for called terminal. Use &lt;SPAN style="font-size: 13.3333px;"&gt;CallCtlTermConnRingingEv to answer the call. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Feb 2018 08:06:27 GMT</pubDate>
      <guid>https://community.cisco.com/t5/call-control/hold-resume-using-cisco-jtapi-java/m-p/3563358#M1939</guid>
      <dc:creator>pmnkumar</dc:creator>
      <dc:date>2018-02-01T08:06:27Z</dc:date>
    </item>
    <item>
      <title>Re: Hold/Resume using Cisco JTAPI (java)</title>
      <link>https://community.cisco.com/t5/call-control/hold-resume-using-cisco-jtapi-java/m-p/3563359#M1940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much it wokring now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now for cosult call i am getting the terminal from provider but again TerminalConnection is null, I have added that extension into the observer but still its TerminalConnection is null. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Feb 2018 09:43:43 GMT</pubDate>
      <guid>https://community.cisco.com/t5/call-control/hold-resume-using-cisco-jtapi-java/m-p/3563359#M1940</guid>
      <dc:creator>ehtasham.malik</dc:creator>
      <dc:date>2018-02-01T09:43:43Z</dc:date>
    </item>
  </channel>
</rss>

