[asterisk-users] fax settings for audiocodes mp series fxs gateway and asterisk

2021-06-15 Thread Israel Gottlieb
Hi all

Does anyone have working settings for a audiocodes fxs gateway behind a
firewall to send faxes
thru asterisk not behind nat
i have tried multiple settings and haven't gotten it to work even partially
thanks,
israel
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Fax faling on PJSip

2017-01-03 Thread Joshua Colp
On Tue, Dec 20, 2016, at 12:21 PM, Bryant Zimmerman wrote:
> I am working on moving from version 11 to version 13 for my fax 
> applications.
>  We are bumping into an issue where the bulk of the T38 faxes are
>  failing.
> 
> The sending test switch is reporting COMREC_ERR_TRANSMIT_PHASE
>   
>  These same faxes succeed on the 11 version of asterisk.
>  I am wondering if there are any ideas? COMREC_ERR_TRANSMIT_PHASE
>   
>  Both servers are running the same version of spandsp. The dialplan code
>  is 
> the same on both.
>   
>  The only difference is the versions of asterisk and pjsip on the 13 
> platform.

The state machine used for T.38 and the implementation is the same
between both. There should be no problems faxing (and indeed I just
checked and the tests are passing for that). I'd suggest opening an
issue[1] and providing a trace. There may be a particular scenario where
it is falling apart.

[1] https://issues.asterisk.org/jira

-- 
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] Fax faling on PJSip

2016-12-20 Thread Bryant Zimmerman
I am working on moving from version 11 to version 13 for my fax 
applications.
 We are bumping into an issue where the bulk of the T38 faxes are failing.

The sending test switch is reporting COMREC_ERR_TRANSMIT_PHASE
  
 These same faxes succeed on the 11 version of asterisk.
 I am wondering if there are any ideas? COMREC_ERR_TRANSMIT_PHASE
  
 Both servers are running the same version of spandsp. The dialplan code is 
the same on both.
  
 The only difference is the versions of asterisk and pjsip on the 13 
platform.
  
 Any ideas would be appreciated.
  
 Thanks

Bryant

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] FAX CNG detected but no fax extension

2016-11-29 Thread Harel
Hi Kevin,

Thank you for your detailed answer which explained some basics of what I need 
to know about fax.

So if I have a number which is dedicated for fax I could actually do without 
faxdetect=yes in sip.conf, right?

John, thank you for your input as well.  Indeed I’ve noticed that the hangup() 
is never executed but it’s my habit  to put one in such small modules to avoid 
nasty  auto-fallthrough when you don’t expect it…

Kind Regards,

Harel Cohen
Director

Mayorcom Limited
Mobile:+350 58009379

Office: +350 2005

 <mailto:ha...@mayorcom.com> ha...@mayorcom.com

 

From: kevin.lar...@pioneerballoon.com [mailto:kevin.lar...@pioneerballoon.com] 
Sent: Tuesday, 29 November, 2016 5:24 PM
To: ha...@mayorcom.com; Asterisk Users Mailing List - Non-Commercial Discussion 
<asterisk-users@lists.digium.com>
Subject: Re: [asterisk-users] FAX CNG detected but no fax extension

 

> Hello,
> I have a question regarding incoming fax to local file (on the 
> Asterisk server).
> While the fax is received properly (I have the tiff file generated 
> as expected) I get the warning 'FAX CNG detected but no fax 
> extension' on the consol.
> 
> If the fax is received ok then what 'fax extension' does it expect 
> and what should I do there? 
> 
> My Setup:
> Sender -> Public PSTN -> provider -> SIP trunk (configured with 
> G711a) -> Asterisk (13.6.0)
> 
> My extension.conf on relevant section is this (obviously this is not
> production code):
> exten => s,1,Answer()
> same =>  n,Verbose(0, Attempt to Receive FAX)
> same =>  n,Set(FAXOPT(gateway)=no)
> same =>  n,ReceiveFax(/var/workspace/testfax.tiff,d)
> same =>  n,Hangup()
> 
> and 
> Server*CLI> module show like fax
> Module Description  
> Use Count  Status  Support Level
> res_fax.so Generic FAX Applications 
> 1  Running  core
> res_fax_spandsp.so Spandsp G.711 and T.38 FAX 
> Technologies  0  Running  extended
> 2 modules loaded

The good news is you don't really have anything wrong and as things are working 
as expected, you can ignore the warning if you so choose. 

What generates that error is that on your trunk, you have faxdetect=yes. This 
will cause Asterisk to listen in to all your calls on that trunk and try to 
detect a fax and if it finds it will redirect it to a fax extension to be 
handled as a fax. 

You have written a fax handler for your fax lines, but that doesn't stop the 
fax detection from trying to route it to an extension called fax. Since this 
doesn't exist in your case, you get the warning, but the fax is received 
because you are handling in the current path. 

Where things would actually break is if someone sent a fax to one of your voice 
lines. If you don't have a fax extension to send it to, the person being called 
would pick up to fax tones. If you do have a fax extension, they would get the 
call yanked from them and it would be sent over to the fax extension. In my 
particular case, testing shows I get about half a ring to my desk phone before 
the system determines fax call and sends it to the fax system. 
__
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
__

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] FAX CNG detected but no fax extension

2016-11-29 Thread Tech Support
Just an FYI, in the dialplan below, The ReceiveFax() application
receives the fax document and then automatically hangs up the call when it
is finished. That means Asterisk will then jump to the hangup extension in
the same context (if it exists) without executing any lines of code after
the ReceiveFax line (the Hangup() never gets executed).
Regards;
John V.   

-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Harel
Sent: Tuesday, November 29, 2016 7:00 AM
To: asterisk-users@lists.digium.com
Subject: [asterisk-users] FAX CNG detected but no fax extension

Hello,
I have a question regarding incoming fax to local file (on the Asterisk
server).
While the fax is received properly (I have the tiff file generated as
expected) I get the warning 'FAX CNG detected but no fax extension' on the
consol.

If the fax is received ok then what 'fax extension' does it expect and what
should I do there? 

My Setup:
Sender -> Public PSTN -> provider -> SIP trunk (configured with G711a) ->
Asterisk (13.6.0)

My extension.conf on relevant section is this (obviously this is not
production code):
exten => s,1,Answer()
same =>  n,Verbose(0, Attempt to Receive FAX)
same =>  n,Set(FAXOPT(gateway)=no)
same =>  n,ReceiveFax(/var/workspace/testfax.tiff,d)
same =>  n,Hangup()

and 
Server*CLI> module show like fax
Module Description  Use
Count  Status  Support Level
res_fax.so Generic FAX Applications 1
Running  core
res_fax_spandsp.so Spandsp G.711 and T.38 FAX Technologies  0
Running  extended
2 modules loaded

Thank you for your assistance,

Kind Regards,
Harel Cohen


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at:
https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

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 --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] FAX CNG detected but no fax extension

2016-11-29 Thread kevin . larsen
> Hello,
> I have a question regarding incoming fax to local file (on the 
> Asterisk server).
> While the fax is received properly (I have the tiff file generated 
> as expected) I get the warning 'FAX CNG detected but no fax 
> extension' on the consol.
> 
> If the fax is received ok then what 'fax extension' does it expect 
> and what should I do there? 
> 
> My Setup:
> Sender -> Public PSTN -> provider -> SIP trunk (configured with 
> G711a) -> Asterisk (13.6.0)
> 
> My extension.conf on relevant section is this (obviously this is not
> production code):
> exten => s,1,Answer()
> same =>  n,Verbose(0, Attempt to Receive FAX)
> same =>  n,Set(FAXOPT(gateway)=no)
> same =>  n,ReceiveFax(/var/workspace/testfax.tiff,d)
> same =>  n,Hangup()
> 
> and 
> Server*CLI> module show like fax
> Module Description 
> Use Count  Status  Support Level
> res_fax.so Generic FAX Applications 
> 1  Running  core
> res_fax_spandsp.so Spandsp G.711 and T.38 FAX 
> Technologies  0  Running  extended
> 2 modules loaded

The good news is you don't really have anything wrong and as things are 
working as expected, you can ignore the warning if you so choose.

What generates that error is that on your trunk, you have faxdetect=yes. 
This will cause Asterisk to listen in to all your calls on that trunk and 
try to detect a fax and if it finds it will redirect it to a fax extension 
to be handled as a fax.

You have written a fax handler for your fax lines, but that doesn't stop 
the fax detection from trying to route it to an extension called fax. 
Since this doesn't exist in your case, you get the warning, but the fax is 
received because you are handling in the current path.

Where things would actually break is if someone sent a fax to one of your 
voice lines. If you don't have a fax extension to send it to, the person 
being called would pick up to fax tones. If you do have a fax extension, 
they would get the call yanked from them and it would be sent over to the 
fax extension. In my particular case, testing shows I get about half a 
ring to my desk phone before the system determines fax call and sends it 
to the fax system.

__
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
__-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

[asterisk-users] FAX CNG detected but no fax extension

2016-11-29 Thread Harel
Hello,
I have a question regarding incoming fax to local file (on the Asterisk server).
While the fax is received properly (I have the tiff file generated as expected) 
I get the warning 'FAX CNG detected but no fax extension' on the consol.

If the fax is received ok then what 'fax extension' does it expect and what 
should I do there? 

My Setup:
Sender -> Public PSTN -> provider -> SIP trunk (configured with G711a) -> 
Asterisk (13.6.0)

My extension.conf on relevant section is this (obviously this is not production 
code):
exten => s,1,Answer()
same =>  n,Verbose(0, Attempt to Receive FAX)
same =>  n,Set(FAXOPT(gateway)=no)
same =>  n,ReceiveFax(/var/workspace/testfax.tiff,d)
same =>  n,Hangup()

and 
Server*CLI> module show like fax
Module Description  Use 
Count  Status  Support Level
res_fax.so Generic FAX Applications 1   
   Running  core
res_fax_spandsp.so Spandsp G.711 and T.38 FAX Technologies  0   
   Running  extended
2 modules loaded

Thank you for your assistance,

Kind Regards,
Harel Cohen


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] Fax failure - RTP too short

2016-08-29 Thread D'Arcy J.M. Cain
I tested my fax extension with some fax machines and they worked.  I
then pointed a client at it and the first two fax machines they tried
to send to failed with the following error.

WARNING[-1][C-00022893] res_rtp_asterisk.c: RTP Read too short

I am wondering if there might be some incompatibility with some fax
machines and not others.  Or, is there a setting that I am missing.

Note that even though it is a warning

Is there some way to increase the verbosity of sendfax?  Is there some
other place I should be examining?

I am using Asterisk 11.23 on a NetBSD system.  My extension looks
something like this:

exten => sendfax,1,Verbose(0,FAX ${faxfile} to ${destination})  
  same => n,Set(FAXOPT(headerinfo)=Fax from Acme Anvils)
  same => n,Set(FAXOPT(localstationid=55)
  same => n,SendFax(${faxfile})
  same => n,System(rm ${faxfile})
  same => n,Hangup()

Thanks.

-- 
D'Arcy J.M. Cain
System Administrator, Vex.Net
http://www.Vex.Net/ IM:da...@vex.net
VoIP: sip:da...@vex.net

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Join the Asterisk Community at the 13th AstriCon, September 27-29, 2016
  http://www.asterisk.org/community/astricon-user-conference

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] FAX Detection.

2016-02-24 Thread Carlos Chavez

On 2/24/16 12:10 PM, Aziz TestAccount wrote:

Hi All,

I'm looking for a PSTN Card that I can use with my Asterisk Server to 
achieve the following goal :


1. Detect FAX signal and route it to a specific extension.
2. Detect an incoming call from the same PSTN line and route it to IVR.

Do openvox FXO/FXS cards support this feature ? Is there any other 
brand that can be used with Asterisk and that is supporting this ?


Thanks in advance.


Fax detection is more of an Asterisk feature than the FXO card 
(although some cards have hardware detection).  All DAHDI/Asterisk 
compatible cards should be able to detect incoming faxes (if enabled via 
their chan_dahdi.conf configuration).  I have personally tested Digium, 
Sangoma, Openvox and Rhino cards and they can all detect incoming faxes 
and send them to the fax extension.


-- Telecomunicaciones Abiertas de México S.A. de C.V. Carlos Chávez 
+52 (55)9116-91161


--
_
-- 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] FAX Detection.

2016-02-24 Thread Telium Technical Support
Perhaps use T38 instead?  Would make your life a lot easier.  (And you can use 
a T38modem software).  

-- 
_
-- 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] FAX Detection.

2016-02-24 Thread Carlos Rojas
Hi

I have used sangoma cards, but I know that openvox, is shipper than Sangoma.

On Wed, Feb 24, 2016 at 1:10 PM, Aziz TestAccount 
wrote:

> Hi All,
>
> I'm looking for a PSTN Card that I can use with my Asterisk Server to
> achieve the following goal :
>
> 1. Detect FAX signal and route it to a specific extension.
> 2. Detect an incoming call from the same PSTN line and route it to IVR.
>
> Do openvox FXO/FXS cards support this feature ? Is there any other brand
> that can be used with Asterisk and that is supporting this ?
>
> Thanks in advance.
>
>
>
> --
> _
> -- 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

[asterisk-users] FAX Detection.

2016-02-24 Thread Aziz TestAccount
Hi All,

I'm looking for a PSTN Card that I can use with my Asterisk Server to
achieve the following goal :

1. Detect FAX signal and route it to a specific extension.
2. Detect an incoming call from the same PSTN line and route it to IVR.

Do openvox FXO/FXS cards support this feature ? Is there any other brand
that can be used with Asterisk and that is supporting this ?

Thanks in advance.
-- 
_
-- 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] Fax Header

2015-06-18 Thread Aşkın Yollu
Hi,
I am trying to add header to fax while sending fax. I can add some
information to header but some information added automatically (date and
page count). I want to format this information.

Header = Date | ${LOCALHEADERINFO} | ${FAXOPT(localstationid)} | Page Count

I can set LOCALHEADERINFO and FAXOPT(localstationid) but i cant find any
variable for Page Count and Date. How can i change this information.

Dialplan:
[asteriskgw_fax_live_with_header]
exten = s,1,Set(LOCALHEADERINFO=Sender ${CALLERID(number))
exten = s,n,Set(FAXOPT(localstationid)=SomeData)
exten = s,n,SendFAX(${FILEPATH},zdfs)

Thanks

-- 
Aşkın Yollu
http://blog.yollu.com
http://askin.ws
-- 
_
-- 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] Fax buffer overflow detected

2014-02-06 Thread Tech Support
All;

I'm running Asterisk 1.8.15-cert3 with the newest version of spandsp.
I've even tried unloading that and using Digium's FFA module but I receive
the same error on an outbound transmission:

 

[2014-02-06 14:35:14] ERROR[19066]: udptl.c:294 encode_open_type: UDPTL
(SIP/XXX_outbound-): Buffer overflow detected (59 + 127 
175)

 

I only get this with one specific upstream provider. Has anyone seen this
before? Any help at all would be greatly appreciated.

Regards;

John

 

 

-- 
_
-- 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] Fax buffer overflow detected

2014-02-06 Thread Larry Moore

On 7/02/2014 3:38 AM, Tech Support wrote:

All;

I’m running Asterisk 1.8.15-cert3 with the newest version of spandsp.
I’ve even tried unloading that and using Digium’s FFA module but I
receive the same error on an outbound transmission:

[2014-02-06 14:35:14] ERROR[19066]: udptl.c:294 encode_open_type: UDPTL
(SIP/XXX_outbound-): Buffer overflow detected (59 + 127
  175)

I only get this with one specific upstream provider. Has anyone seen
this before? Any help at all would be greatly appreciated.



Not sure if this relates to T38FaxMaxDatagram, here is an extract from a 
sample sip.conf file.


; In some cases, T.38 endpoints will provide a T38FaxMaxDatagram value 
(during T.38 setup) that
; is based on an incorrect interpretation of the T.38 recommendation, 
and results in failures
; because Asterisk does not believe it can send T.38 packets of a 
reasonable size to that
; endpoint (Cisco media gateways are one example of this situation). In 
these cases, during a
; T.38 call you will see warning messages on the console/in the logs 
from the Asterisk UDPTL
; stack complaining about lack of buffer space to send T.38 FAX packets. 
If this occurs, you
; can set an override (globally, or on a per-device basis) to make 
Asterisk ignore the
; T38FaxMaxDatagram value specified by the other endpoint, and use a 
configured value instead.
; This can be done by appending 'maxdatagram=value' to the t38pt_udptl 
configuration option,

; like this:
;
; t38pt_udptl = yes,fec,maxdatagram=400 ; Enables T.38 with FEC error 
correction and overrides
;   ; the other endpoint's provided 
value to assume we can
;   ; send 400 byte T.38 FAX packets 
to it.

;

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] fax - sound/tone - dealing with SPAM

2013-04-04 Thread Joseph

I receive several calls from this scamer: Senior SafeAlert
It is an automated call and they keep rotating their caller ID so it is harder 
to block them.

Does asterisk have a fax sound tone? If I block their number and play fax 
tone/sound maybe they will remove me from their calling list.
I've tried to call them but nothing helps. 


Any better ideas? They keep calling sometimes few times a day.


Their web site is http://www.seniorsafealert.com/

Registered through: GoDaddy.com, LLC (Domain Names | The World's Largest Domain 
Name Registrar - Go Daddy)
Domain Name: SENIORSAFEALERT.COM
Created on: 28-Aug-12
Expires on: 28-Aug-13
Last Updated on: 28-Aug-12

