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: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@161727 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Joshua Colp
2008-12-08 17:54:45 +00:00
parent 775cc3c73b
commit 77033f4ad0

View File

@@ -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";
}