[asterisk-users] problems with hylafax + iaxmodem + asterisk1.8.5

Alessio alessio at asistar.it
Fri Sep 2 10:10:37 CDT 2011


1: from the phone i called  the fax-server
2: from external fax i tried to send a fax to fax-server

the results:
____________________________________________________________

1: from the phone ( I hear sound of fax )
______________________________________________________________________________

in asterisk CLI i have something like this:
________________________________________________

 == Using UDPTL CoS mark 5
  == Using SIP RTP CoS mark 5
    -- Executing [06456789 at PRINCIPALE:1] Goto("SIP/06456789-00000003", 
"IncomingFAX,06456789,1") in new stack
    -- Goto (IncomingFAX,06456789,1)
    -- Executing [06456789 at IncomingFAX:1] Verbose("SIP/06456789-00000003", 
"***** Call from Eutelia **************") in new stack
***** Call from Eutelia **************
    -- Executing [06456789 at IncomingFAX:2] Dial("SIP/06456789-00000003", 
"IAX2/iaxmodem") in new stack
    -- Call accepted by 127.0.0.1 (format ulaw)
    -- Called IAX2/iaxmodem
    -- Format for call is ulaw
    -- IAX2/iaxmodem-640 is ringing
    -- IAX2/iaxmodem-640 answered SIP/06456789-00000003
    -- Executing [h at IncomingFAX:1] Gosub("SIP/06456789-00000003", 
"riaggancia,~~s~~,1") in new stack
    -- Executing [~~s~~@riaggancia:1] Verbose("SIP/06456789-00000003", "** 
Hungup **") in new stack
** Aggangio semplicemente la chiamata **
    -- Executing [~~s~~@riaggancia:2] Hangup("SIP/06456789-00000003", "") in 
new stack
  == Spawn extension (riaggancia, ~~s~~, 2) exited non-zero on 
'SIP/06456789-00000003'
    -- Hungup 'IAX2/iaxmodem-640'
  == Spawn extension (IncomingFAX, 06456789, 2) exited non-zero on 
'SIP/06456789-00000003'

_____________________________________________________________________________

2: from external fax
______________________________________________________________________________

in asterisk CLI i have something like this:
_______

 == Using UDPTL CoS mark 5
  == Using SIP RTP CoS mark 5
    -- Executing [06456789 at PRINCIPALE:1] Goto("SIP/06456789-00000003", 
"IncomingFAX,06456789,1") in new stack
    -- Goto (IncomingFAX,06456789,1)
    -- Executing [06456789 at IncomingFAX:1] Verbose("SIP/06456789-00000003", 
"***** Call from Eutelia **************") in new stack
***** Call from Eutelia **************
    -- Executing [06456789 at IncomingFAX:2] Dial("SIP/06456789-00000003", 
"IAX2/iaxmodem") in new stack
    -- Hungup 'IAX2/iaxmodem-2218'
  == Everyone is busy/congested at this time (1:0/0/1)
    -- Auto fallthrough, channel 'SIP/0465940394-00000002' status is 
'CHANUNAVAIL'


--------------------------------------------------
From: "Lee Howard" <faxguy at howardsilvan.com>
Sent: Friday, September 02, 2011 4:33 PM
To: "Alessio" <alessio at asistar.it>
Cc: "Asterisk Users Mailing List - Non-Commercial Discussion" 
<asterisk-users at lists.digium.com>
Subject: Re: [asterisk-users] problems with hylafax + iaxmodem + 
asterisk1.8.5

> The error happens so quickly that I would suspect that it has to do with 
> fax detection within Asterisk re-routing the call to a different place. 
> Watch the CLI when a fax call comes in and see what happens there.
>
> Alessio wrote:
>> If I install asterisk i have the same problem.
>>
>> can anyone help me?
>>
>> thanks
>> --------------------------------------------------
>> From: "Lee Howard" <faxguy at howardsilvan.com>
>> Sent: Thursday, September 01, 2011 6:29 PM
>> To: <alessio at asistar.it>
>> Cc: "Asterisk Users Mailing List - Non-Commercial Discussion" 
>> <asterisk-users at lists.digium.com>
>> Subject: Re: [asterisk-users] problems with hylafax + iaxmodem + 
>> asterisk1.8.5
>>
>>> Alessio wrote:
>>>> I have 2 computers in the lan, one is the Asterisk PBX and the other is 
>>>> the server with hylafax and iaxmodem installed.
>>>> .....
>>>> Sep  1 16:50:11 FAXServer FaxGetty[6225]: --> [4:RING]
>>>> Sep  1 16:50:11 FAXServer FaxGetty[6225]: ANSWER: Call ID 1 "06654321"
>>>> Sep  1 16:50:11 FAXServer FaxGetty[6225]: ANSWER: Call ID 2 ""
>>>> Sep  1 16:50:11 FAXServer FaxGetty[6225]: ANSWER: Call ID 3 "<NONE>"
>>>> Sep  1 16:50:11 FAXServer FaxGetty[6225]: ANSWER: Call ID 4 "s"
>>>> Sep  1 16:50:11 FAXServer FaxGetty[6225]: STATE CHANGE: LISTENING -> 
>>>> ANSWERING
>>>> Sep  1 16:50:12 FAXServer FaxGetty[6225]: ANSWER: Ring detected without 
>>>> successful handshake
>>>> Sep  1 16:50:12 FAXServer FaxGetty[6225]: <-- [5:ATH0\r]
>>>> Sep  1 16:50:12 FAXServer FaxGetty[6225]: --> [2:OK]
>>>
>>> It happens so quickly that I would suspect that it has to do with fax 
>>> detection within Asterisk re-routing the call to a different place. 
>>> Watch the CLI when a fax call comes in and see what happens there.
>>>
>>> However, let me say now that your setup that you describe strings the 
>>> IAX2 channels out over your LAN which is no guarantee that there won't 
>>> be jitter to cause you other problems.  Normally iaxmodem (and probably 
>>> therefore HylaFAX) should run on the same system as Asterisk.
>>>
>>> Thanks,
>>>
>>> Lee.
>>>
>>
> 



More information about the asterisk-users mailing list