Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[hylafax-users] No Answer from Remote Issue

426 views
Skip to first unread message

Rehman

unread,
Jun 23, 2015, 12:55:10 PM6/23/15
to hylafa...@hylafax.org, Lee Howard
Hi People,

I am using Class 1 IAX Modems with Asterisk 11 and Hylafax+ 5.5.5.

On 5 to 6 % of my faxes, I get this error message "No Answer from Remote ,
To many attempts dial"

If I call this number 6317278320, I can hear a fax tone after a couple of
rings. Why does the modem give up on it ? Here is a sample log. Please Help
!


Jun 23 12:27:09.99: [23411]: SESSION BEGIN 000007655 6317278320
Jun 23 12:27:09.99: [23411]: HylaFAX (tm) Version 5.5.5
Jun 23 12:27:10.00: [23411]: SEND FAX: JOB 3826 DEST 6317278320 COMMID
000007655 DEVICE '/dev/ttyIAX84' FROM 'Asterisk User <
aste...@curefax.curemd.com>' USER asterisk
Jun 23 12:27:10.00: [23411]: STATE CHANGE: RUNNING -> SENDING
Jun 23 12:27:10.00: [23411]: <-- [12:AT+FCLASS=1\r]
Jun 23 12:27:10.00: [23411]: --> [2:OK]
Jun 23 12:27:10.00: [23411]: MODEM set XON/XOFF/FLUSH: input ignored,
output disabled
Jun 23 12:27:10.04: [23411]: DIAL 6317278320
Jun 23 12:27:10.04: [23411]: <-- [15:ATDT6317278320\r]
Jun 23 12:27:55.05: [23411]: --> [9:NO ANSWER]
Jun 23 12:27:55.05: [23411]: SEND FAILED: JOB 3826 DEST 6317278320 ERR No
answer from remote {E003}
Jun 23 12:27:56.05: [23411]: <-- [5:ATH0\r]
Jun 23 12:27:56.05: [23411]: --> [2:OK]
Jun 23 12:27:56.05: [23411]: MODEM set DTR OFF
Jun 23 12:27:56.05: [23411]: MODEM set baud rate: 0 baud (flow control
unchanged)
Jun 23 12:27:56.05: [23411]: STATE CHANGE: SENDING -> MODEMWAIT (timeout 5)
Jun 23 12:27:56.05: [23411]: SESSION END


Thanks,

--



--
Best Regards,
Rehman
Voice : +971-50-2013500
IM: a.re...@gmail.com

Jason Staudenmayer

unread,
Jun 23, 2015, 2:03:00 PM6/23/15
to Rehman, hylafa...@hylafax.org, Lee Howard
Is this fax line set in Asterisk with a hotline option (Avaya can hotline an extension to pre-dial a digit) to dial a 1. If not I’d say unless you’re outside the U.S. you need a 1 before the area code.

Jason

From: hylafax-us...@hylafax.org [mailto:hylafax-us...@hylafax.org] On Behalf Of Rehman
Sent: Tuesday, June 23, 2015 12:55 PM
To: hylafa...@hylafax.org
Cc: Lee Howard
Subject: [hylafax-users] No Answer from Remote Issue

Hi People,
I am using Class 1 IAX Modems with Asterisk 11 and Hylafax+ 5.5.5.
On 5 to 6 % of my faxes, I get this error message "No Answer from Remote , To many attempts dial"
If I call this number 6317278320, I can hear a fax tone after a couple of rings. Why does the modem give up on it ? Here is a sample log. Please Help !


