Re: [asterisk-users] problems with hylafax + iaxmodem +asterisk1.8.5
G.Day! Thanks for the response! i've tryed to do this, but in /var/spool/hylafax/log/xferfaxlog I read this: 09/06/11 09:04 CALL00108 ttyIAXfax +39.06.456789 0 0 0:00:09 0:00:09 Failure to receive silence (synchronization failure). 06654321 NONE::s what is it?! -- From: Larry Moore lmo...@starwon.com.au Sent: Monday, September 05, 2011 10:24 PM To: Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com Subject: Re: [asterisk-users] problems with hylafax + iaxmodem +asterisk1.8.5 On 5/09/2011 10:05 PM, Alessio wrote: someone can help me to solve this problem? thanks -- From: Alessio ales...@asistar.it Sent: Friday, September 02, 2011 5:10 PM To: Lee Howard fax...@howardsilvan.com Cc: Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com Subject: Re: [asterisk-users] problems with hylafax + iaxmodem +asterisk1.8.5 1: from the phone i called the fax-server 2: from external fax i tried to send a fax to fax-server the results: _ G'Day Alessio, I replied to your original post suggesting you set up two IAX modems and get successful transmission working between them. I suspect you want to use T.38 with IAX modem, I don't believe the IAX2 channel supports T.38 hence I would suggest you remove the t38pt_udptl lines from your iax.conf files to avoid confusion. I am assuming you are receiving your incoming facsimile using SIP, if so I would suggest you have only one reference to t38pt_udptl in that peers configuration and set it to no. Depending on whether the peer is dedicated to receiving facsimiles I would suggest you also include in your peer's configuration faxdetect=no otherwise if this is an Audio/FAX line I would suggest you set it to faxdetect=cng. Once you have this working but really want to use T.38 then you will need to apply the T.38 Gateway patch to your 1.8.5.0 build, see https://issues.asterisk.org/view.php?id=13405 . Changes you will need to make to your SIP peer is to set t38pt_udptl=yes and in your dial plan before the Dial() enable the gateway with Set(FAXOPT(t38gateway)=yes). Larry. -- _ -- 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] problems with hylafax + iaxmodem +asterisk1.8.5
someone can help me to solve this problem? thanks -- From: Alessio ales...@asistar.it Sent: Friday, September 02, 2011 5:10 PM To: Lee Howard fax...@howardsilvan.com Cc: Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com Subject: Re: [asterisk-users] problems with hylafax + iaxmodem +asterisk1.8.5 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@PRINCIPALE:1] Goto(SIP/06456789-0003, IncomingFAX,06456789,1) in new stack -- Goto (IncomingFAX,06456789,1) -- Executing [06456789@IncomingFAX:1] Verbose(SIP/06456789-0003, * Call from Eutelia **) in new stack * Call from Eutelia ** -- Executing [06456789@IncomingFAX:2] Dial(SIP/06456789-0003, 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-0003 -- Executing [h@IncomingFAX:1] Gosub(SIP/06456789-0003, riaggancia,~~s~~,1) in new stack -- Executing [~~s~~@riaggancia:1] Verbose(SIP/06456789-0003, ** Hungup **) in new stack ** Aggangio semplicemente la chiamata ** -- Executing [~~s~~@riaggancia:2] Hangup(SIP/06456789-0003, ) in new stack == Spawn extension (riaggancia, ~~s~~, 2) exited non-zero on 'SIP/06456789-0003' -- Hungup 'IAX2/iaxmodem-640' == Spawn extension (IncomingFAX, 06456789, 2) exited non-zero on 'SIP/06456789-0003' _ 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@PRINCIPALE:1] Goto(SIP/06456789-0003, IncomingFAX,06456789,1) in new stack -- Goto (IncomingFAX,06456789,1) -- Executing [06456789@IncomingFAX:1] Verbose(SIP/06456789-0003, * Call from Eutelia **) in new stack * Call from Eutelia ** -- Executing [06456789@IncomingFAX:2] Dial(SIP/06456789-0003, 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-0002' status is 'CHANUNAVAIL' -- From: Lee Howard fax...@howardsilvan.com Sent: Friday, September 02, 2011 4:33 PM To: Alessio ales...@asistar.it Cc: Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@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 fax...@howardsilvan.com Sent: Thursday, September 01, 2011 6:29 PM To: ales...@asistar.it Cc: Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@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
Re: [asterisk-users] problems with hylafax + iaxmodem +asterisk1.8.5
On 5/09/2011 10:05 PM, Alessio wrote: someone can help me to solve this problem? thanks -- From: Alessio ales...@asistar.it Sent: Friday, September 02, 2011 5:10 PM To: Lee Howard fax...@howardsilvan.com Cc: Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com Subject: Re: [asterisk-users] problems with hylafax + iaxmodem +asterisk1.8.5 1: from the phone i called the fax-server 2: from external fax i tried to send a fax to fax-server the results: _ G'Day Alessio, I replied to your original post suggesting you set up two IAX modems and get successful transmission working between them. I suspect you want to use T.38 with IAX modem, I don't believe the IAX2 channel supports T.38 hence I would suggest you remove the t38pt_udptl lines from your iax.conf files to avoid confusion. I am assuming you are receiving your incoming facsimile using SIP, if so I would suggest you have only one reference to t38pt_udptl in that peers configuration and set it to no. Depending on whether the peer is dedicated to receiving facsimiles I would suggest you also include in your peer's configuration faxdetect=no otherwise if this is an Audio/FAX line I would suggest you set it to faxdetect=cng. Once you have this working but really want to use T.38 then you will need to apply the T.38 Gateway patch to your 1.8.5.0 build, see https://issues.asterisk.org/view.php?id=13405 . Changes you will need to make to your SIP peer is to set t38pt_udptl=yes and in your dial plan before the Dial() enable the gateway with Set(FAXOPT(t38gateway)=yes). Larry. -- _ -- 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] problems with hylafax + iaxmodem + asterisk1.8.5
Thanks for the reply! i'll try to install asterisk on the same machine -- From: Lee Howard fax...@howardsilvan.com Sent: Thursday, September 01, 2011 6:29 PM To: ales...@asistar.it Cc: Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@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. -- _ -- 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] problems with hylafax + iaxmodem + asterisk1.8.5
If I install asterisk i have the same problem. can anyone help me? thanks -- From: Lee Howard fax...@howardsilvan.com Sent: Thursday, September 01, 2011 6:29 PM To: ales...@asistar.it Cc: Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@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. -- _ -- 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] 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 fax...@howardsilvan.com Sent: Thursday, September 01, 2011 6:29 PM To: ales...@asistar.it Cc: Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@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. -- _ -- 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] problems with hylafax + iaxmodem + asterisk1.8.5
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@PRINCIPALE:1] Goto(SIP/06456789-0003, IncomingFAX,06456789,1) in new stack -- Goto (IncomingFAX,06456789,1) -- Executing [06456789@IncomingFAX:1] Verbose(SIP/06456789-0003, * Call from Eutelia **) in new stack * Call from Eutelia ** -- Executing [06456789@IncomingFAX:2] Dial(SIP/06456789-0003, 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-0003 -- Executing [h@IncomingFAX:1] Gosub(SIP/06456789-0003, riaggancia,~~s~~,1) in new stack -- Executing [~~s~~@riaggancia:1] Verbose(SIP/06456789-0003, ** Hungup **) in new stack ** Aggangio semplicemente la chiamata ** -- Executing [~~s~~@riaggancia:2] Hangup(SIP/06456789-0003, ) in new stack == Spawn extension (riaggancia, ~~s~~, 2) exited non-zero on 'SIP/06456789-0003' -- Hungup 'IAX2/iaxmodem-640' == Spawn extension (IncomingFAX, 06456789, 2) exited non-zero on 'SIP/06456789-0003' _ 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@PRINCIPALE:1] Goto(SIP/06456789-0003, IncomingFAX,06456789,1) in new stack -- Goto (IncomingFAX,06456789,1) -- Executing [06456789@IncomingFAX:1] Verbose(SIP/06456789-0003, * Call from Eutelia **) in new stack * Call from Eutelia ** -- Executing [06456789@IncomingFAX:2] Dial(SIP/06456789-0003, 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-0002' status is 'CHANUNAVAIL' -- From: Lee Howard fax...@howardsilvan.com Sent: Friday, September 02, 2011 4:33 PM To: Alessio ales...@asistar.it Cc: Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@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 fax...@howardsilvan.com Sent: Thursday, September 01, 2011 6:29 PM To: ales...@asistar.it Cc: Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@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. -- _ -- 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
Re: [asterisk-users] problems with hylafax + iaxmodem + asterisk1.8.5
On 2/09/2011 12:13 AM, Alessio wrote: Hi! from 2 days I'm trying to run hylafax server and iaxmodem with Asterisk 1.8.5. I have 2 computers in the lan, one is the Asterisk PBX and the other is the server with hylafax and iaxmodem installed. In Asterisk I set up an IAX trunk in this way: I would suggest you set up at least two IAX modems and confirm you can send a fax out through one and receive it on the other. Once this is working you can look at the next stage of accepting a call through another channel such as SIP we can resolve the configuration you will need for it to work. Larry. -- _ -- 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
[asterisk-users] problems with hylafax + iaxmodem + asterisk1.8.5
Hi! from 2 days I'm trying to run hylafax server and iaxmodem with Asterisk 1.8.5. I have 2 computers in the lan, one is the Asterisk PBX and the other is the server with hylafax and iaxmodem installed. In Asterisk I set up an IAX trunk in this way: ___ iax.conf [iaxmodem] type=friend context=outgoing-fax disallow=all allow=ulaw username=iaxmodem secret=password qualify=yes notransfer=yes host=dynamic requirecalltoken=no callerid=Fax 06456789 t38pt_udptl=yes ___ In asterisk CLI when I write IAX2 show peers I read that the device is reachable: iaxmodem/iaxmod 10.0.1.202 (D) 255.255.255.255 4570 OK (3 ms) In the end I put the configuration Hylafax and Iaxmodem. I've created a context in Asterisk for incoming fax: context IncomingFax { _. = { Dial(IAX2/iaxmodem); }; h = { riaggancia(); } }; the call comes, the modem answers but does not receive any faxes. I give you also logs /var/log/syslog and xferfaxlog Thanks for your patience. ** * config ttyIAX in /etc/iaxmodem/ttyIAX ** device /dev/ttyIAX owner uucp:uucp mode 660 port 4570 refresh 300 server 10.0.1.204 // this is asterisk 1.8.5 peername iaxmodem secret password cidname FAXServer cidnumber 0123456789 codec slinear ** * config.ttyIAX in /var/spool/hylafax/etc/config.ttyIAX ** CountryCode: 39 AreaCode: 06 FAXNumber: +39.06.456789 LongDistancePrefix: 0 InternationalPrefix: 00 DialStringRules: etc/dialrules ServerTracing: 0xFFF SessionTracing: 0xFFF RecvFileMode: 0600 LogFileMode: 0600 DeviceMode: 0600 RingsBeforeAnswer: 1 SpeakerVolume: off GettyArgs: -h %l dx_%s LocalIdentifier: IAXmodem TagLineFont: etc/lutRS18.pcf TagLineFormat: Ricevuto da %%l|%c|Pagina %%P di %%T MaxRecvPages: 200 ModemType: Class1 # use this to supply a hint Class1AdaptRecvCmd: AT+FAR=1 Class1TMConnectDelay: 400 # counteract quick CONNECT response ModemResetCmds: AT+VCID=1 # enables CallID display PagerTTYParity: none CallIDPattern: NMBR= CallIDPattern: NAME= CallIDPattern: ANID= CallIDPattern: NDID= *** xferfaxlog ** 09/01/11 17:13 CALL 00013 ttyIAX fax +39.06.456789 0 0 0:00:01 0:00:01 Ring detected without successful handshake NONE::s *** /var/log/syslog ** STATE CHANGE: RUNNING - LISTENING Sep 1 16:50:11 FAXServer FaxGetty[6225]: -- [9:DATE=0901] Sep 1 16:50:11 FAXServer FaxGetty[6225]: -- [9:TIME=1650] Sep 1 16:50:11 FAXServer FaxGetty[6225]: -- [5:NAME=] Sep 1 16:50:11 FAXServer FaxGetty[6225]: -- [15:NMBR=0461829011] Sep 1 16:50:11 FAXServer FaxGetty[6225]: -- [11:ANID=NONE] Sep 1 16:50:11 FAXServer FaxGetty[6225]: -- [13:USER=iaxmodem] Sep 1 16:50:11 FAXServer FaxGetty[6225]: -- [11:PASS=NONE] Sep 1 16:50:11 FAXServer FaxGetty[6225]: -- [11:CDID=NONE] Sep 1 16:50:11 FAXServer FaxGetty[6225]: -- [6:NDID=s] 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] Sep 1 16:50:12 FAXServer FaxGetty[6225]: MODEM set DTR OFF Sep 1 16:50:12 FAXServer FaxGetty[6225]: MODEM set baud rate: 0 baud (flow control unchanged) Sep 1 16:50:13 FAXServer FaxGetty[6225]: MODEM set DTR OFF Sep 1 16:50:13 FAXServer FaxGetty[6225]: MODEM set baud rate: 0 baud (flow control unchanged) Sep 1 16:50:13 FAXServer FaxGetty[6225]: DELAY 75 ms Sep 1 16:50:13 FAXServer FaxGetty[6225]: MODEM set DTR ON Sep 1 16:50:13 FAXServer FaxGetty[6225]: DELAY 2600 ms Sep 1 16:50:17 FAXServer FaxGetty[6225]: MODEM set baud rate: 19200 baud, input flow XON/XOFF, output flow XON/XOFF Sep 1 16:50:17 FAXServer FaxGetty[6225]: DELAY 10 ms Sep 1 16:50:17 FAXServer FaxGetty[6225]: MODEM flush i/o Sep 1 16:50:17 FAXServer FaxGetty[6225]: -- [4:ATZ\r] Sep 1 16:50:17 FAXServer FaxGetty[6225]: -- [2:OK] Sep 1 16:50:17 FAXServer FaxGetty[6225]: DELAY 3000 ms Sep 1 16:50:17 FAXServer HylaFAX[6247]: checkHostIdentity(localhost) Sep 1 16:50:17 FAXServer HylaFAX[6247]: Parsing hostPort(): EPRT Sep 1
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. -- _ -- 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