[asterisk-commits] russell: branch 1.4 r119838 - /branches/1.4/channels/chan_iax2.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Jun 2 15:08:05 CDT 2008


Author: russell
Date: Mon Jun  2 15:08:04 2008
New Revision: 119838

URL: http://svn.digium.com/view/asterisk?view=rev&rev=119838
Log:
Revert a change made for issue #12479.  This change caused a regression such that
a dial string such as (IAX2/foo) did not automatically fall back to dialing the 's'
extension anymore.

(closes issue #12779)
Reported by: dagmoller

Modified:
    branches/1.4/channels/chan_iax2.c

Modified: branches/1.4/channels/chan_iax2.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/chan_iax2.c?view=diff&rev=119838&r1=119837&r2=119838
==============================================================================
--- branches/1.4/channels/chan_iax2.c (original)
+++ branches/1.4/channels/chan_iax2.c Mon Jun  2 15:08:04 2008
@@ -3235,10 +3235,7 @@
 	}
 
 	if (!pds.exten) {
-		if (!ast_strlen_zero(c->exten))
-			pds.exten = c->exten;
-		else
-			pds.exten = defaultrdest;
+		pds.exten = defaultrdest;
 	}
 
 	if (create_addr(pds.peer, c, &sin, &cai)) {




More information about the asterisk-commits mailing list