Jun 23 12:27:09.99: [23411]: SESSION BEGIN 000007655 6317278320
Jun 23 12:27:09.99: [23411]: HylaFAX (tm) Version 5.5.5
Jun 23 12:27:10.00: [23411]: SEND FAX: JOB 3826 DEST 6317278320 COMMID 000007655 DEVICE '/dev/ttyIAX84' FROM 'Asterisk User <aste...@curefax.curemd.com<mailto:aste...@curefax.curemd.com>>' USER asterisk
Jun 23 12:27:10.00: [23411]: STATE CHANGE: RUNNING -> SENDING
Jun 23 12:27:10.00: [23411]: <-- [12:AT+FCLASS=1\r]
Jun 23 12:27:10.00: [23411]: --> [2:OK]
Jun 23 12:27:10.00: [23411]: MODEM set XON/XOFF/FLUSH: input ignored, output disabled
Jun 23 12:27:10.04: [23411]: DIAL 6317278320
Jun 23 12:27:10.04: [23411]: <-- [15:ATDT6317278320\r]
Jun 23 12:27:55.05: [23411]: --> [9:NO ANSWER]
Jun 23 12:27:55.05: [23411]: SEND FAILED: JOB 3826 DEST 6317278320 ERR No answer from remote {E003}
Jun 23 12:27:56.05: [23411]: <-- [5:ATH0\r]
Jun 23 12:27:56.05: [23411]: --> [2:OK]
Jun 23 12:27:56.05: [23411]: MODEM set DTR OFF
Jun 23 12:27:56.05: [23411]: MODEM set baud rate: 0 baud (flow control unchanged)
Jun 23 12:27:56.05: [23411]: STATE CHANGE: SENDING -> MODEMWAIT (timeout 5)
Jun 23 12:27:56.05: [23411]: SESSION END

Thanks,

--



--
Best Regards,
Rehman
Voice : +971-50-2013500
IM: a.re...@gmail.com<mailto:a.re...@gmail.com>



Click here<https://www.mailcontrol.com/sr/MZbqvYs5QwJvpeaetUwhCQ==> to report this email as spam.


This message has been scanned for malware by Websense. www.websense.com

Rehman

unread,
Jun 23, 2015, 2:58:16 PM6/23/15
to Jason Staudenmayer, hylafa...@hylafax.org, Lee Howard
Hey thanks Jason,

I understand that, this is inside the US, my outgoing route appends 1 to it
anyways.

Thanks,

On Tue, Jun 23, 2015 at 2:02 PM, Jason Staudenmayer <
jas...@adventureaquarium.com> wrote:

> Is this fax line set in Asterisk with a hotline option (Avaya can
> hotline an extension to pre-dial a digit) to dial a 1. If not I’d say
> unless you’re outside the U.S. you need a 1 before the area code.
>
>
>
> Jason
>
>
>
> *From:* hylafax-us...@hylafax.org [mailto:
> hylafax-us...@hylafax.org] *On Behalf Of *Rehman
> *Sent:* Tuesday, June 23, 2015 12:55 PM
> *To:* hylafa...@hylafax.org
> *Cc:* Lee Howard
> *Subject:* [hylafax-users] No Answer from Remote Issue
>
>
>
> Hi People,
>
> I am using Class 1 IAX Modems with Asterisk 11 and Hylafax+ 5.5.5.
>
> On 5 to 6 % of my faxes, I get this error message "No Answer from Remote ,
> To many attempts dial"
>
> If I call this number 6317278320, I can hear a fax tone after a couple of
> rings. Why does the modem give up on it ? Here is a sample log. Please Help
> !
>
>
>
> Jun 23 12:27:09.99: [23411]: SESSION BEGIN 000007655 6317278320
> Jun 23 12:27:09.99: [23411]: HylaFAX (tm) Version 5.5.5
> Jun 23 12:27:10.00: [23411]: SEND FAX: JOB 3826 DEST 6317278320 COMMID
> 000007655 DEVICE '/dev/ttyIAX84' FROM 'Asterisk User <
> Click here <https://www.mailcontrol.com/sr/MZbqvYs5QwJvpeaetUwhCQ==> to
> report this email as spam.
>
>
> This message has been scanned for malware by Websense. www.websense.com
>



Jason Staudenmayer

unread,
Jun 23, 2015, 3:23:44 PM6/23/15
to Rehman, hylafa...@hylafax.org, Lee Howard
Then I would maybe put a butt set in line and make sure all the digits get pulsed and the far end picks up.

Jason

From: Rehman [mailto:a.re...@gmail.com]
Sent: Tuesday, June 23, 2015 2:58 PM
To: Jason Staudenmayer
Cc: hylafa...@hylafax.org; Lee Howard
Subject: Re: [hylafax-users] No Answer from Remote Issue

