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

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 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 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 Detection with chan_ss7

2011-08-05 Thread AC
Hi all,

http://www.voip-info.org/wiki/view/Asterisk+fax shows that it is possible to
get asterisk to automatically detect a fax. However, I am using chan_ss7
instead of chan_dahdi or chan_zap. Is it possible to detect a fax with
chan_ss7?

Thanks,
Amish
--
_
-- 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 on SIP

2010-01-15 Thread --[ UxBoD ]--
- Paul Scott p...@cpanel.net wrote:

 Yeah sounds like you wanna use NVFaxDetect
 
 it would allow you to add something like exten = fax,1,Swift(number 
 
 has changed); to your inbound call part of your dialplan
 
 
 
 On Jan 14, 2010, at 11:45 AM, Juan C. Villa wrote:
 
  Could you use NVFaxDetect?
 
  On Thu, 2010-01-14 at 17:35 +, --[ UxBoD ]-- wrote:
  Hi,
 
  We have a issue where one of our clients is receiving a high volume
  
  of calls from automated fax machines and passing through their  
  context which means all phones get rung.
 
  I am looking for a way to detect the fax tone, on answer, and route
  
  it to a extension/macro where a announcement would tell them the  
  correct number to fax to.
 
  The inbound calls are across SIP so am not able to use DADHI.   
  Would this scenario be perfect for Fax for Asterisk ?
 
  All help greatfully appreciated.
 

The problem is that NVFaxDetect does not appear to work with Asterisk 1.6.X :( 
Looking for something that is actively supported.

Thanks, Phil


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

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


Re: [asterisk-users] Fax Detection on SIP

2010-01-15 Thread --[ UxBoD ]--
- --[ UxBoD ]-- ux...@splatnix.net wrote:

 - Paul Scott p...@cpanel.net wrote:
 
  Yeah sounds like you wanna use NVFaxDetect
  
  it would allow you to add something like exten =
 fax,1,Swift(number 
  
  has changed); to your inbound call part of your dialplan
  
  
  
  On Jan 14, 2010, at 11:45 AM, Juan C. Villa wrote:
  
   Could you use NVFaxDetect?
  
   On Thu, 2010-01-14 at 17:35 +, --[ UxBoD ]-- wrote:
   Hi,
  
   We have a issue where one of our clients is receiving a high
 volume
   
   of calls from automated fax machines and passing through their  
   context which means all phones get rung.
  
   I am looking for a way to detect the fax tone, on answer, and
 route
   
   it to a extension/macro where a announcement would tell them the 
 
   correct number to fax to.
  
   The inbound calls are across SIP so am not able to use DADHI.   
   Would this scenario be perfect for Fax for Asterisk ?
  
   All help greatfully appreciated.
  
 
 The problem is that NVFaxDetect does not appear to work with Asterisk
 1.6.X :( Looking for something that is actively supported.
 
Well perhaps I should have read the sip.conf ;) Okay so I am able to set 
faxdetect=yes and then I presume just create a extension in the target context:

exten = fax,1,Play(sorry-wrong-fax-number)
exten = fax,n,Hangup()
-- 
Thanks, Phil

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

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


Re: [asterisk-users] Fax Detection on SIP

2010-01-15 Thread Juan C. Villa
I have NVFaxDetect working 100% with Asterisk 1.6. Check out this
article in my blog on details of how I got it working:
http://cloudsconnected.com/?p=57

Good luck!

On Fri, 2010-01-15 at 11:28 +, --[ UxBoD ]-- wrote:
 - Paul Scott p...@cpanel.net wrote:
 
  Yeah sounds like you wanna use NVFaxDetect
  
  it would allow you to add something like exten = fax,1,Swift(number 
  
  has changed); to your inbound call part of your dialplan
  
  
  
  On Jan 14, 2010, at 11:45 AM, Juan C. Villa wrote:
  
   Could you use NVFaxDetect?
  
   On Thu, 2010-01-14 at 17:35 +, --[ UxBoD ]-- wrote:
   Hi,
  
   We have a issue where one of our clients is receiving a high volume
   
   of calls from automated fax machines and passing through their  
   context which means all phones get rung.
  
   I am looking for a way to detect the fax tone, on answer, and route
   
   it to a extension/macro where a announcement would tell them the  
   correct number to fax to.
  
   The inbound calls are across SIP so am not able to use DADHI.   
   Would this scenario be perfect for Fax for Asterisk ?
  
   All help greatfully appreciated.
  
 
 The problem is that NVFaxDetect does not appear to work with Asterisk 1.6.X 
 :( Looking for something that is actively supported.
 
 Thanks, Phil
 
 




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

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


Re: [asterisk-users] Fax Detection on SIP

2010-01-15 Thread Olivier
2010/1/15 --[ UxBoD ]-- ux...@splatnix.net

 - --[ UxBoD ]-- ux...@splatnix.net wrote:

  - Paul Scott p...@cpanel.net wrote:
 
   Yeah sounds like you wanna use NVFaxDetect
  
   it would allow you to add something like exten =
  fax,1,Swift(number
  
   has changed); to your inbound call part of your dialplan
  
  
  
   On Jan 14, 2010, at 11:45 AM, Juan C. Villa wrote:
  
Could you use NVFaxDetect?
   
On Thu, 2010-01-14 at 17:35 +, --[ UxBoD ]-- wrote:
Hi,
   
We have a issue where one of our clients is receiving a high
  volume
  
of calls from automated fax machines and passing through their
context which means all phones get rung.
   
I am looking for a way to detect the fax tone, on answer, and
  route
  
it to a extension/macro where a announcement would tell them the
 
correct number to fax to.
   
The inbound calls are across SIP so am not able to use DADHI.
Would this scenario be perfect for Fax for Asterisk ?
   
All help greatfully appreciated.
   
 
  The problem is that NVFaxDetect does not appear to work with Asterisk
  1.6.X :( Looking for something that is actively supported.
 
 Well perhaps I should have read the sip.conf ;) Okay so I am able to set
 faxdetect=yes and then I presume just create a extension in the target
 context:

 exten = fax,1,Play(sorry-wrong-fax-number)
 exten = fax,n,Hangup()


What about the answering phone (the one that received the call that was
later detected as a fax call) ?

To my knowledge, when asterisk is jumping into fax priority, the answering
phone would hear a busy tone.
Is there a way to let this phone hear a nice prompt saying you're currently
receiving a fax) ?

--
 Thanks, Phil

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

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

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

Re: [asterisk-users] Fax Detection on SIP

2010-01-14 Thread Juan C. Villa
Could you use NVFaxDetect?

On Thu, 2010-01-14 at 17:35 +, --[ UxBoD ]-- wrote:
 Hi,
 
 We have a issue where one of our clients is receiving a high volume of calls 
 from automated fax machines and passing through their context which means all 
 phones get rung.
 
 I am looking for a way to detect the fax tone, on answer, and route it to a 
 extension/macro where a announcement would tell them the correct number to 
 fax to.
 
 The inbound calls are across SIP so am not able to use DADHI.  Would this 
 scenario be perfect for Fax for Asterisk ?
 
 All help greatfully appreciated.
 
 -- 
 Thanks, Phil
 




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

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


[asterisk-users] Fax Detection on SIP

2010-01-14 Thread --[ UxBoD ]--
Hi,

We have a issue where one of our clients is receiving a high volume of calls 
from automated fax machines and passing through their context which means all 
phones get rung.

I am looking for a way to detect the fax tone, on answer, and route it to a 
extension/macro where a announcement would tell them the correct number to fax 
to.

The inbound calls are across SIP so am not able to use DADHI.  Would this 
scenario be perfect for Fax for Asterisk ?

All help greatfully appreciated.

-- 
Thanks, Phil

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

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


Re: [asterisk-users] Fax Detection on SIP

2010-01-14 Thread Paul Scott
Yeah sounds like you wanna use NVFaxDetect

it would allow you to add something like exten = fax,1,Swift(number  
has changed); to your inbound call part of your dialplan



On Jan 14, 2010, at 11:45 AM, Juan C. Villa wrote:

 Could you use NVFaxDetect?

 On Thu, 2010-01-14 at 17:35 +, --[ UxBoD ]-- wrote:
 Hi,

 We have a issue where one of our clients is receiving a high volume  
 of calls from automated fax machines and passing through their  
 context which means all phones get rung.

 I am looking for a way to detect the fax tone, on answer, and route  
 it to a extension/macro where a announcement would tell them the  
 correct number to fax to.

 The inbound calls are across SIP so am not able to use DADHI.   
 Would this scenario be perfect for Fax for Asterisk ?

 All help greatfully appreciated.

 -- 
 Thanks, Phil





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

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

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


[asterisk-users] Fax detection on SIP channel

2009-03-05 Thread Robert McGilvray
 

Is there a built-in way of detecting fax tones, or a switch to T.38 on a
SIP channel? I need to periodically check some efax servers for
availability and figured the best way to ensure they are operational is
to check for tones. I've looked into Nvdetect but the company seems to
have gone out of business and I don't want to be stuck with a solution
that won't make it through an upgrade of asterisk. My ITSP supports T.38
and should send a Re-Invite so is there a way to just set a channel
variable when it sees this and use that as an indicator of success?

 

I have a sangoma card in the machine but it doesn't have any T1/E1
connections, so unless I'm mistaken I can't use the fax detection in
zaptel.  

 

Bob

 


 
--
This email with all information contained herein or attached hereto may contain 
confidential and/or privileged information intended for the addressee(s) only. 
If you have received this email in error, please contact the sender and 
immediately delete this email in its entirety and any attachments thereto.
(W1)

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

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

Re: [asterisk-users] Fax detection on SIP channel

2009-03-05 Thread Andrew Thomas
Have a look for agx-ast-addons and spandsp.


-Original Message-
From: asterisk-users-boun...@lists.digium.com 
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Robert McGilvray
Sent: 06 March 2009 01:05
To: asterisk-users@lists.digium.com
Subject: [asterisk-users] Fax detection on SIP channel


Is there a built-in way of detecting fax tones, or a switch to T.38 on a SIP 
channel? I need to periodically check some efax servers for availability and 
figured the best way to ensure they are operational is to check for tones. I've 
looked into Nvdetect but the company seems to have gone out of business and I 
don't want to be stuck with a solution that won't make it through an upgrade of 
asterisk. My ITSP supports T.38 and should send a Re-Invite so is there a way 
to just set a channel variable when it sees this and use that as an indicator 
of success?

I have a sangoma card in the machine but it doesn't have any T1/E1 connections, 
so unless I'm mistaken I can't use the fax detection in zaptel.  

Bob

  

This email with all information contained herein or attached hereto may contain 
confidential and/or privileged information intended for the addressee(s) only. 
If you have received this email in error, please contact the sender and 
immediately delete this email in its entirety and any attachments thereto.
(W1)

 

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

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


[asterisk-users] fax detection without answer

2008-09-08 Thread JD
Generic question,

Is there a way to detect a fax call without actually taking it as a fax  
call? In a non-universal manner?

In other words, if fax tones are detected on the incoming call (on a 
Sangoma PRI card for example), I'd like to transfer that call back out 
of the PRI to a dedicated FAX system _if_ that DID number is one that 
has that service.

It would almost have to be a system variable. GotoIf($[${FAXDETECT} = 
YES]? faxtransfer)

Any suggestions in this regard?

John

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

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

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


Re: [asterisk-users] fax detection without answer

2008-09-08 Thread Vinícius Fontes
On zapata.conf:

faxdetect=incoming

The detected fax calls will be redirected to the 'fax' extension on the context 
set to the group of channels.



Atenciosamente,

Vinícius Fontes
Núcleo de Tecnologias Convergentes
Canall Tecnologia em Comunicações
Passo Fundo - RS - Brasil
+55 54 2104-7000
 
Convergent Technologies Core
Canall Tecnologia em Comunicações
Passo Fundo - RS - Brazil
+55 54 2104-7000

- JD [EMAIL PROTECTED] escreveu:

 Generic question,
 
 Is there a way to detect a fax call without actually taking it as a
 fax  
 call? In a non-universal manner?
 
 In other words, if fax tones are detected on the incoming call (on a 
 Sangoma PRI card for example), I'd like to transfer that call back out
 
 of the PRI to a dedicated FAX system _if_ that DID number is one that
 
 has that service.
 
 It would almost have to be a system variable. GotoIf($[${FAXDETECT} =
 
 YES]? faxtransfer)
 
 Any suggestions in this regard?
 
 John
 
 ___
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 
 AstriCon 2008 - September 22 - 25 Phoenix, Arizona
 Register Now: http://www.astricon.net
 
 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 --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

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


Re: [asterisk-users] fax detection without answer

2008-09-08 Thread Steven Howes
That us a bit like wanting to know what the person calling you wants  
to talk about without picking up the phone..
On 8 Sep 2008, at 17:42, JD wrote:

 Generic question,

 Is there a way to detect a fax call without actually taking it as a  
 fax
 call? In a non-universal manner?

 In other words, if fax tones are detected on the incoming call (on a
 Sangoma PRI card for example), I'd like to transfer that call back out
 of the PRI to a dedicated FAX system _if_ that DID number is one that
 has that service.

 It would almost have to be a system variable. GotoIf($[${FAXDETECT} =
 YES]? faxtransfer)

 Any suggestions in this regard?

 John

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

 AstriCon 2008 - September 22 - 25 Phoenix, Arizona
 Register Now: http://www.astricon.net

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

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

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


Re: [asterisk-users] fax detection without answer

2008-09-08 Thread C F
No, but you can use a dedicated DID, but that will NOT detect the
tone, it will simply ASSume that the caller is trying to send a fax.


On Mon, Sep 8, 2008 at 12:42 PM, JD [EMAIL PROTECTED] wrote:
 Generic question,

 Is there a way to detect a fax call without actually taking it as a fax
 call? In a non-universal manner?

 In other words, if fax tones are detected on the incoming call (on a
 Sangoma PRI card for example), I'd like to transfer that call back out
 of the PRI to a dedicated FAX system _if_ that DID number is one that
 has that service.

 It would almost have to be a system variable. GotoIf($[${FAXDETECT} =
 YES]? faxtransfer)

 Any suggestions in this regard?

 John

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

 AstriCon 2008 - September 22 - 25 Phoenix, Arizona
 Register Now: http://www.astricon.net

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

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

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


Re: [asterisk-users] fax detection without answer

2008-09-08 Thread JD
I knew of this, but mostly ignored it since the zapata.conf method is a 
universal function. Either a channel (or channel group) does fax 
detection or it doesn't. I can't change it in the ongoing script.

In other words, if a call is going to a DID that _shouldn't_ do faxing, 
it goes to the fax extension anyway. There is no means of suppressing 
the fax detection. Alternatively, if I have fax detection turned off, 
there is no means of activating it after the calls has been answered.

And, as far as I can tell, once it jumps to the fax extension, there is 
no go back to where you were before the jump function.

But considering it, I have speculatively created immediate contexts to 
branch to, such as:
---
[incoming-PSTN-context]
exten = 503555,1,Goto(FaxCapableDID,${EXTEN},1)
exten = 503555,1Goto(PlainDID,${EXTEN},1)

[FaxCapableDID]
exten = 503555,1,  Answer
exten = 503555,n, blah blah
exten = fax,1, ... dial the fax handler

[PlainDID]
exten = 503555,1,  blah blah

[next-context]
---

Sadly, the documentation on 'faxdetect' is slim. Is this a 'feature' 
that fax detection is ignored if there is no fax extension in the 
current context? In other words, are there gotchas? (Does ignoring the 
fax cause problems?)

Any feedback on faxing in general is invaluable to me.

John


Vinícius Fontes wrote:
 On zapata.conf:

 faxdetect=incoming

 The detected fax calls will be redirected to the 'fax' extension on the 
 context set to the group of channels.



 Atenciosamente,

 Vinícius Fontes
 Núcleo de Tecnologias Convergentes
 Canall Tecnologia em Comunicações
 Passo Fundo - RS - Brasil
 +55 54 2104-7000
  
 Convergent Technologies Core
 Canall Tecnologia em Comunicações
 Passo Fundo - RS - Brazil
 +55 54 2104-7000

 - JD [EMAIL PROTECTED] escreveu:

 Generic question,

 Is there a way to detect a fax call without actually taking it as a
 fax  
 call? In a non-universal manner?

 In other words, if fax tones are detected on the incoming call (on a 
 Sangoma PRI card for example), I'd like to transfer that call back out

 of the PRI to a dedicated FAX system _if_ that DID number is one that

 has that service.

 It would almost have to be a system variable. GotoIf($[${FAXDETECT} =

 YES]? faxtransfer)

 Any suggestions in this regard?

 John

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

 AstriCon 2008 - September 22 - 25 Phoenix, Arizona
 Register Now: http://www.astricon.net

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

 AstriCon 2008 - September 22 - 25 Phoenix, Arizona
 Register Now: http://www.astricon.net

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

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

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


[asterisk-users] fax detection on sip trunk

2008-04-03 Thread ronald ramos
Hi,

Is it possible for me to detect fax on a sip trunk?

my provider has a fax service that can send/receive
fax.

is it possible that i use a that trunk as a telefax?
meaning i will try to detect if it's a fax, if it is i
will forward it to an extension that can handle fax if
not will forward it elsewhere.

thank you

regards

ron


  

You rock. That's why Blockbuster's offering you one month of Blockbuster Total 
Access, No Cost.  
http://tc.deals.yahoo.com/tc/blockbuster/text5.com

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

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


[asterisk-users] FAX detection not working

2007-09-29 Thread Joe Acquisto
I am having a problem detecting incoming FAX.  TMD22p (tdm400p 2 fxo, 2fxs)

As I understand it, I must have faxdetect = incoming to enable detection of the 
fax tone.
Then, I must have a [fax] context to pickup the line and send it to whatever 
extension the FAX device is on.

In my case, I ask it to answer immediately and do a distinctive ring (r3) to 
alert that is its a FAX call so no one picks up the line.

however, it seems the FAX tone is not being detected (I know it is being sent), 
as the normal ring tone is heard.

I must be misunderstanding  how this works.  Or does not work.

joe a.


___

Sign up now for AstriCon 2007!  September 25-28th.  http://www.astricon.net/ 

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

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


Re: [asterisk-users] FAX detection not working

2007-09-29 Thread Tzafrir Cohen
On Sat, Sep 29, 2007 at 08:56:56AM -0400, Joe Acquisto wrote:
 I am having a problem detecting incoming FAX.  TMD22p (tdm400p 2 fxo, 2fxs)
 
 As I understand it, I must have faxdetect = incoming to enable detection of 
 the fax tone. Then, I must have a [fax] context to pickup the line and send 
 it to whatever extension the FAX device is on.
 
 In my case, I ask it to answer immediately and do a distinctive ring (r3) to 
 alert that is its a FAX call so no one picks up the line.

Fax detection detects a tone on the line. Hence it only owrks after the
line has been answered.

 
 however, it seems the FAX tone is not being detected (I know it is being 
 sent), as the normal ring tone is heard.
 
 I must be misunderstanding  how this works.  Or does not work.

Can you please provide your relevant dialplan snippets and relevant
parts of zapata.conf ?

-- 
   Tzafrir Cohen   
icq#16849755  jabber:[EMAIL PROTECTED]
+972-50-7952406   mailto:[EMAIL PROTECTED]   
http://www.xorcom.com  iax:[EMAIL PROTECTED]/tzafrir

___

Sign up now for AstriCon 2007!  September 25-28th.  http://www.astricon.net/ 

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

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


Re: [asterisk-users] FAX detection not working

2007-09-29 Thread Joe Acquisto
This can be a partial never mind, I guess.  I can see via the CLI that the call 
is being handled by
some FAX related routines.  Just not quite the solution I expected.

joe a.

 On 9/29/2007 at 8:56 AM, Joe Acquisto [EMAIL PROTECTED] wrote:
 I am having a problem detecting incoming FAX.  TMD22p (tdm400p 2 fxo, 2fxs)
 
 As I understand it, I must have faxdetect = incoming to enable detection of 
 the fax tone.
 Then, I must have a [fax] context to pickup the line and send it to whatever 
 extension the FAX device is on.
 
 In my case, I ask it to answer immediately and do a distinctive ring (r3) to 
 alert that is its a FAX call so no one picks up the line.
 
 however, it seems the FAX tone is not being detected (I know it is being 
 sent), as the normal ring tone is heard.
 
 I must be misunderstanding  how this works.  Or does not work.
 
 joe a.
 
 
 ___
 
 Sign up now for AstriCon 2007!  September 25-28th.  http://www.astricon.net/ 
 
 --Bandwidth and Colocation Provided by http://www.api-digital.com-- 
 
 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users


___

Sign up now for AstriCon 2007!  September 25-28th.  http://www.astricon.net/ 

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

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


Re: [asterisk-users] FAX detection not working

2007-09-29 Thread Lee Howard
Joe Acquisto wrote:

As I understand it, I must have faxdetect = incoming to enable detection of 
the fax tone.
Then, I must have a [fax] context to pickup the line and send it to whatever 
extension the FAX device is on.


It's a fax extension in the context where the call is at... not a fax 
context in the dialplan.

Lee.

___

Sign up now for AstriCon 2007!  September 25-28th.  http://www.astricon.net/ 

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

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


Re: [asterisk-users] FAX detection not working

2007-09-29 Thread Joe Acquisto
 On 9/29/2007 at 3:27 PM, Lee Howard [EMAIL PROTECTED] wrote:
 Joe Acquisto wrote:
 
As I understand it, I must have faxdetect = incoming to enable detection of 
 the fax tone.
Then, I must have a [fax] context to pickup the line and send it to whatever 
 extension the FAX device is on.

 
 It's a fax extension in the context where the call is at... not a fax 
 context in the dialplan.
 
 Lee.
 

I don't follow.  Sorry.

Now might be a good time to post this, since Tzafrir asked,  it looks very much 
like bits I have seen on the net.  I did see what appeared to be the analog_fax 
part when checking at CLI.

So, I would surmise it detected the FAX and is trying to deal with it, but the 
number derived via LDAPget is hosed?   It just ends up hanging up and not 
dialing any extension.

{begin snippet]
[ext-fax]   
exten = s,1,Answer 
exten = s,2,Goto(in_fax|1) 
exten = in_fax,1,GotoIf($[${FAX_RX} = system]?2:analog_fax|1)  
exten = in_fax,2,Macro(faxreceive) 
exten = in_fax,3,system(tiff2ps -2eaz -w 8.5 -h 11 ${FAXFILE} | ps2pdf - 
${FAXFILE}.pdf)   
exten = in_fax,4,system(mime-construct --to ${EMAILADDR} --subject Fax from 
${CALLERID(num)} ${CALLERID(name)} --attachment ${CALLERID(num)}.pdf --type 
application/pdf --file ${FAXFILE}.pdf)   
exten = in_fax,5,system(rm ${FAXFILE} ${FAXFILE}.pdf)  
exten = in_fax,6,Hangup
exten = analog_fax,1,GotoIf($[foo${FAX_RX} = foo]?3:2) 
exten = analog_fax,2,LDAPget(DIAL=DeviceDial/${FAX_RX})
exten = analog_fax,3,Dial(${DIAL}|20|d)
exten = analog_fax,4,Hangup
exten = out_fax,1,txfax(${TXFAX_NAME}|caller)  
exten = out_fax,2,Hangup   
exten = h,1,Hangup()
[end snippet]

joe a.


___

Sign up now for AstriCon 2007!  September 25-28th.  http://www.astricon.net/ 

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

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


Re: [asterisk-users] Fax detection

2007-05-23 Thread Thomas Kenyon
Gommidh Riadh wrote:
 Hello,
 
 Did someone have a solution for a line fax detection for outgoing call
 
Err, if you start your extension definition with answer, then if it
detects a fax signal it will try to redirect to the extension fax.

 For exemple
 
 I call number 0123456789
 - if it is a fax then redirect to extension A
 - if it is a line then redirect to exention B
 
 whats ia want its somthing like AMD application that i use for the
 answering machine .
 
 http://www.voip-info.org/wiki/view/Asterisk+cmd+AMD
 
 search in the wiki give  this application :
 
 http://www.voip-info.org/wiki/view/NVFaxDetect
 
 Did somene use it ? any feed back ?
 
With my limited testing, it seemed to work quite well. (not tried it
since moving to asterisk 1.4).

It is only neccesary if you want to detect faxes on VoIP communications
(without T.38).

If you want your machine to accept faxes via this method, it may be more
appropriate to use a SIP supplier that supports T.38 and look at using
callweaver instead of asterisk. (asterisk branch that supports T.38 fax
termination).

 Sorry for the English and thanks for your help

There is nothing wrong with your english.
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Fax detection

2007-05-23 Thread Gommidh Riadh
 Gommidh Riadh wrote:
 For exemple

 I call number 0123456789
 - if it is a fax then redirect to extension A
 - if it is a line then redirect to exention B

 whats ia want its somthing like AMD application that i use for the
 answering machine .
 http://www.voip-info.org/wiki/view/NVFaxDetect

 Did somene use it ? any feed back ?

 With my limited testing, it seemed to work quite well. (not tried it
 since moving to asterisk 1.4).

 It is only neccesary if you want to detect faxes on VoIP communications
 (without T.38).

 If you want your machine to accept faxes via this method, it may be more
 appropriate to use a SIP supplier that supports T.38 and look at using
 callweaver instead of asterisk. (asterisk branch that supports T.38 fax
 termination).

 Sorry for the English and thanks for your help

 There is nothing wrong with your english.

thanks for your response
Infortunatly the site http://www.newmantelecom.com/asterisk/faxdetect/ is
unrechable for me , so i cant downlood the app and make my test

But i m not sure you understand what i want to realy do

i m developping a  predetive call application for a call center
i make the outgoing call with originate commande (API manager) :

Action: Originate
Channel: SIP/provider/0123456789
Context: foo
Exten: 8000
CallerID: bla
Variable: 0123456789
Async: true
ActionID: xxx
Priority: 1

When the called party pickup the line it redirect to the exten 8000

exten = 8000,1,AMD
exten = 8000,2,Wait(1)
exten = 8000,3,Answer()
exten = 8000,4,GotoIf($[${AMDSTATUS} =MACHINE]?6)
exten = 8000,5,Queue(${var1}|tT|||120)
exten = 8000,6,System(php -q machine.php ${var1})
exten = 8000,7,Hangup

So if the number 0123456789 is ansering machine then marke it and hungup
if it is a human than redirect to the queue and the agent take the call

did the nvfaxdetect do the same thing like AMD application ?

i dont want recive a fax i want to know i the number a call is not a fax
line because my agents will become Deaf persons with the
 sound of fax :).

