From: Russell Bryant Date: Thu, 25 Nov 2004 15:19:11 +0000 (+0000) Subject: fix for rpid (bug 2910) X-Git-Tag: 1.0.11.1~364 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df6c1f8b398c63babf1ae18aee89c9873428ea87;p=thirdparty%2Fasterisk.git fix for rpid (bug 2910) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@4342 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 0070f8552a..c3ae0e2694 100755 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -5314,7 +5314,8 @@ static int get_rpid_num(char *input,char *output, int maxlen) end = strchr(output,'@'); if (end) *end = '\0'; - + else + output[0] = '\0'; if(strstr(input,"privacy=full") || strstr(input,"privacy=uri")) return 1;