Registrant:
Sam Alure
8832 Thornbury Ln
Huntersville, North Carolina 28078
United States

Administrative Contact:
Alure, Sam seniorsafeal...@gmail.com
8832 Thornbury Ln
Huntersville, North Carolina 28078
United States
+1.7044972383

--
Joseph

--
_
-- 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] fax - sound/tone - dealing with SPAM

2013-04-04 Thread Mitul Limbani
Why dont u run a reverse dialer on the admin contacts phone number. Leave
him clueless as well.

Mitul
On Apr 5, 2013 1:25 AM, Joseph syscon...@gmail.com wrote:

 I receive several calls from this scamer: Senior SafeAlert
 It is an automated call and they keep rotating their caller ID so it is
 harder to block them.

 Does asterisk have a fax sound tone? If I block their number and play
 fax tone/sound maybe they will remove me from their calling list.
 I've tried to call them but nothing helps.
 Any better ideas? They keep calling sometimes few times a day.


 Their web site is 
 http://www.seniorsafealert.**com/http://www.seniorsafealert.com/

 Registered through: GoDaddy.com, LLC (Domain Names | The World's Largest
 Domain Name Registrar - Go Daddy)
 Domain Name: SENIORSAFEALERT.COM
 Created on: 28-Aug-12
 Expires on: 28-Aug-13
 Last Updated on: 28-Aug-12

 Registrant:
 Sam Alure
 8832 Thornbury Ln
 Huntersville, North Carolina 28078
 United States

 Administrative Contact:
 Alure, Sam seniorsafeal...@gmail.com
 8832 Thornbury Ln
 Huntersville, North Carolina 28078
 United States
 +1.7044972383

 --
 Joseph

 --
 __**__**_
 -- 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-**usershttp://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] fax - sound/tone - dealing with SPAM

2013-04-04 Thread Joseph

On 04/05/13 01:29, Mitul Limbani wrote:

  Why dont u run a reverse dialer on the admin contacts phone number.
  Leave him clueless as well.

  Mitul


Reverse dialer on 7044972383 ? 
What is going to do?


--
Joseph




  On Apr 5, 2013 1:25 AM, Joseph [1]syscon...@gmail.com wrote:

I receive several calls from this scamer: Senior SafeAlert
It is an automated call and they keep rotating their caller ID so it
is harder to block them.
Does asterisk have a fax sound tone? If I block their number and
play fax tone/sound maybe they will remove me from their calling
list.
I've tried to call them but nothing helps.
Any better ideas? They keep calling sometimes few times a day.
Their web site is [2]http://www.seniorsafealert.com/
Registered through: GoDaddy.com, LLC (Domain Names | The World's
Largest Domain Name Registrar - Go Daddy)
Domain Name: [3]SENIORSAFEALERT.COM
Created on: 28-Aug-12
Expires on: 28-Aug-13
Last Updated on: 28-Aug-12
Registrant:
Sam Alure
8832 Thornbury Ln
Huntersville, North Carolina 28078
United States
Administrative Contact:
Alure, Sam [4]seniorsafeal...@gmail.com
8832 Thornbury Ln
Huntersville, North Carolina 28078
United States
[5]+1.7044972383



--
_
-- 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] fax - sound/tone - dealing with SPAM

2013-04-04 Thread Doug Lytle
 It is an automated call and they keep rotating their caller ID so it is 
 harder to block them.

Automate it.

We have an extension that the operators forward calls to that add the number to 
the black list database.  

Doug

-- 
Ben Franklin quote:

Those who would give up Essential Liberty to purchase a little Temporary 
Safety, deserve neither Liberty nor Safety.

--
_
-- 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] fax - sound/tone - dealing with SPAM

2013-04-04 Thread Joseph

On 04/04/13 16:21, Doug Lytle wrote:

It is an automated call and they keep rotating their caller ID so it is harder 
to block them.


Automate it.

We have an extension that the operators forward calls to that add the number to 
the black list database.

Doug


Can you please share more details, is it done via dial plan?

--
Joseph

--
_
-- 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] fax - sound/tone - dealing with SPAM

2013-04-04 Thread Doug Lytle
 Can you please share more details, is it done via dial plan?

I'll post a portion of my dial plan when I get home from work.  It's currently 
for Asterisk 1.4 using the mysql command, I'm in the process of moving it to 
Asterisk 11 and func_odbc.

Doug

-- 
Ben Franklin quote:

Those who would give up Essential Liberty to purchase a little Temporary 
Safety, deserve neither Liberty nor Safety.

--
_
-- 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] fax - sound/tone - dealing with SPAM

2013-04-04 Thread Steve Edwards

On Thu, 4 Apr 2013, Joseph wrote:


I receive several calls from this scamer:...

Does asterisk have a fax sound tone? If I block their number and play 
fax tone/sound maybe they will remove me from their calling list.


The fax CNG may work. How about SIT?

http://en.wikipedia.org/wiki/Special_information_tones

--
Thanks in advance,
-
Steve Edwards   sedwa...@sedwards.com  Voice: +1-760-468-3867 PST
Newline  Fax: +1-760-731-3000

--
_
-- 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] fax - sound/tone - dealing with SPAM

2013-04-04 Thread Patrick Lists

On 04/04/2013 09:54 PM, Joseph wrote:

+1.7044972383


If that number is his actual number, maybe create a script that calls 
him 10 times an hour, every hour between 00:00 - 07:00am and plays 
screaming monkeys every time he picks up (or his voicemail kicks in).


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] fax - sound/tone - dealing with SPAM

2013-04-04 Thread Joseph

On 04/05/13 00:58, Patrick Lists wrote:

On 04/04/2013 09:54 PM, Joseph wrote:

+1.7044972383


If that number is his actual number, maybe create a script that calls
him 10 times an hour, every hour between 00:00 - 07:00am and plays
screaming monkeys every time he picks up (or his voicemail kicks in).

Regards,
Patrick


I'm not sure fighting evil with evil will do any good; but he has a 
1-800-number on his web-page so he has to pay for the call.
Utilizing asterisk to call his number 7/24 might teach him a lesson :-/

http://www.voip-info.org/wiki/view/Asterisk+auto-dial+out+deliver+message
Though, I'm not sure this would be the correct way to go.

--
Joseph

--
_
-- 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] fax - sound/tone - dealing with SPAM

2013-04-04 Thread Doug Lytle

Joseph wrote:
Can you please share more details, is it done via dial plan? 


We use extension 2000.


You'll need to added the 'check_blacklist' sub-routine to the inbound 
parts of your dial plan.




[tele_torture]

exten = 2000,1,GotoIf($[${CALLERID(number)} = 0]?7:2)
exten = 2000,n,Gosub(todays_date,s,1)
exten = 2000,n,Gosub(tele_query,s,1)
exten = 2000,n,NoOP(${torture.calls})
exten = 2000,n,GosubIf($[${torture.calls} = 1]?tele_insert,s,1)
exten = 2000,n,GosubIf($[${torture.calls} = 2]?tele_blacklist,s,1)


;*Death to telemarketers
exten = 2000,n,Answer()
exten = 2000,n,Set(CDR(userfield)=Torture)
exten = 2000,n,SetMusicOnHold(conference)
exten = 2000,n,WaitMusicOnHold(30)
exten = 2000,n,Wait(1.5)
exten = 2000,n,Playback(pls-hold-while-try)
exten = 2000,n,Ringing()
exten = 2000,n,Wait(25)
exten = 2000,n,Goto,10

[tele_query]

exten = s,1,Set(torture.calls=0)
exten = s,n,MYSQL(Connect connid localhost username 'password' torture)
exten = s,n,GosubIf($[${MYSQL_STATUS} = -1]?mysql_failed,s,6)
exten = s,n,MYSQL(Query resultid ${connid} SELECT phone \, calls \, name FROM 
Facility WHERE phone = ${CALLERID(number)})
exten = s,n,MYSQL(Fetch fetchid ${resultid} torture.phone torture.calls 
torture.name)
exten = s,n,MYSQL(Disconnect ${connid})
exten = s,n,MYSQL(Clear ${resultid})
exten = s,n,Set(torture.calls=${IF($[ ${torture.calls} = 1]?2:1)})
exten = s,n,Return()

[tele_insert]

exten = s,1,MYSQL(Connect connid 192.168.104.122 username 'password' torture)
exten = s,n,GosubIf($[${MYSQL_STATUS} = -1]?mysql_failed,s,6)
exten = s,n,MYSQL(Query resultid ${connid} INSERT INTO Facility set 
phone=${CALLERID(number)} \, calls=${torture.calls} \, 
name=${CALLERID(number)} \, time_date=${TODAY})
exten = s,n,MYSQL(Disconnect ${connid})

exten = s,n,System(/usr/local/bin/scripts/add_watchlist_email.sh 
opera...@mydomain.com ${CALLERID(number)} ${TODAY})
exten = s,n,Return()

[tele_blacklist]

exten = s,1,MYSQL(Connect connid 192.168.104.122 username 'password' 
blacklisted)
exten = s,n,GosubIf($[${MYSQL_STATUS} = -1]?mysql_failed,s,6)
exten = s,n,MYSQL(Query resultid ${connid} INSERT INTO Facility set 
phone=${CALLERID(number)} \, flag=YES \, note=Blacklisted by Tele-Torture 
- ${TODAY})
exten = s,n,MYSQL(Disconnect ${connid})

exten = s,n,System(/usr/local/bin/scripts/add_blacklist_email.sh 
opera...@mydomain.com ${CALLERID(number)} ${TODAY})
exten = s,n,Return()

[check_blacklist]

exten = s,1,GotoIf($[${CALLERID(num)} =  ]?2:3)
exten = s,n,Set(CALLERID(all)=Restricted 0)
exten = s,n,MYSQL(Connect connid localhost username 'password' blacklisted)
exten = s,n,GosubIf($[${MYSQL_STATUS} = -1]?mysql_failed,s,6)
exten = s,n,MYSQL(Query resultid ${connid} SELECT flag \, note FROM Facility 
WHERE phone = ${CALLERID(num)})
exten = s,n,MYSQL(Fetch fetchid ${resultid} results note)
exten = s,n,MYSQL(Disconnect ${connid})
exten = s,n,MYSQL(Clear ${resultid})
exten = s,n,Set(BLACKLISTED=${results})
exten = s,n,GotoIf($[${BLACKLISTED} = YES]?blacklisted,s,1)
exten = s,n,NoOP(Caller not blacklisted)
exten = s,n,Return

[blacklisted]

exten = s,1,NoOP(Caller: ${CALLERID(num)} is on the black list)
exten = s,n,NoOP(NOTE: ${note})
exten = s,n,Set(CDR(userfield)=Blacklisted)
exten = s,n,Zapateller(answer)
exten = s,n,Hangup(2)
--
_
-- 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] Fax Configuration

2012-11-06 Thread Chris Nighswonger
On Mon, Nov 5, 2012 at 10:43 PM, Vladimir Mikhelson v...@mikhelson.comwrote:


 My practical experience shows otherwise.  I am able to receive faxes on
 SIP lines pretty reliably with no T.38 support.  The biggest issue for
 me is CED tones detection.  If CED is detected then fax reception goes
 on with no problems.  I use this setup with both Asterisk receiving a
 fax and then e-mailing it to me as a PDF attachment


This has been my experience also (with fax reception). Incoming faxes work
for us nearly 100% of the time.

I have not messed with fax sending and so cannot comment on that.

Kind Regards,
Chris
--
_
-- 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] Fax Configuration

2012-11-06 Thread Roy Abshire

I got it working so thought I'd follow up!

Here is what I had to do...
I'm using Actuate 11 and had res_fax support already
I had to download, compile, and install res_fax_digium
I had to order a Free Fax License from digium for 1 channel
I had to change faxdetect=yes to faxdetect=cng in sip.conf or I would 
get an error...

I had to change my dialplan to Answer, Wait(2) before the Dial command.
I had to add a extension for fax or I'd get an error fax extension not 
found...


I created a fax-in dialplan and fax-in.pl to email me a PDF
I created a fax-out dialplan and fax-out.pl to send faxes

I created a Free account at googles hellofax.com to test receiving a fax-in.
I created a Free account at PopFax.com to test sending a fax-out.

It works even though my VOIP Provider, Flowroute, doesn't support T.38 Fax.
I just had to make sure I Answer and Wait(2) to detect the fax tone.

If anyone wants more details let me know.

Co-op Vacation Rentals
www.coopvr.com
15218 Summit Ave
Suite #300-354
Fontana, CA 92336
Phone/Fax (855) 760-COOP (2667)

On 11/6/2012 6:28 AM, Chris Nighswonger wrote:
On Mon, Nov 5, 2012 at 10:43 PM, Vladimir Mikhelson 
v...@mikhelson.com mailto:v...@mikhelson.com wrote:



My practical experience shows otherwise.  I am able to receive
faxes on
SIP lines pretty reliably with no T.38 support.  The biggest issue for
me is CED tones detection.  If CED is detected then fax reception goes
on with no problems.  I use this setup with both Asterisk receiving a
fax and then e-mailing it to me as a PDF attachment


This has been my experience also (with fax reception). Incoming faxes 
work for us nearly 100% of the time.


I have not messed with fax sending and so cannot comment on that.

Kind Regards,
Chris


--
_
-- 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] Fax Configuration

2012-11-06 Thread Vladimir Mikhelson
Roy,

Congratulations!

One comment and one question.

 1. I would consider increasing Wait from 2 to 3 or maybe even 4 seconds
for more reliable CED detection.  Some fax machines produce CED
tones not that frequently.
 2. What kind of error dd you receive with faxdetect=yes in sip.conf?  I
have faxdetect=yes in sip.conf and did not notice an error.

Thank you,
Vladimir




On 11/6/2012 10:22 AM, Roy Abshire wrote:
 I got it working so thought I'd follow up!

 Here is what I had to do...
 I'm using Actuate 11 and had res_fax support already
 I had to download, compile, and install res_fax_digium
 I had to order a Free Fax License from digium for 1 channel
 I had to change faxdetect=yes to faxdetect=cng in sip.conf or I would
 get an error...
 I had to change my dialplan to Answer, Wait(2) before the Dial command.
 I had to add a extension for fax or I'd get an error fax extension not
 found...

 I created a fax-in dialplan and fax-in.pl to email me a PDF
 I created a fax-out dialplan and fax-out.pl to send faxes

 I created a Free account at googles hellofax.com to test receiving a
 fax-in.
 I created a Free account at PopFax.com to test sending a fax-out.

 It works even though my VOIP Provider, Flowroute, doesn't support T.38
 Fax.
 I just had to make sure I Answer and Wait(2) to detect the fax tone.

 If anyone wants more details let me know.
 Co-op Vacation Rentals
 www.coopvr.com
 15218 Summit Ave 
 Suite #300-354
 Fontana, CA 92336
 Phone/Fax (855) 760-COOP (2667)
 On 11/6/2012 6:28 AM, Chris Nighswonger wrote:
 On Mon, Nov 5, 2012 at 10:43 PM, Vladimir Mikhelson
 v...@mikhelson.com mailto:v...@mikhelson.com wrote:


 My practical experience shows otherwise.  I am able to receive
 faxes on
 SIP lines pretty reliably with no T.38 support.  The biggest
 issue for
 me is CED tones detection.  If CED is detected then fax reception
 goes
 on with no problems.  I use this setup with both Asterisk receiving a
 fax and then e-mailing it to me as a PDF attachment


 This has been my experience also (with fax reception). Incoming faxes
 work for us nearly 100% of the time.

 I have not messed with fax sending and so cannot comment on that.

 Kind Regards,
 Chris



 --
 _
 -- 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

[asterisk-users] Fax Configuration

2012-11-05 Thread Roy Abshire

What is the best way for me to setup Fax Capability with VOIP only.

I have a Asterisk Server hosted on the internet without a modem. I'm 
using Flowroute, which is working awesome, for VOIP calls.


I only  have a SIP Phone at home and two Printer/Scanner/Fax Printers.

I'm not sure which Fax Addons or Extensions I should use for Asterisk.  
I'd like it to Self Detect on any line.


I also am not sure what or how I can connect a Network Only 
Printer/Scanner/Fax Machine at home to it.  It has a Telephone Jack but 
I'm only using VOIP.


I'm pretty advanced with Asterisk now and can figure things out..I would 
just like some advice and direction before I get started.


Oh, one more thing.  Is there any way to Route the Faxes to different 
folders (extensions) because I have End Users with Phone + Extensions 
when you call in.


--
Co-op Vacation Rentals
www.coopvr.com
15218 Summit Ave
Suite #300-354
Fontana, CA 92336
Phone/Fax (855) 760-COOP (2667)


--
_
-- 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] Fax Configuration

2012-11-05 Thread Lee Howard

On 11/05/2012 04:18 PM, Roy Abshire wrote:

What is the best way for me to setup Fax Capability with VOIP only.


You can use T.38, perhaps, if your VoIP provider supports it and you can 
get it working.  But unless you need faxes to go through the telephony 
system (i.e. you have fax machines hooked up to FXS ports) I'd recommend 
using an on-line fax service such as Mainpine's instead of trying to do 
fax over VoIP.


Fax over internet-strewn SIP generally isn't going to work very well.

I have a Asterisk Server hosted on the internet without a modem. I'm 
using Flowroute, which is working awesome, for VOIP calls.


I only  have a SIP Phone at home and two Printer/Scanner/Fax Printers.


So on your MFP you'll scan it instead of using the system's fax 
capability, and then fax it through the online service.


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] Fax Configuration

2012-11-05 Thread Vladimir Mikhelson
Roy,

