[svn-commits] tilghman: trunk r155324 - /trunk/channels/chan_dahdi.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Fri Nov 7 14:13:33 CST 2008


Author: tilghman
Date: Fri Nov  7 14:13:32 2008
New Revision: 155324

URL: http://svn.digium.com/view/asterisk?view=rev&rev=155324
Log:
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:
    trunk/channels/chan_dahdi.c

Modified: trunk/channels/chan_dahdi.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_dahdi.c?view=diff&rev=155324&r1=155323&r2=155324
==============================================================================
--- trunk/channels/chan_dahdi.c (original)
+++ trunk/channels/chan_dahdi.c Fri Nov  7 14:13:32 2008
@@ -9905,7 +9905,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 svn-commits mailing list