TringMe Finds A Way To Make VoIP Calls from Microsoft Silverlight

Next Story

Is The Kindle Outpacing Early iPod Sales?

Indian start-up TringMe launched a demo of a widget that now allows a user the ability to make a VoIP call from Microsoft Silverlight applications. Silverlight doesn’t allow access to a microphone, thus restricting VoIP calls, so TringMe used a backdoor Flash widget to access the microphone.

This could open up the door for Silverlight developers to integrate VoIP in their applications. What’s interesting is the ability to use Silverlight’s competing application, Flash, to get around issues in the Silverlight platform. Basically, a competing platform is being used to strengthen an existing platform.

To try it out, visit this site. I was able to successfully make a call to my U.S. cell phone.

We wrote about TringMe in 2007 when the company launched a flash-based web phone for browsers. TringMe is a VoIP applications service that allows users to embed Flash widgets to make calls from their computers.

  • http://www.silverlighthack.com Bart Czernicki

    Nothing to see here. They are simply using Silverlight’s HTML bridge to make a direct call through JavaScript into their Flash application and pass in the number you entered.

    Silverlight can be extended nicely this way, but I wouldn’t say this is noteworthy. There are other examples of Flash/Silverlight integration that are better.

    I decrypted their code (I guess those guys don’t know about obfuscation):

    private void OnCallHandler(object sender, RoutedEventArgs e)
    {
    if (string.IsNullOrEmpty(this.phonenumber.get_Text()))
    {
    MessageBox.Show(“Please enter a phone number”);
    }
    else
    {
    this.callbutton.set_Content(“Hangup”);
    HtmlPage.get_Window().Invoke(“MakeCall”, new object[] { this.phonenumber.get_Text() });
    }
    }

    private void OnHangupHandler(object sender, RoutedEventArgs e)
    {
    HtmlPage.get_Window().Invoke(“Hangup”, new object[0]);
    this.callbutton.set_Content(“Call Now”);
    }

    You can clearly see its a simple Html invoke with the number as a parameter.

    • http://lopezunwired.com Paul Lopez

      Bart – good decomposition, what are they using Flash for? Can VOIP be accessed directly?
      Paul Lopez

    • dks123

      If it was so simple, why did not you think about it and published it?

      Main point of story is not about technical strength of the solution. It is about making VOIP functionality available in Silverlight apps.

      If google had done something like tihs, all you fan boys would be jumping up and down and shout “Brilliant!!” from roof top.

      • Chris

        It is simple – It’s just not a clever thing to do. It’s like saying “Hey, I just built a new search engine – it uses Google to perform the searches and then sends the results to my ‘search engine’ before displaying them to you” – why not just use Google in the first place? … or in the instance just use Flash to make the voip call – they’ve already got Flash in the workflow.

        A weird solution if you ask me!

      • Joe the Farmer

        Silverlight has better audio and video quality, uses fewer CPU and memory resources, and is easier to code for.

        Basically, this hack allows you to get all the benefits of Silverlight while using Flash for the stuff MS hasn’t programmed into Silverlight yet.

      • http://techmytongue.blogspot.com Vengu

        I second chris. That exactly what it is.
        And leena, we expect much more from you and TC :-).
        Not some report on a silly hack.

      • Stephen

        Have any of you used silverlight? If not, you may not even realize the potential of this (Check my response below).

        @chris how do you define clever? Can you show us your better and ‘clever’ solution than what these guys have done?

        @dks123 you bring in valid points.

      • http://www.silverlighthack.com Bart Czernicki

        @dks123 ,

        These guys have a Flash program that does VOIP and they added a simple call to open up their Flash program with Silverlight. The article makes it sound they integrated Silverlight/Flash together and its “powerful”

        Its clear the author doesn’t know how the technology works and as mentioned above…its an article about a hack.

      • Cagdas
  • http://www.silverlighthack.com Bart Czernicki

    Nothing to see here. They are simply using Silverlight’s HTML bridge to make a direct call through JavaScript into their Flash application and pass in the number you entered.

    Silverlight can be extended nicely this way, but I wouldn’t say this is noteworthy. There are other examples of Flash/Silverlight integration that are better.

    I decrypted their code (I guess those guys don’t know about obfuscation):

    private void OnCallHandler(object sender, RoutedEventArgs e)
    {
    if (string.IsNullOrEmpty(this.phonenumber.get_Text()))
    {
    MessageBox.Show(“Please enter a phone number”);
    }
    else
    {
    this.callbutton.set_Content(“Hangup”);
    HtmlPage.get_Window().Invoke(“MakeCall”, new object[] { this.phonenumber.get_Text() });
    }
    }

    private void OnHangupHandler(object sender, RoutedEventArgs e)
    {
    HtmlPage.get_Window().Invoke(“Hangup”, new object[0]);
    this.callbutton.set_Content(“Call Now”);
    }

    You can clearly see its a simple Html invoke with the number as a parameter.

    • http://lopezunwired.com Paul Lopez

      Bart – good decomposition, what are they using Flash for? Can VOIP be accessed directly?
      Paul Lopez

    • dks123

      If it was so simple, why did not you think about it and published it?

      Main point of story is not about technical strength of the solution. It is about making VOIP functionality available in Silverlight apps.

      If google had done something like tihs, all you fan boys would be jumping up and down and shout “Brilliant!!” from roof top.

      • Chris

        It is simple – It’s just not a clever thing to do. It’s like saying “Hey, I just built a new search engine – it uses Google to perform the searches and then sends the results to my ‘search engine’ before displaying them to you” – why not just use Google in the first place? … or in the instance just use Flash to make the voip call – they’ve already got Flash in the workflow.

        A weird solution if you ask me!

      • Joe the Farmer

        Silverlight has better audio and video quality, uses fewer CPU and memory resources, and is easier to code for.

        Basically, this hack allows you to get all the benefits of Silverlight while using Flash for the stuff MS hasn’t programmed into Silverlight yet.

      • http://techmytongue.blogspot.com Vengu

        I second chris. That exactly what it is.
        And leena, we expect much more from you and TC :-).
        Not some report on a silly hack.

      • Stephen

        Have any of you used silverlight? If not, you may not even realize the potential of this (Check my response below).

        @chris how do you define clever? Can you show us your better and ‘clever’ solution than what these guys have done?

        @dks123 you bring in valid points.

      • http://www.silverlighthack.com Bart Czernicki

        @dks123 ,

        These guys have a Flash program that does VOIP and they added a simple call to open up their Flash program with Silverlight. The article makes it sound they integrated Silverlight/Flash together and its “powerful”

        Its clear the author doesn’t know how the technology works and as mentioned above…its an article about a hack.

      • Cagdas
  • http://www.smibs.com Peter Urban

    Good to see that silverlight is coming along. More competition means better dev platforms for all of us.

  • http://www.smibs.com Peter Urban

    Good to see that silverlight is coming along. More competition means better dev platforms for all of us.

  • Pat Hawks

    I don’t get it.
    Why not just code it in flash to begin with?

    • chris

      Exactly! I shake my head in amazement! So a bunch of guys used MS Silverlight to cross-talk to a Flash movie via Javascript? Why not just use all Flash to begin with.

      MS Silverlight has about as much chance of success as most of MS’s other ventures in to the web space – next to none. Just another example of them playing catch up.

    • Joe the Farmer

      Silverlight has better audio and video quality, uses fewer CPU and memory resources, and is easier to code for. You also get to use C#, J#, Ruby, IronPython, or any other DLR language. Did I mention that the tools for all this are free?

      • chris

        I didn’t know that (use C#, J#, Ruby, IronPython, or any other DLR language).

        I still think it kind of a weird thing to do (use Flash to talk to Silverlight to do something Flash could already do).

      • Sergio J. Aragones

        Agreed. you don’t have to spend $$$ to develop silverlight code. Adobe sucks with their expensive development tools.

        Nice hack till MS gives us a way to access microphone from silverlight.

      • http://aristarkhos.blogspot.com aristarkhos

        better audio-video in SL? I would disagree. the output, in my experience, has almost always been clunky. I am not sure whether Blend lets a dev to create a single exe package like Flash.
        Flash-based apps can still be light and i once disagree about SL being light on resources.

        SL maybe getting adopted by a few people but that is not a sign of things to come. SL still needs to mature…and that can happen only when MS dev does something to improve it.
        personally, Blend’s UI has to be worst I have ever seen.

        TringMe is just trying to make its app saleable by providing it on every platform it can think of. admitted. it’s not that big a deal.

      • James

        Can you please show me where I can get Visual studio full edition for free so I can develop free Silverlight applications? I think not $400 for FlexBuilder is just as cheap if not cheaper. A poor workman blames expensive tools. Now your app is just useless as SL only have what 5% max market penetration where as if you used just flash you would have covered 98%. If you actualyl want to make an app the people will use forget SL and go Flash/flex.

  • Pat Hawks

    I don’t get it.
    Why not just code it in flash to begin with?

    • chris

      Exactly! I shake my head in amazement! So a bunch of guys used MS Silverlight to cross-talk to a Flash movie via Javascript? Why not just use all Flash to begin with.

      MS Silverlight has about as much chance of success as most of MS’s other ventures in to the web space – next to none. Just another example of them playing catch up.

    • Joe the Farmer

      Silverlight has better audio and video quality, uses fewer CPU and memory resources, and is easier to code for. You also get to use C#, J#, Ruby, IronPython, or any other DLR language. Did I mention that the tools for all this are free?

      • chris

        I didn’t know that (use C#, J#, Ruby, IronPython, or any other DLR language).

        I still think it kind of a weird thing to do (use Flash to talk to Silverlight to do something Flash could already do).

      • Sergio J. Aragones

        Agreed. you don’t have to spend $$$ to develop silverlight code. Adobe sucks with their expensive development tools.

        Nice hack till MS gives us a way to access microphone from silverlight.

      • http://aristarkhos.blogspot.com aristarkhos

        better audio-video in SL? I would disagree. the output, in my experience, has almost always been clunky. I am not sure whether Blend lets a dev to create a single exe package like Flash.
        Flash-based apps can still be light and i once disagree about SL being light on resources.

        SL maybe getting adopted by a few people but that is not a sign of things to come. SL still needs to mature…and that can happen only when MS dev does something to improve it.
        personally, Blend’s UI has to be worst I have ever seen.

        TringMe is just trying to make its app saleable by providing it on every platform it can think of. admitted. it’s not that big a deal.

      • James

        Can you please show me where I can get Visual studio full edition for free so I can develop free Silverlight applications? I think not $400 for FlexBuilder is just as cheap if not cheaper. A poor workman blames expensive tools. Now your app is just useless as SL only have what 5% max market penetration where as if you used just flash you would have covered 98%. If you actualyl want to make an app the people will use forget SL and go Flash/flex.

  • http://callcenter.com Mike

    So, you will write about this non-newsworthy tidbit, but not about sites like myhairylip.com or cheesebreadfactory.com?

    What gives!

  • http://callcenter.com Mike

    So, you will write about this non-newsworthy tidbit, but not about sites like myhairylip.com or cheesebreadfactory.com?

    What gives!

  • http://www.sagarpatil.info Sagar Patil

    Looks very promising, i am going to download it right away.

  • http://www.sagarpatil.info Sagar Patil

    Looks very promising, i am going to download it right away.

  • http://event-listener.blogspot.com Michel Bartz

    I’m gonna make a VoIP service in JavaScript so! And just call Flash to make the job, and said that i make a ‘JavaScript VoIP service’ .

    Useless, and show the superiority of Flash.

    • Joe the Farmer

      You could, except that you would actually be showing that JS is superior to Flash b/c JS can Flash it’s bitch.

  • http://event-listener.blogspot.com Michel Bartz

    I’m gonna make a VoIP service in JavaScript so! And just call Flash to make the job, and said that i make a ‘JavaScript VoIP service’ .

    Useless, and show the superiority of Flash.

    • Joe the Farmer

      You could, except that you would actually be showing that JS is superior to Flash b/c JS can Flash it’s bitch.

  • rc

    nice service till microsoft resolve the silverlight issue

    rc

    trading tennis blog

  • rc

    nice service till microsoft resolve the silverlight issue

    rc

    trading tennis blog

  • Jason

    These guys have already documented their flash widget code so I am sure they are not into obfuscation but more to prove the point that it can be done from silverlight and they did good job.

  • Jason

    These guys have already documented their flash widget code so I am sure they are not into obfuscation but more to prove the point that it can be done from silverlight and they did good job.

  • Elisa

    It’s not about how they did it but what they did which no one could do it before.

    Things looks simpler once accomplished. Nice work tring me.

  • Elisa

    It’s not about how they did it but what they did which no one could do it before.

    Things looks simpler once accomplished. Nice work tring me.

  • http://sventure.blogspot.com SG

    Wow! Yet another Web based Voip startup. Seems like people just cook up a web app, run asterisk or freeswitch at the backend with a web front and money starts pouring

    -S

  • http://sventure.blogspot.com SG

    Wow! Yet another Web based Voip startup. Seems like people just cook up a web app, run asterisk or freeswitch at the backend with a web front and money starts pouring

    -S

  • http://blogs.msdn.com/msmossyblog Scott Barnes

    I agree, I’m confused as to why this is a Flash solution but under the name Silverlight?


    Scott Barnes
    Rich Platforms Product Manager
    Microsoft.

  • http://blogs.msdn.com/msmossyblog Scott Barnes

    I agree, I’m confused as to why this is a Flash solution but under the name Silverlight?


    Scott Barnes
    Rich Platforms Product Manager
    Microsoft.

  • http://www.cleantechcircle.com Tom Schulz

    What’s the bruhaha? There’s already a clean, pure Java solution that enables VOIP on any webpage: http://www.c2call.com.

  • http://www.cleantechcircle.com Tom Schulz

    What’s the bruhaha? There’s already a clean, pure Java solution that enables VOIP on any webpage: http://www.c2call.com.

  • http://jp.techcrunch.com/archives/20090203tringme-finds-a-way-to-make-voip-calls-from-microsoft-silverlight/ TringMeがMicrosoft SilverlightでVoIP通話を可能に

    […] [原文へ] […]

blog comments powered by Disqus