Hi, The INVITE message was sent to "chiefcall.com.tw" as specified in the destination URI. Please try to set the route-set/proxy for the account, e.g assuming your proxy is the same as your registrar: cfg.proxy[cfg.proxy_cnt++] = pj_str("sip:202.153.167.4;lr"); Regards, nanang On Thu, Oct 30, 2008 at 7:46 AM, Lewis Liu <lewisppp at gmail.com> wrote: > Thanks Nanang, > Yes, I use version 1.0. > I follow your commands. But it still can not work. > The parameters are : > cfg.id = pj_str("sip:07010174608 at chiefcall.com.tw"); > cfg.reg_uri = pj_str("sip:202.153.167.4;lr"); > cfg.cred_count = 1; > cfg.cred_info[0].realm = pj_str("*"); > cfg.cred_info[0].scheme = pj_str("digest"); > cfg.cred_info[0].username = pj_str(SIP_USER); > cfg.cred_info[0].data_type = PJSIP_CRED_DATA_PLAIN_PASSWD; > cfg.cred_info[0].data = pj_str(SIP_PASSWD); > I use the command "simple_pjsua xxx". > This operation can be successful to register to server. > But it can not get any response when make "INVITE" message to server. > Please help me whats wrong?? > I use another sip phone - X-Lite. > It can work to make call out. > So I log all files to let someone help me!! > > All log files are as attachment. > The "ok1" and "fail" are generated from Ethereal. > "ok1" is okay from X-Lite. and "fail" is not okay from "simple_pjsua xxxxx". > Anther one attachment "callout.txt" is log file for "simple_pjsua xxxxx". > Please help me again!! > Thanks a lot. > > > 2008/10/28 Nanang Izzuddin <nanang at pjsip.org> >> >> Hi again, >> >> Please try to add ";lr" in the proxy setting, e.g: >> --proxy sip:chiefcall.com.tw;lr >> >> And please see ticket #611 (http://trac.pjsip.org/repos/ticket/611), >> so in 1.0 (the version you are using) actually this should be >> automatically added by pjsua-lib, did you disable that feature? >> >> Regards, >> nanang >> >> >> On Sat, Oct 25, 2008 at 10:27 PM, Lewis Liu <lewisppp at gmail.com> wrote: >> > Hi sir, >> > >> > Sorry to ask again because I wait for 3 days but have not gotten any >> > answer. >> > I use the pjsua sample to make call out. >> > "simple_pjsua xxx" (xxx is called party) >> > But xxx has not gotten any incoming call. >> > So anyone can help me, please?? >> > Attachment is the log file. >> > Thanks a lot!! >> > Lewis >> > >> > _______________________________________________ >> > 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 > > > _______________________________________________ > 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 > >