[OpenSIPS-Devel] [B2B_ENTITES] - new_server/client.

Anca Vamanu anca at opensips.org
Thu Apr 29 17:21:12 CEST 2010


Olivier Détour wrote:
> Hi,
>
> I would like to understand why param when I want to create a new UAS
> in my B2B_module has to be str*.
> Why don't you use a simple void* in struct b2b_dlg to give context to
> callbacks ??
> There is something I don't understand with this features ?? (If yes,
> you have to check if param == NULL in b2b_new_dlg before
> to copy it line 795: dlg.param = *param;)
>
> Regards,
>
>   
Hi Olivier ,

Initial the param was void*, then it became str* when I wanted to do db 
storage also ( it is still not completed, but will be soon).
I do the change that you suggested - indeed it was not safe.

Regards,

-- 
Anca Vamanu
www.voice-system.ro




More information about the Devel mailing list