<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.3199" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=046435614-02112007><FONT face=Arial 
color=#0000ff size=2>Hi,</FONT></SPAN></DIV><BR>
<BLOCKQUOTE 
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
  <HR tabIndex=-1>
  <FONT face=Tahoma size=2><B>From:</B> telepathy-bounces@lists.freedesktop.org 
  [mailto:telepathy-bounces@lists.freedesktop.org] <B>On Behalf Of </B>ext Tan 
  Miaoqing<BR><B>Sent:</B> Friday, November 02, 2007 4:39 PM<BR><B>To:</B> 
  telepathy@lists.freedesktop.org<BR><B>Subject:</B> [Telepathy] Any sample code 
  of using telepathy-sofiasip<BR></FONT><BR></DIV>
  <DIV></DIV>
  <DIV>I am new to telepathy-sofiasip. Can anybody tell me if there is a good 
  sample to show how to use telepathy-sofiasip?</DIV></BLOCKQUOTE>
<DIV><SPAN class=046435614-02112007><FONT face=Arial color=#0000ff size=2>You 
can try looking into the&nbsp;SVN trunk&nbsp;of&nbsp;Empathy; it's 
a&nbsp;GUI&nbsp;for the Telepathy framework&nbsp;and it's&nbsp;been getting some 
VoIP features.</FONT></SPAN></DIV>
<DIV><SPAN class=046435614-02112007><FONT face=Arial color=#0000ff 
size=2>Using&nbsp;connections and channels provided by&nbsp;telepathy-sofiasip 
should be the same as using any other Telepathy connection manager, except 
telepathy-sofiasip has a specific set of configuration parameters which you can 
look up in the <FONT face="Courier New">sofiasip.manager</FONT> file 
(generated&nbsp;as part of the&nbsp;build process).&nbsp;Look at&nbsp;the source 
in <FONT face="Courier New">src/sip-connection-manager.c</FONT> for more 
detailed information&nbsp;as to&nbsp;their purpose and default 
values.</FONT></SPAN></DIV>
<BLOCKQUOTE 
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
  <DIV>Yes, in its source package, there is a "tests" folder which contains some 
  python sample code, but they are not enough.</DIV></BLOCKQUOTE>
<DIV><SPAN class=046435614-02112007><FONT face=Arial color=#0000ff size=2>Very 
true. In fact, we would appreciate it very much if somebody contributes more 
extensive tests,&nbsp;e.g. to cover&nbsp;various call cases.</FONT></SPAN></DIV>
<DIV><SPAN class=046435614-02112007></SPAN><SPAN class=046435614-02112007><FONT 
face=Arial color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=046435614-02112007><FONT face=Arial color=#0000ff size=2>Best 
regards,</FONT></SPAN></DIV>
<DIV><SPAN class=046435614-02112007><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=046435614-02112007><FONT face=Arial color=#0000ff 
size=2>Mikhail Zabaluev, Nokia Multimedia, Helsinki</FONT></SPAN></DIV>
<DIV><SPAN class=046435614-02112007><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV></BODY></HTML>