aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2008-12-08 17:54:45 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2008-12-08 17:54:45 +0000
commit85fc048c39bf5c62e1ef8a343e4bbb8e157d21ab (patch)
tree0af6c7b62d90267274944df9f1ca9a6579a113b5 /channels
parentc91132ad1a9bbf12398ebf26cf46e93d7b9bd73b (diff)
Merged revisions 161726 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ................ r161726 | file | 2008-12-08 13:53:32 -0400 (Mon, 08 Dec 2008) | 13 lines 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: http://svn.digium.com/svn/asterisk/branches/1.6.0@161727 f38db490-d61c-443f-a65b-d21fe96a405b
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 4afea4bbc..5994003b6 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";
}