Re: [asterisk-users] how to set iaxmodem receiving speed

2012-05-17 Thread gincantalupo

Hi Steve,

you are telling me there is no way to set a particular speed on my 
iaxmodem in order to force the sender speed?
I have some problems with a customer who gets malformed faxes even if no 
error occurs. Since I cannot tell the sender to lower its fax speed, my 
idea is to force my iaxmodem to a lower fixed speed so the sender is 
oblidged to negotiate at that speed (or lower, of course) without the 
customer could realize it, at least at first. :)
There is no ATA in the middle (I'm using it for my tests but my customer 
does not have any), all faxes are received thru a primary channel to a 
bunch of iaxmodems. Sometimes some faxes are corrupted, that's why I 
thought to lower the speed. I could try to disable ECM but that's even 
harder to do (found nothing on internet).


Thank you

Giorgio


On 05/16/2012 07:24 PM, Steve Underwood wrote:

Hi,

On 05/16/2012 09:59 PM, Larry Moore wrote:

Read the subject line more closely.

Tested receiving too,

I set the Send  Receive speed of the receiving analogue modem to 
that below, the log file on the sending modem (iaxmodem) reported it 
capable of 9600.


May 16 21:32:04.28: [ 2335]: REMOTE best rate 9600 bit/s
May 16 21:32:04.28: [ 2335]: REMOTE max A3 page width (303 mm)
May 16 21:32:04.28: [ 2335]: REMOTE max unlimited page length
May 16 21:32:04.28: [ 2335]: REMOTE best vres R16 x 15.4 line/mm
May 16 21:32:04.28: [ 2335]: REMOTE format support: MH, MR, MMR
May 16 21:32:04.28: [ 2335]: REMOTE supports T.30 Annex A, 256-byte ECM
May 16 21:32:04.28: [ 2335]: REMOTE best 0 ms/scanline
May 16 21:32:04.28: [ 2335]: USE 9600 bit/s

Perhaps the issue is with Hylafax.

Setting the Transmit  Receive strings to !24,48,72,96 seems to 
yield the most reliability in transmission
If you have an ATA in the path that is often the case. Many of them 
badly mess up a FAX signal. Without such a distortion machine V.17 
should be fine.


Cheers,

Larry.

On 16/05/2012 7:23 PM, Larry Moore wrote:

I have iaxmodem version 1.2.0 installed on my system.

I have set the following in the IAX configuration file, SIGHUP'd 
FaxGetty and submitted a single page outbound fax via Asterisk;


Class1RMQueryCmd:   !24,48,72 # enable this to disable 
V.17 receiving
Class1TMQueryCmd:   !24,48,72 # enable this to disable 
V.17 sending


The resulting output from my T.38 Gateway reports the following;

-- Connection Statistics
Bit Rate :7200
ECM : No
Pages : 1
-- Hungup 'IAX2/iaxmodem0-11055'

I also tested with the maximum speed set to 4800, the image was 
received however the responses to EOP timed out, I don't know if the 
is to do with my Asterisk T.38 gateway or my VoIP providers T.38 
gateway. The result was the fax was retried for the defined number 
of attempts.


Cheers,

Larry.

On 16/05/2012 6:28 PM, gincantalupo wrote:

Hi all,

I'm trying to lower my iaxmodem speed but still I haven't found any 
solution...I tried to add

Class1RMQueryCmd:   !24,48,72
to config.IAXtty but does not work...Hylafax says it it running at 
9600 (sometimes at 14400) baud..
This is correct behaviour. The sending side has fine control over the 
modem modes it uses. The receiving side can only specify that V.27ter, 
or V.27ter+V.29 or V.27ter+V.29+V.17 are OK. So, if you allow the 
7200bps mode of V.29 you are compelled to allows the 9600bps mode too.


Steve

--
_
-- 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] how to set iaxmodem receiving speed

2012-05-17 Thread Larry Moore

On 17/05/2012 2:47 PM, gincantalupo wrote:

Hi Steve,