Hey thanks Jason,
I understand that, this is inside the US, my outgoing route appends 1 to it anyways.
Thanks,

On Tue, Jun 23, 2015 at 2:02 PM, Jason Staudenmayer <jas...@adventureaquarium.com<mailto:jas...@adventureaquarium.com>> wrote:
Is this fax line set in Asterisk with a hotline option (Avaya can hotline an extension to pre-dial a digit) to dial a 1. If not I’d say unless you’re outside the U.S. you need a 1 before the area code.

Jason

From: hylafax-us...@hylafax.org<mailto:hylafax-us...@hylafax.org> [mailto:hylafax-us...@hylafax.org<mailto:hylafax-us...@hylafax.org>] On Behalf Of Rehman
Sent: Tuesday, June 23, 2015 12:55 PM
To: hylafa...@hylafax.org<mailto:hylafa...@hylafax.org>
Cc: Lee Howard
Subject: [hylafax-users] No Answer from Remote Issue

Hi People,
I am using Class 1 IAX Modems with Asterisk 11 and Hylafax+ 5.5.5.
On 5 to 6 % of my faxes, I get this error message "No Answer from Remote , To many attempts dial"
If I call this number 6317278320, I can hear a fax tone after a couple of rings. Why does the modem give up on it ? Here is a sample log. Please Help !


Jun 23 12:27:09.99: [23411]: SESSION BEGIN 000007655 6317278320
Jun 23 12:27:09.99: [23411]: HylaFAX (tm) Version 5.5.5
Jun 23 12:27:10.00: [23411]: SEND FAX: JOB 3826 DEST 6317278320 COMMID 000007655 DEVICE '/dev/ttyIAX84' FROM 'Asterisk User <aste...@curefax.curemd.com<mailto:aste...@curefax.curemd.com>>' USER asterisk
Jun 23 12:27:10.00: [23411]: STATE CHANGE: RUNNING -> SENDING
Jun 23 12:27:10.00: [23411]: <-- [12:AT+FCLASS=1\r]
Jun 23 12:27:10.00: [23411]: --> [2:OK]
Jun 23 12:27:10.00: [23411]: MODEM set XON/XOFF/FLUSH: input ignored, output disabled
Jun 23 12:27:10.04: [23411]: DIAL 6317278320
Jun 23 12:27:10.04: [23411]: <-- [15:ATDT6317278320\r]
Jun 23 12:27:55.05: [23411]: --> [9:NO ANSWER]
Jun 23 12:27:55.05: [23411]: SEND FAILED: JOB 3826 DEST 6317278320 ERR No answer from remote {E003}
Jun 23 12:27:56.05: [23411]: <-- [5:ATH0\r]
Jun 23 12:27:56.05: [23411]: --> [2:OK]
Jun 23 12:27:56.05: [23411]: MODEM set DTR OFF
Jun 23 12:27:56.05: [23411]: MODEM set baud rate: 0 baud (flow control unchanged)
Jun 23 12:27:56.05: [23411]: STATE CHANGE: SENDING -> MODEMWAIT (timeout 5)
Jun 23 12:27:56.05: [23411]: SESSION END
Thanks,

--



--
Best Regards,
Rehman
Voice : +971-50-2013500<tel:%2B971-50-2013500>
IM: a.re...@gmail.com<mailto:a.re...@gmail.com>


Click here<https://www.mailcontrol.com/sr/MZbqvYs5QwJvpeaetUwhCQ==> to report this email as spam.


This message has been scanned for malware by Websense. www.websense.com<http://www.websense.com/>



--



--
Best Regards,
Rehman
Voice : +971-50-2013500
IM: a.re...@gmail.com<mailto:a.re...@gmail.com>

Lee Howard

unread,
Jun 23, 2015, 5:31:18 PM6/23/15
to Rehman, hylafa...@hylafax.org
iaxmodem up through v1.2.0 has a hard-coded 45-second timer for an
answer to come after dialing.

One could rightly call this a bug since the spandsp library appears to
correctly use the S7 register (which HylaFAX sets to 60 seconds).

That said... 45 seconds to wait before an answer is a long time. What is
going on that is making the dialing take so long?

Thanks,

Lee.


