path: root/src
diff options
authorHolger Hans Peter Freyther <>2017-02-11 04:53:16 +0100
committerHolger Hans Peter Freyther <>2017-02-11 04:53:16 +0100
commit14488c1c46c8498f606a005904a3266c63073e28 (patch)
tree83fd11befd87ade7acf1c82b7aefd8950f84d5db /src
parentfffc742777f8942b833ab46f8b0b1499ad57713a (diff)
sip: Treat SIP 183 as progress too
It doesn't fix early media yet but brings us one step closer to it: The 183 (Session Progress) response is used to convey information about the progress of the call that is not otherwise classified. The Reason-Phrase, header fields, or message body MAY be used to convey more details about the call progress. Change-Id: Ibf264f251e41c06a7b4839acc0d0853e6400291c
Diffstat (limited to 'src')
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sip.c b/src/sip.c
index 139c620..afff393 100644
--- a/src/sip.c
+++ b/src/sip.c
@@ -156,7 +156,7 @@ void nua_callback(nua_event_t event, int status, char const *phrase, nua_t *nua,
if (leg->state == SIP_CC_INITIAL)
leg->state = SIP_CC_DLG_CNFD;
- if (status == 180)
+ if (status == 180 || status == 183)
call_progress(leg, sip);
else if (status == 200)
call_connect(leg, sip);