you are telling me there is no way to set a particular speed on my 
iaxmodem in order to force the sender speed?
I have some problems with a customer who gets malformed faxes even if 
no error occurs. Since I cannot tell the sender to lower its fax 
speed, my idea is to force my iaxmodem to a lower fixed speed so the 
sender is oblidged to negotiate at that speed (or lower, of course) 
without the customer could realize it, at least at first. :)
There is no ATA in the middle (I'm using it for my tests but my 
customer does not have any), all faxes are received thru a primary 
channel to a bunch of iaxmodems. Sometimes some faxes are corrupted, 
that's why I thought to lower the speed. I could try to disable ECM 
but that's even harder to do (found nothing on internet).




Hi Giorgio,

You may want to try these settings to set the most basic form of 
transmission on your receiving modems, I would however have thought, ECM 
being on would be better for you as it could then deal with lost frames.


Class1MRSupport:no
Class1MMRSupport:   no
Class1ECMSupport:   no

To set the ECM frame size to a lower value than the default of 64, you 
would set the following


Class1PersistentECM:yes
Class1ECMFrameSize: 64

Perhaps the corruption is occurring at the senders end before the data 
is pushed through the modem.


Cheers,

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] how to set iaxmodem receiving speed

2012-05-17 Thread Tim Nelson
- Original Message -
 Hi Steve,
 
 you are telling me there is no way to set a particular speed on my
 iaxmodem in order to force the sender speed?
 I have some problems with a customer who gets malformed faxes even if
 no
 error occurs. Since I cannot tell the sender to lower its fax speed,
 my
 idea is to force my iaxmodem to a lower fixed speed so the sender is
 oblidged to negotiate at that speed (or lower, of course) without the
 customer could realize it, at least at first. :)
 There is no ATA in the middle (I'm using it for my tests but my
 customer
 does not have any), all faxes are received thru a primary channel to
 a
 bunch of iaxmodems. Sometimes some faxes are corrupted, that's why I
 thought to lower the speed. I could try to disable ECM but that's
 even
 harder to do (found nothing on internet).
 

You're getting corrupted fax data and want to solve that problem by *disabling* 
ECM? That seems counter-intuitive to me...

How are your fax calls coming into your system 
(PSTN-???-Asterisk-IAXmodem-Hylafax)? If you have VoIP somewhere in the 
call path, you'll likely keep bashing your head on the table trying to fix 
problems that will never go away. Also, don't be afraid to recognize sometimes 
your side (as the receiver) is working perfectly well, and sometimes there just 
isn't anything you can do about senders on bad lines/sending over VoIP/etc. The 
quality of a fax session is only as good as the weakest link contained within 
that session, including the call path from sender to receiver.

--Tim

--
_
-- 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] how to set iaxmodem receiving speed

2012-05-17 Thread Steve Underwood

On 05/17/2012 02:47 PM, gincantalupo wrote:

Hi Steve,

you are telling me there is no way to set a particular speed on my 
iaxmodem in order to force the sender speed?
I have some problems with a customer who gets malformed faxes even if 
no error occurs. Since I cannot tell the sender to lower its fax 
speed, my idea is to force my iaxmodem to a lower fixed speed so the 
sender is oblidged to negotiate at that speed (or lower, of course) 
without the customer could realize it, at least at first. :)
There is no ATA in the middle (I'm using it for my tests but my 
customer does not have any), all faxes are received thru a primary 
channel to a bunch of iaxmodems. Sometimes some faxes are corrupted, 
that's why I thought to lower the speed. I could try to disable ECM 
but that's even harder to do (found nothing on internet).
You have a broken installation, and your response is to try to break it 
even more. Does that make sense?


Steve


--
_
-- 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] how to set iaxmodem receiving speed

2012-05-17 Thread gincantalupo

Hi guys, thanks for answers.

That could seem counter-intuitive but it is not. Not to mention the fact 
that information technology is not science, the solution to broken faxes 
is to lower down speed. This works even with normal telco lines even if 
you DO NOT have a pbx (telco technicians even say not to make faxes pass 
thru your PBX). I could ask my customer's telco to lower the speed down 
but it depends on the guy working at the call-center...sometime you talk 
to dummy people who ARE sure it is impossible. But it is not. So, I do 
not want to spend days to convince people working at that telco 
call-center that what I'm asking is feasible and I do not want to tell 
my customer to tell their customer to lower their faxes speed (before 
installing our PBX they were able to send perfect faxes so, why should 
they?).


My idea was to tell iaxmodem not to accept fast speed rates so the fax 
machine on the other side should be forced to negotiate a slower speed 
as if my customer fax weren't virtual as iaxmodem is but a real one.


