]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Merged revisions 228897 via svnmerge from
authorLeif Madsen <leif@leifmadsen.com>
Mon, 9 Nov 2009 15:39:37 +0000 (15:39 +0000)
committerLeif Madsen <leif@leifmadsen.com>
Mon, 9 Nov 2009 15:39:37 +0000 (15:39 +0000)
https://origsvn.digium.com/svn/asterisk/trunk

................
  r228897 | lmadsen | 2009-11-09 09:38:38 -0600 (Mon, 09 Nov 2009) | 14 lines

  Merged revisions 228896 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
    r228896 | lmadsen | 2009-11-09 09:37:43 -0600 (Mon, 09 Nov 2009) | 6 lines

    Update WARNING message.
    Update a WARNING message to give a suggested fix when encountered.

    (closes issue #16198)
    Reported by: atis
    Tested by: atis
  ........
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@228899 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/channel.c

index 4843895fd3393ecf26faf5e62d595ccc7dcfd370..3f9f16178e0050383e442df11107594e0216d27f 100644 (file)
@@ -825,7 +825,7 @@ __ast_channel_alloc_ap(int needqueue, int state, const char *cid_num, const char
 
        if (needqueue) {
                if (pipe(tmp->alertpipe)) {
-                       ast_log(LOG_WARNING, "Channel allocation failed: Can't create alert pipe!\n");
+                       ast_log(LOG_WARNING, "Channel allocation failed: Can't create alert pipe! Try increasing max file descriptors with ulimit -n\n");
 alertpipe_failed:
                        if (tmp->timer) {
                                ast_timer_close(tmp->timer);