<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>The famous Address is out of service</title>
  <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=6521773" />
  <subtitle>The famous Address is out of service</subtitle>
  <id>http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=6521773</id>
  <updated>2013-05-26T07:59:32Z</updated>
  <dc:date>2013-05-26T07:59:32Z</dc:date>
  <entry>
    <title>RE: Re: New Message from Kostik Hvostik in Cisco JTAPI (JTAPI) - Cisco JTAP</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=6522904" />
    <author>
      <name>Kostik Hvostik</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=6522904</id>
    <updated>2012-09-19T00:51:58Z</updated>
    <published>2012-09-19T00:51:58Z</published>
    <summary type="html">[quote]If the device the app is controlling is a hardware Cisco IP phone (instead of a CTI port), then this phone is responsible for its own media registration with UCM automatically when it powers on, and it is not necessary (or allowed) to register media with JTAPI.  The sample app should work without .register() if you're using two desk phones.[/quote]
Thanks a lot! Thanks-thanks-thanks-thanks! At last I can start develop my lib, instead of turning grey with this out-of-service error. 
I hope this thread will help anybody, who is new with jtapi, to go through this obstacles. Thanks again, all of you!</summary>
    <dc:creator>Kostik Hvostik</dc:creator>
    <dc:date>2012-09-19T00:51:58Z</dc:date>
  </entry>
  <entry>
    <title>RE: Re: New Message from Kostik Hvostik in Cisco JTAPI (JTAPI) - Cisco JTAP</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=6524790" />
    <author>
      <name>David Staudt</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=6524790</id>
    <updated>2012-09-19T00:44:05Z</updated>
    <published>2012-09-19T00:44:05Z</published>
    <summary type="html">If the device the app is controlling is a hardware Cisco IP phone (instead of a CTI port), then this phone is responsible for its own media registration with UCM automatically when it powers on, and it is not necessary (or allowed) to register media with JTAPI.  The sample app should work without .register() if you're using two desk phones.</summary>
    <dc:creator>David Staudt</dc:creator>
    <dc:date>2012-09-19T00:44:05Z</dc:date>
  </entry>
  <entry>
    <title>RE: Re: New Message from Kostik Hvostik in Cisco JTAPI (JTAPI) - Cisco JTAP</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=6522888" />
    <author>
      <name>Kostik Hvostik</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=6522888</id>
    <updated>2012-09-19T00:38:06Z</updated>
    <published>2012-09-19T00:38:06Z</published>
    <summary type="html">[quote]You must specify media capabilities to register, regardless if it has any.[/quote]
 
But why makecall app (from jtapi example apps) does not contain terminat.register() code line?  Is it necessary to use exactly CiscoMediaTerminal or there is a simplier method to place a call with CiscoTerminal object only ?
Thanks for you replies!</summary>
    <dc:creator>Kostik Hvostik</dc:creator>
    <dc:date>2012-09-19T00:38:06Z</dc:date>
  </entry>
  <entry>
    <title>RE: The famous Address is out of service</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=6524775" />
    <author>
      <name>Mohan Potluri</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=6524775</id>
    <updated>2012-09-19T00:34:32Z</updated>
    <published>2012-09-19T00:34:32Z</published>
    <summary type="html">CTI Port / Cisco Media Terminal is a virtual device. Applications have to register them before initiating or receiving calls. 
