[asterisk-users] Res_fax - FAXOPT(faxdetect)

2015-02-17 Thread Administrator TOOTAI

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@from-internal:1] 
Set("SIP/TOOTAi-8262", "FAXOPT(faxdetect)=no") in new stack
-- Executing [0123456789@from-internal:2] 
Macro("SIP/TOOTAi-8262", "Fax") in new stack
-- Executing [s@macro-Fax:1] Dial("SIP/TOOTAi-8262", 
"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-8262
  == Using UDPTL TOS bits 184
  == Using UDPTL CoS mark 5
[2015-02-17 16:52:51] NOTICE[3467][C-1d5b]: chan_sip.c:10645 
process_sdp: T.38 re-INVITE detected but no fax extension
[2015-02-17 16:52:56] WARNING[3467][C-1d5b]: chan_sip.c:9868 
process_sdp: Insufficient information for SDP (m= not found)
-- Executing [h@from-internal:1] Hangup("SIP/TOOTAi-8262", "") 
in new stack
  == Spawn extension (from-internal, h, 1) exited non-zero on 
'SIP/TOOTAi-8262'

-- Hungup 'IAX2/300-7211'

Thanks for your support

--
Daniel

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Res_fax - FAXOPT(faxdetect)

2015-02-18 Thread Administrator TOOTAI


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@from-internal:1]
Set("SIP/TOOTAi-8262", "FAXOPT(faxdetect)=no") in new stack
 -- Executing [0123456789@from-internal:2]
Macro("SIP/TOOTAi-8262", "Fax") in new stack
 -- Executing [s@macro-Fax:1] Dial("SIP/TOOTAi-8262",
"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-8262
   == Using UDPTL TOS bits 184
   == Using UDPTL CoS mark 5
[2015-02-17 16:52:51] NOTICE[3467][C-1d5b]: chan_sip.c:10645
process_sdp: T.38 re-INVITE detected but no fax extension
[2015-02-17 16:52:56] WARNING[3467][C-1d5b]: chan_sip.c:9868
process_sdp: Insufficient information for SDP (m= not found)
 -- Executing [h@from-internal:1] Hangup("SIP/TOOTAi-8262", "")
in new stack
   == Spawn extension (from-internal, h, 1) exited non-zero on
'SIP/TOOTAi-8262'
 -- Hungup 'IAX2/300-7211'

Thanks for your support



No one have an idea on this ?

--
Daniel

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Res_fax - FAXOPT(faxdetect)

2015-02-18 Thread Eric Wieling

I solved the issue by not answering the call as I assume others have done.

-Original Message-
From: asterisk-users-boun...@lists.digium.com 
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Administrator 
TOOTAI
Sent: Wednesday, February 18, 2015 12:50 PM
To: asterisk-users@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@from-internal:1]
> Set("SIP/TOOTAi-8262", "FAXOPT(faxdetect)=no") in new stack
>  -- Executing [0123456789@from-internal:2]
> Macro("SIP/TOOTAi-8262", "Fax") in new stack
>  -- Executing [s@macro-Fax:1] Dial("SIP/TOOTAi-8262",
> "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-8262
>== Using UDPTL TOS bits 184
>== Using UDPTL CoS mark 5
> [2015-02-17 16:52:51] NOTICE[3467][C-1d5b]: chan_sip.c:10645
> process_sdp: T.38 re-INVITE detected but no fax extension
> [2015-02-17 16:52:56] WARNING[3467][C-1d5b]: chan_sip.c:9868
> process_sdp: Insufficient information for SDP (m= not found)
>  -- Executing [h@from-internal:1] Hangup("SIP/TOOTAi-8262", "")
> in new stack
>== Spawn extension (from-internal, h, 1) exited non-zero on
> 'SIP/TOOTAi-8262'
>  -- Hungup 'IAX2/300-7211'
>
> Thanks for your support
>

No one have an idea on this ?

-- 
Daniel

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Res_fax - FAXOPT(faxdetect)

2015-02-19 Thread Administrator TOOTAI

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.


That's my problem: call is NOT answered :-( or better said, is answered 
by hylafax. That's why I thought that setting faxopt(faxdetect)=no would 
put asterisk out of the path.


Asterisk version is 11.15.0 from Elastix. Same happend on a stock 11.16.0

Thanks for your answer



-Original Message-
From: asterisk-users-boun...@lists.digium.com 
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Administrator 
TOOTAI
Sent: Wednesday, February 18, 2015 12:50 PM
To: asterisk-users@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@from-internal:1]
Set("SIP/TOOTAi-8262", "FAXOPT(faxdetect)=no") in new stack
  -- Executing [0123456789@from-internal:2]
Macro("SIP/TOOTAi-8262", "Fax") in new stack
  -- Executing [s@macro-Fax:1] Dial("SIP/TOOTAi-8262",
"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-8262
== Using UDPTL TOS bits 184
== Using UDPTL CoS mark 5
[2015-02-17 16:52:51] NOTICE[3467][C-1d5b]: chan_sip.c:10645
process_sdp: T.38 re-INVITE detected but no fax extension
[2015-02-17 16:52:56] WARNING[3467][C-1d5b]: chan_sip.c:9868
process_sdp: Insufficient information for SDP (m= not found)
  -- Executing [h@from-internal:1] Hangup("SIP/TOOTAi-8262", "")
in new stack
== Spawn extension (from-internal, h, 1) exited non-zero on
'SIP/TOOTAi-8262'
  -- Hungup 'IAX2/300-7211'

Thanks for your support



No one have an idea on this ?



--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Res_fax - FAXOPT(faxdetect)

2015-02-20 Thread Administrator TOOTAI

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-boun...@lists.digium.com 
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Administrator 
TOOTAI
Sent: Wednesday, February 18, 2015 12:50 PM
To: asterisk-users@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@from-internal:1]
Set("SIP/TOOTAi-8262", "FAXOPT(faxdetect)=no") in new stack
  -- Executing [0123456789@from-internal:2]
Macro("SIP/TOOTAi-8262", "Fax") in new stack
  -- Executing [s@macro-Fax:1] Dial("SIP/TOOTAi-8262",
"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-8262
== Using UDPTL TOS bits 184
== Using UDPTL CoS mark 5
[2015-02-17 16:52:51] NOTICE[3467][C-1d5b]: chan_sip.c:10645
process_sdp: T.38 re-INVITE detected but no fax extension
[2015-02-17 16:52:56] WARNING[3467][C-1d5b]: chan_sip.c:9868
process_sdp: Insufficient information for SDP (m= not found)
  -- Executing [h@from-internal:1] Hangup("SIP/TOOTAi-8262", "")
in new stack
== Spawn extension (from-internal, h, 1) exited non-zero on
'SIP/TOOTAi-8262'
  -- Hungup 'IAX2/300-7211'

Thanks for your support



No one have an idea on this ?



--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users