Many will say that it all depends on your provider supporting T.38, and
that you should forget it otherwise.

My practical experience shows otherwise.  I am able to receive faxes on
SIP lines pretty reliably with no T.38 support.  The biggest issue for
me is CED tones detection.  If CED is detected then fax reception goes
on with no problems.  I use this setup with both Asterisk receiving a
fax and then e-mailing it to me as a PDF attachment and with a call
being forwarded to a fax machine extension which in turn is connected to
a Motorola ATA over another SIP connection.

I use FreePBX to set all that up as they provide pretty easy fax setup.

-Vladimir





On 11/5/2012 6:18 PM, Roy Abshire wrote:
 What is the best way for me to setup Fax Capability with VOIP only.

 I have a Asterisk Server hosted on the internet without a modem. I'm
 using Flowroute, which is working awesome, for VOIP calls.

 I only  have a SIP Phone at home and two Printer/Scanner/Fax Printers.

 I'm not sure which Fax Addons or Extensions I should use for
 Asterisk.  I'd like it to Self Detect on any line.

 I also am not sure what or how I can connect a Network Only
 Printer/Scanner/Fax Machine at home to it.  It has a Telephone Jack
 but I'm only using VOIP.

 I'm pretty advanced with Asterisk now and can figure things out..I
 would just like some advice and direction before I get started.

 Oh, one more thing.  Is there any way to Route the Faxes to different
 folders (extensions) because I have End Users with Phone + Extensions
 when you call in.



--
_
-- 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] Fax for Asterisk success rates?

2012-10-09 Thread Steve Underwood

On 10/09/2012 12:28 AM, Brett Lehrer wrote:

How many fax and voice calls (which codecs for tha latter ones ?) are on
average using your DSL line ?
1. Previously, I experienced failures during the process of converting
incoming PDF documents into ready-to-send fax image files while the reverse
process (from a fax file into a PDF or whatever document) never failed.
I would be curious to check if a greater failure rate for outbound faxing
(greater than inbound faxing failure rate) could simply comes from image
processing, before any transmission.
2. Though your DSL line may have enough bandwidth from your location to its
DSLAM, chances are packets are dropped or delivered too late for T.38
faxing.
An interesting test would be to use an Asterisk PBX hosted somewhere at
close range from netVortex fax gateways : that would remove most
networking issues out of the equation.

I'll have to look more closely into what codecs we traditionally use, but g.722 
up and ulaw down is common.  Generally don't have more than 2-3 calls active at 
once.  At most, 5, and that's a rarity.  Record for fax is 4 simultaneous 
send/receive, but typically just 1, maybe 2.  I imagine that's encroaching on 
the upper limits of the 768 kbps upspeed.  I've wondered about how lag might 
impact the problem but I just don't know how I'd go about testing it properly 
without spending a bunch of money on hosting.

I do my PDF - TIFF conversion on another machine with ghostscript.  Here's the 
line:

gs -q -dNOPAUSE -dBATCH -dSAFER -sDEVICE=tiffg4 -sOutputFile=TIFF_FILENAME -f 
PDF_FILENAME

I changed from tiffg3 to tiffg4 because the filesize got cut in half assuming 
that the less time spent transmitting, the less chance there was to run into a 
problem that might stop the fax.  However, most failures that I've looked at 
seem to occur immediately or fail to connect at all, rather than get cut off 
due to a hiccup in the connection.

Brett Lehrer

A FAX can only be sent in ECM mode when using tiffg4 format. It will 
have to be recoded into tiffg3 format if ECM is inhibited, which it far 
too often is. On the other hand, if you are using ECM any decent FAX 
system (e.g. spandsp) will recode into tiffg4, and really good ones 
(e.g. the very latest spandsp) may recoed into T.85/JBIG, for faster 
transmission times. Digium don't seem to specify what FFA does in this area.


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] Fax for Asterisk success rates?

2012-10-09 Thread sean darcy

On 10/09/2012 07:40 AM, Steve Underwood wrote:

On 10/09/2012 12:28 AM, Brett Lehrer wrote:

How many fax and voice calls (which codecs for tha latter ones ?) are on
average using your DSL line ?
1. Previously, I experienced failures during the process of converting
incoming PDF documents into ready-to-send fax image files while the
reverse
process (from a fax file into a PDF or whatever document) never failed.
I would be curious to check if a greater failure rate for outbound
faxing
(greater than inbound faxing failure rate) could simply comes from image
processing, before any transmission.
2. Though your DSL line may have enough bandwidth from your location
to its
DSLAM, chances are packets are dropped or delivered too late for T.38
faxing.
An interesting test would be to use an Asterisk PBX hosted somewhere at
close range from netVortex fax gateways : that would remove most
networking issues out of the equation.

I'll have to look more closely into what codecs we traditionally use,
but g.722 up and ulaw down is common.  Generally don't have more than
2-3 calls active at once.  At most, 5, and that's a rarity.  Record
for fax is 4 simultaneous send/receive, but typically just 1, maybe
2.  I imagine that's encroaching on the upper limits of the 768 kbps
upspeed.  I've wondered about how lag might impact the problem but I
just don't know how I'd go about testing it properly without spending
a bunch of money on hosting.

I do my PDF - TIFF conversion on another machine with ghostscript.
Here's the line:

gs -q -dNOPAUSE -dBATCH -dSAFER -sDEVICE=tiffg4
-sOutputFile=TIFF_FILENAME -f PDF_FILENAME

I changed from tiffg3 to tiffg4 because the filesize got cut in half
assuming that the less time spent transmitting, the less chance there
was to run into a problem that might stop the fax.  However, most
failures that I've looked at seem to occur immediately or fail to
connect at all, rather than get cut off due to a hiccup in the
connection.

Brett Lehrer


A FAX can only be sent in ECM mode when using tiffg4 format. It will
have to be recoded into tiffg3 format if ECM is inhibited, which it far
too often is. On the other hand, if you are using ECM any decent FAX
system (e.g. spandsp) will recode into tiffg4, and really good ones
(e.g. the very latest spandsp) may recoed into T.85/JBIG, for faster
transmission times. Digium don't seem to specify what FFA does in this
area.

Steve



A little puzzled. Do you mean:

1. tiffg4 encoded fax will(might?) fail if ECM is inhibited at either 
send or receive.


2. tiffg3 will work if ECM is inhibited.

3. If ECM is not inhibited, any decent fax system, will reencode tiffg3 
to tiffg4.


Therefore we should encode to tiffg3 and let spandsp determine if it 
should be rencoded to tiffg4 (or T.85/JBIG)?


sean


--
_
-- 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] Fax for Asterisk success rates?

2012-10-08 Thread Brett Lehrer
How many fax and voice calls (which codecs for tha latter ones ?) are on
average using your DSL line ?

1. Previously, I experienced failures during the process of converting
incoming PDF documents into ready-to-send fax image files while the reverse
process (from a fax file into a PDF or whatever document) never failed.

I would be curious to check if a greater failure rate for outbound faxing
(greater than inbound faxing failure rate) could simply comes from image
processing, before any transmission.

2. Though your DSL line may have enough bandwidth from your location to its
DSLAM, chances are packets are dropped or delivered too late for T.38
faxing.
An interesting test would be to use an Asterisk PBX hosted somewhere at
close range from netVortex fax gateways : that would remove most
networking issues out of the equation.

I'll have to look more closely into what codecs we traditionally use, but g.722 
up and ulaw down is common.  Generally don't have more than 2-3 calls active at 
once.  At most, 5, and that's a rarity.  Record for fax is 4 simultaneous 
send/receive, but typically just 1, maybe 2.  I imagine that's encroaching on 
the upper limits of the 768 kbps upspeed.  I've wondered about how lag might 
impact the problem but I just don't know how I'd go about testing it properly 
without spending a bunch of money on hosting.  

I do my PDF - TIFF conversion on another machine with ghostscript.  Here's the 
line:

gs -q -dNOPAUSE -dBATCH -dSAFER -sDEVICE=tiffg4 -sOutputFile=TIFF_FILENAME -f 
PDF_FILENAME

I changed from tiffg3 to tiffg4 because the filesize got cut in half assuming 
that the less time spent transmitting, the less chance there was to run into a 
problem that might stop the fax.  However, most failures that I've looked at 
seem to occur immediately or fail to connect at all, rather than get cut off 
due to a hiccup in the connection.

Brett Lehrer


--
_
-- 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] Fax for Asterisk success rates?

2012-10-04 Thread Brett Lehrer
I'm running Asterisk 1.8.11.1 and am connected to the nexVortex trunking 
service over a DSL line solely dedicated to VoIP usage.  For both incoming and 
outgoing faxes, I'm getting a failure rate of just over 25%, and over a handful 
of reasons.  

Is it natural to have this many problems on a completely digital configuration? 
 I'm trying to cut our analog phone line (because it's so expensive), but some 
fax machines just don't seem to ever accept a fax.  Many of the failures are on 
the same numbers, forcing me to fall back to an old analog fax machine just to 
make sure it actually gets through.

Has anyone else had any similar experiences, or is this indicative of a failure 
in the setup on my end (or even the trunking service)?

Brett Lehrer


--
_
-- 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] Fax for Asterisk success rates?

2012-10-04 Thread Logan Bibby
I had the same problem for a while. I found replacing fax machines with a
scanner and either an email-to-fax program or just web-based faxing had
better results. I don't want to tell you the gateway I used because they
turned out pretty badly in the end. But there is hope!

- Logan
On Oct 4, 2012 8:29 AM, Brett Lehrer brett.leh...@solarismed.com wrote:

 I'm running Asterisk 1.8.11.1 and am connected to the nexVortex trunking
 service over a DSL line solely dedicated to VoIP usage.  For both incoming
 and outgoing faxes, I'm getting a failure rate of just over 25%, and over a
 handful of reasons.

 Is it natural to have this many problems on a completely digital
 configuration?  I'm trying to cut our analog phone line (because it's so
 expensive), but some fax machines just don't seem to ever accept a fax.
  Many of the failures are on the same numbers, forcing me to fall back to
 an old analog fax machine just to make sure it actually gets through.

 Has anyone else had any similar experiences, or is this indicative of a
 failure in the setup on my end (or even the trunking service)?

 Brett Lehrer


 --
 _
 -- 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] Fax for Asterisk success rates?

2012-10-04 Thread Joshua Colp

Brett Lehrer wrote:

Hola,


I'm running Asterisk 1.8.11.1 and am connected to the nexVortex trunking 
service over a DSL line solely dedicated to VoIP usage.  For both incoming and 
outgoing faxes, I'm getting a failure rate of just over 25%, and over a handful 
of reasons.


I've never heard of that service so I unfortunately don't know the 
underlying equipment they are using for their service but it makes a 
*huge* difference.


T.38 (which I hope you are using as that increases the chances a bit 
more) implementations wildly differ in interoperability and how well 
they generally work. This is one of the big problems with doing fax over 
VoIP and why for some individuals it works great and why for others it 
just falls apart.



Is it natural to have this many problems on a completely digital configuration? 
 I'm trying to cut our analog phone line (because it's so expensive), but some 
fax machines just don't seem to ever accept a fax.  Many of the failures are on 
the same numbers, forcing me to fall back to an old analog fax machine just to 
make sure it actually gets through.


In a perfect world, no. In reality it depends as I mentioned above.


Has anyone else had any similar experiences, or is this indicative of a failure 
in the setup on my end (or even the trunking service)?


Without more information (like logs/etc) it's hard to isolate things and 
point fingers.


Cheers,

--
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at:  www.digium.com   www.asterisk.org

--
_
-- 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] Fax for Asterisk success rates?

2012-10-04 Thread Steve Underwood

On 10/04/2012 09:29 PM, Brett Lehrer wrote:

I'm running Asterisk 1.8.11.1 and am connected to the nexVortex trunking 
service over a DSL line solely dedicated to VoIP usage.  For both incoming and 
outgoing faxes, I'm getting a failure rate of just over 25%, and over a handful 
of reasons.

Is it natural to have this many problems on a completely digital configuration? 
 I'm trying to cut our analog phone line (because it's so expensive), but some 
fax machines just don't seem to ever accept a fax.  Many of the failures are on 
the same numbers, forcing me to fall back to an old analog fax machine just to 
make sure it actually gets through.

Has anyone else had any similar experiences, or is this indicative of a failure 
in the setup on my end (or even the trunking service)?

Brett Lehrer
Unexplainable FAX call failures (i.e. not wrong numbers of other 
obviously wrong things) should be well below 1%. On a dedicated DSL 
line, if everything is set up properly you should be getting that kind 
of rate. This is especially true if you are using T.38 and the provider 
at the far end uses a decent T.38 platform. Across the open internet 
results are much more variable.


Depending what causes your 25% failures, you may get better results with 
spandsp than with FFA.


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] Fax for Asterisk success rates?

2012-10-04 Thread Olivier
2012/10/4 Brett Lehrer brett.leh...@solarismed.com

 I'm running Asterisk 1.8.11.1 and am connected to the nexVortex trunking
 service over a DSL line solely dedicated to VoIP usage.  For both incoming
 and outgoing faxes, I'm getting a failure rate of just over 25%, and over a
 handful of reasons.

 Is it natural to have this many problems on a completely digital
 configuration?  I'm trying to cut our analog phone line (because it's so
 expensive), but some fax machines just don't seem to ever accept a fax.
  Many of the failures are on the same numbers, forcing me to fall back to
 an old analog fax machine just to make sure it actually gets through.

 Has anyone else had any similar experiences, or is this indicative of a
 failure in the setup on my end (or even the trunking service)?

 Brett Lehrer


What is the setup you're talking about ?
Is it something like this ?
PSTN  nexVortex T.38 gateway - Internet - DSL modem ---
Asterisk  Fax machine





 --
 _
 -- 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] Fax for Asterisk success rates?

2012-10-04 Thread Carlos Alvarez
On Thu, Oct 4, 2012 at 6:29 AM, Brett Lehrer brett.leh...@solarismed.comwrote:

 I'm running Asterisk 1.8.11.1 and am connected to the nexVortex trunking
 service over a DSL line solely dedicated to VoIP usage.  For both incoming
 and outgoing faxes, I'm getting a failure rate of just over 25%, and over a
 handful of reasons.

 Is it natural to have this many problems on a completely digital
 configuration?  I'm trying to cut our analog phone line (because it's so
 expensive), but some fax machines just don't seem to ever accept a fax.
  Many of the failures are on the same numbers, forcing me to fall back to
 an old analog fax machine just to make sure it actually gets through.

 Has anyone else had any similar experiences, or is this indicative of a
 failure in the setup on my end (or even the trunking service)?


I'm not going to address the tech issues, as others already have.  And if
you didn't know, Steve Underwood is THE fax guy so whatever he says is
gold, listen to him.

However I'd just suggest that you look at the business case for screwing
around with fax at all.  As a society, if we had decided to stop supporting
this dead technology years ago, with all the time and money we've
collectively wasted we could have completely eliminated world hunger.  I
can't count the hundreds of hours I've wasted on fax support just to prop
up this stupid and unnecessary technology.  We just made the decision this
week to outsource it all and never deal with it on our network again.  I am
slowly re-gaining my sanity because of that decision.

Now I'm going to take a fax machine out to the parking lot and shoot it,
even talking about this awful waste of time makes my blood boil.

-- 
Carlos Alvarez
TelEvolve
602-889-3003
--
_
-- 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] Fax for Asterisk success rates?

2012-10-04 Thread Lee Howard

On 10/04/2012 09:27 AM, Carlos Alvarez wrote:
However I'd just suggest that you look at the business case for 
screwing around with fax at all.  As a society, if we had decided to 
stop supporting this dead technology years ago, with all the time and 
money we've collectively wasted we could have completely eliminated 
world hunger.


I recognize that you're being a bit facetious in this latter comment, 
but the argument that you're making here is unfounded.  I believe that 
if you were to look at the Davidson Consulting reports about the fax 
industry for as long as those reports have been available you'd find 
this.  The technology is not dead and has enough momentum to propel it 
forward for many years to come.  Maybe this is understood in your 
acknowledgement of society supporting it, but the reason why it's 
supported is because the technology is sound and fills a very valuable 
purpose in business and other activities.


There is no adequate replacement for fax.  E-mail doesn't do it, and 
most other reliable document communication mechanisms are locked-up in 
proprietary patents and interests that will invariably prevent them from 
becoming standardized at all.


I'm not a big T.38 fan-boy, although I do applaud the ITU for that 
attempt to get fax working on IP networks.  Unfortunately, it's 
fundamentally flawed because it needlessly perpetuates the tether 
between fax and telephony.  In an IP network there is no reason 
whatsoever for fax to be saddled on top of a telephony layer.  Fax is 
data communication, and IP networks are quite effective at data 
communication.  I can envision a future fax system which truly uses 
modern IP network designs such as DNS, encryption, security, and rides 
on a very effective communication protocol and yet continues to operate 
on the fundamental communication protocol defined in ITU T.30 which 
makes well-implemented faxing so dependable.


I can't count the hundreds of hours I've wasted on fax support just to 
prop up this stupid and unnecessary technology.


Many others have felt exactly the same way, and I don't mean to be rude, 
but invariably the reason why they feel this way is because they 
repeatedly tried to do it the wrong way.


We just made the decision this week to outsource it all and never deal 
with it on our network again.  I am slowly re-gaining my sanity 
because of that decision.


And until the new technology comes along that is and will be *precisely* 
the right decision for most of the people who move to a virtual 
environment or who completely detach themselves directly from the PSTN.


Now I'm going to take a fax machine out to the parking lot and shoot 
it, even talking about this awful waste of time makes my blood boil.