&lt;strong id="aui_3_2_0_1815" style="color: #525252; font-family: arial, helvetica, sans-serif; font-size: 11px; line-height: 15px;"&gt;this.mainTerminal.register [/b][color=#525252]call registers the CTIPort. Addresses on the CTIPort will not go into in-service state until it is registered.[/color]
[color=#525252]More information on CTIPort can be found in Cisco JTAPI developer guide at [/color]http://developer.cisco.com/web/jtapi/docs.
 
 </summary>
    <dc:creator>Mohan Potluri</dc:creator>
    <dc:date>2012-09-19T00:34:32Z</dc:date>
  </entry>
  <entry>
    <title>Re: New Message from Kostik Hvostik in Cisco JTAPI (JTAPI) - Cisco JTAPI Qu</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=6524759" />
    <author>
      <name>Tanner Ezell</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=6524759</id>
    <updated>2012-09-19T00:32:01Z</updated>
    <published>2012-09-19T00:32:01Z</published>
    <summary type="html">You must specify media capabilities to register, regardless if it has any.

Kostik Hvostik has created a new message in the forum "Cisco JTAPI
&gt; Questions":
&gt;
&gt; --------------------------------------------------------------
&gt; Hmmm, now I can to inititiate Arrdess to go into InService state. I was
&gt; made it accidentally. I've tried to run JTrace app from example apps and
&gt; when it was running - Addres was goin into InService mode correctly. I've
&gt; made a little investigation and here is a neccessary line of code to make
&gt; Addres to go InService:
&gt;
&gt; this.mainTerminal = (CiscoMediaTerminal)provider.getTerminals()[0];
&gt; this.sourceDirectory = (CiscoAddress)provider.getAddress(sourceDirectory);
&gt; this.sourceDirectory.addObserver(this);
&gt; *this.mainTerminal.register (
&gt; InetAddress.getLocalHost (),
&gt; 0x4321,
&gt; new CiscoMediaCapability [] {
&gt; CiscoMediaCapability.G711_64K_30_MILLISECONDS }
&gt; );*
&gt;
&gt; Just one question - why ? Like I understand - there is no reason to use
&gt; CiscoMediaTerminal when I want to make a simple call. Or it's isn't so ?
&gt; --
&gt; To respond to this post, please click the following link:
&gt;
&gt; &lt;
&gt; http://developer.cisco.com/web/jtapi/forums/-/message_boards/view_message/6522882
&gt; &gt;
&gt;
&gt; or simply reply to this email.</summary>
    <dc:creator>Tanner Ezell</dc:creator>
    <dc:date>2012-09-19T00:32:01Z</dc:date>
  </entry>
  <entry>
    <title>RE: The famous Address is out of service</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=6522882" />
    <author>
      <name>Kostik Hvostik</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=6522882</id>
    <updated>2012-09-19T00:26:11Z</updated>
    <published>2012-09-19T00:26:11Z</published>
    <summary type="html">Hmmm, now I can to inititiate Arrdess to go into InService state. I was made it accidentally. I've tried to run JTrace app from example apps and when it was running - Addres was goin into InService mode correctly. I've made a little investigation and here is a neccessary line of code to make Addres to go InService:

            this.mainTerminal = (CiscoMediaTerminal)provider.getTerminals()[0];
            this.sourceDirectory = (CiscoAddress)provider.getAddress(sourceDirectory);
            this.sourceDirectory.addObserver(this);
            [b]this.mainTerminal.register (
			InetAddress.getLocalHost (),
			0x4321,
			new CiscoMediaCapability [] { CiscoMediaCapability.G711_64K_30_MILLISECONDS }
			);[/b]

Just one question - why ? Like I understand - there is no reason to use CiscoMediaTerminal when I want to make a simple call. Or it's isn't so ?</summary>
    <dc:creator>Kostik Hvostik</dc:creator>
    <dc:date>2012-09-19T00:26:11Z</dc:date>
  </entry>
  <entry>
    <title>The famous Address is out of service</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=6521772" />
    <author>
      <name>Kostik Hvostik</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=6521772</id>
    <updated>2012-09-18T17:46:59Z</updated>
    <published>2012-09-18T17:44:57Z</published>
    <summary type="html">Hi all! Could not find what I'm doing wrong. I'm writing test app to make a call to specified number (source code in attached file).
I'm getting Provider from peer, waiting for provider InService state - this goes successful. After that I'm getting Address and adding Observer to Address. In Observer's event list I receive "Address out of service" event (CiscoAddrOutOfServiceEvImpl). Point me to my mistake, plz!
Maybe, something wrong with CUCM configuration. I'm using Cisco Jtapi version 8.6(2.10000)-5 Release.
I've created End User st2 with roles:
 
[b]Standard CCM End Users[/b]
[b]Standard CTI Allow Control of All Devices[/b]
[b]Standard CTI Enabled[/b]
 
checkbox "Allow Control of Device from CTI" is checked
 
He controls device stdev2:
 
[b]Product Type: 	CTI Port[/b]
[b]Device Protocol: 	SCCP[/b]
 
[b]Device Security Profile[/b][img]https://192.168.1.101/ccmadmin/themes/VtgBlaf/required.gif[/img][b]: Cisco CTI Port - Standard SCCP Non-Secure Profile[/b]
 
Also I've added Directory Number to stdev2 device. DN associated with this device. In frame "Users Associated with Line" I've added a user st2. All other settings was set by default.
 
When I'm working with provider - I'm successfully get the list of addresses and terminals. But when adding observer to Addresss - receive "Address is out of service" error. What I'm doing wrong? Thanks a lot for advices!!!</summary>
    <dc:creator>Kostik Hvostik</dc:creator>
    <dc:date>2012-09-18T17:44:57Z</dc:date>
  </entry>
</feed>