Thanks for your help


___
--Bandwidth and Colocation provided by Easynews.com --

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


RE: [asterisk-users] Fax detection

2007-05-23 Thread Michael Collins
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:asterisk-users-
 [EMAIL PROTECTED] On Behalf Of Gommidh Riadh
 Sent: Wednesday, May 23, 2007 3:22 AM
 To: asterisk-users@lists.digium.com
 Subject: Re: [asterisk-users] Fax detection
 
  Gommidh Riadh wrote:
  For exemple
 
  I call number 0123456789
  - if it is a fax then redirect to extension A
  - if it is a line then redirect to exention B
 
  whats ia want its somthing like AMD application that i use for the
  answering machine .
  http://www.voip-info.org/wiki/view/NVFaxDetect
 

I've been curious about this as well.  It's almost as if we need an
version of app_amd that can test for all three conditions:
1 - human
2 - answering machine
3 - fax machine

Has anyone heard of such a beast, or have you otherwise found a good
workaround when needing to detect all three of the above conditions?

-MC
___
--Bandwidth and Colocation provided by Easynews.com --

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


[asterisk-users] Fax Detection Using Nvdetect

2007-05-23 Thread aslay-pinwee
Hi All,

I have asterisk 1.4 up and running. My next target is to install NVFAXDETECT on 
my box.

Does anyone has detail steps on how to install NVFAXDETECT on Asterisk 1.4 ?

In case i mess up with the current asterisk installation, how do I roll back or 
unstall

NVFAXDETECT ?

Regards

ASLAY___
--Bandwidth and Colocation provided by Easynews.com --

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


[asterisk-users] Fax detection

2007-05-22 Thread Gommidh Riadh
Hello,

Did someone have a solution for a line fax detection for outgoing call

For exemple

I call number 0123456789
- if it is a fax then redirect to extension A
- if it is a line then redirect to exention B

whats ia want its somthing like AMD application that i use for the
answering machine .

http://www.voip-info.org/wiki/view/Asterisk+cmd+AMD

search in the wiki give  this application :

http://www.voip-info.org/wiki/view/NVFaxDetect

Did somene use it ? any feed back ?

Sorry for the English and thanks for your help

___
--Bandwidth and Colocation provided by Easynews.com --

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


[asterisk-users] Fax detection (Sangoma)

2007-04-02 Thread David Ruggles
I have an FXS port and an FXO port on my Sangoma, can I detect inbound Fax
calls on my FXO port and route them automatically to the FXS port (connected
to a fax machine) while allowing normal voices to ring the main extension
like normal?

I looked through archive but didn't see this exact question addressed.

Thanks,

David Ruggles
CCNA MCSE (NT) CNA A+
Network EngineerSafe Data, Inc.
(910) 285-7200  [EMAIL PROTECTED]



___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Fax detection (Sangoma)

2007-04-02 Thread Doug Lytle

David Ruggles wrote:

I have an FXS port and an FXO port on my Sangoma, can I detect inbound Fax
calls on my FXO port and route them automatically to the FXS port (connected
to a fax machine) while allowing normal voices to ring the main extension
like normal?
  


Fax detection is spotty at best.

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 Easynews.com --

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


Re: [asterisk-users] Fax detection (Sangoma)

2007-04-02 Thread Gordon Henderson

On Mon, 2 Apr 2007, David Ruggles wrote:


I have an FXS port and an FXO port on my Sangoma, can I detect inbound Fax
calls on my FXO port and route them automatically to the FXS port (connected
to a fax machine) while allowing normal voices to ring the main extension
like normal?


Yes.

However, asterisk has to answer the call and listen in to see if it hears 
the remote fax machine squawking down at it first.


