Menu

Start over.

2007-10-03
2013-04-30
  • Daniel Ribeiro

    Daniel Ribeiro - 2007-10-03

    Hi all,

    Recently i bought a B2K box, and it works great with kb2kskype and linux.

    But there are some thing which i really dislike on kb2k...

    1) Depends on kdelibs. I am a gnome user, and dont want kdelibs on my system.
    2) Opens a window. I do prefer it to run fully on background, as a daemon, i am OK with the skype window, but i dont need a separate b2k manager window.
    3) Code complexity. The code is very poorly organized, looks hackish and is hard to understand. The daemon (usbb2k-api) which should provide a "common API" has problems with multiple client instances and even with clients disconnects (which puts the daemon into a loop).
    4) Its written in C++ (argh).

    These are the reasons why i am writing a completely new application to interface B2K telbox with skype.

    Here are my goals:

    * Simple, *one* application solution, that runs in background with no visible windows.
    * Interface with any VOIP software via runtime loadable plugins.
    * Written in C, with clean and easily readable code.
    * No dependency on fancy libs, eg: depends on libc, Xlib and libdl, nothing more.

    What is done already:

    Clean, and easy-to-use skype API interface(Xmessages) written in C, that runs without the need of drawing a window.

    Any developer wish to help?? :)

     
    • Simon_6162

      Simon_6162 - 2007-10-04

      "Recently i bought a B2K box, and it works great with kb2kskype and linux. "

      Thanks for your kind words and positive feedback !

      Simon

       
    • Daniel Ribeiro

      Daniel Ribeiro - 2007-10-04

      Hi Simon,

      Are you being sarcastic?

      Anyway, I finished the USB part, now i have a good base to work on.

      Currently the code supports the Skype "Public API", and controlling the B2k box via USB, all this on a <5Kb, simple, .C console application.

      best regards,
      Daniel Ribeiro

      "One of my most productive days was throwing away 1000 lines of code."
      - Ken Thompson.

       
    • Frank Bennett

      Frank Bennett - 2008-01-09

      Daniel,

      Doubt Simon was being sarcastic, it's a big world with
      lots of room to move about in.

      Any progress since October?

      Frank Bennett

       
    • Daniel Ribeiro

      Daniel Ribeiro - 2008-03-14

      Yes, the code is done, and runs stable on my system.

      No windows other than the skype window.

      Ive just changed it to use the newly implemented UI commands from the Skype API(2.0.0.63), and it works like a charm!

      Here is how it works currently:
      Hook OFF -> Normal PSTN -> Press * -> Interactive cycle Skype Contact List -> Press * -> Dial Number from Skype.

      eg:
      Dial PSTN: Just take the hook and dial.
      Dial a skype contact: Take the hook, press *, select skype contact with 2(up) and 8(down), press # to dial
      Dial a number with Skype: Take the hook, press ** (yes, twice), insert number, press # to dial

      My code supports only the B2k telbox, it is still a mess, and no hotplug yet.

      I will upload it to the easyb2k project svn as soon as i finish the hal part :)

       

Log in to post a comment.