Friday, May 28, 2010

A Beautiful Pattern in C++

 Creating a beautiful pattern in C++

























#include < iostream >
#include < cstdlib >


using namespace std;


int main(int argc, char *argv[])
{
    int i = 10;
    while(i > 0)
    {
        cout<<"\t";
        for(int j=i; j > 0; j--){        
             for(int k=0; k < 10-j; k++){
                     cout<<" ";
             }
             cout<<"*";
       }
       cout<<"\n";
       i--;
    }
   
   
   system("PAUSE");
   return EXIT_SUCCESS;
}

Sunday, September 6, 2009

Thinking to start blogging after a long time....

Tuesday, September 11, 2007

XMPP VoIP Phone

Now days, Telephony is not just about to talk, but it has so many other powerful feature. IP telephony has inherited enormous potential, which has given so many ways to develop and strengthen the telephony. This blog is about another and all together new aspect of telephony, more specific Enterprise Telephony.

Imagine a day to office, what would a person need from his telephone near his desk? I will list down few features or expectations which phone can offer to make his business profitable and fast.

  • How if desk phone initiates the meeting automatically which is set in your calender?
  • How if you can have the presence or availability status of the person to whom you want to call right on your screen?
  • How if you can get all your corporate communication, news feeds pushed on your phone instead of flooding your mailbox?
  • How if your phone acts an normal telephone, chatting client, voice mail box, e-mail and fax viewer?
  • How if your outlook calender, enterprise calender is available on your phone, which you can access from any where in the enterprise or through VPN?
  • What if your telephone can be integrated with Google Apps?
Here is the partial list of the features which powers the phone and in turns telephony. Now, it would be very easy to get convinced, telephony is not just about to talk, but its much more than that!!

What makes these features reside in your Telephony server??

Which protocol, what type of call-processing???

XMPP is the answer.............

XMPP (eXtensible Messaging and Presence Protocol) is widely gaining popularity due to its simple XML based approach and long list of Presence feature.


  • XMPP can be seen a s a new VoIP Protocol l
  • It has widely accepted as a IM standard
  • With the advent of Jingle (XEP-166) , its very easy to push XMPP as a complete VoIP protocol, with presence intergrated.l
Jingle can be thought of power of XMPP VoIP.

l- Google has developed Jingle (XEP-166) extension which is used for Voice, Video Sessions.
- Jingle supports ICE, STUN and TURN making NAT transparent solution.
-

Tuesday, May 8, 2007

Third Party Registration for H.323 Phones

Can any H.323 endpoint register to any other H.323 endpoint? What will be the advantages of it?

Work in Progress!!

Unicode Support for SMS in Mobile Phones

Now days mobiles are ubiquitous, covering almost all the regions and languages in the world. Cell phone manufactures supports phone menus in different languages but they are limited. If an user writes his message in Marathi (Devnagri Script, India) and sends it to a person who do not has
any support for Marathi in his cell phone, then he will not able to see the message correctly. Instead, he will see all unreadable characters.
There could be so many such cases even in one country. The country like India, which has large number of users with different native languages. It is practically impossible to support all the languages inside cell phone. And here comes the sigh of relief, Unicode.
Unicode provides the platform to encode and decode almost every symbol from different scripts. Its universally accepted standard, which uses UTF-8, UTF-16 etc. encoding schemes. If cell phone has Unicode support then any user can send and understand his own language. As Unicode includes Universal character set, which can be used in any countries.

Therefore, Unicode provides simplest solution which can be easily ported on mobile. SMS is the best candidate for its usage!!

Most of the mobile phones (even low end mobiles) manufacturers have provided the Unicode support, however, the problem still lies with the font rendering onto the tiny screen.

Even after recognizing the character, it has to be presented on to mobile screen, some times due
to limited capabilities of the phones, not all the language fonts are available.

This is the biggest limitation on this issue. There are couple of good blogs available on the internet which talks about the issues related fonts for different languages...



- (C) Anand Paithankar