diff --git a/channels/chan_sip.c b/channels/chan_sip.c index e4a94cf58b..4f7cddf46f 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"; }