diff options
Diffstat (limited to 'channels/chan_sip.c')
-rw-r--r-- | channels/chan_sip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 474e87924..93912fc0b 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -9601,7 +9601,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"; } |