Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Callweaver-users] phaseestatus and fax retransmission


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> CallWeaver Users
View previous topic :: View next topic  
Author Message
moiseev.igor at gmail.com
Guest





PostPosted: Tue Jan 05, 2010 11:20 am    Post subject: [Callweaver-users] phaseestatus and fax retransmission Reply with quote

Hello, we're developing the web panel for fax transmission via
internet with Callweaver + Spandsp

The problem that we was encountered is the following that some fax
have to be retransmitted due to some connection/transmission errors.
As I understand, on transmission the Spandsp/Callweaver returns the
value of PHASE into PHASEESTATUS variable with code of error described
in the header file "spandsp/t30.h".
There are about 62 types of errors divided in 7 groups. Until now
everything is perfectly clear.
Now the question is

Is possible to define the groups of PHASE values which should generate
the retransmission of fax?

Explanation of some errors like

2 - Timed out waiting for initial communication
49 - The call dropped prematurely
etc.

means that the fax transmission failed during the current session and
MUST be retransmitted. So the second question is

Is there any expanded manual/list of PHASE errors description which
explains the meaning of every error in more profound way, not just "17
- Received a DCN while waiting for a DIS"???

Thank you.
Igor.
_______________________________________________
Callweaver-users mailing list
Callweaver-users@callweaver.org
http://lists.callweaver.org/mailman/listinfo/callweaver-users
Back to top
mjagdis at eris-associ...
Guest





PostPosted: Thu Jan 07, 2010 7:45 am    Post subject: [Callweaver-users] phaseestatus and fax retransmission Reply with quote

On Tue, Jan 05, 2010 at 04:52:14PM +0100, Igor Moiseev wrote:
Quote:
[...]
Is possible to define the groups of PHASE values which should generate
the retransmission of fax?

"Far end is not...", "Far end cannot...", "Far end... not acceptable"
and all the TIFF file errors are things that indicate a simple retry is
surely not going to get any further.

All other errors are basically "something went wrong" to anyone who
just wants to send a fax. It may be a disagreement between the end
points as to what the spec says, it may just be a noisy line. Pages may
have been received and printed at the remote or they may simply have
been discarded with no indication that an attempt was ever received. So
_limited_ retries are probably worth attempting but don't go overboard
(it's really annoying to keep getting all but the last page of a fax
over and over and over... Smile )

Quote:
[...]
Explanation of some errors like

2 - Timed out waiting for initial communication
49 - The call dropped prematurely
etc.

means that the fax transmission failed during the current session and
MUST be retransmitted. So the second question is

Is there any expanded manual/list of PHASE errors description which
explains the meaning of every error in more profound way, not just "17
- Received a DCN while waiting for a DIS"???

If you read all the standards Smile. They all amount to "fail" anyway. The
precise reasons why a timer expired or the two devices got out of step
tend to be unimportant unless you're trying to debug the protocol stack
on one of them. Just do the <n> retries at an exponentially increasing
intervals thing. If it still fails get a human to ask, "Is there a
problem with your phone lines?", "Do you have a different model of fax
machine we could try?", "Have you heard of email?", "Please login to our
website and download...".

Ironically enough, last time I needed to send a fax I was able to send
it via the remote party's email-to-fax gateway so they faxed it
internally to themselves. Apparently just printing it out wasn't good
enough?!?

Mike

--
Mike Jagdis Web: http://www.eris-associates.co.uk
Eris Associates Limited Tel: +44 7780 608 368
Reading, England Fax: +44 118 926 6974
_______________________________________________
Callweaver-users mailing list
Callweaver-users@callweaver.org
http://lists.callweaver.org/mailman/listinfo/callweaver-users
Back to top
moiseev.igor at gmail.com
Guest





PostPosted: Thu Jan 07, 2010 9:00 am    Post subject: [Callweaver-users] phaseestatus and fax retransmission Reply with quote

