Commit 5e94ce17 authored by jehan's avatar jehan
Browse files

check for sent ack only in case of 2xx answer

parent 91be1709
......@@ -514,7 +514,7 @@ void belle_sip_client_transaction_notify_response(belle_sip_client_transaction_t
/*check that 200Ok for INVITEs have been acknowledged by listener*/
if (dialog && strcmp(method,"INVITE")==0){
if (dialog && status_code>=200 && status_code<300 && strcmp(method,"INVITE")==0){
/*report a server having internal errors for REGISTER to the channel, in order to go to a fallback IP*/
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment