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

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


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


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


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


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


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


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


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


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


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


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


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

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


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


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


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


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


Re: [Asterisk-Users] Fax detection on IAX2 channel?

2004-05-12 Thread Martin List-Petersen
On Wed, 2004-05-12 at 07:49, Guan Yang wrote:
 Hi,
 
 Will fax detection work on an IAX2 channel, or is it specific to Zaptel?

Fax is generally a bad idea over VoIP. The detection should not be specific to any 
channel type.

Kind regards,
Martin List-Petersen
martin at list-petersen dot net


___
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-04-14 Thread Scott Laird
On Apr 14, 2004, at 3:50 PM, Jeremy Bogan wrote:
Hi All,

I'm trying to get Asterisk auto fax detection working so that when a 
fax tone is detected it will ring my fax server that is plugged into 
my TDM400P. Does anyone know how to get this working successfully? I 
created a fax extension:

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

as per what I had seen around various sites, etc. I can't seem to get 
it working though. Any help would be greatly appreciated. Thanks!
You need to answer the phone, and be listening for fax tones.  The 
easiest way to do this is to play something with the 'Background' 
command.

Scott

___
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 on X100Ps

2004-03-17 Thread Jim Sneeringer
Your fax extension looks just like mine, except I'm using an FXS card. Mine
redirects properly, but the faxes are garbled.

I never found documentation for the d option, and it doesn't seem to help
in my case.

Jim

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bob Klepfer
Sent: Wednesday, March 17, 2004 2:11 PM
To: [EMAIL PROTECTED]
Subject: [Asterisk-Users] Fax Detection on X100Ps

I hate to add to the broken record-like melange of my fax won't work 
messages, but everything I've tried with all I could learn from the 
archives has not yet worked to get my fax machine (an HP combo 
tupperware tub) to receive a fax.  In the combo's defense, I can't 
verify that the incoming fax tones are even detected on the * server. 
(is -c enough v's to see Fax detected messages from the zap 
channel?).  The fax extension is never dialed and the incoming fax gets 
dumped to my timeout extension.  Can anyone spot the bonehead move I 
made somewhere?

The setup:
* Server with 2 X100p cards handling our two incoming analog lines. 
  (Gentoo, if it matters---2.4.22-r7 sources)
* SIP only (so far) internally---no FXS cards
* An HP combo fax/copier/printer/dish cleaner connected to a GS
  Handytone 286 ATA
* Incoming and outgoing voice calls are routed fine
* Although I didn't have another machine to fax TO, the HP dials out and
  spews CNG tones
* zap context is default, default context contains fax extension
* on reload, status includes: -- Added extension 'fax' priority 1 to
  default


Version: (cvs'd last night and built, previous version cvs'd and built 
mid-Feb)
===
Asterisk CVS-01/27/04-23:36:00 built by [EMAIL PROTECTED] on a i686 running 
Linux


Config files:
==
in extensions.conf:
--
[default]
;
exten = s,1,Answer
exten = s,2,Ringing
exten = s,3,Wait,2
exten = s,4,Background(photonx/welcome)
exten = s,5,Background(photonx/choose)
exten = s,6,Background(photonx/directory)
exten = fax,1,Dial(SIP/ata4fax) ; [1]
exten = fax,2,Hangup()
;
snip
---
[1] (Awaiting an opportunity to test d option mentioned on list 
(documentation for this?))


===
in sip.conf:
---
[general]
port = 5060
bindaddr = 0.0.0.0
context = internal

snip

[ata4fax]
type=friend
username=ata4fax
secret=atafax
context=internal
host=dynamic
disallow=all
allow=ulaw
dmtfmode=inband ; (Was info: neither an issue, I think)
canreinvite=no
---


===
in zapata.conf:
---

[channels]
;  ; generally stock - no calling options on our lines
language=en
context=default
usecallerid=no
hidecallerid=no
callwaiting=no
usecallingpres=yes
callwaitingcallerid=no
threewaycalling=no
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
;echotraining=yes
;relaxdtmf=yes
rxgain=10.0
txgain=5.0
group=1
callgroup=1
pickupgroup=1
immediate=yes
callerid=asreceived
amaflags=documentation
;busydetect=yes
;busycount=4
signalling=fxs_ks
channel = 1-2
---




