[asterisk-commits] file: branch 1.4 r161725 - /branches/1.4/channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Dec 8 11:52:11 CST 2008


Author: file
Date: Mon Dec  8 11:52:10 2008
New Revision: 161725

URL: http://svn.digium.com/view/asterisk?view=rev&rev=161725
Log:
Make the usereqphone option work again.
(closes issue #13474)
Reported by: mmaguire
Patches:
      20080912_bug13474.diff uploaded by mmaguire (license 571)

Modified:
    branches/1.4/channels/chan_sip.c

Modified: branches/1.4/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/chan_sip.c?view=diff&rev=161725&r1=161724&r2=161725
==============================================================================
--- branches/1.4/channels/chan_sip.c (original)
+++ branches/1.4/channels/chan_sip.c Mon Dec  8 11:52:10 2008
@@ -7069,7 +7069,7 @@
 				break;
 		}
 		/* If we have only digits, add ;user=phone to the uri */
-		if (*s)
+		if (!*s)
 			urioptions = ";user=phone";
 	}
 




More information about the asterisk-commits mailing list