[svn-commits] branch crichter/frame-data - r8028 in /team/crichter/frame-data: ./ channels/...

svn-commits at lists.digium.com svn-commits at lists.digium.com
Thu Jan 12 13:43:19 CST 2006


Author: crichter
Date: Thu Jan 12 13:43:09 2006
New Revision: 8028

URL: http://svn.digium.com/view/asterisk?rev=8028&view=rev
Log:
* made hdlc mode working for chan_misdn
* madn hdlc mode working for chan_zap
* added chan_zap to cm-install target

first working (hdlc) data call between chan_misdn and chan_zap



Modified:
    team/crichter/frame-data/Makefile
    team/crichter/frame-data/channels/chan_zap.c
    team/crichter/frame-data/channels/misdn/isdn_lib.c

Modified: team/crichter/frame-data/Makefile
URL: http://svn.digium.com/view/asterisk/team/crichter/frame-data/Makefile?rev=8028&r1=8027&r2=8028&view=diff
==============================================================================
--- team/crichter/frame-data/Makefile (original)
+++ team/crichter/frame-data/Makefile Thu Jan 12 13:43:09 2006
@@ -911,10 +911,11 @@
 
 
 chan_misdn.so:
-	make -C . SUBDIRS=channels CHANNEL_LIBS=chan_misdn.so
+	make -C . SUBDIRS=channels CHANNEL_LIBS="chan_misdn.so chan_zap.so"
 
 cm-install: chan_misdn.so
 	install -m 644 channels/chan_misdn.so /usr/lib/asterisk/modules/
+	install -m 644 channels/chan_zap.so /usr/lib/asterisk/modules/
 
 cm-clean:
 	rm -f channels/chan_misdn_config.o

Modified: team/crichter/frame-data/channels/chan_zap.c
URL: http://svn.digium.com/view/asterisk/team/crichter/frame-data/channels/chan_zap.c?rev=8028&r1=8027&r2=8028&view=diff
==============================================================================
--- team/crichter/frame-data/channels/chan_zap.c (original)
+++ team/crichter/frame-data/channels/chan_zap.c Thu Jan 12 13:43:09 2006
@@ -8996,7 +8996,7 @@
 						
 						if (pri->pvts[chanpos]->digital && pri->pvts[chanpos]->hdlc) {
 							
-							//zap_set_hdlc_exec(pri->pvts[chanpos]->owner,NULL);
+							zap_set_hdlc_exec(pri->pvts[chanpos]->owner,NULL);
 						} 
 						ast_mutex_unlock(&pri->pvts[chanpos]->lock);
 					}

Modified: team/crichter/frame-data/channels/misdn/isdn_lib.c
URL: http://svn.digium.com/view/asterisk/team/crichter/frame-data/channels/misdn/isdn_lib.c?rev=8028&r1=8027&r2=8028&view=diff
==============================================================================
--- team/crichter/frame-data/channels/misdn/isdn_lib.c (original)
+++ team/crichter/frame-data/channels/misdn/isdn_lib.c Thu Jan 12 13:43:09 2006
@@ -757,6 +757,9 @@
 	int channel=bc->channel-1-(bc->channel>16);
 	int b_stid=stack->b_stids[channel>=0?channel:0];
 
+	if (bc->hdlc) {
+		clean_up_bc(bc);
+	}
 	
 	if (bc->upset) {
 		cb_log(4, stack->port, "$$$ bc already upsetted stid :%x\n", b_stid);



More information about the svn-commits mailing list