I suspect that the problem is about the primary lines because I tested 
iaxmodem many times on my LAN and it is (surprisingly :) ) working fine 
(10 good received faxes out of 10 sent!!!) but, as you may know, talking 
to telco technician is a nightmarethey always say problems are 
always on the PBX side... :(


Moreover, after sending a fax, the fax machine beeps correctly as the 
fax was correctly sent without corruption. :o


I hope I have made my point but I'll try do dig deeper inside the 
problem as you suggested me.


Thank you. :)

Giorgio

On 05/17/2012 04:02 PM, Tim Nelson wrote:

- Original Message -

- Original Message -

Hi Steve,

you are telling me there is no way to set a particular speed on my
iaxmodem in order to force the sender speed?
I have some problems with a customer who gets malformed faxes even
if
no
error occurs. Since I cannot tell the sender to lower its fax
speed,
my
idea is to force my iaxmodem to a lower fixed speed so the sender
is
oblidged to negotiate at that speed (or lower, of course) without
the
customer could realize it, at least at first. :)
There is no ATA in the middle (I'm using it for my tests but my
customer
does not have any), all faxes are received thru a primary channel
to
a
bunch of iaxmodems. Sometimes some faxes are corrupted, that's why
I
thought to lower the speed. I could try to disable ECM but that's
even
harder to do (found nothing on internet).


You're getting corrupted fax data and want to solve that problem by
*disabling* ECM? That seems counter-intuitive to me...

How are your fax calls coming into your system
(PSTN-???-Asterisk-IAXmodem-Hylafax)? If you have VoIP somewhere
in the call path, you'll likely keep bashing your head on the table
trying to fix problems that will never go away. Also, don't be
afraid to recognize sometimes your side (as the receiver) is working
perfectly well, and sometimes there just isn't anything you can do
about senders on bad lines/sending over VoIP/etc. The quality of a
fax session is only as good as the weakest link contained within
that session, including the call path from sender to receiver.

Also, while there are some brilliant experienced people here on the Asterisk 
lists, you may have better luck and traction by heading over to the iaxmodem 
and hylafax mailing lists. Or, at least you may get a different audience with 
different ideas/experience.

--Tim

--
_
-- 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] how to set iaxmodem receiving speed

2012-05-17 Thread Andrew Furey
On 17 May 2012 22:40, gincantalupo gincantal...@fgasoftware.com wrote:
 That could seem counter-intuitive but it is not. Not to mention the fact
 that information technology is not science, the solution to broken faxes is
 to lower down speed. This works even with normal telco lines even if you DO
 NOT have a pbx (telco technicians even say not to make faxes pass thru your
 PBX). I could ask my customer's telco to lower the speed down but it depends
 on the guy working at the call-center...sometime you talk to dummy people
 who ARE sure it is impossible. But it is not. So, I do not want to spend
 days to convince people working at that telco call-center that what I'm
 asking is feasible and I do not want to tell my customer to tell their
 customer to lower their faxes speed (before installing our PBX they were
 able to send perfect faxes so, why should they?).

 My idea was to tell iaxmodem not to accept fast speed rates so the fax
 machine on the other side should be forced to negotiate a slower speed as if
 my customer fax weren't virtual as iaxmodem is but a real one.

 I suspect that the problem is about the primary lines because I tested
 iaxmodem many times on my LAN and it is (surprisingly :) ) working fine (10
 good received faxes out of 10 sent!!!) but, as you may know, talking to
 telco technician is a nightmarethey always say problems are always on
 the PBX side... :(

 Moreover, after sending a fax, the fax machine beeps correctly as the fax
 was correctly sent without corruption. :o

And as a matching data point, we use ActiveFax for sending (interfaced
from an ERP package) and often get Comm Error 283 and incomplete
faxes. If it's just making a bad situation worse, how is it that our
solution of turning off ECM mode fixes it 98% of the time? I'm
curious. (We know it's fixed as often we're the receiver, and we can
see the correct fax come through.)

Sometimes we lower the speed too (to 9600) but often simply disabling
ECM is the solution.

Regards,
Andrew

-- 
Linux supports the notion of a command line or a shell for the same
reason that only children read books with only pictures in them.
Language, be it English or something else, is the only tool flexible
enough to accomplish a sufficiently broad range of tasks.
                          -- Bill Garrett

--
_
-- 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] how to set iaxmodem receiving speed

