cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1150
Views
2
Helpful
1
Replies

Calling Jabber SDK via a Browser Add-on or extension

adi323001
Level 1
Level 1

Hello guys,

So here goes the scenario..

Scenario:

     I have developed an add-on for a browser which detects any phone numbers present on a web page and highlights by a hyperlink. So here is the idea. When a user clicks on the number, the click event should call the jabber plug-in to initiate A/V communication. For security purpose it should ask user to login to the CUCM.

Problem:

    

     I have no-idea how to call the plugin from an Add-on. Can anybody provide any guidance on it.

Hope my question is clear to everyone.

Cheers,

Adi

1 Reply 1

tinghche
Level 5
Level 5

If user has Jabber client installed, this can be done by simply adding the phone number into the URL form like this:

<a href="TEL:1234">Call 1234</a>. When user click on the link, it will launch their Jabber client.

If you are trying to implement this with Jabber SDK for web, then Message Passing might be something you are looking for?

http://developer.chrome.com/extensions/messaging

Sorry I never play with extension, assuming you can listen to the events via Message Passing from either side and do the needful. Ex: When call state changes, devices registered, etc.

Regards,

Howard