[Nice] Reg:How to use nice_tester-1.c with sofsip-client

Kai Vehmanen kai.vehmanen at nokia.com
Wed Oct 10 07:07:52 PDT 2007


Hi,

On 10 Oct 2007,  gmrammohan wrote:
>         Does anyone know how to test libnice (open source ice 
>library) with sofsip client phone. I have linked libnice to 
>sofsip client .

you can find quick instructions at:
http://www.mail-archive.com/sofia-sip-devel@lists.sourceforge.net/msg01781.h
tml

But here's somewhat updated instructions:

Getting and compiling the NICE fullmode branch
----------------------------------------------

sh> darcs get http://projects.collabora.co.uk/~kvehmane/nice/
sh> cd nice
sh> autoreconf --force --install
sh> ./configure && make && make install
sh> darcs get http://sofia-sip.org/repos/sofsip-cli
sh> cd sofsip-cli
sh> autoreconf --force --install
sh> ./configure && make
sh> cd src

Running test client 1 (answering party)
---------------------------------------

sh> ./sofsip-cli sip:user1 at provider1.net --media-impl=nice --autoanswer
--register
# if password protected account, provide the password
sofsip-cli> k mypassword

Running test client 2 (caller)
------------------------------
sh> ./nice_tester sip:user2 at provider2.net sip:user1 at provider1.net
testpassword && echo "SUCCESS"

...

If the above prints out "SUCCESS", the connectivity was succesfully
established.

-- 
first.surname at nokia.com (Kai Vehmanen)



More information about the Nice mailing list