[SIPForum-discussion] API problem

tiger130 tiger130 at 163.com
Fri Sep 5 03:26:41 UTC 2008


hi,guys
 
I have some trouble now . I've installed the partysip server(run over the osip lib)
,and the softphone can communicate with each other by it .
Now,i want to write an API to get the information of the users who 
register or login the server . 
such as the fuctions below :
 
 
/**
 *  get the user's valid time =( MAX valid time - loginTime)
 *  
 *  @param  szSipuri    -user's sipuri
 *  @return >=0:valid time(seconds)   -1:error
 */
int PARTYSIP_GetUserValidTime(char* szSipuri);
 
 
/**
 *  get the user's login time (register time)
 *  
 *  @param  szSipuri    -user's sipuri
 *  @param  plTime      -pointer of login time's result
 *  @return 0:succeed   -1:error
 */
int PARTYSIP_GetUserLoginTime(char* szSipuri, unsigned long * plTime);
 
who should i do .help me .
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sipforum.org/pipermail/discussion/attachments/20080905/7a3ce3b2/attachment-0002.html>


More information about the discussion mailing list