search for: pj_einvalidop

Displaying 1 result from an estimated 1 matches for "pj_einvalidop".

2014 Nov 12
1
Asterisk 12 crashes on CANCEL received during ANSWER handlingl
...ting the 200OK response. Looking at the core file we see that the problem is in - pjsip/src/pjsip/sip_transaction.c line 3158 : PJ_ASSERT_RETURN(event->type == PJSIP_EVENT_TX_MSG && event->body.tx_msg.tdata == tsx->last_tx, PJ_EINVALIDOP); After investigating further I came to a conclusion that the second expression fails (marked with yellow), and that causes the Asterisk to crash. I have already removed the expression and logged whenever this expression fails. It seems to work fine. Since the change it the happened several times...