Best regards,
Bob


___
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 on X100Ps

2004-03-17 Thread Jonathan Biggs
 exten = fax,1,Dial(SIP/ata4fax) ; [1]

Faxing via SIP?  Does that even work?
Faxing works for me but it is via ZAP.

I do get the messages Fax detected redirecting
to Fax extension.  Which you should get irregardless
of SIP.

How are you testing this.  Asterisk listens for the
Fax Tone, I see you are answering the line which is a
must, Background should detect this I think..

First step is to get the Fax detected by incoming 

Redirecting Zap/1-1 to fax extension

This message does not show up in my log
but DOES show up in my asterisk -r session or a
redirection of asterisk -vvvc stdout to a file

--- Bob Klepfer [EMAIL PROTECTED] wrote:
 I hate to add to the broken record-like melange of
 my fax won't work 
 messages, but everything I've tried with all I could
 learn from the 
 archives has not yet worked to get my fax machine
 (an HP combo 
 tupperware tub) to receive a fax.  In the combo's
 defense, I can't 
 verify that the incoming fax tones are even detected
 on the * server. 
 (is -c enough v's to see Fax detected messages
 from the zap 
 channel?).  The fax extension is never dialed and
 the incoming fax gets 
 dumped to my timeout extension.  Can anyone spot the
 bonehead move I 
 made somewhere?
 
 The setup:
 * Server with 2 X100p cards handling our two
 incoming analog lines. 
   (Gentoo, if it matters---2.4.22-r7 sources)
 * SIP only (so far) internally---no FXS cards
 * An HP combo fax/copier/printer/dish cleaner
 connected to a GS
   Handytone 286 ATA
 * Incoming and outgoing voice calls are routed fine
 * Although I didn't have another machine to fax TO,
 the HP dials out and
   spews CNG tones
 * zap context is default, default context
 contains fax extension
 * on reload, status includes: -- Added extension
 'fax' priority 1 to
   default
 
 
 Version: (cvs'd last night and built, previous
 version cvs'd and built 
 mid-Feb)
 ===
 Asterisk CVS-01/27/04-23:36:00 built by
 [EMAIL PROTECTED] on a i686 running 
 Linux
 
 
 Config files:
 ==
 in extensions.conf:
 --
 [default]
 ;
 exten = s,1,Answer
 exten = s,2,Ringing
 exten = s,3,Wait,2
 exten = s,4,Background(photonx/welcome)
 exten = s,5,Background(photonx/choose)
 exten = s,6,Background(photonx/directory)
 exten = fax,1,Dial(SIP/ata4fax) ; [1]
 exten = fax,2,Hangup()
 ;
 snip
 ---
 [1] (Awaiting an opportunity to test d option
 mentioned on list 
 (documentation for this?))
 
 
 ===
 in sip.conf:
 ---
 [general]
 port = 5060
 bindaddr = 0.0.0.0
 context = internal
 
 snip
 
 [ata4fax]
 type=friend
 username=ata4fax
 secret=atafax
 context=internal
 host=dynamic
 disallow=all
 allow=ulaw
 dmtfmode=inband ; (Was info: neither
 an issue, I think)
 canreinvite=no
 ---
 
 
 ===
 in zapata.conf:
 ---
 
 [channels]
 ;  ; generally stock - no calling
 options on our lines
 language=en
 context=default
 usecallerid=no
 hidecallerid=no
 callwaiting=no
 usecallingpres=yes
 callwaitingcallerid=no
 threewaycalling=no
 transfer=yes
 cancallforward=yes
 callreturn=yes
 echocancel=yes
 echocancelwhenbridged=yes
 ;echotraining=yes
 ;relaxdtmf=yes
 rxgain=10.0
 txgain=5.0
 group=1
 callgroup=1
 pickupgroup=1
 immediate=yes
 callerid=asreceived
 amaflags=documentation
 ;busydetect=yes
 ;busycount=4
 signalling=fxs_ks
 channel = 1-2
 ---
 
 
 
 
 Best regards,
 Bob
 
 
 ___
 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