Well, if you were using stand-alone fax machines then that was part of 
your problem.


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] Fax for Asterisk success rates?

2012-10-04 Thread Brett Lehrer
What is the setup you're talking about ?
Is it something like this ?
PSTN  nexVortex T.38 gateway - Internet - DSL modem ---
Asterisk  Fax machine
Olivier,

Sorry, I did a poor job explaining that.  That's basically correct, with the 
receiving end first and our originating end last in your diagram.  For outgoing 
faxes only, this is the setup:

Fax interface (LAN website, in short) - Asterisk PBX - DSL modem - Internet 
- nexVortex trunk - [recipient]

Incoming faxes are generally more reliable, but I still get small number of 
failures.  I've mistakenly overestimated the incoming failure rate.  Don't have 
clean statistics on that, though.


 Unexplainable FAX call failures (i.e. not wrong numbers of other 
obviously wrong things) should be well below 1%. On a dedicated DSL 
line, if everything is set up properly you should be getting that kind 
of rate. This is especially true if you are using T.38 and the provider 
at the far end uses a decent T.38 platform. Across the open internet 
results are much more variable.

Depending what causes your 25% failures, you may get better results with 
spandsp than with FFA.

Steve
I see, thanks.  All of these faxes are going out to unknown, external machines. 
 I have no control over anything on their ends, and the hardware/connection is 
as variable as you could imagine.  I'll definitely look into SpanDSP.  FWIW, 
the dedicated DSL line is just a 6 Mbps up/768 Kbps down Internet connection 
that is solely used by our in-house PBX to connect to the trunk.


However I'd just suggest that you look at the business case for screwing 
around with fax at all.
Oh man, if only...  I'd LOVE to just drop fax completely and use email instead.

Brett Lehrer

--
_
-- 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] Fax for Asterisk success rates?

2012-10-04 Thread Carlos Alvarez
On Thu, Oct 4, 2012 at 10:06 AM, Lee Howard fax...@howardsilvan.com wrote:

 I recognize that you're being a bit facetious in this latter comment


No, not really.  I stand by it.  Useless and *should* be dead.  It's dead
and people just don't know it.


 There is no adequate replacement for fax.  E-mail doesn't do it


Yes, it does.



 Well, if you were using stand-alone fax machines then that was part of
 your problem.


That was actually the only part of my post that was in jest.



-- 
Carlos Alvarez
TelEvolve
602-889-3003
--
_
-- 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] Fax for Asterisk success rates?

2012-10-04 Thread Bryant Zimmerman



 From: Carlos Alvarez car...@televolve.com
Sent: Thursday, October 04, 2012 1:18 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion 
asterisk-users@lists.digium.com
Subject: Re: [asterisk-users] Fax for Asterisk success rates?

On Thu, Oct 4, 2012 at 10:06 AM, Lee Howard fax...@howardsilvan.com 
wrote:
 I recognize that you're being a bit facetious in this latter comment  
 No, not really.  I stand by it.  Useless and *should* be dead.  It's dead 
and people just don't know it.There is no adequate replacement for fax. 
 E-mail doesn't do it   
 Yes, it does.
  Well, if you were using stand-alone fax machines then that was part of 
your problem.

 That was actually the only part of my post that was in jest. 

 -- 
Carlos Alvarez TelEvolve 602-889-3003 

Fax has been a long road in the VOIP arena and asterisk. 
For T.30  T.38 to ATA gateways you need the right mix of equipment at both 
ends. Vendors that support T.38 or PRI's with good T.38 supported hardware 
gateways work best. 
On the fax gateway side Steve, and spandsp are god sent. Fax works well 
when you get your karma in alignment you must set it up correctly.
Our systems have processed over 500,000+ faxes this year with very few fax 
machine compatibility issues. From a technology standpoint  I too look 
forward to the day where we can get rid of faxes, but from a business 
perspective I am happy to process faxing for our paying customers. 

Fax + Asterisk can work quite well. 

Bryant Zimmerman (ZK Tech Inc/interNetGR)
(616) 855-1030


--
_
-- 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] Fax for Asterisk success rates?

2012-10-04 Thread Olivier
2012/10/4 Brett Lehrer brett.leh...@solarismed.com

 What is the setup you're talking about ?
 Is it something like this ?
 PSTN  nexVortex T.38 gateway - Internet - DSL modem ---
 Asterisk  Fax machine
 Olivier,

 Sorry, I did a poor job explaining that.  That's basically correct, with
 the receiving end first and our originating end last in your diagram.  For
 outgoing faxes only, this is the setup:

 Fax interface (LAN website, in short) - Asterisk PBX - DSL modem -
 Internet - nexVortex trunk - [recipient]

 Incoming faxes are generally more reliable, but I still get small number
 of failures.  I've mistakenly overestimated the incoming failure rate.
  Don't have clean statistics on that, though.


How many fax and voice calls (which codecs for tha latter ones ?) are on
average using your DSL line ?

1. Previously, I experienced failures during the process of converting
incoming PDF documents into ready-to-send fax image files while the reverse
process (from a fax file into a PDF or whatever document) never failed.

I would be curious to check if a greater failure rate for outbound faxing
(greater than inbound faxing failure rate) could simply comes from image
processing, before any transmission.

2. Though your DSL line may have enough bandwidth from your location to its
DSLAM, chances are packets are dropped or delivered too late for T.38
faxing.
An interesting test would be to use an Asterisk PBX hosted somewhere at
close range from netVortex fax gateways : that would remove most
networking issues out of the equation.



 Unexplainable FAX call failures (i.e. not wrong numbers of other
obviously wrong things) should be well below 1%. On a dedicated DSL
line, if everything is set up properly you should be getting that kind
of rate. This is especially true if you are using T.38 and the provider
at the far end uses a decent T.38 platform. Across the open internet
results are much more variable.

Depending what causes your 25% failures, you may get better results with
spandsp than with FFA.

Steve

 I see, thanks.  All of these faxes are going out to unknown, external
 machines.  I have no control over anything on their ends, and the
 hardware/connection is as variable as you could imagine.  I'll definitely
 look into SpanDSP.  FWIW, the dedicated DSL line is just a 6 Mbps up/768
 Kbps down Internet connection that is solely used by our in-house PBX to
 connect to the trunk.


 However I'd just suggest that you look at the business case for screwing
 around with fax at all.
 Oh man, if only...  I'd LOVE to just drop fax completely and use email
 instead.

 Brett Lehrer

 --
 _
 -- 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] FAX via Asterisk

2012-09-27 Thread Shanavaz E A
Hi,
 
I am also looking for a fax solution. I use Cisco ATA adapter with fax machine 
and sending of fax works perfectly. But receiving fails after call is 
answeredby the fax machine. It may be a problem of the fax machine also. The 
configuration is simple. I use CISCO SPA 112 – 2 Port Phone Adapter. First 
connect an anlog phone to the adapter and dial the number given in the manual. 
You get an IVR menu to configure IP address. Once IP address is configured you 
can get into the web interface and configure it just like any other SIP 
extension. Then map the fax DID to that SIP extension in the extensions.conf. 
Thats it.
 
But here my problem is receiving dont work.
Patrick, can you please give the steps to configure fax with iaxmodem and 
hylafax. Is it free to use?
 
Thanks  Regards,
Shanavaz.


--- On Wed, 9/26/12, Patrick Lists asterisk-l...@puzzled.xs4all.nl wrote:


From: Patrick Lists asterisk-l...@puzzled.xs4all.nl
Subject: Re: [asterisk-users] FAX via Asterisk
To: asterisk-users@lists.digium.com
Date: Wednesday, September 26, 2012, 11:49 PM


On 09/26/2012 05:53 PM, Mark Robinson wrote:
 Hello.
 I have asterisk 1.8.18 which connects to ISDN PRI. All phones are sip,
 Aastra 6757i. Everything works as expected.
 We also have a FAX machine. We need to be able to use that FAX machine
 to send or receive faxes. We are planning to have a dedicated did for
 faxes. Before, FAX machine was connected directly to pots line.
 
 Any digestions how to accomplish it?

In addition to Markus' suggestions you could also look at using iaxmodem and 
Hylafax. I've been using that for years and it works great. Once a fax is 
received it is emailed to whatever you configure.
Sending faxes works too in libreOffice. If you have a bunch of DIDs you could 
give people their own direct line and fax number.

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] FAX via Asterisk

2012-09-27 Thread Markus

Am 27.09.2012 08:15, schrieb Shanavaz E A:

Patrick, can you please give the steps to configure fax with iaxmodem
and hylafax. Is it free to use?


I'm not Patrick, but here's a good how-to that worked perfectly for me. 
In German, but it's basically enough just to type the commands :)


And yes, it's free to use.

http://das-asterisk-buch.de/faxserver-mit-iaxmodem-und-hylafax.html

Regards
Markus


--
_
-- 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] FAX via Asterisk

2012-09-27 Thread Patrick Lists

On 09/27/2012 08:15 AM, Shanavaz E A wrote:
[snip]

Patrick, can you please give the steps to configure fax with iaxmodem
and hylafax. Is it free to use?


It's been years since I set it up so I don't know exactly how to 
configure it anymore. But I do remember that I found some howto/docs via 
Google so try that. And yes both Hylafax and iaxmodem are free.


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


[asterisk-users] FAX via Asterisk

2012-09-26 Thread Mark Robinson
Hello.
I have asterisk 1.8.18 which connects to ISDN PRI. All phones are sip,
Aastra 6757i. Everything works as expected.
We also have a FAX machine. We need to be able to use that FAX machine to
send or receive faxes. We are planning to have a dedicated did for faxes.
Before, FAX machine was connected directly to pots line.

Any digestions how to accomplish it?
--
_
-- 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] FAX via Asterisk

2012-09-26 Thread Markus

Am 26.09.2012 17:53, schrieb Mark Robinson:

I have asterisk 1.8.18 which connects to ISDN PRI. All phones are sip,
Aastra 6757i. Everything works as expected.
We also have a FAX machine. We need to be able to use that FAX machine
to send or receive faxes. We are planning to have a dedicated did for
faxes. Before, FAX machine was connected directly to pots line.
Any digestions how to accomplish it?


a) Without Asterisk: Get a ISDN-ATA (POTS-ISDN converter), e.g. DeTeWe 
TA 33clip, hook the fax machine to it and the ATA (configured to receive 
calls for the fax DID) to the ISDN line. At least thats how it would 
work with ISDN BRI, not sure about PRI. If you don't have enough ISDN 
ports on the NT you could get an ISDN switch.


b) With Asterisk: Get a SIP-POTS adapter, configure it with the fax DID 
and hook your fax machine to it. There are many adapters available: 
http://www.voip-info.org/wiki/view/Analog+Telephone+Adapters

(FritzBox seems to be popular)




--
_
-- 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] FAX via Asterisk

2012-09-26 Thread Patrick Lists

On 09/26/2012 05:53 PM, Mark Robinson wrote:

Hello.
I have asterisk 1.8.18 which connects to ISDN PRI. All phones are sip,
Aastra 6757i. Everything works as expected.
We also have a FAX machine. We need to be able to use that FAX machine
to send or receive faxes. We are planning to have a dedicated did for
faxes. Before, FAX machine was connected directly to pots line.

Any digestions how to accomplish it?


In addition to Markus' suggestions you could also look at using iaxmodem 
and Hylafax. I've been using that for years and it works great. Once a 
fax is received it is emailed to whatever you configure.
Sending faxes works too in libreOffice. If you have a bunch of DIDs you 
could give people their own direct line and fax number.


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] Fax Detect on Demand

2012-09-14 Thread Olivier
2012/9/13 Eric Wieling ewiel...@nyigc.com

 Yes.  Trivial

 Off the top of my head:

 exten = 12125551212,1,Set(EMAIL=john@example.com)
 exten = 12125551212,n,Answer
 exten = 12125551212,n,Wait(4)
 exten = 12125551212,n,Dial(SIP/1212)

 exten = fax,1,ReceiveFax(/tmp/myfax.tiff)
 exten = fax,n,AGI(yourfax2emailagi.php,${FAXEXTEN},${EMAIL})

 The Answer and Wait are required for faxdetection to work.



It doesn't work for me : using your example, SIP phone 1212 user would pick
its handset up when it starts to ring, he would hear CNG tone but nothing
happens and dialplan's fax extension is not entered.
In my setup, I used a fax machine connected to an Asterisk FXS port.
This machine dialed the SIP phone.

I also used SendFAX application with the very same SIP phone and it did
work the same way: callee could hear fax tone and branching to fax
extension didn't happen.
Nothing in CLI showed fax tone recognition.


In your setup, which type of incoming channel was calling the extension
12121212 ?

You did set SIP1212 faxdetect to yes, didn't you ?
Did you enter any value sup t38p_udptl parameter ?


As a side note, if I tweak FXS port setting to detect fax, it works.





 -Original Message-
 From: asterisk-users-boun...@lists.digium.com [mailto:
 asterisk-users-boun...@lists.digium.com] On Behalf Of Olivier
 Sent: Thursday, September 13, 2012 6:20 AM
 To: Asterisk Users Mailing List - Non-Commercial Discussion
 Subject: Re: [asterisk-users] Fax Detect on Demand



 2012/8/16 Eric Wieling ewiel...@nyigc.com


 Using Asterisk 1.8.mumble.  We would like to use fax detect on
 demand.

 Both chan_dahdi and chan_sip support setting fax detetect on a
 static basis,


 For curiosity's sake, could you make it work first using static settings ?




 but no way I've been able to find to enable/disable it on demand
 in the dialplan.

 In 1.4 we used the NVFaxDetect 3rd party app, but that no longer
 appears to be maintained.

 Does anyone have any suggestions?

 --

 _
 -- 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

--
_
-- 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] Fax Detect on Demand

2012-09-14 Thread Eric Wieling
No.  While the Wait(4) is waiting Asterisk should detect the fax tone of the 
sending fax machine and the call should be sent to the fax extension and never 
ring the phone.

Fax detect must be configured on the INCOMING channel.  In my case that is 
DAHDI.

-Original Message-
From: asterisk-users-boun...@lists.digium.com 
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Olivier
Sent: Friday, September 14, 2012 10:19 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Fax Detect on Demand



2012/9/13 Eric Wieling ewiel...@nyigc.com


Yes.  Trivial

Off the top of my head:

exten = 12125551212,1,Set(EMAIL=john@example.com)
exten = 12125551212,n,Answer
exten = 12125551212,n,Wait(4)
exten = 12125551212,n,Dial(SIP/1212)

exten = fax,1,ReceiveFax(/tmp/myfax.tiff)
exten = fax,n,AGI(yourfax2emailagi.php,${FAXEXTEN},${EMAIL})

The Answer and Wait are required for faxdetection to work.




It doesn't work for me : using your example, SIP phone 1212 user would pick its 
handset up when it starts to ring, he would hear CNG tone but nothing happens 
and dialplan's fax extension is not entered.
In my setup, I used a fax machine connected to an Asterisk FXS port.
This machine dialed the SIP phone.

I also used SendFAX application with the very same SIP phone and it did work 
the same way: callee could hear fax tone and branching to fax extension didn't 
happen.
Nothing in CLI showed fax tone recognition.


In your setup, which type of incoming channel was calling the extension 
12121212 ?

You did set SIP1212 faxdetect to yes, didn't you ?
Did you enter any value sup t38p_udptl parameter ?


As a side note, if I tweak FXS port setting to detect fax, it works.

 



-Original Message-
From: asterisk-users-boun...@lists.digium.com 
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Olivier
Sent: Thursday, September 13, 2012 6:20 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Fax Detect on Demand



2012/8/16 Eric Wieling ewiel...@nyigc.com


Using Asterisk 1.8.mumble.  We would like to use fax detect on 
demand.

Both chan_dahdi and chan_sip support setting fax detetect on a 
static basis,


For curiosity's sake, could you make it work first using static 
settings ?




but no way I've been able to find to enable/disable it on 
demand in the dialplan.

In 1.4 we used the NVFaxDetect 3rd party app, but that no 
longer appears to be maintained.

Does anyone have any suggestions?

--

_
-- 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




--
_
-- 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] Fax and sending to mail

2012-09-13 Thread Olivier
2012/9/13 bilal ghayyad bilmar...@yahoo.com

 Hi All;

 Is there a module (addon or already built in) that enable us to receive
 the fax on the telephony card and save it as image (or any other format)
 and sent it to email?


have a look at receivefax (core show application ReceiveFAX)




 Regards
 Bilal

 --
 _
 -- 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] FAX detection in chan_dahdi 1.8.15

