[asterisk-users] Res_fax - FAXOPT(faxdetect)

Administrator TOOTAI admin at tootai.net
Fri Feb 20 08:12:18 CST 2015


Le 18/02/2015 18:52, Eric Wieling a écrit :
>
> I solved the issue by not answering the call as I assume others have done.

The only solution we found is to set faxdetect=no in the sip.conf of the 
peer definition. The Set(FAXOPT(detect)=[yes|no]) command in the 
dialplan is not taken in account.

The problem with this solution is that we can't mix fax reception with 
direct fax line and fax detection on audio line. Or better said, to use 
a mix of those detection, we should put a Wait(x) in the fax direct DID 
and systematically use the fax extension to dial hylafax like

[FAXDirectDID]

exten = fax,1,Dial(IAX2/300,,)
  same = n,Hangup

exten = _X.,1,Wait(10)
  same = n,Congestion()

Not particulary clean.

Daniel

>
> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Administrator TOOTAI
> Sent: Wednesday, February 18, 2015 12:50 PM
> To: asterisk-users at lists.digium.com
> Subject: Re: [asterisk-users] Res_fax - FAXOPT(faxdetect)
>
>
> Hello
>
>
> Le 17/02/2015 17:00, Administrator TOOTAI a écrit :
>> Hi,
>>
>> as stated in the documentation, it's allowed to set
>> FAXOPT(faxdetect)=yes/no to allow fax detection.
>>
>> It's done (see below) but still fax detection :-( Extension 300 is
>> hylafax with iaxmodem.
>>
>> On the upper Asterisk gw it's the same, despite the faxdetect set to no
>> we also have the NOTICE of T.38 re-INVITE. Test is done with a mobile
>> phone calling the 0123456789 PSTN number.
>>
>>       -- Executing [0123456789 at from-internal:1]
>> Set("SIP/TOOTAi-00008262", "FAXOPT(faxdetect)=no") in new stack
>>       -- Executing [0123456789 at from-internal:2]
>> Macro("SIP/TOOTAi-00008262", "Fax") in new stack
>>       -- Executing [s at macro-Fax:1] Dial("SIP/TOOTAi-00008262",
>> "IAX2/300,,") in new stack
>>       -- Called IAX2/300
>>       -- Call accepted by 127.0.0.1 (format alaw)
>>       -- Format for call is (alaw)
>>       -- IAX2/300-7211 is ringing
>>       -- IAX2/300-7211 answered SIP/TOOTAiAudio-00008262
>>     == Using UDPTL TOS bits 184
>>     == Using UDPTL CoS mark 5
>> [2015-02-17 16:52:51] NOTICE[3467][C-00001d5b]: chan_sip.c:10645
>> process_sdp: T.38 re-INVITE detected but no fax extension
>> [2015-02-17 16:52:56] WARNING[3467][C-00001d5b]: chan_sip.c:9868
>> process_sdp: Insufficient information for SDP (m= not found)
>>       -- Executing [h at from-internal:1] Hangup("SIP/TOOTAi-00008262", "")
>> in new stack
>>     == Spawn extension (from-internal, h, 1) exited non-zero on
>> 'SIP/TOOTAi-00008262'
>>       -- Hungup 'IAX2/300-7211'
>>
>> Thanks for your support
>>
>
> No one have an idea on this ?
>



More information about the asterisk-users mailing list