2012-05-17 Thread Lee Howard

On 05/17/2012 07:40 AM, gincantalupo wrote:
That could seem counter-intuitive but it is not. Not to mention the 
fact that information technology is not science, the solution to 
broken faxes is to lower down speed.


The DSP algorithms change slightly between bitrates and considerably 
between modulations.  Changing the modulation/demodulation algorithms 
can many times avoid problems caused by some type of line audio 
disturbance.  This is why fax machines and fax applications are 
programmed to try various bitrates and modulations when training is 
failing at the default settings.


Because historically most fax machines have supported V.17 14400 bps as 
a default it became customary for support technicians to suggest 
slowing it down to 9600 bps.  (I think that the real intent here was 
to switch to V.29 9600 bps, but in practice it often results in V.17 
9600 bps.)  The purpose in this isn't really so that the communication 
takes longer (you can imagine that stretching-out data over a longer 
period would increase the likelihood of some audio disturbance affecting 
the demodulation), but instead I believe that the purpose in this 
recommendation is to cause a change in the DSP algorithms.


Now, disabling ECM (error correction) is just plain wrong as long as the 
ECM protocol is implemented properly on both ends.  If ECM protocol is 
implemented properly on both ends (and most are implemented well-enough 
that this applies to them) then ECM should be left enabled.  By 
disabling a well-implemented ECM feature you're essentially making the 
claim that the remote-side ECM protocol is broken.


If disabling ECM actually makes things work and you never get a 
corrupted fax image come through after that then it only means that one 
or both of the endpoints had faulty ECM protocol.


Some technicians (including those working for fax machine manufacturers) 
will recommend disabling ECM if faxes aren't getting through.  While 
this may have originated with the purpose of avoiding problems in faulty 
ECM protocol I think that any regular use of this suggestion is simply 
to get the customer to go away.  The customer will see a page come 
through with streaks and lines, but it will be successful, and so 
they'll unfortunately be happy with that enough to let the technician 
off-the-hook with the disable ECM advice instead of actually fixing 
the real problem (either getting the line audio quality problem 
corrected or fixing the broken ECM protocol).


My idea was to tell iaxmodem not to accept fast speed rates so the fax 
machine on the other side should be forced to negotiate a slower speed 


And what you were doing with the HylaFAX modem config file for the 
iaxmodem should have worked to do this.  Why it wasn't working can only 
be determined by investigating your installation.


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] how to set iaxmodem receiving speed

2012-05-17 Thread Lee Howard

On 05/17/2012 07:53 AM, Andrew Furey wrote:
we use ActiveFax for sending (interfaced from an ERP package) and 
often get Comm Error 283 and incomplete faxes. If it's just making a 
bad situation worse, how is it that our solution of turning off ECM 
mode fixes it 98% of the time? I'm curious.


Because apparently the ECM protocol in ActiveFax is broken.

If disabling a feature that is designed to *improve* fax reliability and 
performance actually does the opposite, then there's no other 
explanation than to conclude that the implementation of that feature is 
broken in the product you're using.


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] how to set iaxmodem receiving speed

2012-05-17 Thread Tim Nelson
- Original Message -
 Hi guys, thanks for answers.
 
 That could seem counter-intuitive but it is not. Not to mention the
 fact
 that information technology is not science, 

Huh? It is indeed very much a science. You have known established facts, 
processes, concepts, methods for testing and implementing those elements.

 the solution to broken faxes
 is to lower down speed. This works even with normal telco lines even

*Sometimes* lowering speeds can help get faxes through, but you're missing the 
big picture. Fax is sensitive to latency, jitter, timing, interference, audio 
clipping, etc. Simply lowering your speed will not magically make all of those 
issues go away. You need to be looking at finding a solution to the root cause 
of the problem, not throwing some odd ideas at the symptoms.

 if
 you DO NOT have a pbx (telco technicians even say not to make faxes
 pass
 thru your PBX). I could ask my customer's telco to lower the speed
 down

