[SR-Users] 183 acc records even if early_media equals to 0
Andrew Pogrebennyk
apogrebennyk at sipwise.com
Fri Nov 10 09:42:40 CET 2017
On 11/10/2017 09:34 AM, Marco Capetta wrote:
> +
> if(relayed_msg->REPLY_STATUS==uas_rb->activ_type) {
> +
> run_trans_callbacks_with_buf( TMCB_RESPONSE_OUT, uas_rb, t->uas.request,
> +
> relayed_msg, relayed_code);
> + }
my guess is that in case of fake reply like a 408 the relayed_msg is -1
so addressing the member by pointer fails.
I have suggested Marco to try with if(relayed_msg==FAKED_REPLY ||
relayed_msg->REPLY_STATUS==uas_rb->activ_type)
Not sure if there are any other cases where relayed_msg is a NULL but we
will test this and let you know if it helps.
Andrew
More information about the sr-users
mailing list