__
Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
http://mail.yahoo.com
___
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 on X100Ps

2004-03-17 Thread Ariel Batista
Jim Sneeringer wrote:
 Your fax extension looks just like mine, except I'm using an FXS
 card. Mine redirects properly, but the faxes are garbled.

 I never found documentation for the d option, and it doesn't seem
 to help in my case.

Here is how I use the d option.

exten = s,1,Dial(Zap/103|20|d)
exten = s,2,Dial(Zap/104|20|d)
exten = s,102,Dial(Zap/104|20|d)

I have 2 fax devices if one is busy it then tries the 2nd one.




 Jim

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Bob
 Klepfer Sent: Wednesday, March 17, 2004 2:11 PM
 To: [EMAIL PROTECTED]
 Subject: [Asterisk-Users] Fax Detection on X100Ps

 I hate to add to the broken record-like melange of my fax won't work
 messages, but everything I've tried with all I could learn from the
 archives has not yet worked to get my fax machine (an HP combo
 tupperware tub) to receive a fax.  In the combo's defense, I can't
 verify that the incoming fax tones are even detected on the * server.
 (is -c enough v's to see Fax detected messages from the zap
 channel?).  The fax extension is never dialed and the incoming fax
 gets dumped to my timeout extension.  Can anyone spot the bonehead
 move I
 made somewhere?

 The setup:
 * Server with 2 X100p cards handling our two incoming analog lines.
   (Gentoo, if it matters---2.4.22-r7 sources)
 * SIP only (so far) internally---no FXS cards
 * An HP combo fax/copier/printer/dish cleaner connected to a GS
   Handytone 286 ATA
 * Incoming and outgoing voice calls are routed fine
 * Although I didn't have another machine to fax TO, the HP dials out
   and spews CNG tones
 * zap context is default, default context contains fax extension
 * on reload, status includes: -- Added extension 'fax' priority 1 to
   default


 Version: (cvs'd last night and built, previous version cvs'd and built
 mid-Feb)
 ===
 Asterisk CVS-01/27/04-23:36:00 built by [EMAIL PROTECTED] on a i686
 running Linux


 Config files:
 ==
 in extensions.conf:
 --
 [default]
 ;
 exten = s,1,Answer
 exten = s,2,Ringing
 exten = s,3,Wait,2
 exten = s,4,Background(photonx/welcome)
 exten = s,5,Background(photonx/choose)
 exten = s,6,Background(photonx/directory)
 exten = fax,1,Dial(SIP/ata4fax) ; [1]
 exten = fax,2,Hangup()
 ;
 snip
 ---
 [1] (Awaiting an opportunity to test d option mentioned on list
 (documentation for this?))


 ===
 in sip.conf:
 ---
 [general]
 port = 5060
 bindaddr = 0.0.0.0
 context = internal

 snip

 [ata4fax]
 type=friend
 username=ata4fax
 secret=atafax
 context=internal
 host=dynamic
 disallow=all
 allow=ulaw
 dmtfmode=inband ; (Was info: neither an issue, I think)
 canreinvite=no
 ---


 ===
 in zapata.conf:
 ---

 [channels]
 ;  ; generally stock - no calling options on our lines
 language=en
 context=default
 usecallerid=no
 hidecallerid=no
 callwaiting=no
 usecallingpres=yes
 callwaitingcallerid=no
 threewaycalling=no
 transfer=yes
 cancallforward=yes
 callreturn=yes
 echocancel=yes
 echocancelwhenbridged=yes
 ;echotraining=yes
 ;relaxdtmf=yes
 rxgain=10.0
 txgain=5.0
 group=1
 callgroup=1
 pickupgroup=1
 immediate=yes
 callerid=asreceived
 amaflags=documentation
 ;busydetect=yes
 ;busycount=4
 signalling=fxs_ks
 channel = 1-2
 ---




 Best regards,
 Bob


 ___
 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 on X100Ps

