locked
How does click to call work from a word document when deploying OCS? RRS feed

  • Question

  • Hi, We are looking at deploying a Cisco IP Telephony system with integration with Microsoft OCS. Can anyone explain how within a word document with the authors details of who wrote the document with their telephone No,. if you right click the telephone number of the author, then you are automatically set up with a telephone call to that author. What are the component parts, I am guessing you need to have some form of link into Active Directory, but need to understand the different components involved and what signalling is involved to set the call up. Does this only work with Cisco, or can you get it to work with other vendors IP PBX's?

    Any insight appreciated.
    Monday, September 21, 2009 10:02 AM

Answers


  • witshire_wombat,

    I created custom tabs in Communicator to allow one click calling - the post below contains details...

    http://social.microsoft.com/forums/en-US/communicatorextensibility/thread/c4dafc32-efdb-4b8a-8637-134a007178ca/

    The code also send a 'SPACE' which triggers the call to start.  Custom tabs are webpages - but I think it could be applied somehow within  a Word doc.

    NOTE - it's important you add the website this is coming from to the allowed list on the local machine - or it does not work.


    Based on this - I went on to create a small app in Visual Basic that is triggered by highlighting a number in Windows & then press a key combination (I used Control key + ~ key).  The app uses the Windows copy function to 'get' the number - and then based on that - you can do whatever you want before passing it to the desk OC client to actually call it.

    For example - I'm in a 'strange' area code, 604.  Some numbers starting with 604 are long distance, some are not.  I setup an SQL database to keep track of long distance 604 numbers & to apply a personal long distance code after the numebr is dialled using the desk OC client.

    My app is crude but effective - it uses SENDKEYs - but it has proven to work fine.  I did read another post recently about someone using a more robust method to trigger calls in the OC client NOT using SENDKEYs - and I was planning to upgrade my app to use that method.  I'm sure you could find it using a search for sendkeys in the OCS forums.


    NOTE - this does not help if the number being called is typed into the OC cleint, or is a recent contact in OC & you click on it.  If I could interact with OC when this clicking happens - then it would open up all sorts of possibilities - like redirecting outgoing calls to use my stand-alond Snom OCS phone...


    I hope this helps...


    Regards

    Paul Adams
    Monday, September 21, 2009 4:59 PM

All replies

  • HTML Documents that are embedded with tel: (for example, tel:+18005551212) can offer that ability, if the reviewer is currently an OCS users.  Clicking on that link in your Word or another HTML-aware application will redirect the focus to Office Communicator and place the call.  Additionally the URL previx of sip: can be used for opening an IM conversation window (e.g. sip:user@domain.com).


    Jeff Schertz, PointBridge | MVP | MCITP: Enterprise Messaging | MCTS: OCS
    Monday, September 21, 2009 1:30 PM
    Moderator
  • Hi, thank you for your reply. Do you happen to know what the actual process is that takes part to intitiate that call? I.E. you click to call, what determines that this is a valid telephone No? does some sort of communication occur between the application stack of word and the application stack of OCS? Does OCS then consult the Active Directory to determine that the user that the telephone No. belongs to, is currently logged in? If it comes back that the person who wrote the document, is signed in, does OCS then signal Cisco Communications Manager, and do you need a mediation server to act as a gateway between OCS and Communications Manager? Really need to know the steps and the consituient parts.

    Thanks in anticipation.
    Monday, September 21, 2009 3:09 PM
  • If it's a tel: URL then there really sin't much happening there except that if the 'clicking' user is logged into the OCS the OC client starts a call to that phone number string.  If that number normalizes and matches to an internal number than the other user is directly called, but it it's an external phone number than a Mediation server would be required to route the call to the PBX (CCM in this case).



    Jeff Schertz, PointBridge | MVP | MCITP: Enterprise Messaging | MCTS: OCS
    Monday, September 21, 2009 3:53 PM
    Moderator

  • witshire_wombat,

    I created custom tabs in Communicator to allow one click calling - the post below contains details...

    http://social.microsoft.com/forums/en-US/communicatorextensibility/thread/c4dafc32-efdb-4b8a-8637-134a007178ca/

    The code also send a 'SPACE' which triggers the call to start.  Custom tabs are webpages - but I think it could be applied somehow within  a Word doc.

    NOTE - it's important you add the website this is coming from to the allowed list on the local machine - or it does not work.


    Based on this - I went on to create a small app in Visual Basic that is triggered by highlighting a number in Windows & then press a key combination (I used Control key + ~ key).  The app uses the Windows copy function to 'get' the number - and then based on that - you can do whatever you want before passing it to the desk OC client to actually call it.

    For example - I'm in a 'strange' area code, 604.  Some numbers starting with 604 are long distance, some are not.  I setup an SQL database to keep track of long distance 604 numbers & to apply a personal long distance code after the numebr is dialled using the desk OC client.

    My app is crude but effective - it uses SENDKEYs - but it has proven to work fine.  I did read another post recently about someone using a more robust method to trigger calls in the OC client NOT using SENDKEYs - and I was planning to upgrade my app to use that method.  I'm sure you could find it using a search for sendkeys in the OCS forums.


    NOTE - this does not help if the number being called is typed into the OC cleint, or is a recent contact in OC & you click on it.  If I could interact with OC when this clicking happens - then it would open up all sorts of possibilities - like redirecting outgoing calls to use my stand-alond Snom OCS phone...


    I hope this helps...


    Regards

    Paul Adams
    Monday, September 21, 2009 4:59 PM
  • Excellent, very helpful thank you.
    Monday, September 21, 2009 8:06 PM
  • Thats really helpful, thank you.
    Monday, September 21, 2009 8:07 PM