projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a22087
)
Allow '/' in username portion of register; this is a regression.
author
Tilghman Lesher
<tilghman@meg.abyt.es>
Thu, 9 Apr 2009 17:20:49 +0000
(17:20 +0000)
committer
Tilghman Lesher
<tilghman@meg.abyt.es>
Thu, 9 Apr 2009 17:20:49 +0000
(17:20 +0000)
(closes issue #14668)
Reported by: Netview
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@187381
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
channels/chan_sip.c
patch
|
blob
|
history
diff --git
a/channels/chan_sip.c
b/channels/chan_sip.c
index
30a0e73
..
bb1886e
100644
(file)
--- a/
channels/chan_sip.c
+++ b/
channels/chan_sip.c
@@
-7082,7
+7082,7
@@
static int sip_register(const char *value, int lineno)
expire = strchr(buf, '~');
if (expire)
*expire++ = '\0';
- callback = strchr(buf, '/');
+ callback = strrchr(buf, '/');
if (callback)
*callback++ = '\0';
if (ast_strlen_zero(callback))