How would the telco lower the speed of your customer's fax gear? Unless they 
have direct control of it, or are providing some sort of T.38-T.30 service, 
the only way I can think of is they would have to introduce a problem on the 
line that would force the fax sender/receiver to force a lower speed during 
normal negotiation. Someone please correct me if I'm wrong?

 but it depends on the guy working at the call-center...sometime you
 talk
 to dummy people who ARE sure it is impossible. But it is not. So, I
 do
 not want to spend days to convince people working at that telco
 call-center that what I'm asking is feasible and I do not want to
 tell
 my customer to tell their customer to lower their faxes speed (before
 installing our PBX they were able to send perfect faxes so, why
 should
 they?).

Again, your PBX/equipment/whatever can be 100% the best, most reliable system 
ever to be installed. BUT, if you have senders that are on poor lines, running 
over VoIP, or have a multitude of other issues, the problem lies with them. 
There is not much you can do to solve this.

 
 My idea was to tell iaxmodem not to accept fast speed rates so the
 fax
 machine on the other side should be forced to negotiate a slower
 speed
 as if my customer fax weren't virtual as iaxmodem is but a real one.
 
 I suspect that the problem is about the primary lines because I
 tested
 iaxmodem many times on my LAN and it is (surprisingly :) ) working
 fine

Yes, performance *can* be good on an unloaded LAN. But again, it is fax over 
VoIP which means tomorrow it may not work because Jim Bob over in accounting is 
updating Windows, watching Youtube, downloading some music via Bittorrent, and 
backing up his machine to the fileserver. Point being, network performance is 
100% responsible for your local IAXmodem experience over the LAN. :)

 (10 good received faxes out of 10 sent!!!) but, as you may know,
 talking
 to telco technician is a nightmarethey always say problems are
 always on the PBX side... :(

I'm sure that is standard procedure. If you were in their shoes, would you want 
to deal with every possible PBX issue that comes around? I'm not saying it's 
right, just that's the way it is. 

 
 Moreover, after sending a fax, the fax machine beeps correctly as the
 fax was correctly sent without corruption. :o

No, the fax machine beeps to say the fax was *SENT*. Whether or not there was 
any corruption is entirely up to the sender/receiver to determine, typically 
with copy quality checking or ECM.

 
 I hope I have made my point but I'll try do dig deeper inside the
 problem as you suggested me.
 

A point was indeed made.

--Tim

--
_
-- 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] how to set iaxmodem receiving speed

2012-05-17 Thread Tim Nelson
- Original Message -
 On 05/17/2012 07:53 AM, Andrew Furey wrote:
  we use ActiveFax for sending (interfaced from an ERP package) and
  often get Comm Error 283 and incomplete faxes. If it's just making
  a
  bad situation worse, how is it that our solution of turning off ECM
  mode fixes it 98% of the time? I'm curious.
 
 Because apparently the ECM protocol in ActiveFax is broken.
 
 If disabling a feature that is designed to *improve* fax reliability
 and
 performance actually does the opposite, then there's no other
 explanation than to conclude that the implementation of that feature
 is
 broken in the product you're using.
 

I was about to write a response to this, you nailed it on the head. :)

--Tim

--
_
-- 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] how to set iaxmodem receiving speed

2012-05-16 Thread gincantalupo

Hi all,

I'm trying to lower my iaxmodem speed but still I haven't found any 
solution...I tried to add
Class1RMQueryCmd:   !24,48,72
to config.IAXtty but does not work...Hylafax says it it running at 9600 
(sometimes at 14400) baud..

Any ideas?

Thank you.

Giorgio

--
_
-- 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] how to set iaxmodem receiving speed

2012-05-16 Thread Larry Moore

I have iaxmodem version 1.2.0 installed on my system.

I have set the following in the IAX configuration file, SIGHUP'd 
FaxGetty and submitted a single page outbound fax via Asterisk;


Class1RMQueryCmd:   !24,48,72 # enable this to disable V.17 
receiving
Class1TMQueryCmd:   !24,48,72 # enable this to disable V.17 
sending


The resulting output from my T.38 Gateway reports the following;

-- Connection Statistics
Bit Rate :7200
ECM : No
Pages : 1
-- Hungup 'IAX2/iaxmodem0-11055'

I also tested with the maximum speed set to 4800, the image was received 
however the responses to EOP timed out, I don't know if the is to do 
with my Asterisk T.38 gateway or my VoIP providers T.38 gateway. The 
result was the fax was retried for the defined number of attempts.


Cheers,

Larry.

On 16/05/2012 6:28 PM, gincantalupo wrote:

Hi all,

I'm trying to lower my iaxmodem speed but still I haven't found any 
solution...I tried to add
Class1RMQueryCmd:   !24,48,72
to config.IAXtty but does not work...Hylafax says it it running at 9600 
(sometimes at 14400) baud..

Any ideas?

Thank you.

Giorgio


--
_
-- 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] how to set iaxmodem receiving speed

2012-05-16 Thread Larry Moore

Read the subject line more closely.

Tested receiving too,

I set the Send  Receive speed of the receiving analogue modem to that 
below, the log file on the sending modem (iaxmodem) reported it capable 
of 9600.


May 16 21:32:04.28: [ 2335]: REMOTE best rate 9600 bit/s
May 16 21:32:04.28: [ 2335]: REMOTE max A3 page width (303 mm)
May 16 21:32:04.28: [ 2335]: REMOTE max unlimited page length
May 16 21:32:04.28: [ 2335]: REMOTE best vres R16 x 15.4 line/mm
May 16 21:32:04.28: [ 2335]: REMOTE format support: MH, MR, MMR
May 16 21:32:04.28: [ 2335]: REMOTE supports T.30 Annex A, 256-byte ECM
May 16 21:32:04.28: [ 2335]: REMOTE best 0 ms/scanline
May 16 21:32:04.28: [ 2335]: USE 9600 bit/s

Perhaps the issue is with Hylafax.

Setting the Transmit  Receive strings to !24,48,72,96 seems to yield 
the most reliability in transmission


Cheers,

Larry.

On 16/05/2012 7:23 PM, Larry Moore wrote:

I have iaxmodem version 1.2.0 installed on my system.

I have set the following in the IAX configuration file, SIGHUP'd 
FaxGetty and submitted a single page outbound fax via Asterisk;


Class1RMQueryCmd:   !24,48,72 # enable this to disable V.17 
receiving
Class1TMQueryCmd:   !24,48,72 # enable this to disable V.17 
sending


The resulting output from my T.38 Gateway reports the following;

-- Connection Statistics
Bit Rate :7200
ECM : No
Pages : 1
-- Hungup 'IAX2/iaxmodem0-11055'

I also tested with the maximum speed set to 4800, the image was 
received however the responses to EOP timed out, I don't know if the 
is to do with my Asterisk T.38 gateway or my VoIP providers T.38 
gateway. The result was the fax was retried for the defined number of 
attempts.


Cheers,

Larry.

On 16/05/2012 6:28 PM, gincantalupo wrote:

Hi all,

I'm trying to lower my iaxmodem speed but still I haven't found any 
solution...I tried to add
Class1RMQueryCmd:   !24,48,72
to config.IAXtty but does not work...Hylafax says it it running at 9600 
(sometimes at 14400) baud..

Any ideas?

Thank you.

Giorgio


--
_
-- Bandwidth and Colocation Provided byhttp://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
--
_
-- 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] how to set iaxmodem receiving speed

2012-05-16 Thread gincantalupo

Hi Larry,

thank you for your answer.

This is same test I did. After this I lowered again to 4800...result: 
iaxmodem receives at 9600 b/s.that's why I cannot solve the puzzle.


I put that line (Class1RMQueryCmd:   !24,48,72) in config.IAXtty 
and tried other configuration files too but I always get faxes at 9600.


Thank you

Giorgio

On 05/16/2012 03:59 PM, Larry Moore wrote:

Read the subject line more closely.

Tested receiving too,

I set the Send  Receive speed of the receiving analogue modem to that 
below, the log file on the sending modem (iaxmodem) reported it 
capable of 9600.


May 16 21:32:04.28: [ 2335]: REMOTE best rate 9600 bit/s
May 16 21:32:04.28: [ 2335]: REMOTE max A3 page width (303 mm)
May 16 21:32:04.28: [ 2335]: REMOTE max unlimited page length
May 16 21:32:04.28: [ 2335]: REMOTE best vres R16 x 15.4 line/mm
May 16 21:32:04.28: [ 2335]: REMOTE format support: MH, MR, MMR
May 16 21:32:04.28: [ 2335]: REMOTE supports T.30 Annex A, 256-byte ECM
May 16 21:32:04.28: [ 2335]: REMOTE best 0 ms/scanline
May 16 21:32:04.28: [ 2335]: USE 9600 bit/s

