pjsua_var.acc[acc_id].display

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 Hi , I found a every strange thing !!

After I call

-------------------------------------------------------------------------
pjsua_acc_add(&acc_cfg, PJ_FALSE , &acc_id);
---------------------------------------------------------------------------

I use

------------------------------------------------------------------------------------------------------
pj_str_t    tmp;

tmp = pj_str(sip_cfg->display_name);
pj_strdup( pjsua_var.pool , &(pjsua_var.acc[acc_id].display) , &tmp );
--------------------------------------------------------------------------------------------------------

to assign myself display_name !!

But when I enter

--------------------------------------------------
pjsua_acc_create_uas_contact()
pjsua_acc_create_uac_contact()
-------------------------------------------------

I fount that

------------------------------------------
pjsua_var.acc[acc_id].display.ptr
------------------------------------------

become NULL  !!

I don't know what reason cause the result !!

Maybe  some place modified the "display" or

the "acc" strucure is not alignment with 4 byte (I am working in the embeded
system of mips )  !!

Could any one give me a help ??

                                                   Thanks !!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20081021/7a59c49c/attachment.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux