]> 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:09 +0000 (15:39 +0000)
committerLeif Madsen <leif@leifmadsen.com>
Mon, 9 Nov 2009 15:39:09 +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.0@228898 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/channel.c

index 6cffd331de18eff5432dc791b00a1607928a91c5..55369c7bfb20f02b4865072b2fd391e12682897b 100644 (file)
@@ -826,7 +826,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:
 #ifdef HAVE_DAHDI
                        if (tmp->timingfd > -1)