[asterisk-users] working example of t38 fax w/ 1.6.2?
sean darcy
seandarcy2 at gmail.com
Sat May 8 09:31:23 CDT 2010
Ilmars Knipšis wrote:
> Hello!
>
> I use similar setup.
> Probably you need Answer() in receiving end. And wait(3) before
> receiving fax.
> T.38 works fine with 1.6.2.
>
> Ilmars.
>
> On 2010.05.05. 0:17, sean darcy wrote:
>> On 5/4/2010 7:32 AM, Miguel Amez wrote:
>>
>>> App_fax? I didn't hear about that. What's that?
>>> Could you please explain that a little bit better?
>>> I'm experiencing some troubles with T38modem and would like to solve on
>>> the better way.
>>>
>>> regards,
>>>
>>> Miguel Amez
>>>
>>> 2010/5/4 sean darcy<seandarcy2 at gmail.com<mailto:seandarcy2 at gmail.com>>
>>>
>>> Miguel Amez wrote:
>>> > Hi Sean,
>>> >
>>> > Do you know about t38modem and hylafax?
>>> > There are lots of wonderfull options with both of them.
>>> >
>>> > If you need config files with both of them tell me.
>>> >
>>> > See ya
>>> >
>>> > 2010/5/2 sean darcy<seandarcy2 at gmail.com
>>> <mailto:seandarcy2 at gmail.com> <mailto:seandarcy2 at gmail.com
>>> <mailto:seandarcy2 at gmail.com>>>
>>> >
>>> > I can't get a test T.38 fax between 2 1.6.2 machines, using app
>>> > _fax and spandsp pre17 and 20100501. The machines can't seem
>>> to get
>>> > connected.
>>> >
>>> > send side extensions.conf:
>>> >
>>> > [fax-tx-test]
>>> > exten=>s,1,NoOp(Context fax-tx-test)
>>> > exten=>s,n,SendFAX(${FaxFile}.tif)
>>> > exten=>s,n,HangUp()
>>> > exten=>h,1,NoOp(FAXSTATUS: ${FAXSTATUS} FAXERROR: ${FAXERROR}
>>> FAXMODE:
>>> > ${FAXMODE})
>>> >
>>> > Channel:SIP/side-sip-fax
>>> > Context:fax-tx-test
>>> > Extension:s
>>> > Priority:1
>>> > Set:FaxFile=/var/spool/asterisk/fax/20091113_1455
>>> >
>>> > receive side:
>>> >
>>> > [incoming-fax]
>>> > exten =>
>>> >
>>> s,1,Set(FAXFILE=/var/spool/asterisk/fax/${STRFTIME(${EPOCH},,%Y%m%d)}_${STRFTIME(${EPOCH},,%H%M)})
>>> > exten => s,n,ReceiveFAX(${FAXFILE}.tif)
>>> > exten => s,n,Hangup()
>>> >
>>> > There's a bunch more stuff at
>>> > https://issues.asterisk.org/view.php?id=17105
>>> >
>>> > But does anyone have a setup that Just Works? I'd love to
>>> find a setup
>>> > that works for someone else and just copy it.
>>> >
>>> > Thanks,
>>> >
>>> > sean
>>> >
>>>
>>> Yes, I am familiar with Hylafax. But I'm trying to Keep It Simple, and
>>> just use app_fax. Is it working for anyone? Does anybody have a simple
>>> working example?
>>>
>>> sean
>>>
>>>
>> It's the fax module built into 1.6.2.
>>
>> sean
>>
Thanks but Answer() didn't help:
-- Executing [s at incoming-fax:1] Set("SIP/side-sip-fax-00000002",
"FAXFILE=/var/spool/asterisk/fax/20100508_1027") in new stack
-- Executing [s at incoming-fax:2] Answer("SIP/side-sip-fax-00000002",
"") in new stack
-- Executing [s at incoming-fax:3]
ReceiveFAX("SIP/side-sip-fax-00000002",
"/var/spool/asterisk/fax/20100508_1027.tif") in new stack
[May 8 10:28:06] WARNING[5323]: app_fax.c:223 phase_e_handler: Error
transmitting fax. result=48: Disconnected after permitted retries.
[May 8 10:28:06] WARNING[5323]: app_fax.c:820 transmit: Transmission failed
If you could, I'd appreciate your sharing your working setup so I can
just duplicate it.
sean
More information about the asterisk-users
mailing list