Skip to content

Commit e90ca87

Browse files
author
Bao Nguyen
committed
signalwire/freeswitch#1014 fix to enabled FreeSWITCH to send PRACK upon receiving reliable 180, or to send 180 Ringing reliably (with Require: 100rel and a RSeq header)
1 parent 1fef149 commit e90ca87

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

libsofia-sip-ua/nua/nua_session.c

+3
Original file line numberDiff line numberDiff line change
@@ -2480,6 +2480,9 @@ int nua_invite_server_is_100rel(nua_server_request_t *sr, tagi_t const *tags)
24802480
return 0;
24812481
if (sr->sr_status == 183)
24822482
return 1;
2483+
/*Also include 180 when 100rel is required */
2484+
if (sr->sr_status == 180)
2485+
return 1;
24832486

24842487
if (NH_PGET(nh, early_media) && !NH_PGET(nh, only183_100rel))
24852488
return 1;

0 commit comments

Comments
 (0)