<?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>Play audio to call on route point and route when ready?</title>
  <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=12124022" />
  <subtitle>Play audio to call on route point and route when ready?</subtitle>
  <id>http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=12124022</id>
  <updated>2013-05-25T14:27:53Z</updated>
  <dc:date>2013-05-25T14:27:53Z</dc:date>
  <entry>
    <title>RE: Play audio to call on route point and route when ready?</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12161149" />
    <author>
      <name>Stewart Ponsford</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12161149</id>
    <updated>2013-02-20T14:36:05Z</updated>
    <published>2013-02-20T14:36:05Z</published>
    <summary type="html">I knew that as soon as I posted a question regarding my latest problem I would find the solution. I was adding terminal observer and call observer on the terminal, without the other app (jtapi test tool) I needed to add an call observer on the routeaddress also.
 
MY only concern now is that I would only be able to hold 20 calls per route point? Do you know where I can find the capacity?</summary>
    <dc:creator>Stewart Ponsford</dc:creator>
    <dc:date>2013-02-20T14:36:05Z</dc:date>
  </entry>
  <entry>
    <title>RE: Play audio to call on route point and route when ready?</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12162647" />
    <author>
      <name>Alexander Anikin</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12162647</id>
    <updated>2013-02-20T14:25:31Z</updated>
    <published>2013-02-20T14:23:46Z</published>
    <summary type="html">[quote=Stewart Ponsford]I thought rather than simply using CTI route points as a device to receive new calls and route to media terminals to provide in queue messaging I could use the route point to do the in queue messaging then perrform a redirect.[/quote]I think pure RP routing is flawed in regards of capacity. AFAIR route point can't have more than 20 something calls on it.   [quote]the doc stats one app (I presume this really means once provider handle) cannot registerRouteCallback and terminate media?[/quote]No, you don't need RouteCallBack. You have to issue CallControlConnection.accept() request "manually" from your java code. There is also CiscoAddress.setAutoAcceptStatus() interface in CUCM 8.x, not sure about 7.
As for media doc states the following:
Terminating media comprises a three-step process.
Step 1 The application registers its media capabilities with this terminal by using the CiscoRouteTerminal.register method.
Step 2 An application adds an observer that implements CiscoTerminalObserver interface by using the Terminal.addObserver method. Step 3 The application must add addCallObserver on CiscoRouteTerminal or on CiscoRouteAddress to receive CiscoCall object from the provider by using CiscoRTPHandle.
Probably you should register with DYNAMIC_MEDIA_REGISTRATION option and follow the procedure - respond to CiscoMediaOpenLogicalChannelEv, set up ip address&amp;port and provide media.
AFAIK static media termination doesn't work for route points.</summary>
    <dc:creator>Alexander Anikin</dc:creator>
    <dc:date>2013-02-20T14:23:46Z</dc:date>
  </entry>
  <entry>
    <title>RE: Play audio to call on route point and route when ready?</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12160258" />
    <author>
      <name>Stewart Ponsford</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12160258</id>
    <updated>2013-02-20T13:49:33Z</updated>
    <published>2013-02-20T13:49:33Z</published>
    <summary type="html">Ok not quite where I hoped I would be.
 
I thought rather than simply using CTI route points as a device to receive new calls and route to media terminals to provide in queue messaging I could use the route point to do the in queue messaging then perrform a redirect.
 
I found that I could do the in queue audio ok, but it turned out this was only working when I had the JTAPI test tool running and it had registered the routepoint (registerCallback), for some reason the call was accepted, I got the ConnCreated/Alerting - answered the call and set up RTP.
 
Stopping the test tool seemed to mean the call wasnt accepted - no events at all - so maybe you have to have a provider session that uses registerRouteCallback - although it has to be a seperate session as the doc stats one app (I presume this really means once provider handle) cannot registerRouteCallback and terminate media?
 
I am testing this on CUCM 7.1.
 
