Human VOIP


Jajah Click To Call Javascipt API

About the Jajah Buttons (Click to Call):

Jajah Buttons are basically a way to call someone by his Screen-Name, for example, if you know my Jajah screen name is guy you can reach me by going to:
http://jajah.com/guy
I don’t have to tell you my number and I’ll be paying for the call, similar to 1-800 call.
I can also easily determine – in which days of the week, in what hours and from which countries I would like to be available for calls.

When I, as the button owner, receive a call, I will be asked:
1. Accept the call.
2. Deny the call for now.
3. Deny the call and add the caller to the blacklist.

We are planning to:
Allow the owner of the button, in this case the business, to choose the option to remove the 1, 2, and 3 confirmation and also to make the call go first to the caller with a recorded slogan from the business, for ex: You will be connected to AUBRETIA SOFTWARE  in a few moments. AUBRETIA SOFTWARE is…

You can get your own customized Jajah Button Flash widget from here, (you can embed the widget inside any website):
http://www.jajah.com/buttons/editor/


The Jajah Buttons JavaScript API:

This Javascript API allows complete customization of the Jajah Button. The default look is smaller and will integrate easily into any website. It also supports multiple Jajah Buttons on the same page.

In order to implement the buttons inside your website, with the default look and feel, all you need to do is include this 3kb script in the header of the page:

<script type=”text/javascript” src=”http://www.jajah.com/buttons/api/js.ashx?lng=en”></script>

This script will automatically look for any HTML divs with a class name of JajahButton, for ex:

<div class=”JajahButton”>sn=aubretia</div>

When the script will find this div it’ll create inside of it a button, upon click it’ll call the screen-name aubretia, all needed html, graphics and functionality will be handled by the script automatically.

Note: If you don’t have a screen-name, create it here:
http://www.jajah.com/settings/general/

One of the basic customization options and maybe the most important is the “Click to call” image. To customize it, you need to write only one line of JavaScript, for example:

JajahCallUI._callImg = “http://aubretia.net/jLogo.gif”;

In this HTML file there are some simple examples of using the API and some basic customizations. Look at the source to see how it’s done.

Here is an example of a website that uses the API with a little customization:
http://www.italianmoda.com/linksIndex.cfm?categoriaID=96

If you have any questions, suggestions or ideas, please let us know.

