[OpenSIPS-Devel] register_dlgcb
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Tue Mar 10 13:30:01 CET 2009
Hi Mauro,
It is not a mistake - the 0xffffffff value is the FAKED_REPLY (defined
in parser/msg_parser.h) and it is used to indicate that the current
reply was not received, but was local generated (by TM), so there is no
sip_msg structure for it.
Regards,
Bogdan
Mauro Davi' wrote:
>
> Hi All,
>
> I’m using the register_dlgcb function of the dialog module. I register
> a callback function for the following types of callbacks
> DLGCB_TERMINATED | DLGCB_FAILED | DLGCB_EXPIRED | DLGCB_DESTROY.
>
> But when the callback is invoked, in some circustances, for example
> when the dialog is destroyed because the ringing timeout is reached,
> the _params->msg value (the third passed parameter i.e. struct
> dlg_cb_params *_) isn’t correctly setted (the value is 0xffffffff).
>
> Is it a mistake or an aspected result (i.e. I must check the
> _params->msg againt the -1 value or the NULL value)?
>
> Thanks in advance
>
> MD
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Devel mailing list
> Devel at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
>
More information about the Devel
mailing list