So it is looking like my app needs to open two provider sessions?</summary>
    <dc:creator>Stewart Ponsford</dc:creator>
    <dc:date>2013-02-20T13:49:33Z</dc:date>
  </entry>
  <entry>
    <title>RE: Play audio to call on route point and route when ready?</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12151343" />
    <author>
      <name>Stewart Ponsford</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12151343</id>
    <updated>2013-02-20T08:05:09Z</updated>
    <published>2013-02-20T08:05:09Z</published>
    <summary type="html">Thanks David,
 
I hadn't appreciated that I could use redirect on an RP. This soundslike great news as my current architecture involves some complex call flows and this will simplify that a lot.</summary>
    <dc:creator>Stewart Ponsford</dc:creator>
    <dc:date>2013-02-20T08:05:09Z</dc:date>
  </entry>
  <entry>
    <title>RE: Play audio to call on route point and route when ready?</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12131990" />
    <author>
      <name>David Staudt</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12131990</id>
    <updated>2013-02-19T20:22:49Z</updated>
    <published>2013-02-19T20:22:49Z</published>
    <summary type="html">As you point out, looks like the registerRouteCallback/SelectRoute mechanism is marked as 'Deprecated', and is not compatible with the 'new' RP media termination capabilities.  In that case the application could use Redirect to send calls on (building out its own logic for destination selection/retry, i.e. replicating the logic/service that the SelectRoute method provides.) 
Using Redirect instead of SelectRoute would also preclude using some of the special overrides of SelectRoute, such as modifying the calling party number, FAC/CMC, etc.  If those capabilities are needed, it would be possible to use one CTI RP for queing, and then Redirect calls to a second CTI RP where SelectRoute is applied to the call to send it on further with any needed modification...</summary>
    <dc:creator>David Staudt</dc:creator>
    <dc:date>2013-02-19T20:22:49Z</dc:date>
  </entry>
  <entry>
    <title>RE: Play audio to call on route point and route when ready?</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12124250" />
    <author>
      <name>Stewart Ponsford</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12124250</id>
    <updated>2013-02-19T16:13:30Z</updated>
    <published>2013-02-19T16:13:30Z</published>
    <summary type="html">Hmm but I can't use the select method as if I call registerRouteCallback I wont get the 

CiscoMediaOpenLogicalChannelEv event.</summary>
    <dc:creator>Stewart Ponsford</dc:creator>
    <dc:date>2013-02-19T16:13:30Z</dc:date>
  </entry>
  <entry>
    <title>RE: Play audio to call on route point and route when ready?</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12123047" />
    <author>
      <name>David Staudt</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12123047</id>
    <updated>2013-02-19T16:04:59Z</updated>
    <published>2013-02-19T16:04:59Z</published>
    <summary type="html">Media termination for CTI route points was added about halfway through the history of UCM, and indeed should support your use-case.  Note that CTI RPs still do not support the full range of CTI operations that a CTI port does, so the feature doesn't completely obsolete CTI ports; however for simple call flows, like hold/play/redirect, a single CTI RP should suffice.</summary>
    <dc:creator>David Staudt</dc:creator>
    <dc:date>2013-02-19T16:04:59Z</dc:date>
  </entry>
  <entry>
    <title>Play audio to call on route point and route when ready?</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12124021" />
    <author>
      <name>Stewart Ponsford</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12124021</id>
    <updated>2013-02-19T16:00:36Z</updated>
    <published>2013-02-19T16:00:36Z</published>
    <summary type="html">Hi,
 
I have an app that provides in queue messaging for our Call centre product, currently this is achieved by routing calls arriving on route points to allocated media terminals to play in-queue audio.
 
I was looking at the cisco route terminal feature and was wondering if I need cti ports/media terminals at all?
 
Can a route point accept a call and start playing audio and when the call centre application is ready to route the call to a user, perform the route operation?
 
It looks like no, as I dont think I can registerRouteCallback as well as perform dynamic RTP streams.</summary>
    <dc:creator>Stewart Ponsford</dc:creator>
    <dc:date>2013-02-19T16:00:36Z</dc:date>
  </entry>
</feed>