2004-03-17 Thread Bob Klepfer
Jonathan Biggs wrote:

exten = fax,1,Dial(SIP/ata4fax) ; [1]

Faxing via SIP?  Does that even work?
Faxing works for me but it is via ZAP.
 

When I started I saw no obvious signs that it doesn't. I've seen several 
references to a SIP channel in example fax exten lines, but 
documentation is scarce.

I do get the messages Fax detected redirecting
to Fax extension.  Which you should get irregardless
of SIP.
 

And this is my quandry..

How are you testing this.  Asterisk listens for the
Fax Tone, I see you are answering the line which is a
must, Background should detect this I think..
 

yup.

First step is to get the Fax detected by incoming 

 

That's the plan.

Redirecting Zap/1-1 to fax extension

This message does not show up in my log
but DOES show up in my asterisk -r session or a
redirection of asterisk -vvvc stdout to a file
 

I'm watching the asterisk-r off an asterisk started with -vvvc, and I 
see nothing like that message.  If  anyone wants to see other configs, 
let me know.

I just realized I haven't tested both x100p cardsthat's next...after 
work when I get a chance to test.

Bob

___
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 on X100Ps (Fixed!...I think)

2004-03-17 Thread Bob Klepfer
Replying to my own email here...

Bob Klepfer wrote:

Jonathan Biggs wrote:

exten = fax,1,Dial(SIP/ata4fax) ; [1]

Faxing via SIP?  Does that even work?
Faxing works for me but it is via ZAP.
 
When I started I saw no obvious signs that it doesn't. I've seen 
several references to a SIP channel in example fax exten lines, but 
documentation is scarce.


See below.

snip

I'm watching the asterisk-r off an asterisk started with -vvvc, and I 
see nothing like that message.  If  anyone wants to see other configs, 
let me know.

I just realized I haven't tested both x100p cardsthat's 
next...after work when I get a chance to test.

Bob

Um, ok.  So it works now.  Redirect message is there, and the fax 
answers.  I didn't even try the second card, but I did try the d 
option to Dial (still looking for this documentation.).and now 2 
minutes later I just tried without d and, as I expected, it still 
works without it.  What actually changed to make this work, I couldn't 
tell ya.  Maybe it was that static spark between me and the shelving 
where the server sits. :)

Thanks anyway,
Bob
___
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 on X100Ps (Fixed!...I think)

2004-03-17 Thread Rich Adamson
Bob,

Help the rest of us out now and summarize the various *.conf entries
that you have working. Might even start a new posting with a subject
that will help everyone find your samples.

Rich


 Replying to my own email here...
 
 Bob Klepfer wrote:
 
  Jonathan Biggs wrote:
 
  exten = fax,1,Dial(SIP/ata4fax) ; [1]
 
  Faxing via SIP?  Does that even work?
  Faxing works for me but it is via ZAP.
   
 
  When I started I saw no obvious signs that it doesn't. I've seen 
  several references to a SIP channel in example fax exten lines, but 
  documentation is scarce.
 
 
 See below.
 
 snip
 
 
  I'm watching the asterisk-r off an asterisk started with -vvvc, and I 
  see nothing like that message.  If  anyone wants to see other configs, 
  let me know.
 
  I just realized I haven't tested both x100p cardsthat's 
  next...after work when I get a chance to test.
 
  Bob
 
 Um, ok.  So it works now.  Redirect message is there, and the fax 
 answers.  I didn't even try the second card, but I did try the d 
 option to Dial (still looking for this documentation.).and now 2 
 minutes later I just tried without d and, as I expected, it still 
 works without it.  What actually changed to make this work, I couldn't 
 tell ya.  Maybe it was that static spark between me and the shelving 
 where the server sits. :)
 
 Thanks anyway,
 Bob
 
 
 ___
 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

---End of Original Message-


___
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 on X100Ps (Fixed!...I think)

2004-03-17 Thread Bob Klepfer
Rich Adamson wrote:

Bob,

Help the rest of us out now and summarize the various *.conf entries
that you have working. Might even start a new posting with a subject
that will help everyone find your samples.
Rich

 

