Hi, Please try the soft-phone called twinkle (by the house of KDE), or if you simply wish to create tests for SIP, use SIPp (http://sipp.sourceforge.net/).
Ido On 3/30/07, Luca Olivetti <[EMAIL PROTECTED]> wrote:
En/na Luca Olivetti ha escrit: > Hello, > > I'm trying to use an usb phone under Linux. I already successfully used > Lazarus with libusb to quickly test the communication protocol that I > reverse engineered, so I can control the phone. My ultimate goal is to > connect the phone to a headless server, something like this: > > http://www.devbase.at/voip/yeaphone.php > (my server, btw, is a linkstation pro, so it's arm based too, I suppose > that as long as I don't use the LCL but only the FCL that should be fine) > > but obviously I'd avoid the pain of coding it in C ;-) > > I thoght of a couple of options > > 1) do the same as yeaphone and use the linphone library after conversion > of the header with h2pas. This would be relatively straightforward, > however I'm not sure it will work (the library is heavily callback > based, besides I'll need the same patch to be informed of the status of > linphone) > > 2) try to port the non-visual parts of SIPInside > http://tothpaul.free.fr/sources.php?dprtcp.sipinside > > I'd prefer the second option (everything in pascal), but then I'd need > good audio library (ACS maybe?) and I don't know yet how difficult it > would be to port (I suppose that, with some coaxing, I could use synapse > where sipinside uses winsock). Well, I tried both approaches. I started with the SIP component of SIPInside, but, though I succeeded in sending and receiving data, my registrar tells me that it's sending an invalid request, and I think it's because SIPInside is not fully sip compliant. Instead of debugging it more (considering that then I had to port STUN, RTP and audio components) I tried to use linphone. Converting the h file was a pain (and I'm not completely satisfied with the result), but at least basic functionality is working (register, make calls, receive calls). I'm testing it on x86, I hope that it'll work when I compile it for arm. Bye -- Luca A: Because it destroys the flow of the conversation Q: Why is it bad? A: No, it's bad. Q: Should I top post in replies to mailing lists? _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
-- http://ik.homelinux.org/ _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
