Call drop in Elastix or Asterisk when receive fax

Discussion in 'General' started by haywoodcox, Jul 8, 2009.

  1. haywoodcox

    Joined:
    Jun 11, 2009
    Messages:
    79
    Likes Received:
    0
    Hi all expert,

    I have build a Elastix and recently encounter an issue that, when it receive fax call to a non operate extension (i.e., not program in the Extension list, or no phone is plug in), then it will restart the whole amportal service.

    Please assist as I have already disable the Fax Extension for the incoming route. I am using Elastix 1.5.2

    Below is the realtime monitoring from Asterisk:

    -- Accepting call from '35552222' to '6326' on channel 0/22, span 1
    -- Executing [6326@from-pstn:1] Set("DAHDI/22-1", "__FROM_DID=6326") in new stack
    -- Executing [6326@from-pstn:2] NoOp("DAHDI/22-1", "Received an unknown call with DID set to 6326") in new stack
    -- Executing [6326@from-pstn:3] Goto("DAHDI/22-1", "s|a2") in new stack
    -- Goto (from-pstn,s,2)
    -- Executing [s@from-pstn:2] Answer("DAHDI/22-1", "") in new stack
    -- Executing [s@from-pstn:3] Wait("DAHDI/22-1", "2") in new stack
    == Parsing '/etc/asterisk/manager.conf': Found
    == Parsing '/etc/asterisk/manager_additional.conf': Found
    == Parsing '/etc/asterisk/manager_custom.conf': Found
    == Manager 'admin' logged on from 127.0.0.1
    -- Executing [s@from-pstn:4] Playback("DAHDI/22-1", "ss-noservice") in new stack
    -- <DAHDI/22-1> Playing 'ss-noservice' (language 'en')
    hfhkdvpx01*CLI>
    Disconnected from Asterisk server
    Executing last minute cleanups

    Below is the Asterisk log:
    [Jul 8 09:22:46] VERBOSE[25253] logger.c: -- Accepting call from '25588134' to '6338' on channel 0/23, span 1
    [Jul 8 09:22:46] VERBOSE[25434] logger.c: -- Executing [6338@from-pstn:1] Set("DAHDI/23-1", "__FROM_DID=6338") in new stack
    [Jul 8 09:22:46] VERBOSE[25434] logger.c: -- Executing [6338@from-pstn:2] NoOp("DAHDI/23-1", "Received an unknown call with DID set to 6338") in new stack
    [Jul 8 09:22:46] VERBOSE[25434] logger.c: -- Executing [6338@from-pstn:3] Goto("DAHDI/23-1", "s|a2") in new stack
    [Jul 8 09:22:46] VERBOSE[25434] logger.c: -- Goto (from-pstn,s,2)
    [Jul 8 09:22:46] VERBOSE[25434] logger.c: -- Executing [s@from-pstn:2] Answer("DAHDI/23-1", "") in new stack
    [Jul 8 09:22:46] VERBOSE[25434] logger.c: -- Executing [s@from-pstn:3] Wait("DAHDI/23-1", "2") in new stack
    [Jul 8 09:22:48] VERBOSE[25434] logger.c: -- Executing [s@from-pstn:4] Playback("DAHDI/23-1", "ss-noservice") in new stack
    [Jul 8 09:22:48] VERBOSE[25434] logger.c: -- <DAHDI/23-1> Playing 'ss-noservice' (language 'en')
    [Jul 8 09:22:50] VERBOSE[25434] logger.c: -- Redirecting DAHDI/23-1 to fax extension
    [Jul 8 09:22:50] VERBOSE[25434] logger.c: == Spawn extension (from-pstn, fax, 0) exited non-zero on 'DAHDI/23-1'
    [Jul 8 09:22:50] VERBOSE[25434] logger.c: -- Executing [fax@from-pstn:1] Goto("DAHDI/23-1", "ext-fax|in_fax|1") in new stack
    [Jul 8 09:22:50] VERBOSE[25434] logger.c: -- Goto (ext-fax,in_fax,1)
    [Jul 8 09:22:50] VERBOSE[25434] logger.c: -- Executing [in_fax@ext-fax:1] StopPlayTones("DAHDI/23-1", "") in new stack
    [Jul 8 09:22:50] VERBOSE[25434] logger.c: -- Executing [in_fax@ext-fax:2] GotoIf("DAHDI/23-1", "1?3:analog_fax|1") in new stack
    [Jul 8 09:22:50] VERBOSE[25434] logger.c: -- Goto (ext-fax,in_fax,3)
    [Jul 8 09:22:50] VERBOSE[25434] logger.c: -- Executing [in_fax@ext-fax:3] Macro("DAHDI/23-1", "faxreceive") in new stack
    [Jul 8 09:22:50] VERBOSE[25434] logger.c: -- Executing [s@macro-faxreceive:1] Set("DAHDI/23-1", "FAXFILE=/var/spool/asterisk/fax/1247016166.6.tif") in new stack
    [Jul 8 09:22:50] DEBUG[25434] app_macro.c: Executed application: Set
    [Jul 8 09:22:50] VERBOSE[25434] logger.c: -- Executing [s@macro-faxreceive:2] Set("DAHDI/23-1", "EMAILADDR=fax@mydomain.com") in new stack
    [Jul 8 09:22:50] DEBUG[25434] app_macro.c: Executed application: Set
    [Jul 8 09:22:50] VERBOSE[25434] logger.c: -- Executing [s@macro-faxreceive:3] RxFAX("DAHDI/23-1", "/var/spool/asterisk/fax/1247016166.6.tif") in new stack
    [Jul 8 09:22:54] VERBOSE[25450] logger.c: Asterisk Event Logger Started /var/log/asterisk/event_log
    [Jul 8 09:22:54] VERBOSE[25450] logger.c: Asterisk Dynamic Loader Starting:
     
  2. haywoodcox

    Joined:
    Jun 11, 2009
    Messages:
    79
    Likes Received:
    0
    I solved by disable the fax under General Setting. Thx
     

Share This Page