Perhaps the issue is with Hylafax.

Setting the Transmit  Receive strings to !24,48,72,96 seems to 
yield the most reliability in transmission


Cheers,

Larry.

On 16/05/2012 7:23 PM, Larry Moore wrote:

I have iaxmodem version 1.2.0 installed on my system.

I have set the following in the IAX configuration file, SIGHUP'd 
FaxGetty and submitted a single page outbound fax via Asterisk;


Class1RMQueryCmd:   !24,48,72 # enable this to disable V.17 
receiving
Class1TMQueryCmd:   !24,48,72 # enable this to disable V.17 
sending


The resulting output from my T.38 Gateway reports the following;

-- Connection Statistics
Bit Rate :7200
ECM : No
Pages : 1
-- Hungup 'IAX2/iaxmodem0-11055'

I also tested with the maximum speed set to 4800, the image was 
received however the responses to EOP timed out, I don't know if the 
is to do with my Asterisk T.38 gateway or my VoIP providers T.38 
gateway. The result was the fax was retried for the defined number of 
attempts.


Cheers,

Larry.

On 16/05/2012 6:28 PM, gincantalupo wrote:

Hi all,

I'm trying to lower my iaxmodem speed but still I haven't found any 
solution...I tried to add
Class1RMQueryCmd:   !24,48,72
to config.IAXtty but does not work...Hylafax says it it running at 9600 
(sometimes at 14400) baud..

Any ideas?

Thank you.

Giorgio


--
_
-- Bandwidth and Colocation Provided byhttp://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 byhttp://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


--
_
-- 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] how to set iaxmodem receiving speed

2012-05-16 Thread gincantalupo

Hi Larry,

I forgot to mention I tried to set ModemRate at 4800 as well but without 
success.


Giorgio

--
_
-- 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] how to set iaxmodem receiving speed

2012-05-16 Thread Patrick Lists
On 16-05-12 17:10, gincantalupo wrote:
 Hi Larry,
 
 thank you for your answer.
 
 This is same test I did. After this I lowered again to 4800...result:
 iaxmodem receives at 9600 b/s.that's why I cannot solve the puzzle.
 
 I put that line (Class1RMQueryCmd:   !24,48,72) in config.IAXtty
 and tried other configuration files too but I always get faxes at 9600.

Did you restart iaxmodem and hylafax after you made those changes?

Regards,
Patrick

--
_
-- 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] how to set iaxmodem receiving speed

2012-05-16 Thread gincantalupo

Hi Patrick,

of course I did. Stopped hylafax, killed iaxmodem process, re-started 
iaxmodem then hylafax.


Result:

 Time To Receive: 0:00:14
 Signal Rate: 9600 bit/s
 Data Format: 2-D MMR
   Error Correct: Yes


:(

At the very beginning before starting every kind of test, inside my 
hylafax/config/iaxmodem I added:
Class1RMQueryCmd:   !24,48# V.17 fast-train recv doesn't 
work well
Class1TMQueryCmd:   !24,48# V.17 fast-train recv doesn't 
work well


Giorgio

On 05/16/2012 05:33 PM, Patrick Lists wrote:

On 16-05-12 17:10, gincantalupo wrote:

Hi Larry,

thank you for your answer.

This is same test I did. After this I lowered again to 4800...result:
iaxmodem receives at 9600 b/s.that's why I cannot solve the puzzle.

I put that line (Class1RMQueryCmd:   !24,48,72) in config.IAXtty
and tried other configuration files too but I always get faxes at 9600.

Did you restart iaxmodem and hylafax after you made those changes?

Regards,
Patrick

--
_
-- 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] how to set iaxmodem receiving speed

2012-05-16 Thread Steve Underwood

Hi,

On 05/16/2012 09:59 PM, Larry Moore wrote:

Read the subject line more closely.

Tested receiving too,

I set the Send  Receive speed of the receiving analogue modem to that 
below, the log file on the sending modem (iaxmodem) reported it 
capable of 9600.


