diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-05-03 02:16:45 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-05-03 02:16:45 +0000 |
commit | af74749f6d8532abb6931b0bbcbca6675a58037d (patch) | |
tree | d99692c3edaab956f092e97895d9c53d40564c17 /channels/chan_sip.c | |
parent | 4ea9d7fe6e29c7dd3bc9672e7b86ba7857576b07 (diff) |
ensure astdb registration entries are parsed properly (bug #4126)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5555 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_sip.c')
-rwxr-xr-x | 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 d71c0f538..3c7735ec8 100755 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -4759,7 +4759,7 @@ static void reg_source_db(struct sip_peer *peer) port_str = strsep(&scan, ":"); expiry_str = strsep(&scan, ":"); username = strsep(&scan, ":"); - contact = strsep(&scan, ":"); + contact = scan; /* Contact include sip: and has to be the last part of the database entry as long as we use : as a separator */ if (!inet_aton(addr, &in)) return; |