Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv631/channels

Modified Files:
        chan_zap.c 
Log Message:
Fixed problem with 'radio' attribute vanishing upon zap reload


Index: chan_zap.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_zap.c,v
retrieving revision 1.431
retrieving revision 1.432
diff -u -d -r1.431 -r1.432
--- chan_zap.c  27 Apr 2005 04:03:49 -0000      1.431
+++ chan_zap.c  27 Apr 2005 23:44:24 -0000      1.432
@@ -6679,6 +6679,7 @@
 #endif
                } else {
                        signalling = tmp->sig;
+                       radio = tmp->radio;
                        memset(&p, 0, sizeof(p));
                        if (tmp->subs[SUB_REAL].zfd > -1)
                                res = ioctl(tmp->subs[SUB_REAL].zfd, 
ZT_GET_PARAMS, &p);
@@ -9074,6 +9075,7 @@
                        ast_cli(fd, "Destroy: %d\n", tmp->destroy);
                        ast_cli(fd, "InAlarm: %d\n", tmp->inalarm);
                        ast_cli(fd, "Signalling Type: %s\n", sig2str(tmp->sig));
+                       ast_cli(fd, "Radio: %d\n", tmp->radio);
                        ast_cli(fd, "Owner: %s\n", tmp->owner ? 
tmp->owner->name : "<None>");
                        ast_cli(fd, "Real: %s%s%s\n", tmp->subs[SUB_REAL].owner 
? tmp->subs[SUB_REAL].owner->name : "<None>", tmp->subs[SUB_REAL].inthreeway ? 
" (Confed)" : "", tmp->subs[SUB_REAL].linear ? " (Linear)" : "");
                        ast_cli(fd, "Callwait: %s%s%s\n", 
tmp->subs[SUB_CALLWAIT].owner ? tmp->subs[SUB_CALLWAIT].owner->name : "<None>", 
tmp->subs[SUB_CALLWAIT].inthreeway ? " (Confed)" : "", 
tmp->subs[SUB_CALLWAIT].linear ? " (Linear)" : "");

_______________________________________________
Asterisk-Cvs mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-cvs

Reply via email to