summaryrefslogtreecommitdiff
path: root/channels
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2008-12-08 17:53:32 +0000
committerJoshua Colp <jcolp@digium.com>2008-12-08 17:53:32 +0000
commitac12d0d4ce638890312d56568e35117c8af04370 (patch)
tree35b9569f33eb6fd51f2082b838495d49340a5fbe /channels
parent8b77d66a6105ff1c8482d620db3679fd4e01072f (diff)
Merged revisions 161725 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r161725 | file | 2008-12-08 13:52:10 -0400 (Mon, 08 Dec 2008) | 6 lines Make the usereqphone option work again. (closes issue #13474) Reported by: mmaguire Patches: 20080912_bug13474.diff uploaded by mmaguire (license 571) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@161726 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels')
-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 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";
}