[Sofia-sip-devel] sofia sip crash on ARM processo

2012-03-21 Thread Chris Herssens
Hello All, I found the error about why sofia sip crashed on android. The problem is in sip_basic.c in the the method sip_name_addr_d. there you can find: if (n>0) display[n] ='\0'; else display=""; ... if (return_display) *return_display = display; Now if n=0 then the address for return

[Sofia-sip-devel] sofia sip crash on ARM processor

2012-03-15 Thread Chris Herssens
Hello all, I still have problems running sofia-sip on a ARM processor. Sometimes on incoming SIP requests, sofia-sip crash when calling "tagi_t *msghdrtag_dup(tagi_t *dst, tagi_t const *src, void **bb)". To find out what is going wrong I put some logs and it seems that the variable size (= SIZE_

[Sofia-sip-devel] sip subscribe crash on ARM processor

2012-02-15 Thread Chris Herssens
Hello All, I try to port sofia sip on android. For a subscription on a presecence list I need to define in the TO header something like "" I do this as follow . std::string uri="sip:ch...@ims.com;pres-list=pres"; sip_to_t *sip_to= sip_to_format(ssc->home,"<%s>",uri.c_str()); nua_subscribe(op-

[Sofia-sip-devel] sofia sip on android

2012-02-10 Thread Chris Herssens
Hello All, I would like to port sofia sip on android. Cross compiling gives no problem, but calling the function nua_create(...) returns a null pointer. After tracing the problem it seems I get an error in nua_stack_init(su_root_t *root, nua_t *nua) . The call nua_stack_set_from(nua, 1, nua->nua_