On 06/23/2015 09:54 AM, Rehman wrote:
> Hi People,
>
> I am using Class 1 IAX Modems with Asterisk 11 and Hylafax+ 5.5.5.
>
> On 5 to 6 % of my faxes, I get this error message "No Answer from
> Remote , To many attempts dial"
>
> If I call this number 6317278320, I can hear a fax tone after a couple
> of rings. Why does the modem give up on it ? Here is a sample log.
> Please Help !
>
>
> Jun 23 12:27:09.99: [23411]: SESSION BEGIN 000007655 6317278320
> Jun 23 12:27:09.99: [23411]: HylaFAX (tm) Version 5.5.5
> Jun 23 12:27:10.00: [23411]: SEND FAX: JOB 3826 DEST 6317278320 COMMID
> 000007655 DEVICE '/dev/ttyIAX84' FROM 'Asterisk User
> <aste...@curefax.curemd.com <mailto:aste...@curefax.curemd.com>>'
> IM: a.re...@gmail.com <mailto:a.re...@gmail.com>
>
>


____________________ HylaFAX(tm) Users Mailing List _______________________
To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
On UNIX: mail -s unsubscribe hylafax-us...@hylafax.org < /dev/null
*To learn about commercial HylaFAX(tm) support, mail sa...@ifax.com.*

Rehman

unread,
Jun 24, 2015, 3:13:42 AM6/24/15
to Lee Howard, hylafa...@hylafax.org
Thanks Lee, Can the modem wait time increase help ?

Lee Howard

unread,
Jun 24, 2015, 10:36:50 AM6/24/15
to Rehman, hylafa...@hylafax.org
You're running into the 45-second timeout. To get iaxmodem to use the
S7 register as HylaFAX and the universe intended you can modify iaxmodem
as shown here:

http://sourceforge.net/p/iaxmodem/code/15/

However, whether or not that will help I cannot say. 45 seconds is a
long time to go without Asterisk seeing the remote answer the call.

You're welcome to patch your iaxmodem, but I would recommend trying to
figure out why Asterisk isn't seeing the remote answer the call, because
I suspect that you'll run into the same problem no matter the length of
the timeout.

Thanks,

Lee.
> <mailto:aste...@curefax.curemd.com
> <mailto:aste...@curefax.curemd.com>>>' USER asterisk
> Jun 23 12:27:10.00: [23411]: STATE CHANGE: RUNNING -> SENDING
> Jun 23 12:27:10.00: [23411]: <-- [12:AT+FCLASS=1\r]
> Jun 23 12:27:10.00: [23411]: --> [2:OK]
> Jun 23 12:27:10.00: [23411]: MODEM set XON/XOFF/FLUSH: input
> ignored, output disabled
> Jun 23 12:27:10.04: [23411]: DIAL 6317278320
> Jun 23 12:27:10.04: [23411]: <-- [15:ATDT6317278320\r]
> Jun 23 12:27:55.05: [23411]: --> [9:NO ANSWER]
> Jun 23 12:27:55.05: [23411]: SEND FAILED: JOB 3826 DEST
> 6317278320 ERR No answer from remote {E003}
> Jun 23 12:27:56.05: [23411]: <-- [5:ATH0\r]
> Jun 23 12:27:56.05: [23411]: --> [2:OK]
> Jun 23 12:27:56.05: [23411]: MODEM set DTR OFF
> Jun 23 12:27:56.05: [23411]: MODEM set baud rate: 0 baud (flow
> control unchanged)
> Jun 23 12:27:56.05: [23411]: STATE CHANGE: SENDING ->
> MODEMWAIT (timeout 5)
> Jun 23 12:27:56.05: [23411]: SESSION END
>
>
> Thanks,
>
> --
>
>
>
> --
> Best Regards,
> Rehman
> Voice : +971-50-2013500 <tel:%2B971-50-2013500>
> IM: a.re...@gmail.com <mailto:a.re...@gmail.com>
> <mailto:a.re...@gmail.com <mailto:a.re...@gmail.com>>
>
>
>
>
>
>
> --
>
>
>
> --
> Best Regards,
> Rehman
> Voice : +971-50-2013500
0 new messages