diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 26fcec09a2..cc4339b9b7 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -7069,7 +7069,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"; }