Little queue fix (bug #150)
authorMark Spencer <markster@digium.com>
Thu, 21 Aug 2003 23:21:49 +0000 (23:21 +0000)
committerMark Spencer <markster@digium.com>
Thu, 21 Aug 2003 23:21:49 +0000 (23:21 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1399 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_queue.c

index e2f0295..174bd0a 100755 (executable)
@@ -230,7 +230,7 @@ static int join_queue(char *queuename, struct queue_ent *qe)
                                res = 0;
                                manager_event(EVENT_FLAG_CALL, "Join", 
                                                                "Channel: %s\r\nCallerID: %s\r\nQueue: %s\r\nPosition: %d\r\nCount: %d\r\n",
-                                                               qe->chan->name, (qe->chan->callerid ? qe->chan->callerid : ""), q->name, qe->pos, q->count );
+                                                               qe->chan->name, (qe->chan->callerid ? qe->chan->callerid : "unknown"), q->name, qe->pos, q->count );
 #if 0
 ast_log(LOG_NOTICE, "Queue '%s' Join, Channel '%s', Position '%d'\n", q->name, qe->chan->name, qe->pos );
 #endif