Superceded by B2K Controller, which can not only cooperate with Twinkle SIP phone, but also Skype, thus also replacing Skypemate!
Siptelbox
This is hack that allowed me to use the USB Telbox as a SIP phone in Linux.
The Telbox was designed as a Skype to analog phone adapter, but it is basically
a USB sound card as far as Linux is concerned.
You also have to add scripts for "incoming call", "incoming call answered" and
"incoming call failed" in Twinkles user profile.
The incoming call script should just touch a file:
#!/bin/sh
touch /tmp/ring_phone_0
The other two should just remove it:
#!/bin/sh
rm -f /tmp/ring_phone_0
This tells siptelbox to start and stop the ring signal on the analog phone.
So I used Twinkle for the SIP functionality. I began with linphone, because it
has a command line client, but I never got that to work. Don't know if it it's
me or linphone...
Enough blabbering... take me to the code!
Ok, then you also need usbb2k-api to actually talk to the USB device. This could
be prettier, but one thing at a time. Download, compile and run with
usbb2k_api /tmp/usbb2k.sock as root.
Then run siptelbox /tmp/usbb2k.sock
Check the usbb2k-api site or download a CVS checkout from here.
It seemed like a good idea at the time to buy this thing to use as a SIP phone, but
I would not recommend it to anyone else. It works as a SIP phone, barely.
Feel free to improve support. There is no reason this device could not be the ultimate
Asterisk FXS with a good channel driver for it. As far as I can tell the hardware is
excellent, uses only USB power and is well documented.
Oh, the code is here and a Makefile.
This is a proof of concept. Take it and run with it!
regards,
Jakob