[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Linphone-developers] ZRTP handling in liblinphone
From: |
Quintus |
Subject: |
[Linphone-developers] ZRTP handling in liblinphone |
Date: |
Sun, 08 Feb 2015 14:05:38 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) |
Hi everyone,
I’m trying to use liblinphone to build a hardware SIP telephone using a
Raspberry Pi. So far, I have had good success with that except for one
irritating bug (liblinphone permanently uses 100% CPU in its own thread
when you “close(STDOUT_FILENO);”, would be nice if you could fix that).
However, now I wanted to add ZRTP support for proper call encryption,
but it seems the liblinphone API documentation[1] does not mention much
on that topic. It appears one can enable encryption using the
linphone_call_params_set_media_encryption() function[2] with a parameter
of “LinphoneMediaEncryptionZRTP”. However, that’s all the documentation
says. ZRTP however requires the two phoning parties on their initial
call to verbally communicate a nonce[3], the “Short Authentication
String” (SAS). I can’t see any method in the API to find that one out so
I can display or otherwise communicate it to the user. Could you please
give me a hint on how I can retrieve it?
Also on a side note, the documentation for oRTP you link to from the
website[4] is from 2007. That should probably be updated.
liblinphone is great. I had much fun writing a SIP daemon for the
raspberry pi, and the (usually) well documented API makes it nice to
use. Thank you for your hard work!
Greetings
Marvin
[1]: http://www.linphone.org/docs/liblinphone/index.html
[2]:
http://www.linphone.org/docs/liblinphone/group__call__control.html#gac6110fb3da68d6c14ae9f5c65516911a
[3]: https://en.wikipedia.org/wiki/ZRTP#Authentication
[4]: http://www.linphone.org/technical-corner/ortp/documentation
--
Blog: http://www.quintilianus.eu
I will reject HTML emails. | Ich akzeptiere keine HTML-Nachrichten.
|
Use GnuPG for mail encryption: | GnuPG für Mail-Verschlüsselung:
http://www.gnupg.org | http://gnupg.org/index.de.html
- [Linphone-developers] ZRTP handling in liblinphone,
Quintus <=