I was planning to, Rich, as soon as I've finished the long delayed 
rollout here, if you can call 11 phones and a fax a rollout.  I honestly 
can't spot the change I made to get the card to recognize the fax tones, 
but I'll post and/or wiki-ize my configs soon.

Bob

___
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 on X100Ps (Fixed!...I think)

2004-03-17 Thread Jonathan Biggs
Glad to hear that is working,

Sorry to hear that you'll have to stand
next to the server and give it that static shock
everytime you want to get a fax. 

Don't feel bad.. I spent 5 hours diagnosing why
mine would not work before I realized that
* had to answer the stinking line to hear the
fax tone... Had debug messages in the code, etc.
Felt like an idiot after that one..

--- Bob Klepfer [EMAIL PROTECTED] wrote:
 Rich Adamson wrote:
 
 Bob,
 
 Help the rest of us out now and summarize the
 various *.conf entries
 that you have working. Might even start a new
 posting with a subject
 that will help everyone find your samples.
 
 Rich
 
   
 
 I was planning to, Rich, as soon as I've finished
 the long delayed 
 rollout here, if you can call 11 phones and a fax a
 rollout.  I honestly 
 can't spot the change I made to get the card to
 recognize the fax tones, 
 but I'll post and/or wiki-ize my configs soon.
 
 Bob
 
 
 ___
 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


__
Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
http://mail.yahoo.com
___
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 on X100Ps (Fixed!...I think)

2004-03-17 Thread Rich Adamson
 Help the rest of us out now and summarize the various *.conf entries
 that you have working. Might even start a new posting with a subject
 that will help everyone find your samples.
 
 
 I was planning to, Rich, as soon as I've finished the long delayed 
 rollout here, if you can call 11 phones and a fax a rollout.  I honestly 
 can't spot the change I made to get the card to recognize the fax tones, 
 but I'll post and/or wiki-ize my configs soon.

I'd suggest the majority of folks on this list are not a lot different
in size from that, give or take some.



___
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: false positive

2003-12-28 Thread Patrick Cantwell
Tilghman,
What happens if someone needs the new signalling routines *and* working
fax detection?  I'm personally not in this boat, but it's only a matter of
time before someone is.
Is this a temporary fix?  If not, this should be documented somewhere as it
seems to be a problem for enough people. (Olle? :)
Thanks,
Pat

- Original Message - 
From: Tilghman Lesher [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, December 26, 2003 2:50 PM
Subject: Re: [Asterisk-Users] fax detection: false positive


 On Friday 26 December 2003 13:42, john lawler wrote:
  Hi guys,
 
  I just moved from Asterisk release 0.5.0 to CVS 2003-12-22, and
  after overcoming a few changes in my configuration, I encountered
  one problem that I couldn't shake that was working fine in 0.5.0.
 
  It's the fax detection.  I just have a simple extension setup like
  this:
 
  exten = fax,1,Dial(Zap/4,30,tr)
  exten = fax,2,Hangup
 
  in my main incoming context.  This used to work fine, I don't think
  I ever had a false positive or negative, but now just about every
  call (possibly every call) that comes in when I've got that
  extension defined rolls to my fax machine on Zap/4 immediately.

 Uncomment OLD_DSP_ROUTINES near the top of dsp.c, recompile,
 install, and restart.

 The newer DSP routines are used to fix a type of signalling on EM
 lines.

 -Tilghman

 ___
 Asterisk-Users mailing list
 [EMAIL PROTECTED]
 http://lists.digium.com/mailman/listinfo/asterisk-users


___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] fax detection: false positive

2003-12-26 Thread Tilghman Lesher
On Friday 26 December 2003 13:42, john lawler wrote:
 Hi guys,

 I just moved from Asterisk release 0.5.0 to CVS 2003-12-22, and
 after overcoming a few changes in my configuration, I encountered
 one problem that I couldn't shake that was working fine in 0.5.0.

 It's the fax detection.  I just have a simple extension setup like
 this:

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

 in my main incoming context.  This used to work fine, I don't think
 I ever had a false positive or negative, but now just about every
 call (possibly every call) that comes in when I've got that
 extension defined rolls to my fax machine on Zap/4 immediately.

