An IVR call thinks it is a fax

Discussion in 'General' started by Telco, May 3, 2010.

  1. Telco

    Joined:
    Oct 4, 2007
    Messages:
    275
    Likes Received:
    0
    When I call a particular phone number the other pbx answers starts the recorded IVR message then the elastix on my end thinks it is a fax when it is not and trys to send it to some fax machine. I have disabled the fax option in the general section of the elastix but problem still persists. Help please. i have included the CLI information.

    -- Executing [s@macro-dialout-trunk:19] Dial("IAX2/LaserOne-12689", "DAHDI/2/15122253011|300|tw") in new stack
    [May 3 10:01:51] NOTICE[1195]: app_dial.c:1185 dial_exec_full: Hey! chan IAX2/LaserOne-12689's context='macro-dialout-trunk', and exten='s'
    -- Requested transfer capability: 0x00 - SPEECH
    -- Called 2/15122253011
    [May 3 10:01:51] DEBUG[3153]: chan_dahdi.c:10361 pri_dchannel: Queuing frame from PRI_EVENT_PROCEEDING on channel 0/2 span 1
    -- DAHDI/2-1 is proceeding passing it to IAX2/LaserOne-12689
    -- DAHDI/2-1 is ringing
    [May 3 10:01:55] DEBUG[3153]: chan_dahdi.c:2241 dahdi_enable_ec: Echo cancellation already on
    -- DAHDI/2-1 answered IAX2/LaserOne-12689
    [May 3 10:01:56] DEBUG[1195]: chan_dahdi.c:4669 dahdi_handle_event: Detected digit 'f'
    -- Redirecting DAHDI/2-1 to fax extension
    [May 3 10:01:56] DEBUG[1195]: chan_dahdi.c:4371 dahdi_fixup: New owner for channel 2 is DAHDI/2-1
    -- Executing [h@macro-dialout-trunk:1] Macro("IAX2/LaserOne-12689", "hangupcall|") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("IAX2/LaserOne-12689", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,4)
    [May 3 10:01:56] DEBUG[1195]: app_macro.c:379 _macro_exec: Executed application: GotoIf
    -- Executing [s@macro-hangupcall:4] GotoIf("IAX2/LaserOne-12689", "1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,7)
    [May 3 10:01:56] DEBUG[1195]: app_macro.c:379 _macro_exec: Executed application: GotoIf
    -- Executing [s@macro-hangupcall:7] GotoIf("IAX2/LaserOne-12689", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,9)
    [May 3 10:01:56] DEBUG[1195]: app_macro.c:379 _macro_exec: Executed application: GotoIf
    -- Executing [s@macro-hangupcall:9] Hangup("IAX2/LaserOne-12689", "") in new stack
    == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'IAX2/LaserOne-12689' in macro 'hangupcall'
    == Spawn h extension (macro-dialout-trunk, h, 1) exited non-zero on 'IAX2/LaserOne-12689'
    -- Executing [fax@from-pstn:1] Goto("DAHDI/2-1", "ext-fax|in_fax|1") in new stack
    -- Goto (ext-fax,in_fax,1)
    -- Executing [in_fax@ext-fax:1] StopPlayTones("DAHDI/2-1", "") in new stack
    -- Executing [in_fax@ext-fax:2] GotoIf("DAHDI/2-1", "0?3:analog_fax|1") in new stack
    -- Goto (ext-fax,analog_fax,1)
    -- Executing [analog_fax@ext-fax:1] GotoIf("DAHDI/2-1", "1?4:2") in new stack
    -- Goto (ext-fax,analog_fax,4)
    -- Executing [analog_fax@ext-fax:4] Hangup("DAHDI/2-1", "") in new stack
    == Spawn extension (ext-fax, analog_fax, 4) exited non-zero on 'DAHDI/2-1'
    [May 3 10:01:56] WARNING[1197]: func_uri.c:51 uriencode: Syntax: URIENCODE(<data>) - missing argument!
    -- Executing [h@ext-fax:1] System("DAHDI/2-1", "/var/lib/asterisk/bin/fax-process.pl --to --from freepbx@gmail.com --dest "" --subject "Fax from 15122253011 " --attachment fax_15122253011.pdf --type application/pdf --file ") in new stack
    == Spawn extension (macro-dialout-trunk, s, 19) exited non-zero on 'IAX2/LaserOne-12689' in macro 'dialout-trunk'
    == Spawn extension (from-internal, 15122253011, 5) exited non-zero on 'IAX2/LaserOne-12689'
    -- Hungup 'IAX2/LaserOne-12689'
    -- Executing [h@ext-fax:2] Hangup("DAHDI/2-1", "") in new stack
    == Spawn extension (ext-fax, h, 2) exited non-zero on 'DAHDI/2-1'
    [May 3 10:01:56] DEBUG[1197]: chan_dahdi.c:3900 dahdi_setoption: Set option AUDIO MODE, value: ON(1) on DAHDI/2-1
    [May 3 10:01:56] DEBUG[1197]: chan_dahdi.c:3522 dahdi_hangup: Not yet hungup... Calling hangup once with icause, and clearing call
    [May 3 10:01:56] DEBUG[1197]: chan_dahdi.c:3896 dahdi_setoption: Set option AUDIO MODE, value: OFF(0) on DAHDI/2-1
    -- Hungup 'DAHDI/2-1'
     
  2. Telco

    Joined:
    Oct 4, 2007
    Messages:
    275
    Likes Received:
    0
  3. dicko

    Joined:
    Oct 24, 2008
    Messages:
    4,099
    Likes Received:
    0
    Check

    /etc/asterisk/chan_dahdi.conf

    for

    faxdetect=no
     
  4. Telco

    Joined:
    Oct 4, 2007
    Messages:
    275
    Likes Received:
    0
    Thanks, I will check that out. Do you know off if that will effect the fax module that is built into the elastix?

    Chris
     
  5. dicko

    Joined:
    Oct 24, 2008
    Messages:
    4,099
    Likes Received:
    0
    It won't, you'll have to route your fax did manually
     
  6. Telco

    Joined:
    Oct 4, 2007
    Messages:
    275
    Likes Received:
    0
    Ok I made the changes. Now when I make the call to that number it still does not work. BUT there is a difference. Now after the system detects the 'f' it just stops the call rather than sending it to the fax destination. Is there anyway I can tell the system to ignore the 'f'??? I have tried this call from my cell, from another elastix using sip trunks, and from AT&T it all works fine from those.

    Included is the CLI from after I disabled the faxdetect.

    -- Executing [s@macro-dialout-trunk:19] Dial("IAX2/LaserOne-13176", "DAHDI/1 /15122253011|300|tw") in new stack
    [May 9 17:48:51] NOTICE[3461]: app_dial.c:1185 dial_exec_full: Hey! chan IAX2/LaserOne-13176's context='macro-dialout-trunk', and exten='s'
    -- Requested transfer capability: 0x00 - SPEECH
    -- Called 1/15122253011
    [May 9 17:48:51] DEBUG[3092]: chan_dahdi.c:10361 pri_dchannel: Queuing frame from PRI_EVENT_PROCEEDING on channel 0/1 span 1
    -- DAHDI/1-1 is proceeding passing it to IAX2/LaserOne-13176
    -- DAHDI/1-1 is ringing
    [May 9 17:48:52] DEBUG[3092]: chan_dahdi.c:2241 dahdi_enable_ec: Echo cancellation already on
    -- DAHDI/1-1 answered IAX2/LaserOne-13176
    [May 9 17:48:55] DEBUG[3461]: chan_dahdi.c:4669 dahdi_handle_event: Detected digit 'f'
     
  7. dicko

    Joined:
    Oct 24, 2008
    Messages:
    4,099
    Likes Received:
    0
    make sure that in general settings:

    Extension of fax machine for receiving faxes:

    is disabled
     
  8. Telco

    Joined:
    Oct 4, 2007
    Messages:
    275
    Likes Received:
    0
    I had done that. I just think it is odd that it is doing this on an outbound call. I wonder if it is the lady recording on the IVR that is hitting the 'f' dtmf tone. But if that is true then why does it not do it when I call from other elastix systems. I am just looking for some kind of solution. This customer of ours calls this number weekly (it is the conf. bridge that the parent company uses). This is very puzzling.

    Grasping for straws....

    Chris
     
  9. dicko

    Joined:
    Oct 24, 2008
    Messages:
    4,099
    Likes Received:
    0
  10. Telco

    Joined:
    Oct 4, 2007
    Messages:
    275
    Likes Received:
    0
    What I have done temporarily until I can find a fix is.... I have networked my house system with the customers and routed that one telephone number through my sip trunk at my house..... works fine that way.... LOL....
     

Share This Page