This means that the caller will be left in silence for a second or 3.

Then you'll need to send a message to the caller, or give them a ringing 
tone.



I looked through archive but didn't see this exact question addressed.


Look harder, I've posted this before ;-) Or try the WiKi, the book, or 
elsewhere


You need to tell asterisk to listen to faxes - you do this in zapata.conf 
- with the line:


faxdetect=incoming

What will happen then is that asterisk will listen in for the fax tone 
when it answers the call, so you need to Answer() the call, and (I've 
found) then wait for 3 seconds.


exten = incoming,1,Answer()
exten = incoming,n,Wait(3)

If the call is a fax machine, asterisk will automagically then goto an 
extension called fax in the current context, so I guess (I've never done 
this - I suck it in  email it) you could then:


exten = fax,1,Dial(Zap/4)
exten = fax,1,Hangup()

where Zap/4 was the fax machine which should be set to answer immediately, 
nd hopefully the call will then get bridged and life will be sweet.


Back up in the answering code, after the Wait(3) you then need to do 
something else - ring an internal phone, use 'auto attendant or something 
else, but let the caller know that something is happening.


Gordon
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Fax detection (Sangoma)

2007-04-02 Thread Carlos Chavez
On Mon, 2007-04-02 at 15:07 -0400, David Ruggles wrote:
 I have an FXS port and an FXO port on my Sangoma, can I detect inbound Fax
 calls on my FXO port and route them automatically to the FXS port (connected
 to a fax machine) while allowing normal voices to ring the main extension
 like normal?
 
 I looked through archive but didn't see this exact question addressed.
 
You did not look hard enough because this has been addressed many
times.  Use the fax extension and make sure
your /etc/asterisk/zapata.conf has faxdetect=both on the fxo port
configuration.

-- 
Telecomunicaciones Abiertas de Mexico S.A. de C.V.
Carlos Chávez Prats
Director de Tecnología
+52-55-91169161 ext 2001


signature.asc
Description: This is a digitally signed message part
___
--Bandwidth and Colocation provided by Easynews.com --

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


RE: [asterisk-users] Fax detection (Sangoma)

2007-04-02 Thread David Ruggles
Thanks for answering my question. I apologize for not looking harder, I'll
look harder next time before asking the list.

Thanks,

David Ruggles
CCNA MCSE (NT) CNA A+
Network EngineerSafe Data, Inc.
(910) 285-7200  [EMAIL PROTECTED]


___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Fax detection ...

2006-10-03 Thread Olivier
Hi,If I may follow on this thread, would you try to :1. offer users a single extension for both voice and fax calls with (automatic or human handled) fax detection2. or would you build a centralised fax server gathering fax extensions with which a staff member would read fax headers to forward them to its destinee.
A single extension could be very convenient in large offices  where fax machines are shared among several people (on average, every year, 40% of staff members are moving from one location to another) but adding a short delay on every call to detect fax machines could be too expensive from user's point of view.
Maybe, just letting faxes coming in and teaching users to forward them themselves to their own email would be enough as you could dedicate phone keys to that.What do you think ?Cheers
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Fax detection ...

2006-10-02 Thread Jay R. Ashworth
On Mon, Oct 02, 2006 at 10:43:44AM +0800, Steve Underwood wrote:
 Jay R. Ashworth wrote:
 On Sun, Oct 01, 2006 at 02:58:37PM -0700, Lee Howard wrote:
 Well, fax detection isn't entirely reliable anyway.  Even if you assume 
 that your fax detection feature and operation is flawless in properly 
 detecting fax tones (and that most likely would be a specious 
 assumption), not all calling fax machines send fax tones.
 
 So, y'know, that assertion gets made a lot.
 
 What's the turn rate of fax machines in the market? 3 years?  5?  CNG
 tones are *well* over 10 years old, no?

 What relevance does that have to CNG? It was a feature of the original 
 spec 30 years ago.

Well, perhaps I wasn't paying attention, but I thought that CNG tones
*had as their purpose* making receive FAX detection trivial.  That
would tend to make the question on-point, would it not?

 What percentage of fax calls are sent without CNG tones these days?

 Quite a lot. A large number of FAX machines have CNG turned off. On many 
 machines, if select features like sharing a line between FAX and 
 answering machine CNG, CED and various other useful behaviour might be 
 disabled.

My personal experience is that I've never seen a consumer-grade fax
machine with send-CNG turned off, and I don't *think* I've ever seen
one on which there was a knob *to* turn it off; I would be less sure
about fax modems -- those may have a knob, but I would expect it to
default on.

Could you expand on what behaviour you think CNG breaks?  Cause I'm not
modeling it, mentally...

Cheers,
-- jra
-- 
Jay R. Ashworth[EMAIL PROTECTED]
Designer  Baylink RFC 2100
Ashworth  AssociatesThe Things I Think'87 e24
St Petersburg FL USA  http://baylink.pitas.com +1 727 647 1274

That's women for you; you divorce them, and 10 years later,
  they stop having sex with you.  -- Jennifer Crusie; _Fast_Women_
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Fax detection ...

2006-10-02 Thread Lee Howard

Jay R. Ashworth wrote:


My personal experience is that I've never seen a consumer-grade fax
machine with send-CNG turned off, and I don't *think* I've ever seen
one on which there was a knob *to* turn it off; I would be less sure
about fax modems -- those may have a knob, but I would expect it to
default on.
 



On fax modems the way to silent-dial (and I believe that this was a norm 
from early-on) to to add an @ at the end of the dialstring:  
ATDT5551212@.  I would be very surprised to find any modern fax modem 
that does not have this capability.


I don't know of any specific fax machine that has such a knob to turn 
CNG off.  But my contention wasn't that it was consumer-grade fax 
machines that were the main culprit here, but rather fax servers (PCs 
with fax modems in them).  And depending on what industry you are 
sampling, those may actually consitute a fair amount of the caller 
pool.  (For example, some industry software - like insurance agent 
application software - will have built-in fax features that will use the 
PC's fax modem - and the application vendor may insist on that feature 
being used.)


I cannot cite specific software that does it, but I suspect that most 
fax application developers are aware of the ability to silent-dial, and 
the reasons why it may be employed.  As I've said before, one reason, as 
an example, is to make the modem capable of hearing ringback - so that 
it knows if the call has been answered or not (which itself is a 
unreliable endeavor).  Another reason is to avoid annoying the receiver 
moreso on a call to a wrong-number.


It's off the topic of silent dialing but on the topic of this thread... 
Brother fax machine manuals state that it is possible for them to 
erroniously detect certain voices or music as CNG tones, and if that 
becomes a problem to disable fax detection.  And that's basically 
another point along the lines that say that fax detection is not 
completely reliable.


Lee.

___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Fax detection ...

2006-10-02 Thread phil . dawson
Thanks Marco!  I found NVFaxDetect before getting around to your post.  It
works a treat!  Good call!   no pun intended 





   
 Marco Mouta 
 [EMAIL PROTECTED] 
 l.com To 
 Sent by:  Asterisk Users Mailing List -  
 asterisk-users-bo Non-Commercial Discussion  
 [EMAIL PROTECTED] asterisk-users@lists.digium.com   
 m.com  cc 
   
   Subject 
 01/10/2006 23:09  Re: [asterisk-users] Fax detection  
   ... 
   
 Please respond to 
  Asterisk Users   
  Mailing List -   
  Non-Commercial   
Discussion 
 [EMAIL PROTECTED] 
 ists.digium.com  
   
   




Why don't you look for application NVfaxDetect ? are you using Digium
boards?

I've been using it sucessfully for fax reception!

Look for it on voip wiki.


On 10/1/06, Jay R. Ashworth [EMAIL PROTECTED] wrote:
  On Sun, Oct 01, 2006 at 02:58:37PM -0700, Lee Howard wrote:
   Well, fax detection isn't entirely reliable anyway.  Even if you assume
   that your fax detection feature and operation is flawless in properly
   detecting fax tones (and that most likely would be a specious
   assumption), not all calling fax machines send fax tones.

  So, y'know, that assertion gets made a lot.

  What's the turn rate of fax machines in the market? 3 years?  5?  CNG
  tones are *well* over 10 years old, no?

  What percentage of fax calls are sent without CNG tones these days?

  Cheers,
  -- jra
  --
  Jay R. Ashworth
  [EMAIL PROTECTED]
  Designer  Baylink RFC
  2100
  Ashworth  AssociatesThe Things I Think
  '87 e24
  St Petersburg FL USA   http://baylink.pitas.com +1 727
  647 1274

  That's women for you; you divorce them, and 10 years later,
they stop having sex with you.  -- Jennifer Crusie;
  _Fast_Women_
  ___
  --Bandwidth and Colocation provided by Easynews.com --

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



--
Com os melhores cumprimentos,

Marco Mouta ___
--Bandwidth and Colocation provided by Easynews.com --

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


___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Fax detection ...

2006-10-02 Thread phil . dawson
It all boils down to this:  If they don't send a tone I won't get the fax.
Its like my email now with DNS blacklists enabled.  If they have a dial-up
ADSL account they can't send me mail as my server denied them.  Different
technology, same problem.  Whatever they invent next will, more than
likely, have the same problem.

If they really want me to receive whatever it is they want me to see ...
they can post it  :-)   that nearly always works too!


Phil.



   
 Lee Howard
 [EMAIL PROTECTED] 
 van.com   To 
 Sent by:  Asterisk Users Mailing List -   
 asterisk-users-bo Non-Commercial Discussion   
 [EMAIL PROTECTED] asterisk-users@lists.digium.com   
 m.com  cc 
   
   Subject 
 02/10/2006 17:31  Re: [asterisk-users] Fax detection  
   ... 
   
 Please respond to 
  Asterisk Users   
  Mailing List -   
  Non-Commercial   
Discussion 
 [EMAIL PROTECTED] 
 ists.digium.com  
   
   




Jay R. Ashworth wrote:

My personal experience is that I've never seen a consumer-grade fax
machine with send-CNG turned off, and I don't *think* I've ever seen
one on which there was a knob *to* turn it off; I would be less sure
about fax modems -- those may have a knob, but I would expect it to
default on.



On fax modems the way to silent-dial (and I believe that this was a norm
from early-on) to to add an @ at the end of the dialstring:
ATDT5551212@.  I would be very surprised to find any modern fax modem
that does not have this capability.

I don't know of any specific fax machine that has such a knob to turn
CNG off.  But my contention wasn't that it was consumer-grade fax
machines that were the main culprit here, but rather fax servers (PCs
with fax modems in them).  And depending on what industry you are
sampling, those may actually consitute a fair amount of the caller
pool.  (For example, some industry software - like insurance agent
application software - will have built-in fax features that will use the
PC's fax modem - and the application vendor may insist on that feature
being used.)

I cannot cite specific software that does it, but I suspect that most
fax application developers are aware of the ability to silent-dial, and
the reasons why it may be employed.  As I've said before, one reason, as
an example, is to make the modem capable of hearing ringback - so that
it knows if the call has been answered or not (which itself is a
unreliable endeavor).  Another reason is to avoid annoying the receiver
moreso on a call to a wrong-number.

It's off the topic of silent dialing but on the topic of this thread...
Brother fax machine manuals state that it is possible for them to
erroniously detect certain voices or music as CNG tones, and if that
becomes a problem to disable fax detection.  And that's basically
another point along the lines that say that fax detection is not
completely reliable.

Lee.

___
--Bandwidth and Colocation provided by Easynews.com --

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


___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Fax detection ...

2006-10-02 Thread Lee Howard

[EMAIL PROTECTED] wrote:


It all boils down to this:  If they don't send a tone I won't get the fax.
 