Uncomment OLD_DSP_ROUTINES near the top of dsp.c, recompile,
install, and restart.

The newer DSP routines are used to fix a type of signalling on EM
lines.

-Tilghman

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] fax detection: false positive

2003-12-26 Thread Andy Hester
john lawler wrote:

Hi guys,

I just moved from Asterisk release 0.5.0 to CVS 2003-12-22, and after 
overcoming a few changes in my configuration, I encountered one 
problem that I couldn't shake that was working fine in 0.5.0.

It's the fax detection.  I just have a simple extension setup like this:

exten = fax,1,Dial(Zap/4,30,tr)
exten = fax,2,Hangup
in my main incoming context.  This used to work fine, I don't think I 
ever had a false positive or negative, but now just about every call 
(possibly every call) that comes in when I've got that extension 
defined rolls to my fax machine on Zap/4 immediately.

I'm sure others have encountered this and I missed a post on some 
change to the configuration that might be causing this.

Thanks for your help.

jl
The issue is in dsp.c.  Check out an old copy of dsp.c and replace the 
one in your source tree.  Then recompile.  I am using the file from 
12/08/03, as someone noted that this one works.

ajh



___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] fax detection: false positive

2003-12-26 Thread john lawler
Thanks guys, that did the trick.

Tilghman Lesher wrote:
On Friday 26 December 2003 13:42, john lawler wrote:

Hi guys,

I just moved from Asterisk release 0.5.0 to CVS 2003-12-22, and
after overcoming a few changes in my configuration, I encountered
one problem that I couldn't shake that was working fine in 0.5.0.
It's the fax detection.  I just have a simple extension setup like
this:
exten = fax,1,Dial(Zap/4,30,tr)
exten = fax,2,Hangup
in my main incoming context.  This used to work fine, I don't think
I ever had a false positive or negative, but now just about every
call (possibly every call) that comes in when I've got that
extension defined rolls to my fax machine on Zap/4 immediately.


Uncomment OLD_DSP_ROUTINES near the top of dsp.c, recompile,
install, and restart.
The newer DSP routines are used to fix a type of signalling on EM
lines.
-Tilghman

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Fax detection

2003-12-17 Thread Walker Haddock
On Wed, Dec 17, 2003 at 05:34:43PM +1100, Alexander Romanov wrote:
 Is there any way to turn off fax detection?

You can modify the chan_zap.c code to disable it.  Martin patched my source and it 
solved the problem for me.  Credit to the great Digium support team!

in the CVS-09/24/03-20:51:12 built by [EMAIL PROTECTED] on a i686 running Linux that I 
have the patch on, here's the change:

3453/* Fax tone -- Handle and return NULL */
3454if (!p-faxhandled) {
3455p-faxhandled++;
3456if (strcmp(ast-exten, fax)) {
3457if (ast_exists_extension(ast, ast-context, 
fax, 1, ast-callerid)) {

Change to this:
3457if (0  ast_exists_extension(ast, 
ast-context, fax, 1, ast-callerid)) {

Note, I added the line numbers, they aren't in the source.

After you do this, cd /usr/src/asterisk
make clean ; make install

You will have to stop asterisk and reload your zap drivers, restart * and you will no 
longer have fax detection.  Actually, you will still see the fax signals in the logs, 
but * will not try to change to the fax extension.

Walker
-- 
   DataCrest, Inc. -- Technically Superior   **
Walker Haddock   http://www.datacrest.com
DataCrest, Inc.e-mail:  [EMAIL PROTECTED]
1634A Montgomery Hwy.phone:  1-888-941-3282, 1-205-335-8589
Birmingham, AL 35216  fax:  1-205-823-7838
***
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Fax detection

2003-12-16 Thread Tilghman Lesher
On Wednesday 17 December 2003 00:34, Alexander Romanov wrote:
 Is there any way to turn off fax detection?

Don't create a fax extension.

-Tilghman

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users