2012-09-13 Thread Olivier
2012/8/31 Jeff LaCoursiere j...@sunfone.com

  -Original Message-
  From: asterisk-users-boun...@lists.digium.com
  [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Jeff
  LaCoursiere
  Sent: Tuesday, August 28, 2012 3:24 PM
  To: asterisk-users@lists.digium.com
  Subject: [asterisk-users] FAX detection in chan_dahdi 1.8.15
 
  Hi,
 
  I recently replaced a site that was using 1.4.[mumble] with
  hylafax/iaxmodem.  They have an RBS T1 and were using about half of
 their 50
  DID numbers for fax to email.  This all broke with the new system :(
 
  The original chan_dahdi.conf had no mention of faxdetect, so I assume
 it
  was operating with whatever is the default.  Off?
 
  The new box originally had faxdetect=no, and I found that all my test
  faxes failed with negotiation errors.  When I finally tried
  faxdetect=incoming test faxes from another machine running hylafax went
  through fine, and I thought I was done.
 
  The following week the customer reported that inbound faxes weren't
 working.
  When I looked at the log, I saw lots of these:
 
  chan_dahdi.c: -- Redirecting DAHDI/24-1 to fax extension
 
  Which in my FreePBX setup eventually goes to a no service message and
  hangs up.  I've never defined a fax extension and don't really know
 what
  that is about.  Turns out that any fax machine that calls ends up
 following
  this path.  If my other hylafax server calls, it follows the normal path
 and
  gets answered by my pool of iaxmodems. I don't really understand the
  difference between the two types of calls, first of all.
 
  So it seems from this experience and a recent thread on -users that
 enabling
  faxdetection in chan_dahdi sets up some additional buffering that at
 least
  in my case, in 1.8, seems to be required (without it all inbound faxes
 fail
  from my hylafax server with negotiation problems).
  Unfortunately for me, this also seems to bypass normal DID handling and
  sends calls to an undefined fax extension.
 
  Can anyone shed some light?
 
  Thanks,
 
  j
 
  On Tue, 2012-08-28 at 15:28 -0500, Danny Nicholas wrote:
  IIRC correctly this is sort of like the s extension; you set up your
 fax
  handler in [default,fax,1].  Not sure how that is done in FreePBX.
 
 

 I've managed to hack a fix for this... in chan_dahdi.c I found two
 places where an async goto happens right after the message
 Redirecting to fax extension.  I simply commented it out in both
 places.

 While looking a the source I noticed that an attempt is made to create a
 new channel variable FAXEXTEN with a comment save the DID number
 before sending to the fax extension.  I created a fax context in
 extensions.conf and tried to use ${FAXEXTEN} to properly route my
 inbound fax to email calls, but it turns out that it is just set to s,
 which isn't useful at all.  I spent some time trying to figure out where
 in the channel structure the actual DID information exists, as properly
 setting the FAXEXTEN variable is arguably the right fix for my
 problem.  But I'm just not familiar enough with the internals :( I'm
 surprised others haven't had this issue...

 Anyway commenting out the redirection did the trick for me.

 Cheers,

 j


Which Freepbx version are you using ?
Have you installed Freepbx's Fax Configuration module ?

Are you trying to attach fax-to-email service to incoming DIDs or to SIP
endpoints ?
--
_
-- 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] Fax Detect on Demand

2012-09-13 Thread Olivier
2012/8/16 Eric Wieling ewiel...@nyigc.com

 Using Asterisk 1.8.mumble.  We would like to use fax detect on demand.

 Both chan_dahdi and chan_sip support setting fax detetect on a static
 basis,


For curiosity's sake, could you make it work first using static settings ?


but no way I've been able to find to enable/disable it on demand in the
 dialplan.

 In 1.4 we used the NVFaxDetect 3rd party app, but that no longer appears
 to be maintained.

 Does anyone have any suggestions?

 --
 _
 -- 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] FAX detection in chan_dahdi 1.8.15

2012-09-13 Thread Jeff LaCoursiere

On 09/13/2012 03:20 AM, Olivier wrote:



2012/8/31 Jeff LaCoursiere j...@sunfone.com mailto:j...@sunfone.com

 -Original Message-
 From: asterisk-users-boun...@lists.digium.com
mailto:asterisk-users-boun...@lists.digium.com
 [mailto:asterisk-users-boun...@lists.digium.com
mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Jeff
 LaCoursiere
 Sent: Tuesday, August 28, 2012 3:24 PM
 To: asterisk-users@lists.digium.com
mailto:asterisk-users@lists.digium.com
 Subject: [asterisk-users] FAX detection in chan_dahdi 1.8.15

 Hi,

 I recently replaced a site that was using 1.4.[mumble] with
 hylafax/iaxmodem.  They have an RBS T1 and were using about half
of their 50
 DID numbers for fax to email.  This all broke with the new
system :(

 The original chan_dahdi.conf had no mention of faxdetect, so I
assume it
 was operating with whatever is the default.  Off?

 The new box originally had faxdetect=no, and I found that all
my test
 faxes failed with negotiation errors.  When I finally tried
 faxdetect=incoming test faxes from another machine running
hylafax went
 through fine, and I thought I was done.

 The following week the customer reported that inbound faxes
weren't working.
 When I looked at the log, I saw lots of these:

 chan_dahdi.c: -- Redirecting DAHDI/24-1 to fax extension

 Which in my FreePBX setup eventually goes to a no service
message and
 hangs up.  I've never defined a fax extension and don't really
know what
 that is about.  Turns out that any fax machine that calls ends
up following
 this path.  If my other hylafax server calls, it follows the
normal path and
 gets answered by my pool of iaxmodems. I don't really understand the
 difference between the two types of calls, first of all.

 So it seems from this experience and a recent thread on -users
that enabling
 faxdetection in chan_dahdi sets up some additional buffering
that at least
 in my case, in 1.8, seems to be required (without it all inbound
faxes fail
 from my hylafax server with negotiation problems).
 Unfortunately for me, this also seems to bypass normal DID
handling and
 sends calls to an undefined fax extension.

 Can anyone shed some light?

 Thanks,

 j

 On Tue, 2012-08-28 at 15:28 -0500, Danny Nicholas wrote:
 IIRC correctly this is sort of like the s extension; you set
up your
fax
 handler in [default,fax,1].  Not sure how that is done in FreePBX.



I've managed to hack a fix for this... in chan_dahdi.c I found two
places where an async goto happens right after the message
Redirecting to fax extension.  I simply commented it out in both
places.

While looking a the source I noticed that an attempt is made to
create a
new channel variable FAXEXTEN with a comment save the DID number
before sending to the fax extension.  I created a fax context in
extensions.conf and tried to use ${FAXEXTEN} to properly route my
inbound fax to email calls, but it turns out that it is just set
to s,
which isn't useful at all.  I spent some time trying to figure out
where
in the channel structure the actual DID information exists, as
properly
setting the FAXEXTEN variable is arguably the right fix for my
problem.  But I'm just not familiar enough with the internals :( I'm
surprised others haven't had this issue...

Anyway commenting out the redirection did the trick for me.

Cheers,

j


Which Freepbx version are you using ?
Have you installed Freepbx's Fax Configuration module ?

Are you trying to attach fax-to-email service to incoming DIDs or to 
SIP endpoints ?




FreePBX 2.10

Originally, just because I usually do an install and let FreePBX load 
all available modules, it did load that module.  Original advice was to 
remove that module, which had no effect on my problem.  It is removed 
now anyway.


The intention is individual DIDs go to specific fax email addresses.  I 
saw your explanation for what you are trying to accomplish, and it 
sounds interesting.  Curious to see if you get it working.


Cheers,

j
--
_
-- 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] Fax Detect on Demand

2012-09-13 Thread Eric Wieling
Yes.  Trivial

Off the top of my head:

exten = 12125551212,1,Set(EMAIL=john@example.com)
exten = 12125551212,n,Answer
exten = 12125551212,n,Wait(4)
exten = 12125551212,n,Dial(SIP/1212)

exten = fax,1,ReceiveFax(/tmp/myfax.tiff)
exten = fax,n,AGI(yourfax2emailagi.php,${FAXEXTEN},${EMAIL})

The Answer and Wait are required for faxdetection to work.


-Original Message-
From: asterisk-users-boun...@lists.digium.com 
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Olivier
Sent: Thursday, September 13, 2012 6:20 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Fax Detect on Demand



2012/8/16 Eric Wieling ewiel...@nyigc.com


Using Asterisk 1.8.mumble.  We would like to use fax detect on demand.

Both chan_dahdi and chan_sip support setting fax detetect on a static 
basis,


For curiosity's sake, could you make it work first using static settings ?




but no way I've been able to find to enable/disable it on demand in the 
dialplan.

In 1.4 we used the NVFaxDetect 3rd party app, but that no longer 
appears to be maintained.

Does anyone have any suggestions?

--
_
-- 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


[asterisk-users] Fax and sending to mail

2012-09-12 Thread bilal ghayyad
Hi All;

Is there a module (addon or already built in) that enable us to receive the fax 
on the telephony card and save it as image (or any other format) and sent it to 
email? 

Regards
Bilal

--
_
-- 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] Fax and sending to mail

2012-09-12 Thread Danny Nicholas
FFA (Free Fax Asterisk) saves the incoming fax as a TIFF which you can
email.

-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of bilal ghayyad
Sent: Wednesday, September 12, 2012 5:01 PM
To: asterisk-users@lists.digium.com
Subject: [asterisk-users] Fax and sending to mail

Hi All;

Is there a module (addon or already built in) that enable us to receive the
fax on the telephony card and save it as image (or any other format) and
sent it to email? 

Regards
Bilal

--
_
-- 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] FAX detection in chan_dahdi 1.8.15

2012-08-31 Thread Jeff LaCoursiere
 -Original Message-
 From: asterisk-users-boun...@lists.digium.com
 [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Jeff
 LaCoursiere
 Sent: Tuesday, August 28, 2012 3:24 PM
 To: asterisk-users@lists.digium.com
 Subject: [asterisk-users] FAX detection in chan_dahdi 1.8.15
 
 Hi,
 
 I recently replaced a site that was using 1.4.[mumble] with
 hylafax/iaxmodem.  They have an RBS T1 and were using about half of their 50
 DID numbers for fax to email.  This all broke with the new system :(
 
 The original chan_dahdi.conf had no mention of faxdetect, so I assume it
 was operating with whatever is the default.  Off?
 
 The new box originally had faxdetect=no, and I found that all my test
 faxes failed with negotiation errors.  When I finally tried
 faxdetect=incoming test faxes from another machine running hylafax went
 through fine, and I thought I was done.
 
 The following week the customer reported that inbound faxes weren't working.
 When I looked at the log, I saw lots of these:
 
 chan_dahdi.c: -- Redirecting DAHDI/24-1 to fax extension
 
 Which in my FreePBX setup eventually goes to a no service message and
 hangs up.  I've never defined a fax extension and don't really know what
 that is about.  Turns out that any fax machine that calls ends up following
 this path.  If my other hylafax server calls, it follows the normal path and
 gets answered by my pool of iaxmodems. I don't really understand the
 difference between the two types of calls, first of all.
 
 So it seems from this experience and a recent thread on -users that enabling
 faxdetection in chan_dahdi sets up some additional buffering that at least
 in my case, in 1.8, seems to be required (without it all inbound faxes fail
 from my hylafax server with negotiation problems). 
 Unfortunately for me, this also seems to bypass normal DID handling and
 sends calls to an undefined fax extension.
 
 Can anyone shed some light?
 
 Thanks,
 
 j
 
 On Tue, 2012-08-28 at 15:28 -0500, Danny Nicholas wrote:
 IIRC correctly this is sort of like the s extension; you set up your
fax
 handler in [default,fax,1].  Not sure how that is done in FreePBX.
 
 

I've managed to hack a fix for this... in chan_dahdi.c I found two
places where an async goto happens right after the message
Redirecting to fax extension.  I simply commented it out in both
places.

While looking a the source I noticed that an attempt is made to create a
new channel variable FAXEXTEN with a comment save the DID number
before sending to the fax extension.  I created a fax context in
extensions.conf and tried to use ${FAXEXTEN} to properly route my
inbound fax to email calls, but it turns out that it is just set to s,
which isn't useful at all.  I spent some time trying to figure out where
in the channel structure the actual DID information exists, as properly
setting the FAXEXTEN variable is arguably the right fix for my
problem.  But I'm just not familiar enough with the internals :( I'm
surprised others haven't had this issue...

Anyway commenting out the redirection did the trick for me.

Cheers,

j



--
_
-- 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] FAX detection in chan_dahdi 1.8.15

2012-08-28 Thread Jeff LaCoursiere

Hi,

I recently replaced a site that was using 1.4.[mumble] with 
hylafax/iaxmodem.  They have an RBS T1 and were using about half of 
their 50 DID numbers for fax to email.  This all broke with the new 
system :(


The original chan_dahdi.conf had no mention of faxdetect, so I assume 
it was operating with whatever is the default.  Off?


The new box originally had faxdetect=no, and I found that all my test 
faxes failed with negotiation errors.  When I finally tried 
faxdetect=incoming test faxes from another machine running hylafax 
went through fine, and I thought I was done.


The following week the customer reported that inbound faxes weren't 
working.  When I looked at the log, I saw lots of these:


chan_dahdi.c: -- Redirecting DAHDI/24-1 to fax extension

Which in my FreePBX setup eventually goes to a no service message and 
hangs up.  I've never defined a fax extension and don't really know 
what that is about.  Turns out that any fax machine that calls ends up 
following this path.  If my other hylafax server calls, it follows the 
normal path and gets answered by my pool of iaxmodems. I don't really 
understand the difference between the two types of calls, first of all.


So it seems from this experience and a recent thread on -users that 
enabling faxdetection in chan_dahdi sets up some additional buffering 
that at least in my case, in 1.8, seems to be required (without it all 
inbound faxes fail from my hylafax server with negotiation problems). 
Unfortunately for me, this also seems to bypass normal DID handling and 
sends calls to an undefined fax extension.


Can anyone shed some light?

Thanks,

j


--
_
-- 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] FAX detection in chan_dahdi 1.8.15

2012-08-28 Thread Danny Nicholas
IIRC correctly this is sort of like the s extension; you set up your fax
handler in [default,fax,1].  Not sure how that is done in FreePBX.

-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Jeff
LaCoursiere
Sent: Tuesday, August 28, 2012 3:24 PM
To: asterisk-users@lists.digium.com
Subject: [asterisk-users] FAX detection in chan_dahdi 1.8.15

Hi,

I recently replaced a site that was using 1.4.[mumble] with
hylafax/iaxmodem.  They have an RBS T1 and were using about half of their 50
DID numbers for fax to email.  This all broke with the new system :(

The original chan_dahdi.conf had no mention of faxdetect, so I assume it
was operating with whatever is the default.  Off?

The new box originally had faxdetect=no, and I found that all my test
faxes failed with negotiation errors.  When I finally tried
faxdetect=incoming test faxes from another machine running hylafax went
through fine, and I thought I was done.

The following week the customer reported that inbound faxes weren't working.
When I looked at the log, I saw lots of these:

chan_dahdi.c: -- Redirecting DAHDI/24-1 to fax extension

Which in my FreePBX setup eventually goes to a no service message and
hangs up.  I've never defined a fax extension and don't really know what
that is about.  Turns out that any fax machine that calls ends up following
this path.  If my other hylafax server calls, it follows the normal path and
gets answered by my pool of iaxmodems. I don't really understand the
difference between the two types of calls, first of all.

So it seems from this experience and a recent thread on -users that enabling
faxdetection in chan_dahdi sets up some additional buffering that at least
in my case, in 1.8, seems to be required (without it all inbound faxes fail
from my hylafax server with negotiation problems). 
Unfortunately for me, this also seems to bypass normal DID handling and
sends calls to an undefined fax extension.

Can anyone shed some light?

Thanks,

j


--
_
-- 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


[asterisk-users] FAX detection in chan_dahdi 1.8.15

2012-08-28 Thread Jeff LaCoursiere

Hi,

I recently replaced a site that was using 1.4.[mumble] with 
hylafax/iaxmodem.  They have an RBS T1 and were using about half of 
their 50 DID numbers for fax to email.  This all broke with the new 
system :(


The original chan_dahdi.conf had no mention of faxdetect, so I assume 
it was operating with whatever is the default.  Off?


The new box originally had faxdetect=no, and I found that all my test 
faxes failed with negotiation errors.  When I finally tried 
faxdetect=incoming test faxes from another machine running hylafax 
went through fine, and I thought I was done.


The following week the customer reported that inbound faxes weren't 
working.  When I looked at the log, I saw lots of these:


chan_dahdi.c: -- Redirecting DAHDI/24-1 to fax extension

Which in my FreePBX setup eventually goes to a no service message and 
hangs up.  I've never defined a fax extension and don't really know 
what that is about.  Turns out that any fax machine that calls ends up 
following this path.  If my other hylafax server calls, it follows the 
normal path and gets answered by my pool of iaxmodems. I don't really 
understand the difference between the two types of calls, first of all.


So it seems from this experience and a recent thread on -users that 
enabling faxdetection in chan_dahdi sets up some additional buffering 
that at least in my case, in 1.8, seems to be required (without it all 
inbound faxes fail from my hylafax server with negotiation problems).  
Unfortunately for me, this also seems to bypass normal DID handling and 
sends calls to an undefined fax extension.


Can anyone shed some light?

Thanks,

j


--
_
-- 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] Fax Detect on Demand

2012-08-16 Thread Eric Wieling
Using Asterisk 1.8.mumble.  We would like to use fax detect on demand.

Both chan_dahdi and chan_sip support setting fax detetect on a static basis, 
but no way I've been able to find to enable/disable it on demand in the 
dialplan.

In 1.4 we used the NVFaxDetect 3rd party app, but that no longer appears to be 
maintained.

Does anyone have any suggestions?

--
_
-- 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] Fax setup T.38 Help needed

2012-06-21 Thread Matthew Jordan


- Original Message - 

 From: Thorben Jensen i...@thorben.dk
 To: asterisk-users asterisk-users@lists.digium.com
 Sent: Wednesday, June 20, 2012 8:25:28 PM
 Subject: [asterisk-users] Fax setup T.38 Help needed

 Hi,

 I'm looking for someone who can help us setup Fax with T. 38 on
 asterisk 10.x.x - We need to be able to do FoIP (Fax over IP) as we
 have no pstn lines available.

 Do you know how to setup a reliable fax system, then we will pay you
 to help us do this.

If you're looking for consultants, you may want to try the asterisk-biz
mailing list.

--
Matthew Jordan
Digium, Inc. | Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: http://digium.com  http://asterisk.org

--
_
-- 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] Fax setup T.38 Help needed

