diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 4afea4bbc8..5994003b6f 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -8779,7 +8779,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"; }