6 Responses to “Jajah Click To Call Javascipt API”

  1. VoIP News » Blog Archive » Wednesday Links: Says:

    [...] Human VoIP (that’s the Jajah corporate blog)  shares the Jajah Click to Call Javascript API. [...]

  2. en ligne Says:

    Comfortably, the post is in reality the freshest on this notable topic. I agree with your conclusions and will eagerly look forward to your next updates. Saying thanks will not just be sufficient, for the phenomenal clarity in your writing. I will directly grab your rss feed to stay informed of any updates. Good work and much success in yourbusiness efforts!

  3. Imran Malik Says:

    Impressive piece of information, let me elaborate more on VoIP. Voice over Internet Protocol has been around since many years. But due to lack of sufficient and affordable bandwidth it was not possible to carry carrier grade voice over Internet Protocol. But since the arrival of low cost internet bandwidth and new speech codecs such as G.729, G.723 which utilizes very low payload to carry carrier class voice it has recently been possible to leverage the true benefits of VoIP. G.723 codec utilizes only 6 Kbps (Kilo Bytes/sec) which is capable of maintaining a constant stream of data between peers and deliver carrier grade voice quality. Lets put this way if you have 8 Mbps internet connection, by using G.723 codec you can run upto 100 telephone lines with crystal clear and carrier grade voice quality. I am also a user of VoIP and have setup a small PBX at home. Since I have discovered VoIP I have never used traditional PSTN service.

    Dear readers, if you have not yet tried VoIP I suggest that you try VoIP technology and I bet you will never want to use the traditional PSTN phone service ever again. VoIP has far more superior features to offer which traditional PSTN sadly cannot offer.

    Also It has recently been possile to carry Video alongwith VoIP by using low payload video codecs. I cannot resist to tell you that by using T.38 passthrough and disabling VAD VoIP can carry FAX transmission, but beaware FAX T.38 passthrough will only work when using wide band protocols such as G.711, a-Law and u-Law.

    By using ATA (Analog Telephone Adapter) which converts VoIP signals into traditional PSTN you can also using Dial-up modems to connect to various dialup services. I wont go in to the details what VoIP can offer, to cut my story short VoIP is a must to have product for every business and individual.

    How VoIP Works

    When we make a VoIP call, a communication channel is established between caller and called party over IP (Internet Protocol) which runs on top of computer data networks. A telephony conversation that takes place over VoIP are converted into binary data packets streams in real time and transmitted over data network, when these data packets arrive at the destination these are again converted into standard telephony conversation. This whole process of voice conversion into data, transmission and data conversion into back voice conversation takes place within less than few milliseconds. That is how a VoIP is call is transmitted over data networks. I hope that now you understand basics of how a VoIP call takes place.

    What are speech codec’s and what role codec plays in VoIP?

    Speech codec play a vital role in VoIP and codec determines the quality and cost of the call. Let me explain you what exactly VoIP codec’s are and how they work. You may have heard about data compression, or probably you have heard about air compressor which compresses a volume of air in enclosed container, VoIP codec’s are no different than a air compressor. Speech codec’s compresses voice into data packets and decompresses it upon arrival at destination. Some VoIP codec’s can compress huge amount of voice while maintaining QoS which means use this type of codec will cost less because it will consume just a fraction of data network. Some codec’s are just not capable of encoding huge amount of voice they simply consume huge amount of data networks bandwidth hence the cost goes up.

    Following is a list of VoIP codec’s along with how much data network bandwidth they consume.

    * AMR Codec
    * BroadVoice Codec 16Kbps narrowband, and 32Kbps wideband
    * GIPS Family – 13.3 Kbps and up
    * GSM – 13 Kbps (full rate), 20ms frame size
    * iLBC – 15Kbps,20ms frame size: 13.3 Kbps, 30ms frame size
    * ITU G.711 – 64 Kbps, sample-based Also known as alaw/ulaw
    * ITU G.722 – 48/56/64 Kbps ADPCM 7Khz audio bandwidth
    * ITU G.722.1 – 24/32 Kbps 7Khz audio bandwidth (based on Polycom’s SIREN codec)
    * ITU G.722.1C – 32 Kbps, a Polycom extension, 14Khz audio bandwidth
    * ITU G.722.2 – 6.6Kbps to 23.85Kbps. Also known as AMR-WB. CELP 7Khz audio bandwidth
    * ITU G.723.1 – 5.3/6.3 Kbps, 30ms frame size
    * ITU G.726 – 16/24/32/40 Kbps
    * ITU G.728 – 16 Kbps
    * ITU G.729 – 8 Kbps, 10ms frame size
    * Speex – 2.15 to 44.2 Kbps
    * LPC10 – 2.5 Kbps
    * DoD CELP – 4.8 Kbps

    Switch to VoIP Today and you will never want to use traditional PSTN ever again.

    Thanks

    -Imran

  4. Stephan Says:

    Hello !

    I have test the example sn=aubretia .
    It works fine. Is there an complete description of the api ?
    I look for an way to predefine the phonenumber.

    For example: sn=aubretia, nmbr=0049123456789

    Your sincerly

    Stephan Krauß

  5. guya.net Says:

    Hi Stephan,

    You can preset the user’s number using JavaScript, for example:

    JajahCallUI._caller = “49-123456789″;

    The number is saved in a cookie the first time the user click on “call”.

  6. Buy Cheap tools Says:

    Getting tired of super high prices on decent Power Tools? I wasted $1000’s until I found a solution I feel I have to pass on! If you’re an avid Handyman, you probably will be aware that having the right powertools for all tasks you tackle is so important, however finding out where to get the best deals is not always to easy. But, there is a trick to purchase good tools cheaply. Should you want to save a bundle, from 50% – 70% below regular prices, you have to take a look at this tool site called http://reconditioned-powertools.com. The costs for heavy duty tools such as Bosch, Bostitch, Festool, Makita and many others will keep the wife happy!

Leave a Reply

Jajah is the VoIP player that brought you web-activated telephony.