[asterisk-commits] mattf: trunk r130293 - /trunk/channels/chan_dahdi.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Jul 11 16:36:27 CDT 2008


Author: mattf
Date: Fri Jul 11 16:36:26 2008
New Revision: 130293

URL: http://svn.digium.com/view/asterisk?view=rev&rev=130293
Log:
Support new TRANSPORT definitions in libss7

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=130293&r1=130292&r2=130293
==============================================================================
--- trunk/channels/chan_dahdi.c (original)
+++ trunk/channels/chan_dahdi.c Fri Jul 11 16:36:26 2008
@@ -13230,7 +13230,11 @@
 			return -1;
 		}
 
-		ss7_add_link(link->ss7, SS7_TRANSPORT_DAHDI, link->fds[curfd]);
+		if (p.sigtype == DAHDI_SIG_MTP2)
+			ss7_add_link(link->ss7, SS7_TRANSPORT_DAHDIMTP2, link->fds[curfd]);
+		else
+			ss7_add_link(link->ss7, SS7_TRANSPORT_DAHDIDCHAN, link->fds[curfd]);
+
 		link->numsigchans++;
 
 		memset(&si, 0, sizeof(si));




More information about the asterisk-commits mailing list