summaryrefslogtreecommitdiff
path: root/channels/chan_zap.c
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2006-03-25 23:50:09 +0000
committerMark Spencer <markster@digium.com>2006-03-25 23:50:09 +0000
commit9164eac21a1cce9c9f205e7a5a939346de55bf5f (patch)
treead20048993b3cb7000c2f24edc0e013205b48924 /channels/chan_zap.c
parentb0ac62573a6282a0114d2b23e5a6f04e472fb051 (diff)
Add micro-http server and abstract manager interface, make snmp not die
on reload. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@14953 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/chan_zap.c')
-rw-r--r--channels/chan_zap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c
index 6858435ce..9ce7c5d55 100644
--- a/channels/chan_zap.c
+++ b/channels/chan_zap.c
@@ -10251,7 +10251,7 @@ static int action_zapshowchannels(struct mansession *s, struct message *m)
while (tmp) {
if (tmp->channel > 0) {
int alarm = get_alarms(tmp);
- ast_cli(s->fd,
+ astman_append(s,
"Event: ZapShowChannels\r\n"
"Channel: %d\r\n"
"Signalling: %s\r\n"
@@ -10270,7 +10270,7 @@ static int action_zapshowchannels(struct mansession *s, struct message *m)
ast_mutex_unlock(&iflock);
- ast_cli(s->fd,
+ astman_append(s,
"Event: ZapShowChannelsComplete\r\n"
"%s"
"\r\n",