2012-06-20 Thread Thorben Jensen
Hi,

I'm looking for someone who can help us setup Fax with T. 38 on asterisk
10.x.x - We need to be able to do FoIP (Fax over IP) as we have no pstn
lines available.

Do you know how to setup a reliable fax system, then we will pay you to
help us do this.

Regards
Thorben
--
_
-- 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] fax issue

2012-06-13 Thread Arun Ram
Hi,

   I am using asterisk 1.8.9.3 , I am using Spandsp FAX Driver: 20091228
123351, i will clearly explain my scenario.

I am sending  fax to a anlog fax machine which is connected to  mediatrix
analog gateway. say the analog fax extension is 18260.
I have enabled  the fax mode , T.38 codec, clear channel codec , cng tone
everything in my analog gateway. while sending a fax from asterisk to the
analog fax extension(18260 this extension is registered in asterisk) , I am
using SendFax dialplan application for sending fax , most of the time i got
success message with fax send status success and my anlog fax machine also
receives the fax and printing it. but some time i am getting a error that

coud not generate CNG tone in channel sip/18260. i saw this error in
asterisk CLI. i want to know whether this issue in my asterisk side or in
my gateway side. why asterisk not able to generate the CNG tone on this
channel.
second thing is in  my sip.conf for fax  I  have enabled
t38pt_udptl = yes,fec,maxdatagram=400
faxdetect = yes
I want to know which error correction i can use whether FEC or Redundancy
so that i can get maximun throughput while sending fax from my asterisk
In my res_fax.conf
maxrate=14400
minrate=2400
statusevents=yes
modems=v17,v27,v29
ecm=yes
 I need a desperate support  from this forum to solve this issue (coud not
generate CNG tone in channel ).
-- 
*Thanks  Regards
Arunram.c
*


*The Power of someone has the power to do something.. anything !!*
--
_
-- 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] Fax over IP ?

2012-06-05 Thread Ahmed Munir
On Tue, Jun 5, 2012 at 12:47 PM, Ahmed Munir ahmedmunir...@gmail.comwrote:

 I figured out the problem. Actually the sending fax machine speed was set
 as 33000 bps, later I set to 14400 bps and in my dial plan, I forcefully
 set to use T.38 protocol. After that I was able to receive fax.

 Thanks Tim for assisting me out :).



 - Original Message -

  Hi Tim,

  I'm using Asterisk 10 and on Cisco GW the protocol is set for FAX is
  T.38 and when I try to send the fax from a fax machine i.e. HP 3180,
  I'm getting some warnings as listed below;

  -- Executing [4112345678@default:1] Goto(SIP/192.168.1.69-0005,
  fax-detect,fax,1) in new stack
  -- Goto (fax-detect,fax,1)
  -- Executing [fax@fax-detect:1] NoOp(SIP/192.168.1.69-0005,
   FAX DETECTED ) in new stack
  -- Executing [fax@fax-detect:2] Goto(SIP/192.168.1.69-0005,
  fax-receive,receive,1) in new stack
  -- Goto (fax-receive,receive,1)
  -- Executing [receive@fax-receive:1]
  NoOp(SIP/192.168.1.69-0005,  FAX RECEIVE ) in new
  stack
  -- Executing [receive@fax-receive:2] Set(SIP/192.168.1.69-0005,
  GLOBAL(FAXCOUNT)=5) in new stack
  == Setting global variable 'FAXCOUNT' to '5'
  -- Executing [receive@fax-receive:3] Set(SIP/192.168.1.69-0005,
  FAXCOUNT=5) in new stack
  -- Executing [receive@fax-receive:4] Set(SIP/192.168.1.69-0005,
  FAXFILE=fax-5-rx.tif) in new stack
  -- Executing [receive@fax-receive:5] Set(SIP/192.168.1.69-0005,
  GLOBAL(LASTFAXCALLERNUM)=6461234567) in new stack
  == Setting global variable 'LASTFAXCALLERNUM' to '6461234567'
  -- Executing [receive@fax-receive:6] Set(SIP/192.168.1.69-0005,
  GLOBAL(LASTFAXCALLERNAME)=) in new stack
  == Setting global variable 'LASTFAXCALLERNAME' to ''
  -- Executing [receive@fax-receive:7]
  NoOp(SIP/192.168.1.69-0005,  SETTING FAXOPT ) in new
  stack
  -- Executing [receive@fax-receive:8] Set(SIP/192.168.1.69-0005,
  FAXOPT(ecm)=yes) in new stack
  -- Executing [receive@fax-receive:9] Set(SIP/192.168.1.69-0005,
  FAXOPT(headerinfo)=MY FAXBACK RX) in new stack
  -- Executing [receive@fax-receive:10]
  Set(SIP/192.168.1.69-0005,
  FAXOPT(localstationid)=1234567890) in new stack
  -- Executing [receive@fax-receive:11]
  Set(SIP/192.168.1.69-0005, FAXOPT(maxrate)=14400) in new
  stack
  -- Executing [receive@fax-receive:12]
  Set(SIP/192.168.1.69-0005, FAXOPT(minrate)=2400) in new
  stack
  -- Executing [receive@fax-receive:13]
  NoOp(SIP/192.168.1.69-0005, FAXOPT(ecm) : yes) in new stack
  -- Executing [receive@fax-receive:14]
  NoOp(SIP/192.168.1.69-0005, FAXOPT(headerinfo) : MY FAXBACK
  RX) in new stack
  -- Executing [receive@fax-receive:15]
  NoOp(SIP/192.168.1.69-0005, FAXOPT(localstationid) :
  1234567890) in new stack
  -- Executing [receive@fax-receive:16]
  NoOp(SIP/192.168.1.69-0005, FAXOPT(maxrate) : 14400) in new
  stack
  -- Executing [receive@fax-receive:17]
  NoOp(SIP/192.168.1.69-0005, FAXOPT(minrate) : 2400) in new
  stack
  -- Executing [receive@fax-receive:18]
  NoOp(SIP/192.168.1.69-0005,  RECEIVING FAX : fax-5-rx.tif
  ) in new stack
  -- Executing [receive@fax-receive:19]
  ReceiveFAX(SIP/192.168.1.69-0005,
  /var/spool/asterisk/fax/fax-5-rx.tif) in new stack
  -- Channel 'SIP/192.168.1.69-0005' receiving FAX
  '/var/spool/asterisk/fax/fax-5-rx.tif'
  == Using UDPTL CoS mark 5
  [Jun 4 12:35:02] NOTICE[10371]: chan_sip.c:7577 sip_read: FAX CNG
  detected but no fax extension
  [Jun 4 12:35:02] WARNING[10072]: res_fax.c:1666 receivefax_t38_init:
  channel 'SIP/192.168.1.69-0005' refused to negotiate T.38
  [Jun 4 12:35:02] WARNING[10072]: res_fax.c:1687 receivefax_t38_init:
  Audio FAX not allowed on channel 'SIP/192.168.1.69-0005' and
  T.38 negotiation failed; aborting.
  [Jun 4 12:35:02] ERROR[10072]: res_fax.c:1891 receivefax_exec: error
  initializing channel 'SIP/192.168.1.69-0005' in T.38 mode
  == Spawn extension (fax-receive, receive, 19) exited non-zero on
  'SIP/192.168.1.69-0005'

  In my sip.conf global configuration I enabled 'fax detect' and
  't38pt_udptl' and added Cisco VGW peer;

  [CiscoVGW-10.70.X.X]
  host=10.70.X.X
  type=friend
  disallow=all
  allow=ulaw
  allow=alaw
  nat=yes
  insecure=port,invite
  context=fax-call
  canreinvite=no
  qualify=yes
  dtmfmode=inband


 T.38 failed to negotiate. That means either your Asterisk side, or your
 Cisco side are not playing nicely together. A packet capture of the call
 setup would be helpful to determine which side is having the issues.

 --Tim

 --
 Regards,

 Ahmed Munir Chohan





-- 
Regards,

Ahmed Munir Chohan
--
_
-- 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:
   

Re: [asterisk-users] Fax over IP?

2012-06-04 Thread Ahmed Munir
Hi Tim,

I'm using Asterisk 10 and on Cisco GW the protocol is set for FAX is T.38
and when I try to send the fax from a fax machine i.e. HP 3180, I'm getting
some warnings as listed below;

-- Executing [4112345678@default:1] Goto(SIP/192.168.1.69-0005,
fax-detect,fax,1) in new stack
-- Goto (fax-detect,fax,1)
-- Executing [fax@fax-detect:1] NoOp(SIP/192.168.1.69-0005, 
FAX DETECTED ) in new stack
-- Executing [fax@fax-detect:2] Goto(SIP/192.168.1.69-0005,
fax-receive,receive,1) in new stack
-- Goto (fax-receive,receive,1)
-- Executing [receive@fax-receive:1] NoOp(SIP/192.168.1.69-0005,
 FAX RECEIVE ) in new stack
-- Executing [receive@fax-receive:2] Set(SIP/192.168.1.69-0005,
GLOBAL(FAXCOUNT)=5) in new stack
  == Setting global variable 'FAXCOUNT' to '5'
-- Executing [receive@fax-receive:3] Set(SIP/192.168.1.69-0005,
FAXCOUNT=5) in new stack
-- Executing [receive@fax-receive:4] Set(SIP/192.168.1.69-0005,
FAXFILE=fax-5-rx.tif) in new stack
-- Executing [receive@fax-receive:5] Set(SIP/192.168.1.69-0005,
GLOBAL(LASTFAXCALLERNUM)=6461234567) in new stack
  == Setting global variable 'LASTFAXCALLERNUM' to '6461234567'
-- Executing [receive@fax-receive:6] Set(SIP/192.168.1.69-0005,
GLOBAL(LASTFAXCALLERNAME)=) in new stack
  == Setting global variable 'LASTFAXCALLERNAME' to ''
-- Executing [receive@fax-receive:7] NoOp(SIP/192.168.1.69-0005,
 SETTING FAXOPT ) in new stack
-- Executing [receive@fax-receive:8] Set(SIP/192.168.1.69-0005,
FAXOPT(ecm)=yes) in new stack
-- Executing [receive@fax-receive:9] Set(SIP/192.168.1.69-0005,
FAXOPT(headerinfo)=MY FAXBACK RX) in new stack
-- Executing [receive@fax-receive:10] Set(SIP/192.168.1.69-0005,
FAXOPT(localstationid)=1234567890) in new stack
-- Executing [receive@fax-receive:11] Set(SIP/192.168.1.69-0005,
FAXOPT(maxrate)=14400) in new stack
-- Executing [receive@fax-receive:12] Set(SIP/192.168.1.69-0005,
FAXOPT(minrate)=2400) in new stack
-- Executing [receive@fax-receive:13] NoOp(SIP/192.168.1.69-0005,
FAXOPT(ecm) : yes) in new stack
-- Executing [receive@fax-receive:14] NoOp(SIP/192.168.1.69-0005,
FAXOPT(headerinfo) : MY FAXBACK RX) in new stack
-- Executing [receive@fax-receive:15] NoOp(SIP/192.168.1.69-0005,
FAXOPT(localstationid) : 1234567890) in new stack
-- Executing [receive@fax-receive:16] NoOp(SIP/192.168.1.69-0005,
FAXOPT(maxrate) : 14400) in new stack
-- Executing [receive@fax-receive:17] NoOp(SIP/192.168.1.69-0005,
FAXOPT(minrate) : 2400) in new stack
-- Executing [receive@fax-receive:18] NoOp(SIP/192.168.1.69-0005,
 RECEIVING FAX : fax-5-rx.tif ) in new stack
-- Executing [receive@fax-receive:19]
ReceiveFAX(SIP/192.168.1.69-0005,
/var/spool/asterisk/fax/fax-5-rx.tif) in new stack
-- Channel 'SIP/192.168.1.69-0005' receiving FAX
'/var/spool/asterisk/fax/fax-5-rx.tif'
  == Using UDPTL CoS mark 5
[Jun  4 12:35:02] NOTICE[10371]: chan_sip.c:7577 sip_read: FAX CNG detected
but no fax extension
[Jun  4 12:35:02] WARNING[10072]: res_fax.c:1666 receivefax_t38_init:
channel 'SIP/192.168.1.69-0005' refused to negotiate T.38
[Jun  4 12:35:02] WARNING[10072]: res_fax.c:1687 receivefax_t38_init: Audio
FAX not allowed on channel 'SIP/192.168.1.69-0005' and T.38 negotiation
failed; aborting.
[Jun  4 12:35:02] ERROR[10072]: res_fax.c:1891 receivefax_exec: error
initializing channel 'SIP/192.168.1.69-0005' in T.38 mode
  == Spawn extension (fax-receive, receive, 19) exited non-zero on
'SIP/192.168.1.69-0005'

In my sip.conf global configuration I enabled 'fax detect' and
't38pt_udptl' and added Cisco VGW peer;

[CiscoVGW-10.70.X.X]
host=10.70.X.X
type=friend
disallow=all
allow=ulaw
allow=alaw
nat=yes
insecure=port,invite
context=fax-call
canreinvite=no
qualify=yes
dtmfmode=inband


While the fax machine starts to send the fax after a while it gives the
message, 'Fax failed' with error code: '388'. Is it the end point fax
machine issue or else? Please assist me out to resolve this issue at
earliest.




  Thanks for your response. Here is my topology as listing down below;

  PSTN Line -- Cisco Voice GW -- IP Cloud -- Asterisk

  Will Asterisk able to receive the fax (as in topology above) using
  its' fax module? In sip.conf I enabled fax detection and T.38.
  Actually I don't want
  to use Hylafax + iaxmodem as per requirement.

 If your Cisco voice gateway can deliver the calls using T.38, that should
 give you decent reliability. You'll want to us Asterisk 10 which has the
 best T.38 support at this point (compared to older releases). The receiving
 side of the equation then becomes whether to use Fax for Asterisk
 (commercial, 1 free channel, 2+ paid), or the included SpanDSP based fax
 module.

 --Tim


-- 
Regards,

Ahmed Munir Chohan
--
_
-- Bandwidth and 

Re: [asterisk-users] Fax over IP?

2012-06-04 Thread Tim Nelson
- Original Message - 

 Hi Tim,

 I'm using Asterisk 10 and on Cisco GW the protocol is set for FAX is
 T.38 and when I try to send the fax from a fax machine i.e. HP 3180,
 I'm getting some warnings as listed below;

 -- Executing [4112345678@default:1] Goto(SIP/192.168.1.69-0005,
 fax-detect,fax,1) in new stack
 -- Goto (fax-detect,fax,1)
 -- Executing [fax@fax-detect:1] NoOp(SIP/192.168.1.69-0005,
  FAX DETECTED ) in new stack
 -- Executing [fax@fax-detect:2] Goto(SIP/192.168.1.69-0005,
 fax-receive,receive,1) in new stack
 -- Goto (fax-receive,receive,1)
 -- Executing [receive@fax-receive:1]
 NoOp(SIP/192.168.1.69-0005,  FAX RECEIVE ) in new
 stack
 -- Executing [receive@fax-receive:2] Set(SIP/192.168.1.69-0005,
 GLOBAL(FAXCOUNT)=5) in new stack
 == Setting global variable 'FAXCOUNT' to '5'
 -- Executing [receive@fax-receive:3] Set(SIP/192.168.1.69-0005,
 FAXCOUNT=5) in new stack
 -- Executing [receive@fax-receive:4] Set(SIP/192.168.1.69-0005,
 FAXFILE=fax-5-rx.tif) in new stack
 -- Executing [receive@fax-receive:5] Set(SIP/192.168.1.69-0005,
 GLOBAL(LASTFAXCALLERNUM)=6461234567) in new stack
 == Setting global variable 'LASTFAXCALLERNUM' to '6461234567'
 -- Executing [receive@fax-receive:6] Set(SIP/192.168.1.69-0005,
 GLOBAL(LASTFAXCALLERNAME)=) in new stack
 == Setting global variable 'LASTFAXCALLERNAME' to ''
 -- Executing [receive@fax-receive:7]
 NoOp(SIP/192.168.1.69-0005,  SETTING FAXOPT ) in new
 stack
 -- Executing [receive@fax-receive:8] Set(SIP/192.168.1.69-0005,
 FAXOPT(ecm)=yes) in new stack
 -- Executing [receive@fax-receive:9] Set(SIP/192.168.1.69-0005,
 FAXOPT(headerinfo)=MY FAXBACK RX) in new stack
 -- Executing [receive@fax-receive:10]
 Set(SIP/192.168.1.69-0005,
 FAXOPT(localstationid)=1234567890) in new stack
 -- Executing [receive@fax-receive:11]
 Set(SIP/192.168.1.69-0005, FAXOPT(maxrate)=14400) in new
 stack
 -- Executing [receive@fax-receive:12]
 Set(SIP/192.168.1.69-0005, FAXOPT(minrate)=2400) in new
 stack
 -- Executing [receive@fax-receive:13]
 NoOp(SIP/192.168.1.69-0005, FAXOPT(ecm) : yes) in new stack
 -- Executing [receive@fax-receive:14]
 NoOp(SIP/192.168.1.69-0005, FAXOPT(headerinfo) : MY FAXBACK
 RX) in new stack
 -- Executing [receive@fax-receive:15]
 NoOp(SIP/192.168.1.69-0005, FAXOPT(localstationid) :
 1234567890) in new stack
 -- Executing [receive@fax-receive:16]
 NoOp(SIP/192.168.1.69-0005, FAXOPT(maxrate) : 14400) in new
 stack
 -- Executing [receive@fax-receive:17]
 NoOp(SIP/192.168.1.69-0005, FAXOPT(minrate) : 2400) in new
 stack
 -- Executing [receive@fax-receive:18]
 NoOp(SIP/192.168.1.69-0005,  RECEIVING FAX : fax-5-rx.tif
 ) in new stack
 -- Executing [receive@fax-receive:19]
 ReceiveFAX(SIP/192.168.1.69-0005,
 /var/spool/asterisk/fax/fax-5-rx.tif) in new stack
 -- Channel 'SIP/192.168.1.69-0005' receiving FAX
 '/var/spool/asterisk/fax/fax-5-rx.tif'
 == Using UDPTL CoS mark 5
 [Jun 4 12:35:02] NOTICE[10371]: chan_sip.c:7577 sip_read: FAX CNG
 detected but no fax extension
 [Jun 4 12:35:02] WARNING[10072]: res_fax.c:1666 receivefax_t38_init:
 channel 'SIP/192.168.1.69-0005' refused to negotiate T.38
 [Jun 4 12:35:02] WARNING[10072]: res_fax.c:1687 receivefax_t38_init:
 Audio FAX not allowed on channel 'SIP/192.168.1.69-0005' and
 T.38 negotiation failed; aborting.
 [Jun 4 12:35:02] ERROR[10072]: res_fax.c:1891 receivefax_exec: error
 initializing channel 'SIP/192.168.1.69-0005' in T.38 mode
 == Spawn extension (fax-receive, receive, 19) exited non-zero on
 'SIP/192.168.1.69-0005'

 In my sip.conf global configuration I enabled 'fax detect' and
 't38pt_udptl' and added Cisco VGW peer;

 [CiscoVGW-10.70.X.X]
 host=10.70.X.X
 type=friend
 disallow=all
 allow=ulaw
 allow=alaw
 nat=yes
 insecure=port,invite
 context=fax-call
 canreinvite=no
 qualify=yes
 dtmfmode=inband


