diff options
Diffstat (limited to 'channels')
-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; |