aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--channels/chan_sip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index e4a94cf58..4f7cddf46 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -9103,7 +9103,7 @@ static void initreqprep(struct sip_request *req, struct sip_pvt *p, int sipmetho
break;
}
/* If we have only digits, add ;user=phone to the uri */
- if (*s)
+ if (!*s)
urioptions = ";user=phone";
}