And I certainly understand this approach.  However, there are some 
situations where this is simply not suitable - where missing a fax costs 
money.  Take, for example, the real estate industry where a fickle 
customer (isn't everyone fickle when dealing with real estate?) can be 
surveying mortgage quotes (frequently done by fax) and if you don't get 
their faxed authorization to pull their credit report and then you call 
them two days later to find out where it is ... well that customer may 
have already signed with another lender... and that just cost that agent 
1-2% of the mortgage price (so that lost fax easily cost $2000 in lost 
opportunity).


Lee.
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Fax detection ...

2006-10-02 Thread James
You can trick their machine into sending tones.  The following code with 
send tones that a terminating fax machine would normally respond with.

This will even force really old G2 fax machines to respond.

indications.conf:
faxrec = !2100/2600,!0/10,!1850/2600

[custom-fax-did]
exten = s,1,SetVar(FAXFILE=/var/spool/asterisk/fax/${UNIQUEID}.tif)
exten = s,2,SetVar(EMAILADDR=${FAX_RX_EMAIL})
exten = s,3,SetCallerID(${FROM_DID})
exten = s,4,Answer
exten = s,5,Playtones(faxrec)
exten = s,6,Wait(6)
exten = s,7,rxfax(${FAXFILE})
exten = s,8,system(tiff2pdf -p letter ${FAXFILE} -o ${FAXFILE}.pdf)
exten = s,9,system(mime-construct --to ${EMAILADDR} --subject Fax DID 
${CALLERIDNUM} --attachment ${CALLERIDNUM}.pdf --type 
application/pdf --file ${FAXFILE}.pdf)

exten = s,10,system(rm ${FAXFILE} ${FAXFILE}.pdf)
exten = s,11,Hangup

James Taylor
www.metrotel.net




- Original Message - 
From: Lee Howard [EMAIL PROTECTED]
To: Asterisk Users Mailing List - Non-Commercial Discussion 
asterisk-users@lists.digium.com

Sent: Monday, October 02, 2006 2:16 PM
Subject: Re: [asterisk-users] Fax detection ...



[EMAIL PROTECTED] wrote:


It all boils down to this:  If they don't send a tone I won't get the fax.



And I certainly understand this approach.  However, there are some 
situations where this is simply not suitable - where missing a fax costs 
money.  Take, for example, the real estate industry where a fickle 
customer (isn't everyone fickle when dealing with real estate?) can be 
surveying mortgage quotes (frequently done by fax) and if you don't get 
their faxed authorization to pull their credit report and then you call 
them two days later to find out where it is ... well that customer may 
have already signed with another lender... and that just cost that agent 
1-2% of the mortgage price (so that lost fax easily cost $2000 in lost 
opportunity).


Lee.
___
--Bandwidth and Colocation provided by Easynews.com --

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



___
--Bandwidth and Colocation provided by Easynews.com --

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


RE: [asterisk-users] Fax detection ...

2006-10-02 Thread Michelle Dupuis
Interesting trick!

On the down side, won't sending this tone be pointless?  If the receiver is
not sure a fax is calling, then he will BEEP every caller (even voice
calls).  If the receiver is sure a fax is calling, why play the tones? 

MD

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of James
Sent: Monday, October 02, 2006 4:35 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Fax detection ...

You can trick their machine into sending tones.  The following code with 
send tones that a terminating fax machine would normally respond with.
This will even force really old G2 fax machines to respond.

indications.conf:
faxrec = !2100/2600,!0/10,!1850/2600

[custom-fax-did]
exten = s,1,SetVar(FAXFILE=/var/spool/asterisk/fax/${UNIQUEID}.tif)
exten = s,2,SetVar(EMAILADDR=${FAX_RX_EMAIL})
exten = s,3,SetCallerID(${FROM_DID})
exten = s,4,Answer
exten = s,5,Playtones(faxrec)
exten = s,6,Wait(6)
exten = s,7,rxfax(${FAXFILE})
exten = s,8,system(tiff2pdf -p letter ${FAXFILE} -o ${FAXFILE}.pdf)
exten = s,9,system(mime-construct --to ${EMAILADDR} --subject Fax DID 
${CALLERIDNUM} --attachment ${CALLERIDNUM}.pdf --type 
application/pdf --file ${FAXFILE}.pdf)
exten = s,10,system(rm ${FAXFILE} ${FAXFILE}.pdf)
exten = s,11,Hangup

James Taylor
www.metrotel.net




- Original Message - 
From: Lee Howard [EMAIL PROTECTED]
To: Asterisk Users Mailing List - Non-Commercial Discussion 
asterisk-users@lists.digium.com
Sent: Monday, October 02, 2006 2:16 PM
Subject: Re: [asterisk-users] Fax detection ...


 [EMAIL PROTECTED] wrote:

It all boils down to this:  If they don't send a tone I won't get the fax.


 And I certainly understand this approach.  However, there are some 
 situations where this is simply not suitable - where missing a fax costs 
 money.  Take, for example, the real estate industry where a fickle 
 customer (isn't everyone fickle when dealing with real estate?) can be 
 surveying mortgage quotes (frequently done by fax) and if you don't get 
 their faxed authorization to pull their credit report and then you call 
 them two days later to find out where it is ... well that customer may 
 have already signed with another lender... and that just cost that agent 
 1-2% of the mortgage price (so that lost fax easily cost $2000 in lost 
 opportunity).

 Lee.
 ___
 --Bandwidth and Colocation provided by Easynews.com --

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

___
--Bandwidth and Colocation provided by Easynews.com --

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


___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Fax detection ...

2006-10-02 Thread James

I've only used this on dedicated fax numbers.
I noticed that some fax machines didn't send tones and Asterisk didn't 
detect.

They just sat there and looked at each other.
After playing the tones, the fax machines started sending and it worked.

James Taylor
www.metrotel.net

- Original Message - 
From: Michelle Dupuis [EMAIL PROTECTED]
To: 'Asterisk Users Mailing List - Non-Commercial Discussion' 
asterisk-users@lists.digium.com

Sent: Monday, October 02, 2006 5:04 PM
Subject: RE: [asterisk-users] Fax detection ...



Interesting trick!

On the down side, won't sending this tone be pointless?  If the receiver 
is

not sure a fax is calling, then he will BEEP every caller (even voice
calls).  If the receiver is sure a fax is calling, why play the tones?

MD

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of James
Sent: Monday, October 02, 2006 4:35 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Fax detection ...

You can trick their machine into sending tones.  The following code with
send tones that a terminating fax machine would normally respond with.
This will even force really old G2 fax machines to respond.

indications.conf:
faxrec = !2100/2600,!0/10,!1850/2600

[custom-fax-did]
exten = s,1,SetVar(FAXFILE=/var/spool/asterisk/fax/${UNIQUEID}.tif)
exten = s,2,SetVar(EMAILADDR=${FAX_RX_EMAIL})
exten = s,3,SetCallerID(${FROM_DID})
exten = s,4,Answer
exten = s,5,Playtones(faxrec)
exten = s,6,Wait(6)
exten = s,7,rxfax(${FAXFILE})
exten = s,8,system(tiff2pdf -p letter ${FAXFILE} -o ${FAXFILE}.pdf)
exten = s,9,system(mime-construct --to ${EMAILADDR} --subject Fax DID
${CALLERIDNUM} --attachment ${CALLERIDNUM}.pdf --type
application/pdf --file ${FAXFILE}.pdf)
exten = s,10,system(rm ${FAXFILE} ${FAXFILE}.pdf)
exten = s,11,Hangup

James Taylor
www.metrotel.net




- Original Message - 
From: Lee Howard [EMAIL PROTECTED]

To: Asterisk Users Mailing List - Non-Commercial Discussion
asterisk-users@lists.digium.com
Sent: Monday, October 02, 2006 2:16 PM
Subject: Re: [asterisk-users] Fax detection ...



[EMAIL PROTECTED] wrote:

It all boils down to this:  If they don't send a tone I won't get the 
fax.




And I certainly understand this approach.  However, there are some
situations where this is simply not suitable - where missing a fax costs
money.  Take, for example, the real estate industry where a fickle
customer (isn't everyone fickle when dealing with real estate?) can be
surveying mortgage quotes (frequently done by fax) and if you don't get
their faxed authorization to pull their credit report and then you call
them two days later to find out where it is ... well that customer may
have already signed with another lender... and that just cost that agent
1-2% of the mortgage price (so that lost fax easily cost $2000 in lost
opportunity).

Lee.
___
--Bandwidth and Colocation provided by Easynews.com --

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



___
--Bandwidth and Colocation provided by Easynews.com --

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


___
--Bandwidth and Colocation provided by Easynews.com --

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



___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Fax detection ...

2006-10-02 Thread Steve Underwood

Jay R. Ashworth wrote:


On Mon, Oct 02, 2006 at 10:43:44AM +0800, Steve Underwood wrote:
 


Jay R. Ashworth wrote:
   


On Sun, Oct 01, 2006 at 02:58:37PM -0700, Lee Howard wrote:
 

Well, fax detection isn't entirely reliable anyway.  Even if you assume 
that your fax detection feature and operation is flawless in properly 
detecting fax tones (and that most likely would be a specious 
assumption), not all calling fax machines send fax tones.
   


So, y'know, that assertion gets made a lot.

What's the turn rate of fax machines in the market? 3 years?  5?  CNG
tones are *well* over 10 years old, no?
 

What relevance does that have to CNG? It was a feature of the original 
spec 30 years ago.
   



Well, perhaps I wasn't paying attention, but I thought that CNG tones
*had as their purpose* making receive FAX detection trivial.  That
would tend to make the question on-point, would it not?
 


It is the age of the machines which has no relevance.


What percentage of fax calls are sent without CNG tones these days?
 

Quite a lot. A large number of FAX machines have CNG turned off. On many 
machines, if select features like sharing a line between FAX and 
answering machine CNG, CED and various other useful behaviour might be 
disabled.
   



My personal experience is that I've never seen a consumer-grade fax
machine with send-CNG turned off, and I don't *think* I've ever seen
one on which there was a knob *to* turn it off; I would be less sure
about fax modems -- those may have a knob, but I would expect it to
default on.

Could you expand on what behaviour you think CNG breaks?  Cause I'm not
modeling it, mentally...
 

I guess you touched many consumer grade fax machines, since *most* above 
the very basic ones can do this in some way.


Some have really fun behaviour. I used to suffer some Olivetti ones that 
had several modes of calling and answering - Delay a while, to give 
someone a chance to pick up first; Pick up, but remain silent and see 
what the machine can hear; etc. Those Olivettis would only properly send 
a fax to another Olivetti when they were in straight forward standard 
mode. Now there's compatibility for you. :-) A lot of other machines 
offer similarly dumb modes of behaviour, but nothing quite so extreme as 
those. When you investigate one of these issues, and ask the user why 
the machine is not in simple answering mode, they are usually unaware it 
is not. These modes get set largely at random on installed fax machines.


Now, it seems like these special modes should only affect answering. It 
would seem they are mostly about doing what Asterisk is doing - waiting 
silently for the 1100Hz tone. However, that's just too clean and simple 
for the fax industry. They do a bunch of other dumb stuff to make things 
more awkward, like call and only send something when they here 2100Hz.


Steve


Steve

___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Fax detection ...

2006-10-02 Thread Jay R. Ashworth
On Tue, Oct 03, 2006 at 08:44:16AM +0800, Steve Underwood wrote:
 So, y'know, that assertion gets made a lot.
 
 What's the turn rate of fax machines in the market? 3 years?  5?  CNG
 tones are *well* over 10 years old, no?
 
 What relevance does that have to CNG? It was a feature of the original 
 spec 30 years ago.
 
 Well, perhaps I wasn't paying attention, but I thought that CNG tones
 *had as their purpose* making receive FAX detection trivial.  That
 would tend to make the question on-point, would it not?
  
 It is the age of the machines which has no relevance.

Ah.  My early memories of CNG tones suggested that early fax machines
did not actually send them.

 My personal experience is that I've never seen a consumer-grade fax
 machine with send-CNG turned off, and I don't *think* I've ever seen
 one on which there was a knob *to* turn it off; I would be less sure
 about fax modems -- those may have a knob, but I would expect it to
 default on.
 
 Could you expand on what behaviour you think CNG breaks?  Cause I'm not
 modeling it, mentally...

 I guess you touched many consumer grade fax machines, since *most* above 
 the very basic ones can do this in some way.

Yeah, the only real pro grade fax machines I've ever run across was a
Panafax I have that uses 3-inch core paper rolls, and I never really
got that working.

 Some have really fun behaviour. I used to suffer some Olivetti ones that 
 had several modes of calling and answering - Delay a while, to give 
 someone a chance to pick up first; Pick up, but remain silent and see 
 what the machine can hear; etc. Those Olivettis would only properly send 
 a fax to another Olivetti when they were in straight forward standard 
 mode. Now there's compatibility for you. :-)

Yeah: I'm so compatible with everyone else that I'm not compatible
with myself is kinda dumb.

A lot of other machines 
 offer similarly dumb modes of behaviour, but nothing quite so extreme as 
 those. When you investigate one of these issues, and ask the user why 
 the machine is not in simple answering mode, they are usually unaware it 
 is not. These modes get set largely at random on installed fax machines.

Yay.

 Now, it seems like these special modes should only affect answering. It 
 would seem they are mostly about doing what Asterisk is doing - waiting 
 silently for the 1100Hz tone. However, that's just too clean and simple 
 for the fax industry. They do a bunch of other dumb stuff to make things 
 more awkward, like call and only send something when they here 2100Hz.

What fun.

Cheers,
-- jra
-- 
Jay R. Ashworth[EMAIL PROTECTED]
Designer  Baylink RFC 2100
Ashworth  AssociatesThe Things I Think'87 e24
St Petersburg FL USA  http://baylink.pitas.com +1 727 647 1274

That's women for you; you divorce them, and 10 years later,
  they stop having sex with you.  -- Jennifer Crusie; _Fast_Women_
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Fax detection ...

2006-10-01 Thread Lee Howard

[EMAIL PROTECTED] wrote:


I'm having trouble detecting faxes reliably.  I'm using one analog line for
both voice and fax.  Sometimes this works but a lot of the time it doesn't
and I was wondering if anyone knew why.



Well, fax detection isn't entirely reliable anyway.  Even if you assume 
that your fax detection feature and operation is flawless in properly 
detecting fax tones (and that most likely would be a specious 
assumption), not all calling fax machines send fax tones.


So if you can tolerate it being not entirely reliable, then go ahead and 
use fax detection.  If you need reliable, then don't rely on fax detection.


Lee.
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Fax detection ...

2006-10-01 Thread Jay R. Ashworth
On Sun, Oct 01, 2006 at 02:58:37PM -0700, Lee Howard wrote:
 Well, fax detection isn't entirely reliable anyway.  Even if you assume 
 that your fax detection feature and operation is flawless in properly 
 detecting fax tones (and that most likely would be a specious 
 assumption), not all calling fax machines send fax tones.

So, y'know, that assertion gets made a lot.

What's the turn rate of fax machines in the market? 3 years?  5?  CNG
tones are *well* over 10 years old, no?

What percentage of fax calls are sent without CNG tones these days?

Cheers,
-- jra
-- 
Jay R. Ashworth[EMAIL PROTECTED]
Designer  Baylink RFC 2100
Ashworth  AssociatesThe Things I Think'87 e24
St Petersburg FL USA  http://baylink.pitas.com +1 727 647 1274

That's women for you; you divorce them, and 10 years later,
  they stop having sex with you.  -- Jennifer Crusie; _Fast_Women_
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Fax detection ...

2006-10-01 Thread Marco Mouta
Why don't you look for application NVfaxDetect ? are you using Digium boards?I've been using it sucessfully for fax reception!Look for it on voip wiki.On 10/1/06, 
Jay R. Ashworth [EMAIL PROTECTED] wrote:
On Sun, Oct 01, 2006 at 02:58:37PM -0700, Lee Howard wrote: Well, fax detection isn't entirely reliable anyway.Even if you assume that your fax detection feature and operation is flawless in properly
 detecting fax tones (and that most likely would be a specious assumption), not all calling fax machines send fax tones.So, y'know, that assertion gets made a lot.What's the turn rate of fax machines in the market? 3 years?5?CNG
tones are *well* over 10 years old, no?What percentage of fax calls are sent without CNG tones these days?Cheers,-- jra--Jay R. Ashworth
[EMAIL PROTECTED]DesignerBaylink RFC 2100Ashworth  AssociatesThe Things I Think'87 e24St Petersburg FL USA
http://baylink.pitas.com +1 727 647 1274That's women for you; you divorce them, and 10 years later,they stop having sex with you.-- Jennifer Crusie; _Fast_Women_
___--Bandwidth and Colocation provided by Easynews.com --asterisk-users mailing listTo UNSUBSCRIBE or update options visit:
 http://lists.digium.com/mailman/listinfo/asterisk-users-- Com os melhores cumprimentos,
Marco Mouta
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Fax detection ...

2006-10-01 Thread Lee Howard

Jay R. Ashworth wrote:


On Sun, Oct 01, 2006 at 02:58:37PM -0700, Lee Howard wrote:
 

Well, fax detection isn't entirely reliable anyway.  Even if you assume 
that your fax detection feature and operation is flawless in properly 
detecting fax tones (and that most likely would be a specious 
assumption), not all calling fax machines send fax tones.
   



So, y'know, that assertion gets made a lot.

What's the turn rate of fax machines in the market? 3 years?  5?  CNG
tones are *well* over 10 years old, no?

What percentage of fax calls are sent without CNG tones these days?



I couldn't say, myself, because I've not run statistics on it - and even 
if I did it would be skewed to the pool of fax systems used by the 
industry where I took the sampling.


The reason that some machines don't send fax tones isn't usually because 
they are old, but rather because the manufacturer or user have 
deliberately made it behave that way.  For example, with a lot of 
traditional modem hardware, in order to detect ringback (used on analog 
lines to determine whether or not the call was even answered), CNG is 
often disabled.  Furthermore, some fax senders (in particular fax 
*servers* - especially those used for fax spam) deliberately disable CNG 
to avoid annoying the receiver in the event that a number is misdialed.


We don't care about that fax spam, I know.  However, fax spammers often 
use the same hardware and software that other people will use for 
non-spam purposes.


Lee.

___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Fax detection ...

2006-10-01 Thread Steve Underwood

Jay R. Ashworth wrote:


On Sun, Oct 01, 2006 at 02:58:37PM -0700, Lee Howard wrote:
 

Well, fax detection isn't entirely reliable anyway.  Even if you assume 
that your fax detection feature and operation is flawless in properly 
detecting fax tones (and that most likely would be a specious 
assumption), not all calling fax machines send fax tones.
   



So, y'know, that assertion gets made a lot.

What's the turn rate of fax machines in the market? 3 years?  5?  CNG
tones are *well* over 10 years old, no?
 

What relevance does that have to CNG? It was a feature of the original 
spec 30 years ago.



What percentage of fax calls are sent without CNG tones these days?
 

Quite a lot. A large number of FAX machines have CNG turned off. On many 
machines, if select features like sharing a line between FAX and 
answering machine CNG, CED and various other useful behaviour might be 
disabled.


Steve
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Fax detection ...

2006-09-30 Thread Doug Lytle

[EMAIL PROTECTED] wrote:

Hi All,

I'm having trouble detecting faxes reliably.  I'm using one analog line for

  

From what I've read, it isn't reliable.

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 Easynews.com --

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


[asterisk-users] Fax detection ...

2006-09-29 Thread phil . dawson
Hi All,

I'm having trouble detecting faxes reliably.  I'm using one analog line for
both voice and fax.  Sometimes this works but a lot of the time it doesn't
and I was wondering if anyone knew why.  This is how I imagined it to work:

Caller calls in and as there is no fax tone asterisk processes the call as
a voice call.
Fax machine calls in, asterisk detects this and sends the call to the fax
extension.

I have eliminated my hylafax from the problems I'm experiencing as the call
isn't getting that far.

My configuration:

pstn ( analog ) ---  Asterisk ( TDM 400P )  ---  Linksys PAP2T-UK  --- 
Modem  ---  Hylafax


Something else I've recently come across is a lot of fax machines wait for
the callee to present a fax tone before it will communicate.  How would I
present a tone from asterisk when someone calls to be able to detect fax or
voice or is this not possible?



extensions.conf

exten = s,1,Answer
exten = s,n,LookupCIDName
exten = s,n,Wait(3)  ; -- wait to see if fax  (
should I need this )
exten = s,n,Goto(mainmenu,7,1) ;  -- if not fax process
ivr


exten = fax,1,Dial(${PHONES4},40,Ttr)  ; -- dial our ata with
connected fax machine
exten = fax,n,Hangup()


zapata.conf

faxdetect=incomming



Thanks in advance

Phil

___
--Bandwidth and Colocation provided by Easynews.com --

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


[asterisk-users] Fax Detection on outbound call

2006-09-22 Thread Mark Edwards
I'm trying to configure my asterisk server to detect fax on an outbound ZAP
call. The reason for this is that I have a bunch of interviewers in an
outbound callcentre who don't like listening to fax machines and I want to
be able to detect fax on the outbound leg before attempting to bridge the
call.

I have tried using app_nv_faxdetect with the M(faxdetect) option of the Dial
command, but I am not sure that this is operating on the right leg of the
call.

I have tried with /etc/asterisk/Zapata.conf and the faxdetect=... entries,
but this doesn't seem to have the desired effect.

Does anyone have any suggestions or pointers here?

Cheers,

Mark.

Mark Edwards


___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Fax Detection on outbound call

2006-09-22 Thread Tzafrir Cohen
On Fri, Sep 22, 2006 at 05:17:03PM +1000, Mark Edwards wrote:
 I'm trying to configure my asterisk server to detect fax on an outbound ZAP
 call. The reason for this is that I have a bunch of interviewers in an
 outbound callcentre who don't like listening to fax machines and I want to
 be able to detect fax on the outbound leg before attempting to bridge the
 call.
 
 I have tried using app_nv_faxdetect with the M(faxdetect) option of the Dial
 command, but I am not sure that this is operating on the right leg of the
 call.
 
 I have tried with /etc/asterisk/Zapata.conf and the faxdetect=... entries,
 but this doesn't seem to have the desired effect.

What is the desired effect? What do you get?

Can you provide more informamtion on your configuration?

-- 
Tzafrir Cohen sip:[EMAIL PROTECTED]
icq#16849755  iax:[EMAIL PROTECTED]
+972-50-7952406  jabber:[EMAIL PROTECTED]
[EMAIL PROTECTED] http://www.xorcom.com
___
--Bandwidth and Colocation provided by Easynews.com --

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


RE: [asterisk-users] Fax Detection on outbound call

2006-09-22 Thread Mark Edwards
Sure.

Agents are logged individually into queues and can therefore work offhook.
My application issues an 'originate' via AMI from the queue to the
destination number. When the call is answered it is bridged and connects the
Agent to the destination party.

The desired effect would be that when the application makes a call to the
destination party, if it is a fax number, the call can be prevented from
sending audio back to the agent.

Happy to provide any further information...

Cheers

Mark.



-Original Message-
From: Tzafrir Cohen [mailto:[EMAIL PROTECTED] 
Sent: Friday, 22 September 2006 6:56 PM
To: asterisk-users@lists.digium.com
Subject: Re: [asterisk-users] Fax Detection on outbound call

On Fri, Sep 22, 2006 at 05:17:03PM +1000, Mark Edwards wrote:
 I'm trying to configure my asterisk server to detect fax on an outbound
ZAP
 call. The reason for this is that I have a bunch of interviewers in an
 outbound callcentre who don't like listening to fax machines and I want to
 be able to detect fax on the outbound leg before attempting to bridge the
 call.
 
 I have tried using app_nv_faxdetect with the M(faxdetect) option of the
Dial
 command, but I am not sure that this is operating on the right leg of the
 call.
 
 I have tried with /etc/asterisk/Zapata.conf and the faxdetect=... entries,
 but this doesn't seem to have the desired effect.

What is the desired effect? What do you get?

Can you provide more informamtion on your configuration?

-- 
Tzafrir Cohen sip:[EMAIL PROTECTED]
icq#16849755  iax:[EMAIL PROTECTED]
+972-50-7952406  jabber:[EMAIL PROTECTED]
[EMAIL PROTECTED] http://www.xorcom.com
___
--Bandwidth and Colocation provided by Easynews.com --

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

___
--Bandwidth and Colocation provided by Easynews.com --

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


RE: [asterisk-users] Fax Detection on outbound call

2006-09-22 Thread Mark Edwards
Here's the dialplan I am using at the moment.

[dialer-test-2]
exten = _X.,1,Set(TIMEOUT(resposnse)=10)
exten = _X.,n,dial(Zap/g1/${EXTEN},60,M(detect-fax^1^2))
exten = _X.,n,noop(back from dial in dialer-test-2)
exten = t,1,noop(timeout)

[macro-detect-fax]
exten = s,1,noop(detecting fax)
exten = s,n,NVFaxDetect(6|nt|2000)
exten = s,n,noop(after NVFaxDetect)
exten = fax,1,noop(got fax)
exten = fax,n,hangup
exten = talk,1,noop(got talk)
exten = talk,n,hangup

At present, NVFaxDetect doesn't appear to pick up fax tone when I dial out
to a fax machine.

Of course this may end up a question re debugging of asterisk dsp.c!

Cheers,

Mark.

-Original Message-
From: Tzafrir Cohen [mailto:[EMAIL PROTECTED] 
Sent: Friday, 22 September 2006 6:56 PM
To: asterisk-users@lists.digium.com
Subject: Re: [asterisk-users] Fax Detection on outbound call

On Fri, Sep 22, 2006 at 05:17:03PM +1000, Mark Edwards wrote:
 I'm trying to configure my asterisk server to detect fax on an outbound
ZAP
 call. The reason for this is that I have a bunch of interviewers in an
 outbound callcentre who don't like listening to fax machines and I want to
 be able to detect fax on the outbound leg before attempting to bridge the
 call.
 
 I have tried using app_nv_faxdetect with the M(faxdetect) option of the
Dial
 command, but I am not sure that this is operating on the right leg of the
 call.
 
 I have tried with /etc/asterisk/Zapata.conf and the faxdetect=... entries,
 but this doesn't seem to have the desired effect.

What is the desired effect? What do you get?

Can you provide more informamtion on your configuration?

-- 
Tzafrir Cohen sip:[EMAIL PROTECTED]
icq#16849755  iax:[EMAIL PROTECTED]
+972-50-7952406  jabber:[EMAIL PROTECTED]
[EMAIL PROTECTED] http://www.xorcom.com
___
--Bandwidth and Colocation provided by Easynews.com --

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

___
--Bandwidth and Colocation provided by Easynews.com --

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


[Asterisk-Users] fax detection on TE406P

2006-01-05 Thread Cameron Grant
Hi all,

I am having problems detecting fax on a client site using the TE406P
(card with echo cancellation module) under 1.2 and was wondering if
anybody was having or has had similar problems?

Currently I can not get the system to detect fax for love nor money,
in zapata.conf the relevant entries are set to:
faxdetect=outgoing
and I have a fax extension in the necessary context.

I have taken another box with an identical build with a TE405P card in
and that was able to detect fax flawlessly.

has any one else experienced something similar?
any thoughts/advice?
cheers
cameron
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [Asterisk-Users] fax detection on TE406P

2006-01-05 Thread Kevin P. Fleming

Cameron Grant wrote:


I am having problems detecting fax on a client site using the TE406P
(card with echo cancellation module) under 1.2 and was wondering if
anybody was having or has had similar problems?


Yes, we are aware that the VPM currently breaks FAX tone detection. For 
a temporary workaround, you can add 'vpmdtmfsupport=0' to the module 
parameters for wct4xxp and it will stop this behavior without disabling 
the echo canceler.


We are working on finding a solution for this issue, and once the driver 
is updated with a fix there will be a notice made to the lists.

___
--Bandwidth and Colocation provided by Easynews.com --

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


[Asterisk-Users] Fax detection question

2005-09-23 Thread Rudolf Ladyzhenskii

Hi, all

Here is what I plan to do:

Have an asterisk server with 1FXS and 1 FXO port. Will have fax machine 
connected to FXS and will use IP phones.


I want asterisk to detect incoming fax and swith it to fax line 
automatically.


Something like this:
Incoming on FXO.
Asterisk to pick up.
Asterisk to detect if there is an incoming fax and switch to fax machine.
If call is voice call, then ring IP phone(s).

Detecting the fax is a grey area for me. Can asterisk do it? How do set it 
up? (HW is TDM400 card with 1FXS, 1FXO port).


Thanks,
Rudolf 


___
--Bandwidth and Colocation sponsored by Easynews.com --

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


Re: [Asterisk-Users] Fax detection question

2005-09-23 Thread gincantalupo

Hi,
look insdie wiki for faxdetect instrction.

g

Rudolf Ladyzhenskii wrote:


Hi, all

Here is what I plan to do:

Have an asterisk server with 1FXS and 1 FXO port. Will have fax 
machine connected to FXS and will use IP phones.


I want asterisk to detect incoming fax and swith it to fax line 
automatically.


Something like this:
Incoming on FXO.
Asterisk to pick up.
Asterisk to detect if there is an incoming fax and switch to fax machine.
If call is voice call, then ring IP phone(s).

Detecting the fax is a grey area for me. Can asterisk do it? How do 
set it up? (HW is TDM400 card with 1FXS, 1FXO port).


Thanks,
Rudolf
___
--Bandwidth and Colocation sponsored by Easynews.com --

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



___
--Bandwidth and Colocation sponsored by Easynews.com --

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


[Asterisk-Users] Fax detection on isdn

2005-07-27 Thread yusuf

Hi all,

I have previously got fax working on a digium card, now im using a 
sirrix isdn card.  The problem is that it cant detect when  it is a 
fax.  So how do i get fax detection working on this sirrix isdn card.


thanks,
yusuf
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Fax DETECTION with CAPI

2005-07-04 Thread sylvain garcia

hi,

I have dabian sarge with asterisk 1.0.7 and chan_capi 0.3.5 with AVM
fritz card.

I would like use detecion of fax, but it don't work.
So, i would like know if it's possible to work fax detection with this
card? And if it's possible how??

Thanks you for your help
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Fax DETECTION with CAPI

2005-07-04 Thread Armin Schindler
On Mon, 4 Jul 2005, sylvain garcia wrote:
 hi,
 
 I have dabian sarge with asterisk 1.0.7 and chan_capi 0.3.5 with AVM
 fritz card.

 I would like use detecion of fax, but it don't work.
 So, i would like know if it's possible to work fax detection with this
 card? And if it's possible how??

capiFax is integrated in chan_capi-cm (on sourceforge), but I cannot tell if 
the driver for the fritz card provides faxing...

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


Re: [Asterisk-Users] Fax detection: Problem with extension number

2005-05-26 Thread Jean-Christophe Heger
For what I'm seeing in your log, the fax is detected, but you're missing
the fax extension. Here is how it works on my asterisk:

zapata.conf:
faxdetect = incoming

extensions.conf:

[pstn-in]
exten = 1234567,1,Goto(fax,s,1)   ; This is a dedicated fax number
exten = fax,1,Goto(fax,s,1)   ; For Zaptel fax detection (must
be answer first to be detected)

[fax]
exten = s,1,ZapEC(off)
exten = s,2,Wait(2)
exten = s,3,RxFAX(/var/lib/asterisk/fax/${UNIQUEID}.tif)
exten = s,4,Hangup
exten = fax,1,ZapEC(off)
exten = fax,2,RxFAX(/var/lib/asterisk/fax/${UNIQUEID}.tif)
exten = fax,3,Hangup
exten = h,1,System(/usr/bin/fax2pdf
/var/lib/asterisk/fax/${UNIQUEID}.tif /var/lib/asterisk/fax/${UNIQUEID}.pdf)

I'm not really sure what exten number to use in fax context, but it works.

Jean-Christophe


Jean-Yves Avenard a écrit :



 Hello

 I've been having the following problem today :
 I have a quite simple dialplan made to receive a fax:

 [answer-extension]
 exten = 1,1,Answer
 exten = 1,2,Macro(setcallerid)
 exten = 1,3,Ringing
 exten = 1,4,Wait(3)
 exten =
 1,5,Macro(stdfwd3iax-notransfer,${EXTENSION},${EXTENSION},${EXTENSION})

 exten = fax,1,Goto(faxreceive,1,1)

 The Wait(3) is there simply to let the system a bit of time to detect
 if it's a fax calling, this has worked so far in all cases except today.
 I received a fax from overseas and it seems that Asterisk has been
 unable to detect that it was a fax in the 3 seconds wait. Changing to
 5s was sufficient to receive the fax. But obviously this is not a
 solution I want to adopt all the time as 1-it's a tool long wait,
 2-what happens if 5s is still not enough another time.

 So Asterisk recognized that a fax was being received while executing
 the macro stdfwd3iax-notransfer (this extension simply check

 And I saw the following message in the console:
 -- Executing VoiceMail(Zap/10-1, u200) in new stack
 -- Playing
 '/data/asterisk/var/spool/asterisk/voicemail/default/200/unavail'
 (language 'en')
 -- Redirecting Zap/10-1 to fax extension
 May 25 01:19:34 WARNING[17629]: pbx.c:2412 ast_pbx_run: Timeout, but
 no rule 't' in context 'answer-extension'
 -- Hungup 'Zap/10-1'

 It seems that Asterisk once entered in a Macro is unable to jump to
 the fax extension and gave me a timeout (which I do not handle in my
 dialplan). If I change the Wait(3) into Wait(0) the problem can be
 easily reproduced at all times.

 I then added a fax extension in the Macro just in case, but it made no
 difference whatsoever.

 Any ideas on what I'm doing wrong or is this a problem with Asterisk?

 The fully log is below.
 Thank you in advance
 Jean-Yves

 When I looked in the console on what what happening I say this:
 -- Accepting call from '' to '85735200' on channel 0/10, span 1
 -- Executing AGI(Zap/10-1, getnumber.agi|200) in new stack
 -- Launched AGI Script
 /data/asterisk/var/lib/asterisk/agi-bin/getnumber.agi
 -- AGI Script getnumber.agi completed, returning 0
 -- Executing Set(Zap/10-1, EXTENSION=00) in new stack
 -- Executing Goto(Zap/10-1, answer-extension|1|1) in new stack
 -- Goto (answer-extension,1,1)
 -- Executing Answer(Zap/10-1, ) in new stack
 -- Executing Macro(Zap/10-1, setcallerid) in new stack
 -- Executing GotoIf(Zap/10-1, 11?10:11) in new stack
 -- Goto (macro-setcallerid,s,10)
 -- Executing Set(Zap/10-1, CALLERID(number)='') in new stack
 -- Executing GotoIf(Zap/10-1, 0?20) in new stack
 -- Executing Ringing(Zap/10-1, ) in new stack
 -- Executing Wait(Zap/10-1, 0) in new stack
 -- Executing Macro(Zap/10-1,
 stdfwd3iax-notransfer|200|200|100) in new stack
 -- Executing DBget(Zap/10-1, temp=CFIM/200) in new stack
 -- DBget: varname=temp, family=CFIM, key=200
 -- DBget: Value not found in database.
 -- Executing Goto(Zap/10-1, 3) in new stack
 -- Goto (macro-stdfwd3iax-notransfer,s,3)
 -- Executing Dial(Zap/10-1, IAX2/iax100|20|tr) in new stack
 May 25 01:19:21 NOTICE[17629]: app_dial.c:972 dial_exec_full: Unable
 to create channel of type 'IAX2' (cause 3)
   == Everyone is busy/congested at this time (1:0/0/1)
 -- Executing NoOp(Zap/10-1, CHANUNAVAIL) in new stack
 -- Executing Goto(Zap/10-1, s-CHANUNAVAIL|1) in new stack
 -- Goto (macro-stdfwd3iax-notransfer,s-CHANUNAVAIL,1)
 -- Executing Goto(Zap/10-1, s|400) in new stack
 -- Goto (macro-stdfwd3iax-notransfer,s,400)
 -- Executing Dial(Zap/10-1, SIP/ipp100|20|tr) in new stack
 May 25 01:19:21 NOTICE[17629]: app_dial.c:972 dial_exec_full: Unable
 to create channel of type 'SIP' (cause 3)
   == Everyone is busy/congested at this time (1:0/0/1)
 -- Executing Goto(Zap/10-1, s2-CHANUNAVAIL|1) in new stack
 -- Goto (macro-stdfwd3iax-notransfer,s2-CHANUNAVAIL,1)
 -- Executing Goto(Zap/10-1, s|200) in new stack
 -- Goto (macro-stdfwd3iax-notransfer,s,200)
 -- Executing DBget(Zap/10-1, temp=CFBS/200) in new stack
 -- DBget: varname=temp, family=CFBS, key=200
 

Re: [Asterisk-Users] Fax detection: Problem with extension number

2005-05-26 Thread Jean-Yves Avenard
Hi.On 26/05/2005, at 4:31 PM, Jean-Christophe Heger wrote:For what I'm seeing in your log, the fax is detected, but you're missingthe fax extension. Here is how it works on my asterisk:uh??did you really read my email?Jean-Yves Avenard a écrit :[answer-extension]exten = 1,1,Answerexten = 1,2,Macro(setcallerid)exten = 1,3,Ringingexten = 1,4,Wait(3)exten =1,5,Macro(stdfwd3iax-notransfer,${EXTENSION},${EXTENSION},${EXTENSION})exten = fax,1,Goto(faxreceive,1,1)Here.. I have a fax extension..My point was that if a macro is called, and it detects the fax while in this macro, then it tries to jump to the fax extension but can't find it.Even if I put a fax extension in the Macro it makes no difference.Looks like a bug to me in AsteriskJean-Yves___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

[Asterisk-Users] Fax detection: Problem with extension number

2005-05-24 Thread Jean-Yves Avenard
HelloI've been having the following problem today :I have a quite simple dialplan made to receive a fax:[answer-extension]exten = 1,1,Answerexten = 1,2,Macro(setcallerid)exten = 1,3,Ringingexten = 1,4,Wait(3)exten = 1,5,Macro(stdfwd3iax-notransfer,${EXTENSION},${EXTENSION},${EXTENSION})exten = fax,1,Goto(faxreceive,1,1)The Wait(3) is there simply to let the system a bit of time to detect if it's a fax calling, this has worked so far in all cases except today.I received a fax from overseas and it seems that Asterisk has been unable to detect that it was a fax in the 3 seconds wait. Changing to 5s was sufficient to receive the fax. But obviously this is not a solution I want to adopt all the time as 1-it's a tool long wait, 2-what happens if 5s is still not enough another time.So Asterisk recognized that a fax was being received while executing the macro stdfwd3iax-notransfer (this extension simply checkAnd I saw the following message in the console:    -- Executing VoiceMail("Zap/10-1", "u200") in new stack    -- Playing '/data/asterisk/var/spool/asterisk/voicemail/default/200/unavail' (language 'en')    -- Redirecting Zap/10-1 to fax extensionMay 25 01:19:34 WARNING[17629]: pbx.c:2412 ast_pbx_run: Timeout, but no rule 't' in context 'answer-extension'    -- Hungup 'Zap/10-1'It seems that Asterisk once entered in a Macro is unable to jump to the fax extension and gave me a timeout (which I do not handle in my dialplan). If I change the Wait(3) into Wait(0) the problem can be easily reproduced at all times.I then added a fax extension in the Macro just in case, but it made no difference whatsoever.Any ideas on what I'm doing wrong or is this a problem with Asterisk?The fully log is below.Thank you in advanceJean-YvesWhen I looked in the console on what what happening I say this:    -- Accepting call from '' to '85735200' on channel 0/10, span 1    -- Executing AGI("Zap/10-1", "getnumber.agi|200") in new stack    -- Launched AGI Script /data/asterisk/var/lib/asterisk/agi-bin/getnumber.agi    -- AGI Script getnumber.agi completed, returning 0    -- Executing Set("Zap/10-1", "EXTENSION=00") in new stack    -- Executing Goto("Zap/10-1", "answer-extension|1|1") in new stack    -- Goto (answer-extension,1,1)    -- Executing Answer("Zap/10-1", "") in new stack    -- Executing Macro("Zap/10-1", "setcallerid") in new stack    -- Executing GotoIf("Zap/10-1", "11?10:11") in new stack    -- Goto (macro-setcallerid,s,10)    -- Executing Set("Zap/10-1", "CALLERID(number)=''") in new stack    -- Executing GotoIf("Zap/10-1", "0?20") in new stack    -- Executing Ringing("Zap/10-1", "") in new stack    -- Executing Wait("Zap/10-1", "0") in new stack    -- Executing Macro("Zap/10-1", "stdfwd3iax-notransfer|200|200|100") in new stack    -- Executing DBget("Zap/10-1", "temp=CFIM/200") in new stack    -- DBget: varname=temp, family=CFIM, key=200    -- DBget: Value not found in database.    -- Executing Goto("Zap/10-1", "3") in new stack    -- Goto (macro-stdfwd3iax-notransfer,s,3)    -- Executing Dial("Zap/10-1", "IAX2/iax100|20|tr") in new stackMay 25 01:19:21 NOTICE[17629]: app_dial.c:972 dial_exec_full: Unable to create channel of type 'IAX2' (cause 3)  == Everyone is busy/congested at this time (1:0/0/1)    -- Executing NoOp("Zap/10-1", "CHANUNAVAIL") in new stack    -- Executing Goto("Zap/10-1", "s-CHANUNAVAIL|1") in new stack    -- Goto (macro-stdfwd3iax-notransfer,s-CHANUNAVAIL,1)    -- Executing Goto("Zap/10-1", "s|400") in new stack    -- Goto (macro-stdfwd3iax-notransfer,s,400)    -- Executing Dial("Zap/10-1", "SIP/ipp100|20|tr") in new stackMay 25 01:19:21 NOTICE[17629]: app_dial.c:972 dial_exec_full: Unable to create channel of type 'SIP' (cause 3)  == Everyone is busy/congested at this time (1:0/0/1)    -- Executing Goto("Zap/10-1", "s2-CHANUNAVAIL|1") in new stack    -- Goto (macro-stdfwd3iax-notransfer,s2-CHANUNAVAIL,1)    -- Executing Goto("Zap/10-1", "s|200") in new stack    -- Goto (macro-stdfwd3iax-notransfer,s,200)    -- Executing DBget("Zap/10-1", "temp=CFBS/200") in new stack    -- DBget: varname=temp, family=CFBS, key=200    -- DBget: Value not found in database.    -- Executing Goto("Zap/10-1", "202") in new stack    -- Goto (macro-stdfwd3iax-notransfer,s,202)    -- Executing VoiceMail("Zap/10-1", "u200") in new stack    -- Playing '/data/asterisk/var/spool/asterisk/voicemail/default/200/unavail' (language 'en')    -- Redirecting Zap/10-1 to fax extensionMay 25 01:19:34 WARNING[17629]: pbx.c:2412 ast_pbx_run: Timeout, but no rule 't' in context 'answer-extension'    -- Hungup 'Zap/10-1'---Jean-Yves AvenardHydrix Pty Ltd - Embedding the netwww.hydrix.com | fax +61 3 8573 5200 | office +61 3 8573 5299 | direct +61 3 8573 5200   --- Jean-Yves Avenard Hydrix Pty Ltd - Embedding the net www.hydrix.com | fax +61 3 8573 5200 | office +61 3 8573 5299 | direct +61 3 8573 5200  ___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com

[Asterisk-Users] Fax detection

2005-03-30 Thread niles
Hello,
I'm attempting to configure my office Asterisk server to do fax
detection for each one of our DID's configured for different users.
Each person in our office has their own phone number, and I want each
to do both voice  fax.
Fax detection works great when configured like this:
exten = fax,1,Macro(faxreceive)
exten = fax,2,SetVar([EMAIL PROTECTED])
exten = h,1,system(/usr/local/sbin/mailfax ${FAXFILE} ${EMAILADDR} 
${CALLERIDNUM} ${CALLERIDNAME})

This will detect any incoming fax for this particular context and 
basically work as expected.
I attempted to do some callerid matching to ensure the correct person 
gets their fax.
When configured like this, Asterisk doesn't match the incoming DID to 
the fax user in question.

exten = fax/3172152560,1,Macro(faxreceive)
exten = fax/3172152560,2,SetVar([EMAIL PROTECTED])
exten = h,1,system(/usr/local/sbin/mailfax ${FAXFILE} ${EMAILADDR} 
${CALLERIDNUM} ${CALLERIDNAME})

This didn't work!
I then tried this:
exten = fax,1,Macro(faxreceive)
exten = fax/3172152560,2,SetVar([EMAIL PROTECTED])
exten = fax/3172152561,2,SetVar([EMAIL PROTECTED])
exten = h,1,system(/usr/local/sbin/mailfax ${FAXFILE} ${EMAILADDR} 
${CALLERIDNUM} ${CALLERIDNAME})

this also didn't work, although it did everything but set the e-mail 
variable.
Any ideas?
Niles

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


[Asterisk-Users] FAX detection in extentions.conf

2005-01-19 Thread Sjaak Nabuurs
Hello
I have a PBX for our company with in front a ISDN * ISDN server.
I would like to detect if the outgoing  line is a fax call or  voice call.
I know ther's a fax detection in zaptel.
Now the question can I make desision in extentions.conf when * detects a 
fax call.

FAX  PBX  ZAP/G1  ZAP/G2the world
and not
FAX  PBX  ZAP/G1  IAX2   voip world
Thanks
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


RES: [Asterisk-Users] Fax detection CAPI (doesn't work!)

2004-12-15 Thread Humberto Aicardi
Hi,

Thanks for the reply, what I currently have is the chan_0.3.5 with
the CVS HEAD and fax patch applied. I have made all combinations possible
with softdtmf=0/1 and enabling/disabled FORCE_SOFTWARE_DTMF and nothing.
During the loading process of the capi channel driver I get a  CAPI[contrX]
supports DTMF but still the extension for fax does not get executed, any
toughts?

Regards,
Humberto Aicardi

-Mensagem original-
De: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Em nome de Carl Sempla
Enviada em: Tuesday, December 14, 2004 8:15 PM
Para: Asterisk Users Mailing List - Non-Commercial Discussion
Assunto: Re: [Asterisk-Users] Fax detection  CAPI (doesn't work!)

On Tuesday, 14 December, 2004 22:17 : Humberto Aicardi
[EMAIL PROTECTED] wrote:

 I'm currently using a ISDN-BRI with a Fritz ISDN card and the
 chan-capi. The problem is that the fax detection is not executed,

Hi,

The fax detection in chan_capi use the CAPI DTMF feature. So you need to set
in /etc/asterisk/capi.conf the line softdtmf=0
Check if CFLAGS+=-DFORCE_SOFTWARE_DTMF in Makefile of chan_capi is commented
(#).
If you start asterisk with the -v option, you should see :
CAPI[contrX] supports DTMF

And obviously the card must report a DTMF when a fax tone is detected.

It may be possible to alter the code and use the asterisk dsp code instead.

Regards,

-- 
Carl

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Fax detection CAPI (doesn't work!)

2004-12-14 Thread Humberto Aicardi
Hi,

I'm currently using a ISDN-BRI with a Fritz ISDN card and the
chan-capi. The problem is that the fax detection is not executed, here is a
snippet of the extensions.conf:


[from-capi]
exten = h,1,Macro(record-cleanup)

exten = s,1,Wait(2)
exten = s,2,ResponseTimeout(15)
exten = s,3,Background(fn-intro)

exten = fax,1,capiAnswerFax(/tmp/${UNIQUEID}) ; --- never gets executed?!

Can someone provide me with further information if need to setup
anything else?

Best regards,
Humberto Aicardi



___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Fax detection CAPI (doesn't work!)

2004-12-14 Thread Carl Sempla
On Tuesday, 14 December, 2004 22:17 : Humberto Aicardi
[EMAIL PROTECTED] wrote:

 I'm currently using a ISDN-BRI with a Fritz ISDN card and the
 chan-capi. The problem is that the fax detection is not executed,

Hi,

The fax detection in chan_capi use the CAPI DTMF feature. So you need to set
in /etc/asterisk/capi.conf the line softdtmf=0
Check if CFLAGS+=-DFORCE_SOFTWARE_DTMF in Makefile of chan_capi is commented
(#).
If you start asterisk with the -v option, you should see :
CAPI[contrX] supports DTMF

And obviously the card must report a DTMF when a fax tone is detected.

It may be possible to alter the code and use the asterisk dsp code instead.

Regards,

-- 
Carl

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Fax detection in voip channel

2004-10-21 Thread usedcanon
Hi All,

Is it possible to detect an incomming fax just as it is possible with Answer
on a Zap channel. If not do others find the possibility of this enhancement
useful too?

Umar

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Fax detection in voip channel

2004-10-21 Thread Lee Howard
On 2004.10.21 14:49 usedcanon wrote:
Hi All,
Is it possible to detect an incomming fax just as it is possible with
Answer
on a Zap channel. If not do others find the possibility of this
enhancement
useful too?
Doing fax over SIP or IAX would be a frustrating effort, and a complete 
waste of time, IMO.  See:

http://www.opencall.org/faq/x47.html
If you don't believe me, go ahead and actually *try* to send/receive a 
fax through a WAN/internet VoIP connection.  You'll probably get 
tolerable results with SIP-fax on a LAN, but run it through a VoIP 
provider over the internet, and you'll have a mess, even if the codec 
is ULAW/ALAW

What you really want is a T.38 channel driver.
Lee.
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] Fax detection in voip channel

2004-10-21 Thread usedcanon
-Original Message-
From: Lee Howard [mailto:[EMAIL PROTECTED]
Sent: 21 October 2004 23:20
To: Asterisk Users Mailing List - Non-Commercial Discussion
Cc: usedcanon
Subject: Re: [Asterisk-Users] Fax detection in voip channel


On 2004.10.21 14:49 usedcanon wrote:
 Hi All,

 Is it possible to detect an incomming fax just as it is possible with
 Answer
 on a Zap channel. If not do others find the possibility of this
 enhancement
 useful too?

Doing fax over SIP or IAX would be a frustrating effort, and a complete
waste of time, IMO.  See:

 http://www.opencall.org/faq/x47.html

If you don't believe me, go ahead and actually *try* to send/receive a
fax through a WAN/internet VoIP connection.  You'll probably get
tolerable results with SIP-fax on a LAN, but run it through a VoIP
provider over the internet, and you'll have a mess, even if the codec
is ULAW/ALAW

What you really want is a T.38 channel driver.

Lee.

I understand what you are saying however there are scenarios where fax over
voip works fine, I have tested (briefly) with spandsp and have done so
sucessfully.

as a sperate solutions we use mediatrix gateways very successfully for fax
transmision over IP, our IP network is private and does not touch the
internet so we can gaurantee (to some extent) bandwidth and quality.

A T.38 solution would be most desirable, no doubt, but is there one ? I
don't even see a mention of it anywhere.

Umar

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] Fax detection in voip channel

2004-10-21 Thread Brian West
Na we did faxing over:

SIP = ASTERISK = IAX = PSTN = ASTERISK = IAX = ASTERISK = PRI =
HYLAFAX

Worked great.. and it started on someone's cable modem.. using g726 no less.

bkw

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:asterisk-users-
 [EMAIL PROTECTED] On Behalf Of Lee Howard
 Sent: Thursday, October 21, 2004 5:20 PM
 To: Asterisk Users Mailing List - Non-Commercial Discussion
 Cc: usedcanon
 Subject: Re: [Asterisk-Users] Fax detection in voip channel
 
 On 2004.10.21 14:49 usedcanon wrote:
  Hi All,
 
  Is it possible to detect an incomming fax just as it is possible with
  Answer
  on a Zap channel. If not do others find the possibility of this
  enhancement
  useful too?
 
 Doing fax over SIP or IAX would be a frustrating effort, and a complete
 waste of time, IMO.  See:
 
  http://www.opencall.org/faq/x47.html
 
 If you don't believe me, go ahead and actually *try* to send/receive a
 fax through a WAN/internet VoIP connection.  You'll probably get
 tolerable results with SIP-fax on a LAN, but run it through a VoIP
 provider over the internet, and you'll have a mess, even if the codec
 is ULAW/ALAW
 
 What you really want is a T.38 channel driver.
 
 Lee.
 ___
 Asterisk-Users mailing list
 [EMAIL PROTECTED]
 http://lists.digium.com/mailman/listinfo/asterisk-users
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Fax detection in voip channel

2004-10-21 Thread Matt Hess
Ironically, I just got back to my desk from faxing an 18 page document.. 
ulaw codec..
call path: sip gateway - asterisk - max tnt - pri lines/pstn
I haven't really had many troubles with fax.. apart from when I was 
using a particular voip provider named voiplist.. they refused to 
support it saying that and I quote: the service is voice over ip not 
fax over ip

how silly is that..
But I do agree.. a nice open t.38 platform would be wonderful.. inside 
of asterisk.. on media gateways.. everywhere.. but it isn't there yet..

usedcanon wrote:
-Original Message-
From: Lee Howard [mailto:[EMAIL PROTECTED]
Sent: 21 October 2004 23:20
To: Asterisk Users Mailing List - Non-Commercial Discussion
Cc: usedcanon
Subject: Re: [Asterisk-Users] Fax detection in voip channel
On 2004.10.21 14:49 usedcanon wrote:
 

Hi All,
Is it possible to detect an incomming fax just as it is possible with
Answer
on a Zap channel. If not do others find the possibility of this
enhancement
useful too?
   

Doing fax over SIP or IAX would be a frustrating effort, and a complete
waste of time, IMO.  See:
http://www.opencall.org/faq/x47.html
If you don't believe me, go ahead and actually *try* to send/receive a
fax through a WAN/internet VoIP connection.  You'll probably get
tolerable results with SIP-fax on a LAN, but run it through a VoIP
provider over the internet, and you'll have a mess, even if the codec
is ULAW/ALAW
What you really want is a T.38 channel driver.
Lee.
I understand what you are saying however there are scenarios where fax over
voip works fine, I have tested (briefly) with spandsp and have done so
sucessfully.
as a sperate solutions we use mediatrix gateways very successfully for fax
transmision over IP, our IP network is private and does not touch the
internet so we can gaurantee (to some extent) bandwidth and quality.
A T.38 solution would be most desirable, no doubt, but is there one ? I
don't even see a mention of it anywhere.
Umar
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users
 

begin:vcard
fn:Matt Hess
n:Hess;Matt
org:LiveWireNet
adr;dom:;;4577 Pecos St;Denver;CO;80211
email;internet:[EMAIL PROTECTED]
title:Senior Network Engineer
tel;work:303-458-5667
tel;fax:303-458-5725
x-mozilla-html:FALSE
url:http://www.livewirenet.com/
version:2.1
end:vcard

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [Asterisk-Users] Fax detection in voip channel

2004-10-21 Thread Steve Underwood
usedcanon wrote:
Hi All,
Is it possible to detect an incomming fax just as it is possible with Answer
on a Zap channel. If not do others find the possibility of this enhancement
useful too?
 

Detecting that an incoming is a FAX has been present in * since its 
early days.

Regards,
Steve
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [spam] Re: [Asterisk-Users] Fax Detection

2004-07-08 Thread Matt
Bkw thanks for the advcicel no joy though:

I tried:
 
 Exten = 08700686XXX,1,Goto(textextension,7000,1)

 [testextension]
 Exten = 7000,1,Answer
 Exten = 7000,2,Ringing
 Exten = 7000,3,Wait(5)
 Exten = 7000,4,Dial(SIP/104)
 Exten = fax,1,rxfax(/var/spool/asterisk/incoming/testfax.tif)
 Exten = fax,2,congestion
 Exten = fax,102,congestion


Any other tips?

Cheers

Matt

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Brian K. West
Sent: 08 July 2004 02:22
To: [EMAIL PROTECTED]
Subject: [spam] Re: [Asterisk-Users] Fax Detection

Try Answer Then Ringing and wait about 2-3 seconds.  Then Dial

bkw

- Original Message -
From: Matt [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, July 07, 2004 2:44 PM
Subject: [Asterisk-Users] Fax Detection


 Hi all

 I've tried Google, wiki and mailing list and IRC but still haven't gotten
to
 the bottom of this.  Hopefully someone might be able to help.

 I'm using telappliant to provide my inbound and outbound calls.  * plays
 host to 30 cisco's and they are all working great using G711 A-law.  I've
 managed to get SpanDSP to compile and install and I can send a receive a
fax
 on a dedicated extension.  What I'm trying to do now and can't seem to
nail
 is getting an inbound fax to be detected and then handled.

 I've tried the examples from the wiki and the sites linked on the wiki;
 messed about trying my own weird and wonderful methods but still no joy.

 All the calls are using G711 A-law.

 Here is the test context I'm using

 XXX = hiden

 Exten = 08700686XXX,1,Goto(textextension,7000,1)

 [testextension]
 Exten = 7000,1,Answer
 Exten = 7000,2,Dial(SIP/104)
 Exten = fax,1,rxfax(/var/spool/asterisk/incoming/testfax.tif)
 Exten = fax,2,congestion
 Exten = fax,102,congestion

 Calls hit the testextension contect but don't get detected as a fax.

 Cheers

 Matt

 ___
 Asterisk-Users mailing list
 [EMAIL PROTECTED]
 http://lists.digium.com/mailman/listinfo/asterisk-users
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users


___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Fax Detection

2004-07-08 Thread Ryan Courtnage
On July 7, 2004 09:19 pm, Matt wrote:
 Hi all

 I've tried Google, wiki and mailing list and IRC but still haven't gotten
 to the bottom of this.  Hopefully someone might be able to help.

 I'm using telappliant to provide my inbound and outbound calls. 

I'm not familiar with teleppliant.  Do you use a digium (zap) card?  AFAIK, 
you need one and need faxdetect=yes in zapata.conf.

When a fax comes in, does anything relevant get written to * console?

 * plays 
 host to 30 cisco's and they are all working great using G711 A-law.  I've
 managed to get SpanDSP to compile and install and I can send a receive a
 fax on a dedicated extension.  What I'm trying to do now and can't seem to
 nail is getting an inbound fax to be detected and then handled.

 I've tried the examples from the wiki and the sites linked on the wiki;
 messed about trying my own weird and wonderful methods but still no joy.

 All the calls are using G711 A-law.

 Here is the test context I'm using

 XXX = hiden

 Exten = 08700686XXX,1,Goto(textextension,7000,1)

 [testextension]
 Exten = 7000,1,Answer
 Exten = 7000,2,Dial(SIP/104)
 Exten = fax,1,rxfax(/var/spool/asterisk/incoming/testfax.tif)
 Exten = fax,2,congestion
 Exten = fax,102,congestion

 Calls hit the testextension contect but don't get detected as a fax.

 Cheers

 Matt

 ___
 Asterisk-Users mailing list
 [EMAIL PROTECTED]
 http://lists.digium.com/mailman/listinfo/asterisk-users
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

-- 
..
Ryan Courtnage
Coalescent Systems Inc
403.244.8089
www.voxbox.ca
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] Fax Detection

2004-07-08 Thread Matt
Hi Ryan,

Telappliant only offer SIP/IAX inbound I do have an X100P in the PBX and
faxdetect=yes in the zapata.conf.
I suppose my question is: does SpanDSP detect faxes over SIP or is it only
over Zap?

Matt

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ryan Courtnage
Sent: 08 July 2004 09:47
To: [EMAIL PROTECTED]
Subject: Re: [Asterisk-Users] Fax Detection

On July 7, 2004 09:19 pm, Matt wrote:
 Hi all

 I've tried Google, wiki and mailing list and IRC but still haven't 
 gotten to the bottom of this.  Hopefully someone might be able to help.

 I'm using telappliant to provide my inbound and outbound calls. 

I'm not familiar with teleppliant.  Do you use a digium (zap) card?  AFAIK,
you need one and need faxdetect=yes in zapata.conf.

When a fax comes in, does anything relevant get written to * console?

 * plays
 host to 30 cisco's and they are all working great using G711 A-law.  
 I've managed to get SpanDSP to compile and install and I can send a 
 receive a fax on a dedicated extension.  What I'm trying to do now and 
 can't seem to nail is getting an inbound fax to be detected and then
handled.

 I've tried the examples from the wiki and the sites linked on the 
 wiki; messed about trying my own weird and wonderful methods but still no
joy.

 All the calls are using G711 A-law.

 Here is the test context I'm using

 XXX = hiden

 Exten = 08700686XXX,1,Goto(textextension,7000,1)

 [testextension]
 Exten = 7000,1,Answer
 Exten = 7000,2,Dial(SIP/104)
 Exten = fax,1,rxfax(/var/spool/asterisk/incoming/testfax.tif)
 Exten = fax,2,congestion
 Exten = fax,102,congestion

 Calls hit the testextension contect but don't get detected as a fax.

 Cheers

 Matt

 ___
 Asterisk-Users mailing list
 [EMAIL PROTECTED]
 http://lists.digium.com/mailman/listinfo/asterisk-users
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

--
..
Ryan Courtnage
Coalescent Systems Inc
403.244.8089
www.voxbox.ca
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] Fax Detection

2004-07-08 Thread Seth Remington
Hi Ryan,

Faxdetect should be set to one of the following in zapata.conf:

faxdetect=both
faxdetect=incoming
faxdetect=outgoing
faxdetect=no

I don't believe that faxdetect=yes is valid but I didn't read the
source, just the sample config file.

-Seth

On Thu, 2004-07-08 at 12:28, Matt wrote:
 Hi Ryan,
 
 Telappliant only offer SIP/IAX inbound I do have an X100P in the PBX and
 faxdetect=yes in the zapata.conf.
 I suppose my question is: does SpanDSP detect faxes over SIP or is it only
 over Zap?
 
 Matt
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Ryan Courtnage
 Sent: 08 July 2004 09:47
 To: [EMAIL PROTECTED]
 Subject: Re: [Asterisk-Users] Fax Detection
 
 On July 7, 2004 09:19 pm, Matt wrote:
  Hi all
 
  I've tried Google, wiki and mailing list and IRC but still haven't 
  gotten to the bottom of this.  Hopefully someone might be able to help.
 
  I'm using telappliant to provide my inbound and outbound calls. 
 
 I'm not familiar with teleppliant.  Do you use a digium (zap) card?  AFAIK,
 you need one and need faxdetect=yes in zapata.conf.
 
 When a fax comes in, does anything relevant get written to * console?
 
  * plays
  host to 30 cisco's and they are all working great using G711 A-law.  
  I've managed to get SpanDSP to compile and install and I can send a 
  receive a fax on a dedicated extension.  What I'm trying to do now and 
  can't seem to nail is getting an inbound fax to be detected and then
 handled.
 
  I've tried the examples from the wiki and the sites linked on the 
  wiki; messed about trying my own weird and wonderful methods but still no
 joy.
 
  All the calls are using G711 A-law.
 
  Here is the test context I'm using
 
  XXX = hiden
 
  Exten = 08700686XXX,1,Goto(textextension,7000,1)
 
  [testextension]
  Exten = 7000,1,Answer
  Exten = 7000,2,Dial(SIP/104)
  Exten = fax,1,rxfax(/var/spool/asterisk/incoming/testfax.tif)
  Exten = fax,2,congestion
  Exten = fax,102,congestion
 
  Calls hit the testextension contect but don't get detected as a fax.
 
  Cheers
 
  Matt
 
  ___
  Asterisk-Users mailing list
  [EMAIL PROTECTED]
  http://lists.digium.com/mailman/listinfo/asterisk-users
  To UNSUBSCRIBE or update options visit:
 http://lists.digium.com/mailman/listinfo/asterisk-users
 
 --
 ..
 Ryan Courtnage
 Coalescent Systems Inc
 403.244.8089
 www.voxbox.ca
 ___
 Asterisk-Users mailing list
 [EMAIL PROTECTED]
 http://lists.digium.com/mailman/listinfo/asterisk-users
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
 
 ___
 Asterisk-Users mailing list
 [EMAIL PROTECTED]
 http://lists.digium.com/mailman/listinfo/asterisk-users
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
-- 
Seth Remington
SaberLogic, LLC
661-B Weber Drive
Wadsworth, Ohio 44281
Phone: (330)335-6442
Fax: (330)336-8559

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Fax Detection

2004-07-08 Thread Ryan Courtnage
On 8-Jul-04, at 10:28 AM, Matt wrote:
Hi Ryan,
Telappliant only offer SIP/IAX inbound I do have an X100P in the PBX 
and
faxdetect=yes in the zapata.conf.
I suppose my question is: does SpanDSP detect faxes over SIP or is it 
only
over Zap?
AFAIK it's the digium card that _detects_ the fax, and allows the call 
to jump to the 'fax' extension.  So fax _detection_ is a function of 
the card/driver .. and using the 'fax' extension requires the use of a 
digium card.

SpanDSP just talks fax .. I don't think it actually does any detection.

Matt
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ryan 
Courtnage
Sent: 08 July 2004 09:47
To: [EMAIL PROTECTED]
Subject: Re: [Asterisk-Users] Fax Detection

On July 7, 2004 09:19 pm, Matt wrote:
Hi all
I've tried Google, wiki and mailing list and IRC but still haven't
gotten to the bottom of this.  Hopefully someone might be able to 
help.

I'm using telappliant to provide my inbound and outbound calls.
I'm not familiar with teleppliant.  Do you use a digium (zap) card?  
AFAIK,
you need one and need faxdetect=yes in zapata.conf.

When a fax comes in, does anything relevant get written to * console?
* plays
host to 30 cisco's and they are all working great using G711 A-law.
I've managed to get SpanDSP to compile and install and I can send a
receive a fax on a dedicated extension.  What I'm trying to do now and
can't seem to nail is getting an inbound fax to be detected and then
handled.
I've tried the examples from the wiki and the sites linked on the
wiki; messed about trying my own weird and wonderful methods but 
still no
joy.
All the calls are using G711 A-law.
Here is the test context I'm using
XXX = hiden
Exten = 08700686XXX,1,Goto(textextension,7000,1)
[testextension]
Exten = 7000,1,Answer
Exten = 7000,2,Dial(SIP/104)
Exten = fax,1,rxfax(/var/spool/asterisk/incoming/testfax.tif)
Exten = fax,2,congestion
Exten = fax,102,congestion
Calls hit the testextension contect but don't get detected as a fax.
Cheers
Matt
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
--
..
Ryan Courtnage
Coalescent Systems Inc
403.244.8089
www.voxbox.ca
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] Fax Detection

2004-07-08 Thread Matt
Sorry it's currently set to both.it's been a long old day!
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Seth Remington
Sent: 08 July 2004 19:45
To: [EMAIL PROTECTED]
Subject: RE: [Asterisk-Users] Fax Detection

Hi Ryan,

Faxdetect should be set to one of the following in zapata.conf:

faxdetect=both
faxdetect=incoming
faxdetect=outgoing
faxdetect=no

I don't believe that faxdetect=yes is valid but I didn't read the source,
just the sample config file.

-Seth

On Thu, 2004-07-08 at 12:28, Matt wrote:
 Hi Ryan,
 
 Telappliant only offer SIP/IAX inbound I do have an X100P in the PBX 
 and faxdetect=yes in the zapata.conf.
 I suppose my question is: does SpanDSP detect faxes over SIP or is it 
 only over Zap?
 
 Matt
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Ryan 
 Courtnage
 Sent: 08 July 2004 09:47
 To: [EMAIL PROTECTED]
 Subject: Re: [Asterisk-Users] Fax Detection
 
 On July 7, 2004 09:19 pm, Matt wrote:
  Hi all
 
  I've tried Google, wiki and mailing list and IRC but still haven't 
  gotten to the bottom of this.  Hopefully someone might be able to help.
 
  I'm using telappliant to provide my inbound and outbound calls. 
 
 I'm not familiar with teleppliant.  Do you use a digium (zap) card?  
 AFAIK, you need one and need faxdetect=yes in zapata.conf.
 
 When a fax comes in, does anything relevant get written to * console?
 
  * plays
  host to 30 cisco's and they are all working great using G711 A-law.  
  I've managed to get SpanDSP to compile and install and I can send a 
  receive a fax on a dedicated extension.  What I'm trying to do now 
  and can't seem to nail is getting an inbound fax to be detected and 
  then
 handled.
 
  I've tried the examples from the wiki and the sites linked on the 
  wiki; messed about trying my own weird and wonderful methods but 
  still no
 joy.
 
  All the calls are using G711 A-law.
 
  Here is the test context I'm using
 
  XXX = hiden
 
  Exten = 08700686XXX,1,Goto(textextension,7000,1)
 
  [testextension]
  Exten = 7000,1,Answer
  Exten = 7000,2,Dial(SIP/104)
  Exten = fax,1,rxfax(/var/spool/asterisk/incoming/testfax.tif)
  Exten = fax,2,congestion
  Exten = fax,102,congestion
 
  Calls hit the testextension contect but don't get detected as a fax.
 
  Cheers
 
  Matt
 
  ___
  Asterisk-Users mailing list
  [EMAIL PROTECTED]
  http://lists.digium.com/mailman/listinfo/asterisk-users
  To UNSUBSCRIBE or update options visit:
 http://lists.digium.com/mailman/listinfo/asterisk-users
 
 --
 ..
 Ryan Courtnage
 Coalescent Systems Inc
 403.244.8089
 www.voxbox.ca
 ___
 Asterisk-Users mailing list
 [EMAIL PROTECTED]
 http://lists.digium.com/mailman/listinfo/asterisk-users
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
 
 ___
 Asterisk-Users mailing list
 [EMAIL PROTECTED]
 http://lists.digium.com/mailman/listinfo/asterisk-users
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
--
Seth Remington
SaberLogic, LLC
661-B Weber Drive
Wadsworth, Ohio 44281
Phone: (330)335-6442
Fax: (330)336-8559

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Fax Detection

2004-07-08 Thread James Golovich


On Thu, 8 Jul 2004, Ryan Courtnage wrote:

 AFAIK it's the digium card that _detects_ the fax, and allows the call 
 to jump to the 'fax' extension.  So fax _detection_ is a function of 
 the card/driver .. and using the 'fax' extension requires the use of a 
 digium card.
 
 SpanDSP just talks fax .. I don't think it actually does any detection.

It's not the card that detects the fax.  Its the builtin code in asterisk
that does it (dsp.c).  chan_zap.c is currently the only channel driver
that uses the faxdetection but in theory it could be enabled/used in other
channel drivers as well

James

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] Fax Detection

2004-07-08 Thread Matt
Cheers James.

Its been a while since I did some C coding.

Matt 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of James Golovich
Sent: 08 July 2004 21:08
To: [EMAIL PROTECTED]
Subject: Re: [Asterisk-Users] Fax Detection



On Thu, 8 Jul 2004, Ryan Courtnage wrote:

 AFAIK it's the digium card that _detects_ the fax, and allows the call 
 to jump to the 'fax' extension.  So fax _detection_ is a function of 
 the card/driver .. and using the 'fax' extension requires the use of a 
 digium card.
 
 SpanDSP just talks fax .. I don't think it actually does any detection.

It's not the card that detects the fax.  Its the builtin code in asterisk
that does it (dsp.c).  chan_zap.c is currently the only channel driver that
uses the faxdetection but in theory it could be enabled/used in other
channel drivers as well

James

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Fax Detection

2004-07-07 Thread Matt
Hi all

I've tried Google, wiki and mailing list and IRC but still haven't gotten to
the bottom of this.  Hopefully someone might be able to help.

I'm using telappliant to provide my inbound and outbound calls.  * plays
host to 30 cisco's and they are all working great using G711 A-law.  I've
managed to get SpanDSP to compile and install and I can send a receive a fax
on a dedicated extension.  What I'm trying to do now and can't seem to nail
is getting an inbound fax to be detected and then handled.

I've tried the examples from the wiki and the sites linked on the wiki;
messed about trying my own weird and wonderful methods but still no joy.

All the calls are using G711 A-law.

Here is the test context I'm using

XXX = hiden

Exten = 08700686XXX,1,Goto(textextension,7000,1)   

[testextension]
Exten = 7000,1,Answer
Exten = 7000,2,Dial(SIP/104)
Exten = fax,1,rxfax(/var/spool/asterisk/incoming/testfax.tif)
Exten = fax,2,congestion
Exten = fax,102,congestion

Calls hit the testextension contect but don't get detected as a fax.

Cheers

Matt

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Fax Detection

2004-07-07 Thread Matt
Hi all

I've tried Google, wiki and mailing list and IRC but still haven't gotten to
the bottom of this.  Hopefully someone might be able to help.

I'm using telappliant to provide my inbound and outbound calls.  * plays
host to 30 cisco's and they are all working great using G711 A-law.  I've
managed to get SpanDSP to compile and install and I can send a receive a fax
on a dedicated extension.  What I'm trying to do now and can't seem to nail
is getting an inbound fax to be detected and then handled.

I've tried the examples from the wiki and the sites linked on the wiki;
messed about trying my own weird and wonderful methods but still no joy.

All the calls are using G711 A-law.

Here is the test context I'm using

XXX = hiden

Exten = 08700686XXX,1,Goto(textextension,7000,1)   

[testextension]
Exten = 7000,1,Answer
Exten = 7000,2,Dial(SIP/104)
Exten = fax,1,rxfax(/var/spool/asterisk/incoming/testfax.tif)
Exten = fax,2,congestion
Exten = fax,102,congestion

Calls hit the testextension contect but don't get detected as a fax.

Cheers

Matt

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Fax Detection

2004-07-07 Thread Brian K. West
Try Answer Then Ringing and wait about 2-3 seconds.  Then Dial

bkw

- Original Message - 
From: Matt [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, July 07, 2004 2:44 PM
Subject: [Asterisk-Users] Fax Detection


 Hi all

 I've tried Google, wiki and mailing list and IRC but still haven't gotten
to
 the bottom of this.  Hopefully someone might be able to help.

 I'm using telappliant to provide my inbound and outbound calls.  * plays
 host to 30 cisco's and they are all working great using G711 A-law.  I've
 managed to get SpanDSP to compile and install and I can send a receive a
fax
 on a dedicated extension.  What I'm trying to do now and can't seem to
nail
 is getting an inbound fax to be detected and then handled.

 I've tried the examples from the wiki and the sites linked on the wiki;
 messed about trying my own weird and wonderful methods but still no joy.

 All the calls are using G711 A-law.

 Here is the test context I'm using

 XXX = hiden

 Exten = 08700686XXX,1,Goto(textextension,7000,1)

 [testextension]
 Exten = 7000,1,Answer
 Exten = 7000,2,Dial(SIP/104)
 Exten = fax,1,rxfax(/var/spool/asterisk/incoming/testfax.tif)
 Exten = fax,2,congestion
 Exten = fax,102,congestion

 Calls hit the testextension contect but don't get detected as a fax.

 Cheers

 Matt

 ___
 Asterisk-Users mailing list
 [EMAIL PROTECTED]
 http://lists.digium.com/mailman/listinfo/asterisk-users
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users


___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] fax detection and X100P

2004-07-06 Thread Mamadou Lamine KA



i have successfully updated my cvs pull of zaptel 
but for asterisk when i type "make clean"i have the folowing error:

Makefile:73: *** missing separator. 
Arrêt

( Arrêt means stop)

Lamine


Re: [Asterisk-Users] fax detection and X100P

2004-07-06 Thread Jean-Yves Avenard
if you 're not using linux you have to use gmake, not make

Jean-Yves

On 06/07/2004, at 9:22 PM, Mamadou Lamine KA wrote:

i have successfully updated my cvs pull of zaptel but for asterisk when i type make cleani have the folowing error:
 
Makefile:73: *** missing separator. Arrêt
 
( Arrêt means stop)
 
Lamine


[Asterisk-Users] fax detection and X100P

2004-07-05 Thread Mamadou Lamine KA
Hi everybody
I am having problem detecting fax with my X100P.
I have RedHat 8 as OS and an X100P and a TDM400P. The X100P being 
plugged into PSTN.

I have successfully installed tiff-v3.5.7 and spandsp-0.0.1 and also 
patched Asterisk wthout problem.

Here is my zapata.conf file
context=cda
signalling=fxs_ks
echocancel=yes
echocancelwhenbridged=yes
relaxdtmf=yes
rxgain=1.5
txgain=1.5
immediate=no
busydetect=no
callprogress=no
musiconhold=default
usecallerid=yes
callerid=asreceived
faxdetect=both
channel = 1
;
;TDM400P
;
context=cda
signalling=fxo_ks
callwaiting=yes
callwaitingcallerid=yes
echocancel=yes
echocancelwhenbridged=yes
threewaycalling=yes
transfer=yes
callerid=MSY 103
mailbox=103
channel = 2
and here is my extension.conf file
[cda]
exten =s,1,Answer
;Operators
exten = 110,1,SetLanguage(fr)
exten = 110,2,AgentLogin
exten = 15,1,SetLanguage(fr)
exten = 15,2,VoicemailMain
;Clients campagne natural mystic
exten = 12345,1,SetLanguage(fr)
exten = 12345,2,Answer
exten = 12345,3,Queue(110)
; Pour recevoir les faxes
exten =fax,1,RxFax(/var/spool/asterisk/incoming/lamine.tif)
; Pour envoyer le fax
exten =8236331,1,TxFax(/var/spool/asterisk/incoming/lamine.tif)
But when I launch Asterisk i get the following message:
[chan_zap.so] = (Zapata Telephony w/PRI)
 == Parsing '/etc/asterisk/zapata.conf': Found
Jul  5 16:22:13 WARNING[16384]: chan_zap.c:7890 setup_zap: Ignoring 
faxdetect

and there is a timeout when i try to receive fax.
I have checked in dsp.c and the line #define FAX_DETECT is not commented
Has someone ever encountered this problem?
Any help would be greatly appreciated
Lamine


___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] fax detection

2004-06-24 Thread Wojciech Tryc
Everything but fax detection seems to be fixed in the latest CVS.
Anyincoming fax on Zap channel does not get detected. Anyone?
Thanks,
Wojtek

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] fax detection

2004-06-24 Thread Wojciech Tryc
Please ignore my problem, I just added faxdetection to zapata.conf and
everything is back to normal.
Thanks,
W
- Original Message - 
From: Wojciech Tryc [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, June 24, 2004 6:37 PM
Subject: [Asterisk-Users] fax detection


 Everything but fax detection seems to be fixed in the latest CVS.
 Anyincoming fax on Zap channel does not get detected. Anyone?
 Thanks,
 Wojtek

 ___
 Asterisk-Users mailing list
 [EMAIL PROTECTED]
 http://lists.digium.com/mailman/listinfo/asterisk-users
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users


___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


  1   2   >