Thanks Atik. So pjsua_acc_add() is used to register an existing client user.Is there any method that can be used to create or sign up a new account on a sip server? thanks again. -Jessica> Date: Thu, 7 Aug 2008 01:21:50 +0800> From: atik.khan@xxxxxxxxx> To: pjsip at lists.pjsip.org> Subject: Re: create a new account> > 2008/8/6 vopjessie <jessievop at hotmail.com>:> > Hi all, i need to create a new account on a sip server with my sip client> > written in pjsip. i use pjsua_acc_add(), but it always fails to create a new> > account. Is pjsua_acc_add() the right method i should use to do it?> > pjsua_acc_add() will not create user on your sip server, by calling> this function you can tell your sip client to register with your sip> server using existing client user,password on the SIP server.> > more : http://www.pjsip.org/pjsip/docs/html/group__PJSUA__LIB__ACC.htm#g18ff1b0e9d62682b6d64a321eb0106d8> > sample code : http://trac.pjsip.org/repos/browser/pjproject/trunk/pjsip-apps/src/samples/simple_pjsua.c#L156> > >> > thanks in advance> >> > -jessica> >> > ________________________________> > ???Hotmail???????? Windows Live Mail? ?????> > _______________________________________________> > Visit our blog: http://blog.pjsip.org> >> > pjsip mailing list> > pjsip at lists.pjsip.org> > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org> >> >> _______________________________________________> Visit our blog: http://blog.pjsip.org> > pjsip mailing list> pjsip at lists.pjsip.org> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org _________________________________________________________________ MSN ???????????????????? http://cn.msn.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080806/9bdc8247/attachment.html