T.38 failed to negotiate. That means either your Asterisk side, or your Cisco 
side are not playing nicely together. A packet capture of the call setup would 
be helpful to determine which side is having the issues.

--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] Fax over IP?

2012-06-04 Thread Tim Nelson
- Original Message - 

 Hi Tim,

 ...

 While the fax machine starts to send the fax after a while it gives
 the message, 'Fax failed' with error code: '388'. Is it the end
 point fax machine issue or else? Please assist me out to resolve
 this issue at earliest.

Please do not email me directly. I've already responded on list, despite 
wanting to let this sit for a few days in response to you asking for support 
'at earliest'... The Asterisk support list has no SLA, only governed by the 
time and willingness of the members to participate. Thanks.

--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] Fax over IP ?

2012-06-01 Thread Ahmed Munir
Hi all,

Couple of things I would like ask, does Asterisk provides free license for
FoIP (for 1 channel) or need to purchase it? Couple of years back, I was
able to send and receive the fax using Digium T1 card, in term of FoIP how
can I able to receive fax from traditional telephone lines / T1 lines? As
far my understanding, the functionality for FoIP is to send fax to email or
receive fax from email i.e. using T.38 protocol.

The thing I would like to know how I can implement this solution i.e.
receiving fax via IP? Correct me if I'm wrong, while receiving fax from
traditional telephone lines will the topology looks like as listed below;

PSTN Lines -- Asterisk (mounted a T1/ analog card) -- IP -- Asterisk
(receive Fax over IP)

or else?

Please advice.


-- 
Regards,

Ahmed Munir Chohan
--
_
-- 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] Fax over IP ?

2012-06-01 Thread Tim Nelson
- Original Message - 
 Hi all,
 Couple of things I would like ask, does Asterisk provides free
 license for FoIP (for 1 channel) or need to purchase it? Couple of
 years back, I was able to send and receive the fax using Digium T1
 card, in term of FoIP how can I able to receive fax from traditional
 telephone lines / T1 lines? As far my understanding, the
 functionality for FoIP is to send fax to email or receive fax from
 email i.e. using T.38 protocol.
 The thing I would like to know how I can implement this solution i.e.
 receiving fax via IP? Correct me if I'm wrong, while receiving fax
 from traditional telephone lines will the topology looks like as
 listed below;
 PSTN Lines -- Asterisk (mounted a T1/ analog card) -- IP --
 Asterisk (receive Fax over IP)
 or else?

FoIP typically means the fax session traverses an IP link at some point, most 
commonly at the 'last mile'. What happens to the fax after that is up to your 
requirements. The faxes can be emailed out, stored in a web application, 
printed to a printer, etc. The possibilities are endless.

Asterisk does have a few options for faxing. Those are most notably:

1. Fax for Asterisk - Free license available for 1 channel, or paid licenses 
for 2+ channels
2. app_fax (I think this is the current module name) - Free fax module for 
Asterisk, no channel limit, based on SpanDSP
3. Hylafax+ and IAXmodem - Most complicated method of fax setup, but most 
robust and reliable (in my testing). Would require use of Asterisk 10 with T.38 
gateway functionality for proper fax reception.

Just keep in mind raw fax audio over VoIP is a bad idea, see here: 
http://www.soft-switch.org/foip.html

If you can provide some additional details on what you're planning to do, we 
can give more info.

--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] Fax Server for Asterisk

2012-06-01 Thread Tim Nelson
- Original Message - 
 Hi Tim,
 Unfortunately i can't reproduce the scenario because it was a long
 time ago. But it would be nice to hear from you, what things can be
 verified within fax and Asterisk? Any TIP on wireshark monitoring?

Within Asterisk, the debug logs can be helpful for routing/connectivity 
diagnostics. With Hylafax, all of your details will be found in the session 
logs in /var/spool/hylafax/log. Here you can see each session's interaction 
with the remote fax device. It is an art deciphering the various protocols, but 
the folks on the Hylafax lists are incredibly helpful until you've learned the 
magic of understanding the logs directly. :)

--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] Fax over IP?

2012-06-01 Thread Tim Nelson
- Original Message - 
 Hi Tim,

 Thanks for your response. Here is my topology as listing down below;

 PSTN Line -- Cisco Voice GW -- IP Cloud -- Asterisk

 Will Asterisk able to receive the fax (as in topology above) using
 its' fax module? In sip.conf I enabled fax detection and T.38.
 Actually I don't want
 to use Hylafax + iaxmodem as per requirement.

If your Cisco voice gateway can deliver the calls using T.38, that should give 
you decent reliability. You'll want to us Asterisk 10 which has the best T.38 
support at this point (compared to older releases). The receiving side of the 
equation then becomes whether to use Fax for Asterisk (commercial, 1 free 
channel, 2+ paid), or the included SpanDSP based fax module.

--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] Fax Server for Asterisk

2012-05-31 Thread Danny Dias
Hi Tim,

Unfortunately i can't reproduce the scenario because it was a long time
ago. But it would be nice to hear from you, what things can be verified
within fax and Asterisk? Any TIP on wireshark monitoring?
El 31/05/2012 03:08, Tim Nelson tnel...@rockbochs.com escribió:

 - Original Message -
  I've used Asterisk 1.4.22 with hylafax and iaxmodem and it wasn't
  reliable at all; sometimes the fax reach the destination, sometimes
  not, and even worse, asterisk got froozen...(here using analog lines
  over Sangoma B600 and Digium TDM400P, same behavior with both.
  Other history with same asterisk version but E1 lines, it was
  PERFECT. That's why i ask for analog lines, since not all customers
  has E1.
  Any recommendation/restriction when using hylafax + Asterisk +
  iaxmodem ?
  BR

 If Asterisk was freezing up, that would seem to indicate a problem with
 Asterisk, not the Hylafax/IAXmodem components. Of course, details would be
 needed to determine why that was the case.

 Regardless, without lockups of Asterisk, reliability of fax is very
 dependent on timing and audio quality. Again, details would be needed to
 further investigate why you had high failure metrics(specifically your fax
 session logs from /var/spool/hylafax/log).

 In general, Hylafax+[1] and IAXmodem is the most rock solid stable fax
 solution available, as long as you can get past the initial learning curve.
 There is a reason why IAXmodem has not had a release in forever as the
 1.2.0 release is rock solid stable. Hylafax+ continues to be developed with
 regular releases, the feature set and functionality are second to none with
 hooks for almost any imaginable configuration, and the support via the
 mailing lists or available contractors can't be beat.

 /soapbox

 If you have specifics about your problems with Hylafax and IAXmodem, I'd
 love to hear about them to help diagnose, if it is postmortem.

 --Tim

 [1] There *IS* a difference between Hylafax (hylafax.org) and
 Hylafax+ (hylafax.sourceforge.net). Please see here:
 http://hylafax.sourceforge.net/about.php

 --
 _
 -- 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] Fax Server for Asterisk

2012-05-30 Thread Randall

On 05/30/2012 12:02 AM, Danny Dias wrote:

Hi all,

Does Hylafax and IAXmodem works with analog lines? or only with E1?

I've been checking some commercial solutions (in case Asterisk is not 
on site, and the customer wants a Fax Server as standalone), i saw 
FaxBack and Linkcom e-fax


But again, if Hylafax and iaxmodem works also with analog lines, that 
would be better to use. Could you please confirm? any place to check 
How-To on Hylafax and Iaxmodem?


not sure what your requirements are, but i can +1 the reliability of 
hylafax, have been using it for years problem free although only +- 10 
faxes a day, and its running on an old leftover pc with a cheap modem on 
a analog line.


i use it in combination with avantfax as a web front end and email2fax, 
its a cheap and Free solution, easy to use, low maintenance etc


never used iaxmodem though



Many thanks!!!

2012/5/29 Carlos Alvarez car...@televolve.com 
mailto:car...@televolve.com



On Tue, May 29, 2012 at 8:03 AM, Warren Selby
wcse...@selbytech.com mailto:wcse...@selbytech.com wrote:

On Tue, May 29, 2012 at 3:10 AM, Danny Dias
ing.diasda...@gmail.com mailto:ing.diasda...@gmail.com wrote:

Hello,

For those customers with only analog lines, who ask for
fax2email and email2fax, whats the most reliable solution
available and tested with Asterisk?

Thanks



I've been real happy with using HylaFax+ and Iaxmodem
implementations.



We have a few Hylafax servers in our network.  Both it and
IAXmodem are a real bear to learn at first (well, so is Asterisk)
but when you get them working, they are rock solid.  I hadn't even
thought about it, but it's been at least a year since I logged
into any of our Hylafax servers and did anything to them.  They
just work.

I would estimate I put in a solid 30 hours into learning and
configuring the first server, and then some more time learning
additional capabilities and best practices.  But again, since
doing that, it's been totally hands-off.

I will add though that we also use Fax for Asterisk simply to
receive and turn faxes into PDF for some customers, and that is
perfectly stable also.


-- 
Carlos Alvarez

TelEvolve
602-889-3003 tel:602-889-3003



--
_
-- 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




--
www.danntel.net http://www.danntel.net
_sip:danny4...@thesipschool.com mailto:danny4...@thesipschool.com_
sip:dann...@opensips.org mailto:sip%3adann...@opensips.org






--
_
-- 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] Fax Server for Asterisk

2012-05-30 Thread Danny Dias
I've used Asterisk 1.4.22 with hylafax and iaxmodem and it wasn't reliable
at all; sometimes the fax reach the destination, sometimes not, and even
worse, asterisk got froozen...(here using analog lines over Sangoma B600
and Digium TDM400P, same behavior with both.

Other history with same asterisk version but E1 lines, it was PERFECT.
That's why i ask for analog lines, since not all customers has E1.

Any recommendation/restriction when using hylafax + Asterisk + iaxmodem ?

BR
El 29/05/2012 22:29, Carlos Alvarez car...@televolve.com escribió:
--
_
-- 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] Fax Server for Asterisk

2012-05-30 Thread Danny Dias
Just to clarify, i were using fax machines connected to fxs ports
El 30/05/2012 20:31, Danny Dias ing.diasda...@gmail.com escribió:

 I've used Asterisk 1.4.22 with hylafax and iaxmodem and it wasn't reliable
 at all; sometimes the fax reach the destination, sometimes not, and even
 worse, asterisk got froozen...(here using analog lines over Sangoma B600
 and Digium TDM400P, same behavior with both.

 Other history with same asterisk version but E1 lines, it was PERFECT.
 That's why i ask for analog lines, since not all customers has E1.

 Any recommendation/restriction when using hylafax + Asterisk + iaxmodem ?

 BR
 El 29/05/2012 22:29, Carlos Alvarez car...@televolve.com escribió:

--
_
-- 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] Fax Server for Asterisk

2012-05-30 Thread Duncan Turnbull
I had Hylafax sending 1000s of faxes a day twice a week connected to analogue 
lines using asterisk and iaxmodem for about 4 years. People don't use fax much 
anymore though

No problems whatsoever 

Cheers Duncan

On 31/05/2012, at 6:49 AM, Danny Dias wrote:

 Just to clarify, i were using fax machines connected to fxs ports
 
 El 30/05/2012 20:31, Danny Dias ing.diasda...@gmail.com escribió:
 I've used Asterisk 1.4.22 with hylafax and iaxmodem and it wasn't reliable at 
 all; sometimes the fax reach the destination, sometimes not, and even worse, 
 asterisk got froozen...(here using analog lines over Sangoma B600 and Digium 
 TDM400P, same behavior with both.
 
 Other history with same asterisk version but E1 lines, it was PERFECT. That's 
 why i ask for analog lines, since not all customers has E1.
 
 Any recommendation/restriction when using hylafax + Asterisk + iaxmodem ?
 
 BR
 
 El 29/05/2012 22:29, Carlos Alvarez car...@televolve.com escribió:
 --
 _
 -- 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] Fax Server for Asterisk

2012-05-30 Thread Tim Nelson
- Original Message - 
 I've used Asterisk 1.4.22 with hylafax and iaxmodem and it wasn't
 reliable at all; sometimes the fax reach the destination, sometimes
 not, and even worse, asterisk got froozen...(here using analog lines
 over Sangoma B600 and Digium TDM400P, same behavior with both.
 Other history with same asterisk version but E1 lines, it was
 PERFECT. That's why i ask for analog lines, since not all customers
 has E1.
 Any recommendation/restriction when using hylafax + Asterisk +
 iaxmodem ?
 BR

If Asterisk was freezing up, that would seem to indicate a problem with 
Asterisk, not the Hylafax/IAXmodem components. Of course, details would be 
needed to determine why that was the case.

Regardless, without lockups of Asterisk, reliability of fax is very dependent 
on timing and audio quality. Again, details would be needed to further 
investigate why you had high failure metrics(specifically your fax session logs 
from /var/spool/hylafax/log).

In general, Hylafax+[1] and IAXmodem is the most rock solid stable fax solution 
available, as long as you can get past the initial learning curve. There is a 
reason why IAXmodem has not had a release in forever as the 1.2.0 release is 
rock solid stable. Hylafax+ continues to be developed with regular releases, 
the feature set and functionality are second to none with hooks for almost any 
imaginable configuration, and the support via the mailing lists or available 
contractors can't be beat.

/soapbox

If you have specifics about your problems with Hylafax and IAXmodem, I'd love 
to hear about them to help diagnose, if it is postmortem.

--Tim

[1] There *IS* a difference between Hylafax (hylafax.org) and Hylafax+ 
(hylafax.sourceforge.net). Please see here: 
http://hylafax.sourceforge.net/about.php

--
_
-- 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] Fax Server for Asterisk

2012-05-29 Thread Danny Dias
Hello,

For those customers with only analog lines, who ask for fax2email and
email2fax, whats the most reliable solution available and tested with
Asterisk?

Thanks
--
_
-- 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] Fax Server for Asterisk

2012-05-29 Thread Warren Selby
On Tue, May 29, 2012 at 3:10 AM, Danny Dias ing.diasda...@gmail.com wrote:

 Hello,

 For those customers with only analog lines, who ask for fax2email and
 email2fax, whats the most reliable solution available and tested with
 Asterisk?

 Thanks


I've been real happy with using HylaFax+ and Iaxmodem implementations.

-- 
Thanks,
--Warren Selby, dCAP
http://www.SelbyTech.com http://www.selbytech.com
--
_
-- 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] Fax Server for Asterisk

2012-05-29 Thread Bakko

Any hint about email2fax?

Thank you

El 29/05/2012 17:03, Warren Selby escribió:
On Tue, May 29, 2012 at 3:10 AM, Danny Dias ing.diasda...@gmail.com 
mailto:ing.diasda...@gmail.com wrote:


Hello,

For those customers with only analog lines, who ask for fax2email
and email2fax, whats the most reliable solution available and
tested with Asterisk?

Thanks



I've been real happy with using HylaFax+ and Iaxmodem implementations.

--
Thanks,
--Warren Selby, dCAP
http://www.SelbyTech.com http://www.selbytech.com



--
_
-- 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] Fax Server for Asterisk

2012-05-29 Thread Tim Nelson
- Original Message - 
 On Tue, May 29, 2012 at 3:10 AM, Danny Dias  ing.diasda...@gmail.com
  wrote:
  Hello,
 
  For those customers with only analog lines, who ask for fax2email
  and
  email2fax, whats the most reliable solution available and tested
  with Asterisk?
 
  Thanks
 
 I've been real happy with using HylaFax+ and Iaxmodem
 implementations.

+1 for this recommendation. Integrated approaches such as app_fax/res_fax may 
be 'easier', but you'll never the amount of customization, tunability, and 
control available with IAXmodem and Hylafax+.