Thank again Mike.I just selected all the errors that happened until now (it's about 30% of the whole list) and selected manually which error generated the resend with a default policy NO resend!! Hope that it will work for me.


Quote:
Ironically enough, last time I needed to send a fax I was able to send
 it via the remote party's email-to-fax gateway so they faxed it
 internally to themselves. Apparently just printing it out wasn't good
 enough?!?

In Italy it's an usual staff Smile) Bureaucracy.


Thanks again.
Igor.
PS. If anyone need the DB structure/data with PHASE status of Spandsp just ask!!

2010/1/7 Mike Jagdis <mjagdis@eris-associates.co.uk (mjagdis@eris-associates.co.uk)>
Quote:
On Tue, Jan 05, 2010 at 04:52:14PM +0100, Igor Moiseev wrote:
Quote:
[...]
Is possible to define the groups of PHASE values which should generate
the retransmission of fax?


"Far end is not...", "Far end cannot...", "Far end... not acceptable"
and all the TIFF file errors are things that indicate a simple retry is
surely not going to get any further.

All other errors are basically "something went wrong" to anyone who
just wants to send a fax. It may be a disagreement between the end
points as to what the spec says, it may just be a noisy line. Pages may
have been received and printed at the remote or they may simply have
been discarded with no indication that an attempt was ever received. So
_limited_ retries are probably worth attempting but don't go overboard
(it's really annoying to keep getting all but the last page of a fax
over and over and over... Smile )

Quote:
[...]
Explanation of some errors like

2 - Timed out waiting for initial communication
49 - The call dropped prematurely
etc.

means that the fax transmission failed during the current session and
MUST be retransmitted. So the second question is

Is there any expanded manual/list of PHASE errors description which
explains the meaning of every error in more profound way, not just "17
- Received a DCN while waiting for a DIS"???


If you read all the standards Smile. They all amount to "fail" anyway. The
precise reasons why a timer expired or the two devices got out of step
tend to be unimportant unless you're trying to debug the protocol stack
on one of them. Just do the <n> retries at an exponentially increasing
intervals thing. If it still fails get a human to ask, "Is there a
problem with your phone lines?", "Do you have a different model of fax
machine we could try?", "Have you heard of email?", "Please login to our
website and download...".

Ironically enough, last time I needed to send a fax I was able to send
it via the remote party's email-to-fax gateway so they faxed it
internally to themselves. Apparently just printing it out wasn't good
enough?!?

Mike

--
Mike Jagdis                        Web: http://www.eris-associates.co.uk
Eris Associates Limited            Tel: +44 7780 608 368
Reading, England                   Fax: +44 118 926 6974
_______________________________________________
Callweaver-users mailing list
Callweaver-users@callweaver.org (Callweaver-users@callweaver.org)
http://lists.callweaver.org/mailman/listinfo/callweaver-users
Back to top
tnelson at fudnet.net
Guest





PostPosted: Fri Jan 08, 2010 1:19 pm    Post subject: [Callweaver-users] phaseestatus and fax retransmission Reply with quote

Greetings Igor-

I'd be interested in a copy of your DB structure/data with phase info. Can you email it to me?

Thanks!

Tim

----- Original Message -----
From: "Igor Moiseev" <moiseev.igor@gmail.com>
To: "Users Mailing List - Non-Commercial Discussion" <callweaver-users@callweaver.org>
Sent: Thursday, January 7, 2010 7:59:52 AM
Subject: Re: [Callweaver-users] phaseestatus and fax retransmission

Thank again Mike.I just selected all the errors that happened until now (it's about 30% of the whole list) and selected manually which error generated the resend with a default policy NO resend!! Hope that it will work for me.


Quote:
Ironically enough, last time I needed to send a fax I was able to send
it via the remote party's email-to-fax gateway so they faxed it
internally to themselves. Apparently just printing it out wasn't good
enough?!?

In Italy it's an usual staff Smile) Bureaucracy.


Thanks again.
Igor.
PS. If anyone need the DB structure/data with PHASE status of Spandsp just ask!!
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> CallWeaver Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services