Skip to content

Commit bfff514

Browse files
committed
[sip_i] fix wrong ISUP msg type on 200 OK INVITE
Credits go to @aldotms70 Closes #3857 (cherry picked from commit bc5a87a)
1 parent e758805 commit bfff514

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/sip_i/sip_i.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1661,7 +1661,7 @@ static int add_isup_part_cmd(struct sip_msg *msg, str *msg_type, str *hdrs)
16611661
else if (msg->REPLY_STATUS == 200) {
16621662
if (get_cseq(msg)->method_id == METHOD_INVITE)
16631663
/* 200 OK INVITE -> ANM */
1664-
isup_msg_idx = get_msg_idx_by_type(ISUP_REL);
1664+
isup_msg_idx = get_msg_idx_by_type(ISUP_ANM);
16651665
else if (get_cseq(msg)->method_id == METHOD_BYE)
16661666
/* 200 OK INVITE -> RLC */
16671667
isup_msg_idx = get_msg_idx_by_type(ISUP_RLC);

0 commit comments

Comments
 (0)