Problems with Blacklist

Discussion in 'General' started by fstolzen, Mar 17, 2011.

  1. fstolzen

    Joined:
    Mar 17, 2011
    Messages:
    2
    Likes Received:
    0
    Hello all,

    i get in my Logfiles the following errors from the system

    [Mar 17 16:51:05] NOTICE[13534] pbx_ael.c: AEL load process: merged config file name '/etc/asterisk/extensions.ael'.
    [Mar 17 16:51:05] WARNING[13534] pbx.c: Context 'macro-record-enable' tries to include nonexistent context 'macro-record-enable-custom'
    [Mar 17 16:51:05] WARNING[13534] pbx.c: Context 'macro-hangupcall' tries to include nonexistent context 'macro-hangupcall-custom'
    [Mar 17 16:51:05] WARNING[13534] pbx.c: Context 'app-calltrace' tries to include nonexistent context 'app-calltrace-custom'
    [Mar 17 16:51:05] WARNING[13534] pbx.c: Context 'app-blacklist-check' tries to include nonexistent context 'app-blacklist-check-custom'
    [Mar 17 16:51:05] WARNING[13534] pbx.c: Context 'app-blacklist' tries to include nonexistent context 'app-blacklist-custom'
    [Mar 17 16:51:05] WARNING[13534] pbx.c: Context 'app-blacklist-add' tries to include nonexistent context 'app-blacklist-add-custom'
    [Mar 17 16:51:05] WARNING[13534] pbx.c: Context 'app-blacklist-add-invalid' tries to include nonexistent context 'app-blacklist-add-invalid-custom'
    [Mar 17 16:51:05] WARNING[13534] pbx.c: Context 'app-blacklist-last' tries to include nonexistent context 'app-blacklist-last-custom'
    [Mar 17 16:51:05] WARNING[13534] pbx.c: Context 'app-blacklist-remove' tries to include nonexistent context 'app-blacklist-remove-custom'


    And i see on incomming calls the blacklist will not be checked

    Can anyone help me here
     
  2. dicko

    Joined:
    Oct 24, 2008
    Messages:
    4,099
    Likes Received:
    0
    That is normal, you haven't written the "custom" contexts (properly they would be in extensions_custom.conf) so they won't be included, the code checks the asterisk berkeley database for numbers that have been blacklisted, the current list can be consulted with


    rasterisk -x 'database show'|grep blacklist

    from bash.
     
  3. fstolzen

    Joined:
    Mar 17, 2011
    Messages:
    2
    Likes Received:
    0
    Hello,

    thanks for the fast answer.

    With rasterisk -x 'database show'|grep blacklist i can find the entries in the Database.

    I have the original extensions_custom.con from the elastix Installation and there are only a few entries.

    How can I resolve this issue? Are there any extensions_custom.conf files where this is included?
     

Share This Page