Thanks for your reply Alvinli. Now I have another question :D. I want to change ring tone and ring back tone ( so that my softphone will be more colorful :D). Can anyone show me how to do this ? Many thanks. On Mon, Aug 29, 2011 at 5:47 PM, Harry Potter <alvinli1991 at qq.com> wrote: > Well,I am using this function with C language,but I think it may work just > the same with java. > an incoming call and a call you make will invoke this function,then the > function will be used many times until the call begins or ends. > ** > > ------------------ Original ------------------ > *From: * "Ngoc Kha Vu"<ngockhavu@xxxxxxxxx>; > *Date: * Mon, Aug 29, 2011 05:13 PM > *To: * "pjsip list"<pjsip at lists.pjsip.org>; ** > *Subject: * on_call_state() function > > Hi all. > > I have just started building a soft phone using pjsua. Unfortunately, I > haven't understood it much. > > I don't know when the function "on_call_state()" in PjsuaClient.java is > called ? > > Can anyone explain for me? > > Thanks in advance. > > > > -- > ======================================================================= > Best regards and thanks. > Vu Ngoc Kha > R&D Department - Software Center - Viettel Telecom > 5th Floor - The Pacific Ocean Building - 93B - Trung Kinh Street - Cau Giay > District - Ha Noi - Viet Nam > Mobile Phone: +84-91-5916218 ; +84-98-9353284 > Home Phone: +84-36-2-478535 > Email: ngockhavu at gmail.com > > ** > > _______________________________________________ > 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 > > -- ======================================================================= Best regards and thanks. Vu Ngoc Kha R&D Department - Software Center - Viettel Telecom 5th Floor - The Pacific Ocean Building - 93B - Trung Kinh Street - Cau Giay District - Ha Noi - Viet Nam Mobile Phone: +84-91-5916218 ; +84-98-9353284 Home Phone: +84-36-2-478535 Email: ngockhavu at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20110830/f97f3df9/attachment.html>