May 16 21:32:04.28: [ 2335]: REMOTE best rate 9600 bit/s
May 16 21:32:04.28: [ 2335]: REMOTE max A3 page width (303 mm)
May 16 21:32:04.28: [ 2335]: REMOTE max unlimited page length
May 16 21:32:04.28: [ 2335]: REMOTE best vres R16 x 15.4 line/mm
May 16 21:32:04.28: [ 2335]: REMOTE format support: MH, MR, MMR
May 16 21:32:04.28: [ 2335]: REMOTE supports T.30 Annex A, 256-byte ECM
May 16 21:32:04.28: [ 2335]: REMOTE best 0 ms/scanline
May 16 21:32:04.28: [ 2335]: USE 9600 bit/s

Perhaps the issue is with Hylafax.

Setting the Transmit  Receive strings to !24,48,72,96 seems to 
yield the most reliability in transmission
If you have an ATA in the path that is often the case. Many of them 
badly mess up a FAX signal. Without such a distortion machine V.17 
should be fine.


Cheers,

Larry.

On 16/05/2012 7:23 PM, Larry Moore wrote:

I have iaxmodem version 1.2.0 installed on my system.

I have set the following in the IAX configuration file, SIGHUP'd 
FaxGetty and submitted a single page outbound fax via Asterisk;


Class1RMQueryCmd:   !24,48,72 # enable this to disable V.17 
receiving
Class1TMQueryCmd:   !24,48,72 # enable this to disable V.17 
sending


The resulting output from my T.38 Gateway reports the following;

-- Connection Statistics
Bit Rate :7200
ECM : No
Pages : 1
-- Hungup 'IAX2/iaxmodem0-11055'

I also tested with the maximum speed set to 4800, the image was 
received however the responses to EOP timed out, I don't know if the 
is to do with my Asterisk T.38 gateway or my VoIP providers T.38 
gateway. The result was the fax was retried for the defined number of 
attempts.


Cheers,

Larry.

On 16/05/2012 6:28 PM, gincantalupo wrote:

Hi all,

I'm trying to lower my iaxmodem speed but still I haven't found any 
solution...I tried to add
Class1RMQueryCmd:   !24,48,72
to config.IAXtty but does not work...Hylafax says it it running at 9600 
(sometimes at 14400) baud..
This is correct behaviour. The sending side has fine control over the 
modem modes it uses. The receiving side can only specify that V.27ter, 
or V.27ter+V.29 or V.27ter+V.29+V.17 are OK. So, if you allow the 
7200bps mode of V.29 you are compelled to allows the 9600bps mode too.


Steve

--
_
-- 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] how to set iaxmodem receiving speed

2012-05-16 Thread Larry Moore



On 17/05/2012 1:24 AM, Steve Underwood wrote:

Hi,

On 05/16/2012 09:59 PM, Larry Moore wrote:

Read the subject line more closely.

Tested receiving too,

I set the Send  Receive speed of the receiving analogue modem to 
that below, the log file on the sending modem (iaxmodem) reported it 
capable of 9600.


May 16 21:32:04.28: [ 2335]: REMOTE best rate 9600 bit/s
May 16 21:32:04.28: [ 2335]: REMOTE max A3 page width (303 mm)
May 16 21:32:04.28: [ 2335]: REMOTE max unlimited page length
May 16 21:32:04.28: [ 2335]: REMOTE best vres R16 x 15.4 line/mm
May 16 21:32:04.28: [ 2335]: REMOTE format support: MH, MR, MMR
May 16 21:32:04.28: [ 2335]: REMOTE supports T.30 Annex A, 256-byte ECM
May 16 21:32:04.28: [ 2335]: REMOTE best 0 ms/scanline
May 16 21:32:04.28: [ 2335]: USE 9600 bit/s

Perhaps the issue is with Hylafax.

Setting the Transmit  Receive strings to !24,48,72,96 seems to 
yield the most reliability in transmission
If you have an ATA in the path that is often the case. Many of them 
badly mess up a FAX signal. Without such a distortion machine V.17 
should be fine.


The receiving analogue modem is directly connected to the PSTN network 
and was used to to determine if the reported issue could be reproduced 
on a non-iaxmodem.


My outgoing connections were through an iaxmodem with T.38 gateway 
enabled and disabled, with most successful transmissions being when T.38 
gateway was used.


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