[asterisk-commits] tilghman: branch 1.6.1 r155325 - in /branches/1.6.1: ./ channels/chan_dahdi.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Nov 7 14:19:25 CST 2008


Author: tilghman
Date: Fri Nov  7 14:19:25 2008
New Revision: 155325

URL: http://svn.digium.com/view/asterisk?view=rev&rev=155325
Log:
Merged revisions 155324 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
  r155324 | tilghman | 2008-11-07 14:13:32 -0600 (Fri, 07 Nov 2008) | 7 lines
  
  Send call release with unallocated cause instead of normal call clearing, when
  invalid extension is called.
  (closes issue #13408)
   Reported by: adomjan
   Patches: 
         chan_dahdi.c-ss7-unallocated-2 uploaded by adomjan (license 487)
........

Modified:
    branches/1.6.1/   (props changed)
    branches/1.6.1/channels/chan_dahdi.c

Propchange: branches/1.6.1/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.

Modified: branches/1.6.1/channels/chan_dahdi.c
URL: http://svn.digium.com/view/asterisk/branches/1.6.1/channels/chan_dahdi.c?view=diff&rev=155325&r1=155324&r2=155325
==============================================================================
--- branches/1.6.1/channels/chan_dahdi.c (original)
+++ branches/1.6.1/channels/chan_dahdi.c Fri Nov  7 14:19:25 2008
@@ -9779,7 +9779,8 @@
 						ss7_start_call(p, linkset);
 				} else {
 					ast_debug(1, "Call on CIC for unconfigured extension %s\n", p->exten);
-					isup_rel(ss7, e->iam.call, -1);
+					p->alreadyhungup = 1;
+					isup_rel(ss7, e->iam.call, AST_CAUSE_UNALLOCATED);
 				}
 				ast_mutex_unlock(&p->lock);
 				break;




More information about the asterisk-commits mailing list