--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] Fax Server for Asterisk

2012-05-29 Thread Carlos Alvarez
On Tue, May 29, 2012 at 8:03 AM, Warren Selby wcse...@selbytech.com wrote:

 On Tue, May 29, 2012 at 3:10 AM, Danny Dias ing.diasda...@gmail.comwrote:

 Hello,

 For those customers with only analog lines, who ask for fax2email and
 email2fax, whats the most reliable solution available and tested with
 Asterisk?

 Thanks


 I've been real happy with using HylaFax+ and Iaxmodem implementations.



We have a few Hylafax servers in our network.  Both it and IAXmodem are a
real bear to learn at first (well, so is Asterisk) but when you get them
working, they are rock solid.  I hadn't even thought about it, but it's
been at least a year since I logged into any of our Hylafax servers and did
anything to them.  They just work.

I would estimate I put in a solid 30 hours into learning and configuring
the first server, and then some more time learning additional capabilities
and best practices.  But again, since doing that, it's been totally
hands-off.

I will add though that we also use Fax for Asterisk simply to receive and
turn faxes into PDF for some customers, and that is perfectly stable also.


-- 
Carlos Alvarez
TelEvolve
602-889-3003
--
_
-- 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] Fax Server for Asterisk

2012-05-29 Thread Danny Dias
Hi all,

Does Hylafax and IAXmodem works with analog lines? or only with E1?

I've been checking some commercial solutions (in case Asterisk is not on
site, and the customer wants a Fax Server as standalone), i saw FaxBack and
Linkcom e-fax

But again, if Hylafax and iaxmodem works also with analog lines, that would
be better to use. Could you please confirm? any place to check How-To on
Hylafax and Iaxmodem?

Many thanks!!!

2012/5/29 Carlos Alvarez car...@televolve.com


 On Tue, May 29, 2012 at 8:03 AM, Warren Selby wcse...@selbytech.comwrote:

 On Tue, May 29, 2012 at 3:10 AM, Danny Dias ing.diasda...@gmail.comwrote:

 Hello,

 For those customers with only analog lines, who ask for fax2email and
 email2fax, whats the most reliable solution available and tested with
 Asterisk?

 Thanks


 I've been real happy with using HylaFax+ and Iaxmodem implementations.



 We have a few Hylafax servers in our network.  Both it and IAXmodem are a
 real bear to learn at first (well, so is Asterisk) but when you get them
 working, they are rock solid.  I hadn't even thought about it, but it's
 been at least a year since I logged into any of our Hylafax servers and did
 anything to them.  They just work.

 I would estimate I put in a solid 30 hours into learning and configuring
 the first server, and then some more time learning additional capabilities
 and best practices.  But again, since doing that, it's been totally
 hands-off.

 I will add though that we also use Fax for Asterisk simply to receive and
 turn faxes into PDF for some customers, and that is perfectly stable also.


 --
 Carlos Alvarez
 TelEvolve
 602-889-3003



 --
 _
 -- 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




-- 
www.danntel.net
*sip:danny4...@thesipschool.com*
sip:dann...@opensips.org
--
_
-- 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] Fax Server for Asterisk

2012-05-29 Thread Duncan Turnbull

On 30/05/2012, at 10:02 AM, Danny Dias wrote:

 Hi all, 
 
 Does Hylafax and IAXmodem works with analog lines? or only with E1?
 
Hylafax can use any fax modems: available E1 or analogue, ISDN as long as it 
can talk to it to send the commands

If you add asterisk and iaxmodem then hylafax can run through anything asterisk 
is connected to - although it will suffer on SIP and IAX lines that have jitter 
or bandwidth limitations

You only need iaxmodem to talk to asterisk, otherwise hylafax (or hylafax+) has 
a whole list of supported hardware
http://www.hylafax.org/content/Hardware_Compatibility_List

 I've been checking some commercial solutions (in case Asterisk is not on 
 site, and the customer wants a Fax Server as standalone), i saw FaxBack and 
 Linkcom e-fax
 
 But again, if Hylafax and iaxmodem works also with analog lines, that would 
 be better to use. Could you please confirm? any place to check How-To on 
 Hylafax and Iaxmodem?
 
 Many thanks!!!
 
 
Cheers Duncan--
_
-- 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] Fax Problem on direct FXO port

2012-05-18 Thread Sebastian Gutierrez
Hi Steve,

Thanks for the reply, I didn't change anything else, just changed spandsp 
version to de FFA, I use the spandsp version with more success in other places, 
but in this particular case, sending faxes works ok with both versions but with 
spandsp I couldn't receive any fax, with FFA I may get 70% of faxes ok.




On May 18, 2012, at 1:35 AM, Steve Underwood wrote:

 Hi Sebastian,
 
 has still some issues that not all faxes pass ok, but does the work == 
 still badly broken
 
 Your log doesn't seem to show a spandsp error. It looks more like a bad 
 signal. Did you change anything else when you installed FFA? Usually people 
 move the other way to improve their results.
 
 Steve
 
 
 On 05/18/2012 09:38 AM, Sebastian Gutierrez wrote:
 Rusty,
 
 thanks for the reply, the issue seems a spandsp issue, I changed to digium 
 free asterisk fax and works much better, has still some issues that not all 
 faxes pass ok, but does the work.
 
 thanks!
 
 
 
 On May 17, 2012, at 1:06 PM, Rusty Newton wrote:
 
 Sebastian,
 
 Seeing as this an issue related to faxing using the SpanDSP library; if you 
 do not get an answer leading to a solution here, then you may try asking on 
 the SpanDSP mailing list http://lists.soft-switch.org/mailman/listinfo
 
 It's likely that the Asterisk users, specifically using SpanDSP, may be on 
 that list.
 
 Thanks,
 
 Rusty Newton
 Open Source Community Support Manager
 Digium, Inc |www.digium.com  |www.asterisk.org
 
 On 5/16/2012 12:44 PM, Sebastian Gutierrez wrote:
 Hi,
 
 
 I´m with asterisk 1.6.2.20
 DAHDI Version: 2.5.0.2 Echo Canceller: HWEC, MG2
 SpanDSP: spandsp-0.0.6pre20.tgz 
 http://www.soft-switch.org/downloads/spandsp/spandsp-0.0.6pre20.tgz
 
 FXO lines.
 
 Sending faxes works ok.
 
 but receiving gives me error:
 
 here is the debug:
 
 http://pastebin.com/qfFeXWQW
 
 
 any idea??
 
 
 Thanks!
 
 
 
 
 --
 _
 -- 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] Fax Problem on direct FXO port

2012-05-18 Thread Lee Howard

On 05/18/2012 04:45 AM, Sebastian Gutierrez wrote:

with FFA I may get 70% of faxes ok.


Nobody that I work with would consider that acceptable.

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] Fax Problem on direct FXO port

2012-05-17 Thread Rusty Newton

Sebastian,

 Seeing as this an issue related to faxing using the SpanDSP library; 
if you do not get an answer leading to a solution here, then you may try 
asking on the SpanDSP mailing list 
http://lists.soft-switch.org/mailman/listinfo


It's likely that the Asterisk users, specifically using SpanDSP, may be 
on that list.


Thanks,

Rusty Newton
Open Source Community Support Manager
Digium, Inc | www.digium.com | www.asterisk.org


On 5/16/2012 12:44 PM, Sebastian Gutierrez wrote:

Hi,


I´m with asterisk 1.6.2.20
DAHDI Version: 2.5.0.2 Echo Canceller: HWEC, MG2
SpanDSP: spandsp-0.0.6pre20.tgz 
http://www.soft-switch.org/downloads/spandsp/spandsp-0.0.6pre20.tgz


FXO lines.

Sending faxes works ok.

but receiving gives me error:

here is the debug:

http://pastebin.com/qfFeXWQW


any idea??


Thanks!



--
_
-- 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] Fax Problem on direct FXO port

2012-05-17 Thread Steve Underwood

Hi Sebastian,

has still some issues that not all faxes pass ok, but does the work == 
still badly broken


Your log doesn't seem to show a spandsp error. It looks more like a bad 
signal. Did you change anything else when you installed FFA? Usually 
people move the other way to improve their results.


Steve


On 05/18/2012 09:38 AM, Sebastian Gutierrez wrote:

Rusty,

thanks for the reply, the issue seems a spandsp issue, I changed to 
digium free asterisk fax and works much better, has still some issues 
that not all faxes pass ok, but does the work.


thanks!



On May 17, 2012, at 1:06 PM, Rusty Newton wrote:


Sebastian,

 Seeing as this an issue related to faxing using the SpanDSP library; 
if you do not get an answer leading to a solution here, then you may 
try asking on the SpanDSP mailing list 
http://lists.soft-switch.org/mailman/listinfo


It's likely that the Asterisk users, specifically using SpanDSP, may 
be on that list.


Thanks,

Rusty Newton
Open Source Community Support Manager
Digium, Inc |www.digium.com  |www.asterisk.org

On 5/16/2012 12:44 PM, Sebastian Gutierrez wrote:

Hi,


I´m with asterisk 1.6.2.20
DAHDI Version: 2.5.0.2 Echo Canceller: HWEC, MG2
SpanDSP: spandsp-0.0.6pre20.tgz 
http://www.soft-switch.org/downloads/spandsp/spandsp-0.0.6pre20.tgz


FXO lines.

Sending faxes works ok.

but receiving gives me error:

here is the debug:

http://pastebin.com/qfFeXWQW


any idea??


Thanks!





--
_
-- 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] Fax Problem on direct FXO port

2012-05-16 Thread Sebastian Gutierrez
Hi,


I´m with asterisk 1.6.2.20
DAHDI Version: 2.5.0.2 Echo Canceller: HWEC, MG2
SpanDSP: spandsp-0.0.6pre20.tgz

FXO lines.

Sending faxes works ok.

but receiving gives me error: 

here is the debug:

http://pastebin.com/qfFeXWQW


any idea??


Thanks!

--
_
-- 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] Fax .pdf from Asterisk

2012-05-04 Thread James Sharp

On 5/4/12 1:57 AM, Bruce B wrote:

James,

That is amazing details. I can use all of this. Thank you for sharing.

I am assuming you installed res_fax from repository?
*yum install asterisk18-res_fax_digium.i386*


No.  I built Asterisk 10 from source.  Once I installed spandsp, the 
menuconfig had the option of installing app_fax.



And how did you install SpanDSP? Is there a guide you used?


Downloaded and built from source from 
http://soft-switch.org/downloads/spandsp/


It builds easy.


I am aiming for multi-channels fax so the digium one won't do for me as
it's one channel limit like you mentioned. I probably don't need T.38
but hey it won't hurt to have it.


Well, the Digium one isn't always limited to 1 channel, just 1 channel 
for the free version.  And honestly, if you can get T.38 support it will 
make your life a lot easier.  Faxing over VOIP is hit  miss.  Doing 
T.38 Fax over IP makes faxing a lot more reliable.



--
_
-- 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] Fax .pdf from Asterisk

2012-05-03 Thread Bruce B
Hello,

I want to send out 1000 faxes. I have an excel sheet of numbers and I have
Asterisk 1.8 installed from repository. I don't want to use a fax machine
or any ATAs or analogue equipment. How would Asterisk help me with faxing
these? and what add-ons do I need to make this possible?

I can work my way around doing bash script and do Asterisk spool files, but
I am unclear as to what happens from that point on to getting the result of
fax sent or not. Some guidance is much appreciated.

Thanks,
Bruce
--
_
-- 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] Fax .pdf from Asterisk

2012-05-03 Thread Lee Howard

On 05/03/2012 01:28 PM, Bruce B wrote:
I want to send out 1000 faxes. I have an excel sheet of numbers and I 
have Asterisk 1.8 installed from repository. I don't want to use a fax 
machine or any ATAs or analogue equipment. How would Asterisk help me 
with faxing these? and what add-ons do I need to make this possible?


Not interested in HylaFAX with IAXmodems?  (I presume that you are using 
PSTN circuits and not VoIP.)


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] Fax .pdf from Asterisk

2012-05-03 Thread Bruce B
Lee,

Much appreciated for the input.

I am running all VoIP. SIP and IAX2 to our ITSPs. Please elaborate on
HylaFax and IAXmodems. Is there a guide posted on to get it running, or is
it part of the repository? Once installed how would one send .pdf as fax?

Thanks,
Bruce

On Thu, May 3, 2012 at 7:42 PM, Lee Howard fax...@howardsilvan.com wrote:

 On 05/03/2012 01:28 PM, Bruce B wrote:

 I want to send out 1000 faxes. I have an excel sheet of numbers and I
 have Asterisk 1.8 installed from repository. I don't want to use a fax
 machine or any ATAs or analogue equipment. How would Asterisk help me with
 faxing these? and what add-ons do I need to make this possible?


 Not interested in HylaFAX with IAXmodems?  (I presume that you are using
 PSTN circuits and not VoIP.)

 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] Fax .pdf from Asterisk

2012-05-03 Thread James Sharp

On 5/3/12 9:16 PM, Bruce B wrote:

Lee,

Much appreciated for the input.

I am running all VoIP. SIP and IAX2 to our ITSPs. Please elaborate on
HylaFax and IAXmodems. Is there a guide posted on to get it running, or
is it part of the repository? Once installed how would one send .pdf as fax?


You can either use the Free Fax for Asterisk single channel at a time 
fax system or app_fax that uses the SpanDSP library.  I'm working on a 
similar system myself that uses the SpanDSP system because I could never 
get FFFA to talk T.38 right to my provider (Gafachi).


I use spoolfiles to create a call that lands in my dialplan and from 
there, I can pick up the fax results in the dialplan.



Here's my callfile

Channel: SIP/1771655@gafachi1a
CallerID: 18005551212
MaxRetries: 0
RetryTime: 60
WaitTime: 30
Context: faxout
Extension: 5
Priority: 1


And my extensions file

[faxout]
exten = 5,1,SendFAX(/tmp/test.tiff,a)
exten = 5,n,Noop(${LOCALSTATIONID});
exten = 5,n,Noop(${LOCALHEADERINFO});
exten = 5,n,Noop(${FAXSTATUS});
exten = 5,n,Noop(${FAXERROR});
exten = 5,n,Noop(${REMOTESTATIONID});
exten = 5,n,Noop(${FAXPAGES});
exten = 5,n,Noop(${FAXBITRATE});
exten = 5,n,Noop(${FAXRESOLUTION});

Note that I use the a option in SendFAX.  That makes it change 
behaviors on negotiating things like T.38.  It was needed for my 
provider, but it may not be needed for yours.  You may or may not 
need/even have access to T.38 faxing.




You will have to convert the PDF to a TIFF file before you can send it 
with either Fax subsystem.


gs -q -dNOPAUSE -dBATCH -sDEVICE=tiffg4 -sPAPERSIZE=letter 
-sOutputFile=/tmp/test.tiff test.pdf


--
_
-- 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] Fax .pdf from Asterisk

2012-05-03 Thread Bruce B
James,

That is amazing details. I can use all of this. Thank you for sharing.

I am assuming you installed res_fax from repository?
*yum install asterisk18-res_fax_digium.i386*

And how did you install SpanDSP? Is there a guide you used?

I am aiming for multi-channels fax so the digium one won't do for me as
it's one channel limit like you mentioned. I probably don't need T.38 but
hey it won't hurt to have it.

Thanks again,



On Fri, May 4, 2012 at 12:37 AM, James Sharp ja...@fivecats.org wrote:

 On 5/3/12 9:16 PM, Bruce B wrote:

 Lee,

 Much appreciated for the input.

 I am running all VoIP. SIP and IAX2 to our ITSPs. Please elaborate on
 HylaFax and IAXmodems. Is there a guide posted on to get it running, or
 is it part of the repository? Once installed how would one send .pdf as
 fax?


 You can either use the Free Fax for Asterisk single channel at a time
 fax system or app_fax that uses the SpanDSP library.  I'm working on a
 similar system myself that uses the SpanDSP system because I could never
 get FFFA to talk T.38 right to my provider (Gafachi).

 I use spoolfiles to create a call that lands in my dialplan and from
 there, I can pick up the fax results in the dialplan.


 Here's my callfile

 Channel: SIP/1771655@gafachi1a
 CallerID: 18005551212
 MaxRetries: 0
 RetryTime: 60
 WaitTime: 30
 Context: faxout
 Extension: 5
 Priority: 1


 And my extensions file

 [faxout]
 exten = 5,1,SendFAX(/tmp/test.tiff,a)
 exten = 5,n,Noop(${LOCALSTATIONID});
 exten = 5,n,Noop(${LOCALHEADERINFO});
 exten = 5,n,Noop(${FAXSTATUS});
 exten = 5,n,Noop(${FAXERROR});
 exten = 5,n,Noop(${REMOTESTATIONID});
 exten = 5,n,Noop(${FAXPAGES});
 exten = 5,n,Noop(${FAXBITRATE});
 exten = 5,n,Noop(${FAXRESOLUTION});

 Note that I use the a option in SendFAX.  That makes it change behaviors
 on negotiating things like T.38.  It was needed for my provider, but it may
 not be needed for yours.  You may or may not need/even have access to T.38
 faxing.



 You will have to convert the PDF to a TIFF file before you can send it
 with either Fax subsystem.

 gs -q -dNOPAUSE -dBATCH -sDEVICE=tiffg4 -sPAPERSIZE=letter
 -sOutputFile=/tmp/test.tiff test.pdf

 --
 __**__**_
 -- 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-**usershttp://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

  1   2   3   4   5   6   7   8   9   10   >