Viewing 6 posts - 1 through 6 (of 6 total)
  • Migrated from old forum
    Participant
    Post count: 327
    #6109 |

    How can I do this with VDP?

    http://www.voip-info.org/wiki/view/Asterisk+fax

    Would I answer then wait a few seconds for asterisk to automatically pick up and transfer to the fax extension where I have setup incrediblefax.sh

    I am using a sip trunk line and have no problem adding the recievefax tool.

    Thanks.

    Migrated from old forum
    Participant
    Post count: 327
    #6110 |

    Matthews,
    What exactly are you trying to do? What PBX distribution are you using? Asterisk version? What fax system are you trying to use? Hylafax/IAXmodem? Something else? We need some more information to try and help. 🙂

    Kevin

    Migrated from old forum
    Participant
    Post count: 327
    #6111 |

    Hay Kevin. Ya sorry was thinking it was more generic. I see it is not now 🙂

    Ok so i am running pbx in a flash purple with some upgrades
    FreePBX 2.9.0.12. I installed incrediblefax that installs Hylafax and avantfax.

    I have a sip trunk from flowroute and I want to detect if the call is a fax and then have it store the fax someplace maybe email it etc.

    I have managed to get my PIAF box to detect it is a fax and try and send it to the fax extension but I seem to be getting an error I can not track down. and the FAX-> extension icon in VDP does not seem to ever get called.

    I have looked over the interwebs looking for more verbose logging on the error but cant seem to figure out what function is called that returned “Function result is ”” I think if i could figure out what line in the configs this is on I could fix it. In the end it calls the Goto() with a bad arg and then it dies. I am not sure if this is my base config issues or VDP modifications to my configs.

    2013-06-13 10:26:56 DEBUG32029 res_rtp_asterisk.c: Starting RTCP transmission on RTP instance ‘0x2aaaac7e6358’
    2013-06-13 10:26:56 DEBUG32029 dsp.c: 1100 Hz done detected
    2013-06-13 10:26:56 DEBUG32029 chan_sip.c: Fax CNG detected on SIP/flowroute-00000028
    2013-06-13 10:26:56 VERBOSE32029 chan_sip.c: == Redirecting ‘SIP/flowroute-00000028’ to fax extension due to CNG detection
    2013-06-13 10:26:56 DEBUG32029 channel.c: Soft-Hanging up channel ‘SIP/flowroute-00000028’
    2013-06-13 10:26:56 DEBUG32029 channel.c: Scheduling timer at (0 requested / 0 actual) timer ticks per second
    2013-06-13 10:26:56 DEBUG32029 channel.c: Stopped silence generator on ‘SIP/flowroute-00000028’
    2013-06-13 10:26:56 DEBUG32029 channel.c: Set channel SIP/flowroute-00000028 to write format ulaw
    2013-06-13 10:26:56 DEBUG32029 pbx.c: Spawn extension (from-trunk,fax,1) exited non-zero on ‘SIP/flowroute-00000028’
    2013-06-13 10:26:56 VERBOSE32029 pbx.c: == Spawn extension (from-trunk, fax, 1) exited non-zero on ‘SIP/flowroute-00000028’
    2013-06-13 10:26:56 DEBUG32029 pbx.c: Function result is ”
    2013-06-13 10:26:56 DEBUG32029 pbx.c: Function result is ”
    2013-06-13 10:26:56 DEBUG32029 pbx.c: Function result is ”
    2013-06-13 10:26:56 DEBUG32029 pbx.c: Launching ‘Goto’
    2013-06-13 10:26:56 VERBOSE32029 pbx.c: — Executing fax@from-trunk:1 Goto(“SIP/flowroute-00000028”, “,,”) in new stack
    2013-06-13 10:26:56 NOTICE32029 pbx.c: Cannot find extension context ”
    2013-06-13 10:26:56 WARNING32029 pbx.c: Priority ” must be a number > 0, or valid label
    2013-06-13 10:26:56 DEBUG32029 pbx.c: Spawn extension (from-trunk,fax,1) exited non-zero on ‘SIP/flowroute-00000028’
    2013-06-13 10:26:56 VERBOSE32029 pbx.c: == Spawn extension (from-trunk, fax, 1) exited non-zero on ‘SIP/flowroute-00000028’
    2013-06-13 10:26:56 DEBUG32029 channel.c: Soft-Hanging up channel ‘SIP/flowroute-00000028’
    2013-06-13 10:26:56 DEBUG32029 pbx.c: Launching ‘Macro’
    2013-06-13 10:26:56 VERBOSE32029 pbx.c: — Executing h@from-trunk:1 Macro(“SIP/flowroute-00000028”, “hangupcall,”) in new stack
    2013-06-13 10:26:56 DEBUG32029 pbx.c: Expression result is ‘1’
    2013-06-13 10:26:56 DEBUG32029 pbx.c: Launching ‘GotoIf’

    Migrated from old forum
    Participant
    Post count: 327
    #6112 |

    Ok, When you install Incredifax on PIAF it will install its own handlers for Hylafax/IAXModem. I would let them do their job. You should be able to go into Avantfax and configure what is done with the fax, such as autoprinting it, emailing it, etc. You shouldn’t need to do anything with VDP. If PIAF sees it’s a fax it will handle it, otherwise it will pass the call on to the voice side to be handled. Does this help?

    Kevin

    Migrated from old forum
    Participant
    Post count: 327
    #6113 |

    Yes that makes sense. I suspect I am having some overload and overlap of public docs/howto’s.

    I have managed to find the config line but it was some serious guess work. I wish the logs would show the config line or any real world context
    I could use for debugging this stuff. Hate to hijack your help but you seem well knowledge and I feel as if we need more posts like this to help others figure it out as searching the web is failing on me right now.

    The line below in extensions_additional.conf seems to generate the above error. So it would seem that FAX_DEST is not a valid variable.
    Trying to figure out why or what setting I missed setting in the FreePBX/PIAF UI. Any thoughts?

    ext-did-0001
    include => ext-did-0001-custom
    exten => fax,1,Goto(${CUT(FAX_DEST,
    ,1)},${CUT(FAX_DEST,
    ,2)},${CUT(FAX_DEST,^,3)})

    Thanks
    Sean

    Migrated from old forum
    Participant
    Post count: 327
    #6115 |

    Sean,
    What exactly are you trying to accomplish in your callflow? Is it something you are trying to do with VDP? Or just a general error with faxing and Incredifax? If the latter, you would probably have to post the problems in their forums. I haven’t used Incredifax in a few years.

    Kevin

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.