[Asterisk-Users] Fax handled on E&M T1 DEBUG messages

2004-01-12 Thread mattf
Hello,

I updated my test Asterisk box to CVS 01/12/2004 today and have seen the fax
detected messages coming for every call that comes in over my E&M T1[B8ZS
ESF]. This isn't a problem from a functionality standpoint(I have no fax
devices), but I see these two lines show up in the DEBUG logs about every
second of a live incoming call:

Jan 12 11:32:18 DEBUG[229390]: DTMF digit: f on Zap/1-1
Jan 12 11:32:18 DEBUG[229390]: Fax already handled

I have tried uncommenting OLD_DSP_ROUTINES in dsp.c and recompiling,
restarting, but then the E&M lines are useless(the lines are there and are
loaded, but no inbound/outbound calls go through)

Any ideas?

Thanks,

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


Re: [Asterisk-Users] Fax Handled

2003-08-14 Thread Martin Pycko
On analog ports you need to Answer
Ringing
Wait,2
and then do something .

That should detect faxes.

regards
Martin

On Mon, 11 Aug 2003, Tilghman Lesher wrote:

> On Monday 11 August 2003 03:26 pm, Eduardo Goncalves wrote:
> > On Mon, 11 Aug 2003 15:15:08 -0500
> >
> > Tilghman Lesher <[EMAIL PROTECTED]> wrote:
> > > On Monday 11 August 2003 02:46 pm, Eduardo Goncalves wrote:
> > > > I've tested with 3 diferent machines. Asterisk didn't detect
> > > > them.
> > >
> > > What does your dialplan look like for the s extension?
> >
> > My extensions.conf are very simple. I have just one context for my
> > trunk connection, and the two sip endpoits.
> >
> > extensions.conf
> > ===
> > [globals]
> > TRUNK=Zap/g1
> >
> > [sip]
> > exten => _0.,1,Dial(${TRUNK}/${EXTEN})
> > exten => _9.,1,Dial(${TRUNK}/${EXTEN})
> >
> > exten => 710,1,Dial(SIP/client1)
> > exten => 711,1,Dial(SIP/client2)
>
> Okay, that's the problem.  Asterisk does not detect faxes while
> executing the Dial() application.  You need to Background() a simple
> greeting (or just 2-3 seconds of silence) before executing the Dial()
> application, then provide a fax extension for Asterisk to jump to upon
> detecting the CNG tones.
>
> -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 Handled

2003-08-14 Thread Eric Wieling
Try adding:

exten => fax,1,Dial(blah)

Where Blah is the zap or SIP port your fax machine is connected to.

On Mon, 2003-08-11 at 15:26, Eduardo Goncalves wrote:
> On Mon, 11 Aug 2003 15:15:08 -0500
> Tilghman Lesher <[EMAIL PROTECTED]> wrote:
> 
> > On Monday 11 August 2003 02:46 pm, Eduardo Goncalves wrote:
> > > On Sun, 10 Aug 2003 01:50:33 -0500
> > >
> > > Tilghman Lesher <[EMAIL PROTECTED]> wrote:
> > > > Are the faxes all being sent by the same fax machine?  If not,
> > > > are the faxes being detected consistently from each source?  If
> > > > the remote fax machine/modem does not send CNG tones, then
> > > > Asterisk will not detect a fax.
> > >
> > >   I've tested with 3 diferent machines. Asterisk didn't detect them.
> > 
> > What does your dialplan look like for the s extension?
> > 
> 
>   My extensions.conf are very simple. I have just one context for my trunk 
> connection, and the two sip endpoits.
> 
> extensions.conf
> ===
> [globals]
> TRUNK=Zap/g1
> 
> [sip]
> exten => _0.,1,Dial(${TRUNK}/${EXTEN})
> exten => _9.,1,Dial(${TRUNK}/${EXTEN})
>  
> exten => 710,1,Dial(SIP/client1)
> exten => 711,1,Dial(SIP/client2)
> 
> 
> Thanks
> Eduardo
> 
> ___
> Asterisk-Users mailing list
> [EMAIL PROTECTED]
> http://lists.digium.com/mailman/listinfo/asterisk-users
-- 
BTEL Consulting
850-484-4535 x2111 (Office)
504-595-3916 x2111 (Experimental)
877-552-0838 (Backup Phone)

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


RE: [Asterisk-Users] Fax Handled

2003-08-14 Thread Martin Pycko
For PRI->*->fax over FXS
It's as simple as having the fax extension the the incoming context
associated with the PRI channels. With PRI channels we can hear the fax
before we even answer (in most cases)

regards
Martin

On Tue, 12 Aug 2003, Adams, Gavin wrote:

> > From: Martin Pycko [mailto:[EMAIL PROTECTED]
> >
> > On analog ports you need to Answer
> > Ringing
> > Wait,2
> > and then do something .
> >
> > That should detect faxes.
>
> Martin,
>
> Could you show an example of this for an incoming PRI -> FXS analog fax?
>
> Regards,
>
> --- Gavin
> ___
> 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


Fw: [Asterisk-Users] Fax Handled

2003-08-14 Thread Lee Goodman
and a little more on fax config support
- Original Message - 
From: "Tilghman Lesher" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, August 11, 2003 4:48 PM
Subject: Re: [Asterisk-Users] Fax Handled


> On Monday 11 August 2003 03:26 pm, Eduardo Goncalves wrote:
> > On Mon, 11 Aug 2003 15:15:08 -0500
> >
> > Tilghman Lesher <[EMAIL PROTECTED]> wrote:
> > > On Monday 11 August 2003 02:46 pm, Eduardo Goncalves wrote:
> > > > I've tested with 3 diferent machines. Asterisk didn't detect
> > > > them.
> > >
> > > What does your dialplan look like for the s extension?
> >
> > My extensions.conf are very simple. I have just one context for my
> > trunk connection, and the two sip endpoits.
> >
> > extensions.conf
> > ===
> > [globals]
> > TRUNK=Zap/g1
> >
> > [sip]
> > exten => _0.,1,Dial(${TRUNK}/${EXTEN})
> > exten => _9.,1,Dial(${TRUNK}/${EXTEN})
> >
> > exten => 710,1,Dial(SIP/client1)
> > exten => 711,1,Dial(SIP/client2)
> 
> Okay, that's the problem.  Asterisk does not detect faxes while
> executing the Dial() application.  You need to Background() a simple
> greeting (or just 2-3 seconds of silence) before executing the Dial()
> application, then provide a fax extension for Asterisk to jump to upon
> detecting the CNG tones.
> 
> -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 Handled

2003-08-14 Thread James Golovich


On Thu, 14 Aug 2003, Eduardo Goncalves wrote:

>   I'm using G.711alaw.
>   My extensions.conf:
> 
> ===
> [globals]
> TRUNK=Zap/g1
> [sip]
> exten => s,1,Background(demo-moreinfo)
> exten => fax,1,Dial(${TRUNK}/${EXTEN})
> exten => _0.,1,Dial(${TRUNK}/${EXTEN})
> exten => _9.,1,Dial(${TRUNK}/${EXTEN})
> 
>   Is this correct?
> 

The last time I looked at the code, fax would only be detected if they
came in on a Zap channel.  So if the fax was coming in on a SIP channel
then it would not work.

James

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


Re: [Asterisk-Users] Fax Handled

2003-08-14 Thread Tilghman Lesher
On Thursday 14 August 2003 08:30, Eduardo Goncalves wrote:
> On Wed, 13 Aug 2003 17:56:46 -0500
>
> Tilghman Lesher <[EMAIL PROTECTED]> wrote:
> > The CNG tones are sent by the sending fax machine, not the
> > receiving fax machine.  Those tones are sent from the moment that
> > the fax machines dials and continues until either a timeout or the
> > receiving fax machine sends its synchronization tone.
>
>   Hum, Thanks for the explanation.
>
> > How is your fax machine connected to the Asterisk machine?
> >
> |FAX|---|PBX|---|ATA186|SIP---|Asterisk|E1-e&m|PSTN|

I suspect your problems are with the codec you're using in the SIP
connection.

-Tilghman

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


Re: [Asterisk-Users] Fax Handled

2003-08-14 Thread Eduardo Goncalves
On Mon, 11 Aug 2003 15:15:08 -0500
Tilghman Lesher <[EMAIL PROTECTED]> wrote:

> On Monday 11 August 2003 02:46 pm, Eduardo Goncalves wrote:
> > On Sun, 10 Aug 2003 01:50:33 -0500
> >
> > Tilghman Lesher <[EMAIL PROTECTED]> wrote:
> > > Are the faxes all being sent by the same fax machine?  If not,
> > > are the faxes being detected consistently from each source?  If
> > > the remote fax machine/modem does not send CNG tones, then
> > > Asterisk will not detect a fax.
> >
> > I've tested with 3 diferent machines. Asterisk didn't detect them.
> 
> What does your dialplan look like for the s extension?
> 

My extensions.conf are very simple. I have just one context for my trunk 
connection, and the two sip endpoits.

extensions.conf
===
[globals]
TRUNK=Zap/g1

[sip]
exten => _0.,1,Dial(${TRUNK}/${EXTEN})
exten => _9.,1,Dial(${TRUNK}/${EXTEN})
 
exten => 710,1,Dial(SIP/client1)
exten => 711,1,Dial(SIP/client2)


Thanks
Eduardo

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


Re: [Asterisk-Users] Fax Handled

2003-08-14 Thread Eduardo Goncalves
On Thu, 14 Aug 2003 10:24:46 -0500
Tilghman Lesher <[EMAIL PROTECTED]> wrote:

> > > How is your fax machine connected to the Asterisk machine?
> > >
> > |FAX|---|PBX|---|ATA186|SIP---|Asterisk|E1-e&m|PSTN|
> 
> I suspect your problems are with the codec you're using in the SIP
> connection.

I'm using G.711alaw.
My extensions.conf:

===
[globals]
TRUNK=Zap/g1
[sip]
exten => s,1,Background(demo-moreinfo)
exten => fax,1,Dial(${TRUNK}/${EXTEN})
exten => _0.,1,Dial(${TRUNK}/${EXTEN})
exten => _9.,1,Dial(${TRUNK}/${EXTEN})

Is this correct?

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


Re: [Asterisk-Users] Fax Handled

2003-08-14 Thread Tilghman Lesher
On Wednesday 13 August 2003 05:40 pm, Eduardo Goncalves wrote:
> On Mon, 11 Aug 2003 15:48:57 -0500
>
> Tilghman Lesher <[EMAIL PROTECTED]> wrote:
> > > extensions.conf
> > > ===
> > > [globals]
> > > TRUNK=Zap/g1
> > >
> > > [sip]
> > > exten => _0.,1,Dial(${TRUNK}/${EXTEN})
> > > exten => _9.,1,Dial(${TRUNK}/${EXTEN})
> > >
> > > exten => 710,1,Dial(SIP/client1)
> > > exten => 711,1,Dial(SIP/client2)
> >
> > Okay, that's the problem.  Asterisk does not detect faxes while
> > executing the Dial() application.  You need to Background() a
> > simple greeting (or just 2-3 seconds of silence) before executing
> > the Dial() application, then provide a fax extension for Asterisk
> > to jump to upon detecting the CNG tones.
>
>   Could please detail how can I do this configuration?
>
>   I dial from the fax machine and then, only press the "start"
> button, when the destination fax machine answer me and send the fax
> tone. So, how could asterisk dial trought the fax exten if the fax
> tone are sent only when the call is completed?

The CNG tones are sent by the sending fax machine, not the receiving
fax machine.  Those tones are sent from the moment that the fax
machines dials and continues until either a timeout or the receiving
fax machine sends its synchronization tone.

How is your fax machine connected to the Asterisk machine?

-Tilghman

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


Re: [Asterisk-Users] Fax Handled

2003-08-14 Thread Eduardo Goncalves
On Mon, 11 Aug 2003 15:48:57 -0500
Tilghman Lesher <[EMAIL PROTECTED]> wrote:

> >
> > extensions.conf
> > ===
> > [globals]
> > TRUNK=Zap/g1
> >
> > [sip]
> > exten => _0.,1,Dial(${TRUNK}/${EXTEN})
> > exten => _9.,1,Dial(${TRUNK}/${EXTEN})
> >
> > exten => 710,1,Dial(SIP/client1)
> > exten => 711,1,Dial(SIP/client2)
> 
> Okay, that's the problem.  Asterisk does not detect faxes while
> executing the Dial() application.  You need to Background() a simple
> greeting (or just 2-3 seconds of silence) before executing the Dial()
> application, then provide a fax extension for Asterisk to jump to upon
> detecting the CNG tones.

Could please detail how can I do this configuration?

I dial from the fax machine and then, only press the "start" button, when the 
destination fax machine answer me and send the fax tone.  So, how could asterisk dial 
trought the fax exten if the fax tone are sent only when the call is completed?

-- 
Thanks for the help
Eduardo


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


Re: [Asterisk-Users] Fax Handled

2003-08-14 Thread Steven Critchfield
On Fri, 2003-08-08 at 10:29, Eduardo Goncalves wrote:
> Hello,
> 
>   Is there any configuration in zapata.conf for fax detection (or transmission)?
>   When I try to send a fax trought asterisk, the line 'Fax Handled:' is always 
> set to "no". The scenario is:
> 
> [ata186]---sip---[asterisk]---e1 E&M---[pstn]
> 
>   Fax sometimes goes without problem and sometimes the fax machine can't send 
> the fax.

If your SIP link is over a long line, or that has much in the way of
variable latency, then this will just have to be expected behavior. The
problems listed above are not unique to asterisk but the VoIP traffic
trying to carry modem call. You would be better off using a network fax
gateway that accepts the image to be faxed for you. You will find that
it uses way less bandwidth this way also.  
-- 
Steven Critchfield  <[EMAIL PROTECTED]>

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


Re: [Asterisk-Users] Fax Handled

2003-08-14 Thread Eduardo Goncalves
On Sun, 10 Aug 2003 01:50:33 -0500
Tilghman Lesher <[EMAIL PROTECTED]> wrote:

> Are the faxes all being sent by the same fax machine?  If not, are the
> faxes being detected consistently from each source?  If the remote fax
> machine/modem does not send CNG tones, then Asterisk will not detect
> a fax.


I've tested with 3 diferent machines. Asterisk didn't detect them.

Eduardo


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


[Asterisk-Users] Fax Handled

2003-08-14 Thread Eduardo Goncalves
Hello,

Is there any configuration in zapata.conf for fax detection (or transmission)?
When I try to send a fax trought asterisk, the line 'Fax Handled:' is always 
set to "no". The scenario is:

[ata186]---sip---[asterisk]---e1 E&M---[pstn]

Fax sometimes goes without problem and sometimes the fax machine can't send 
the fax.

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


Re: [Asterisk-Users] Fax Handled

2003-08-14 Thread Tilghman Lesher
On Friday 08 August 2003 13:30, Eduardo Goncalves wrote:
> On 08 Aug 2003 11:39:47 -0500
>
> Steven Critchfield <[EMAIL PROTECTED]> wrote:
> > >   Fax sometimes goes without problem and sometimes the fax machine
> > > can't send the fax.
> >
> > If your SIP link is over a long line, or that has much in the way
> > of variable latency, then this will just have to be expected
> > behavior. The problems listed above are not unique to asterisk but
> > the VoIP traffic trying to carry modem call. You would be better
> > off using a network fax gateway that accepts the image to be faxed
> > for you. You will find that it uses way less bandwidth this way
> > also.
>
>   This link is an ethernet 10/100Mbits hub. There is no latency.
>   What I want to know is why asterisk are not detecting that the call
> is a fax transmission.

Are the faxes all being sent by the same fax machine?  If not, are the
faxes being detected consistently from each source?  If the remote fax
machine/modem does not send CNG tones, then Asterisk will not detect
a fax.

-Tilghman

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


Re: [Asterisk-Users] Fax Handled

2003-08-14 Thread Tilghman Lesher
On Monday 11 August 2003 02:46 pm, Eduardo Goncalves wrote:
> On Sun, 10 Aug 2003 01:50:33 -0500
>
> Tilghman Lesher <[EMAIL PROTECTED]> wrote:
> > Are the faxes all being sent by the same fax machine?  If not,
> > are the faxes being detected consistently from each source?  If
> > the remote fax machine/modem does not send CNG tones, then
> > Asterisk will not detect a fax.
>
>   I've tested with 3 diferent machines. Asterisk didn't detect them.

What does your dialplan look like for the s extension?

-Tilghman

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


Re: [Asterisk-Users] Fax Handled

2003-08-14 Thread Eduardo Goncalves
On 11 Aug 2003 15:34:38 -0500
Eric Wieling <[EMAIL PROTECTED]> wrote:

> Try adding:
> 
> exten => fax,1,Dial(blah)
> 
> Where Blah is the zap or SIP port your fax machine is connected to.
> 

But I want to send a fax, if I put Dial(blah), and blah is my fax machine, how 
could I send the fax over PSTN?

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


Re: [Asterisk-Users] Fax Handled

2003-08-14 Thread Martin Pycko
It could work if  it would be coming over g711 and you'd have
dtmfmode=inband set for that call

regards
Martin

On Thu, 14 Aug 2003, James Golovich wrote:

>
>
> On Thu, 14 Aug 2003, Eduardo Goncalves wrote:
>
> > I'm using G.711alaw.
> > My extensions.conf:
> >
> > ===
> > [globals]
> > TRUNK=Zap/g1
> > [sip]
> > exten => s,1,Background(demo-moreinfo)
> > exten => fax,1,Dial(${TRUNK}/${EXTEN})
> > exten => _0.,1,Dial(${TRUNK}/${EXTEN})
> > exten => _9.,1,Dial(${TRUNK}/${EXTEN})
> >
> > Is this correct?
> >
>
> The last time I looked at the code, fax would only be detected if they
> came in on a Zap channel.  So if the fax was coming in on a SIP channel
> then it would not work.
>
> James
>
> ___
> 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 Handled

2003-08-14 Thread Eduardo Goncalves
On Wed, 13 Aug 2003 17:56:46 -0500
Tilghman Lesher <[EMAIL PROTECTED]> wrote:

> 
> The CNG tones are sent by the sending fax machine, not the receiving
> fax machine.  Those tones are sent from the moment that the fax
> machines dials and continues until either a timeout or the receiving
> fax machine sends its synchronization tone.

Hum, Thanks for the explanation.

> 
> How is your fax machine connected to the Asterisk machine?


|FAX|---|PBX|---|ATA186|SIP---|Asterisk|E1-e&m|PSTN|

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


RE: [Asterisk-Users] Fax Handled

2003-08-12 Thread Adams, Gavin
> From: Martin Pycko [mailto:[EMAIL PROTECTED]
> 
> On analog ports you need to Answer
> Ringing
> Wait,2
> and then do something .
> 
> That should detect faxes.

Martin,

Could you show an example of this for an incoming PRI -> FXS analog fax?

Regards,

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


Re: [Asterisk-Users] Fax Handled

2003-08-12 Thread Tilghman Lesher
On Monday 11 August 2003 03:26 pm, Eduardo Goncalves wrote:
> On Mon, 11 Aug 2003 15:15:08 -0500
>
> Tilghman Lesher <[EMAIL PROTECTED]> wrote:
> > On Monday 11 August 2003 02:46 pm, Eduardo Goncalves wrote:
> > > I've tested with 3 diferent machines. Asterisk didn't detect
> > > them.
> >
> > What does your dialplan look like for the s extension?
>
>   My extensions.conf are very simple. I have just one context for my
> trunk connection, and the two sip endpoits.
>
> extensions.conf
> ===
> [globals]
> TRUNK=Zap/g1
>
> [sip]
> exten => _0.,1,Dial(${TRUNK}/${EXTEN})
> exten => _9.,1,Dial(${TRUNK}/${EXTEN})
>
> exten => 710,1,Dial(SIP/client1)
> exten => 711,1,Dial(SIP/client2)

Okay, that's the problem.  Asterisk does not detect faxes while
executing the Dial() application.  You need to Background() a simple
greeting (or just 2-3 seconds of silence) before executing the Dial()
application, then provide a fax extension for Asterisk to jump to upon
detecting the CNG tones.

-Tilghman

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


Re: [Asterisk-Users] Fax Handled

2003-08-09 Thread Eduardo Goncalves
On 08 Aug 2003 11:39:47 -0500
Steven Critchfield <[EMAIL PROTECTED]> wrote:

> > 
> > Fax sometimes goes without problem and sometimes the fax machine can't send 
> > the fax.
> 

> If your SIP link is over a long line, or that has much in the way of
> variable latency, then this will just have to be expected behavior. The
> problems listed above are not unique to asterisk but the VoIP traffic
> trying to carry modem call. You would be better off using a network fax
> gateway that accepts the image to be faxed for you. You will find that
> it uses way less bandwidth this way also.  

This link is an ethernet 10/100Mbits hub. There is no latency.
What I want to know is why asterisk are not detecting that the call is a fax 
transmission.

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


Re: [Asterisk-Users] "Fax Handled: no" config

2003-03-12 Thread Mark Spencer
Are you running latest CVS?  I think we addressed this issue a few days
ago with the hit='f' thing.

Mark

On Wed, 12 Mar 2003, Darrell Eldridge wrote:

> I doubt it's a signal loss problem.  It's a simple
> circuit, connected through our local Meridian, so it's
>   fax-to-Meridian [A]
>   Meridian internal [D]
>   Meridian to Channel Bank [A]
>   Channel Bank to Asterisk [D]
> And I know that the fax works okay; it's a production
> unit that gets used every day.
>
> As for the conf's, I've tried several things.  Here's
> my best guess so far:
>
> from zapata.conf:
>
>   context => incomingfax
>   channel => 47
>
> and from extensions.conf:
>
>   [incomingfax]
>   exten => s,1,Answer
>   exten => s,2,Wait,18
>   exten => s,3,Goto,incomingmain|s|1 ; roll to main
>   exten => fax,Dial,Zap/3
>
> Fax calls are answered, then * waits 18 seconds (while
> the fax machine is beeping) then * rolls the call to
> incomingmain|s|1.
>
> Ideas?
>
> --- Jon Pounder <[EMAIL PROTECTED]> wrote:
> >
> > I know there was discussion at one point of signal
> > loss through multiple
> > d/a and a/d conversions
> > what speed does it connect at through the extension
> > ? (assuming analog line in)
> >
> > Tim - can you show us your config as an example ?
> >
> >
> > At 11:29 AM 3/12/2003 -0800, you wrote:
> >
> >
> > > >I still haven't been able to get fax detection
> > going,
> > > >but I came across something:  when I execute "zap
> > show
> > > >channel 47" one of the parameters shown is "Fax
> > > >Handled: no".  I assume that's a reflection of
> > > >something in zapata.conf, but I don't find
> > anything
> > > >there.  Should it read "...yes" in order for
> > Asterisk
> > > >to detect the fax tones?  If so, what's the
> > syntax for
> > > >setting it to yes?
> > >I know this is working for me as of cvs march 9, 03
> > >as long as the fax machine calling you is sending
> > a REAL CNG tone at 1100
> > >Hz
> > >
> > >can you show us the relevant context section in the
> > extension.conf
> > >ie the exten -> s entries & your fax extension
> > entry
> > >
> > >
> > >___
> > >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
>
>
> __
> Do you Yahoo!?
> Yahoo! Web Hosting - establish your business online
> http://webhosting.yahoo.com
> ___
> 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 Handled: no" config

2003-03-12 Thread TC
>And I know that the fax works okay; it's a production
>unit that gets used every day.
>
>As for the conf's, I've tried several things.  Here's
>my best guess so far:
>
>from zapata.conf:
>
>  context => incomingfax
>  channel => 47
>
>and from extensions.conf:
>
>  [incomingfax]
>  exten => s,1,Answer
>  exten => s,2,Wait,18
>  exten => s,3,Goto,incomingmain|s|1 ; roll to main
>  exten => fax,Dial,Zap/3
>
>Fax calls are answered, then * waits 18 seconds (while
>the fax machine is beeping) then * rolls the call to
>incomingmain|s|1.
>
>Ideas?
try removing the wait & use a non-blocking background

next I wonder why you need fax detect logic at all looks like
you have a dedicated fax machine on a dedicated channel
why don't you just send all [incomingFax] straight to Zap/3
 [incomingfax]
exten => s,1,Answer
exten => s,2,Dial,Zap/3

and in zapata.conf
context => incomingfax
immediate=yes ;ans w/o waiting 2 rings then use ans in ext context Need
usecallerid=no
usecallerid=no
channel => 47


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


Re: [Asterisk-Users] "Fax Handled: no" config

2003-03-12 Thread Darrell Eldridge
I doubt it's a signal loss problem.  It's a simple
circuit, connected through our local Meridian, so it's
  fax-to-Meridian [A]
  Meridian internal [D]
  Meridian to Channel Bank [A]
  Channel Bank to Asterisk [D]
And I know that the fax works okay; it's a production
unit that gets used every day.

As for the conf's, I've tried several things.  Here's
my best guess so far:

from zapata.conf:

  context => incomingfax
  channel => 47

and from extensions.conf:

  [incomingfax]
  exten => s,1,Answer
  exten => s,2,Wait,18
  exten => s,3,Goto,incomingmain|s|1 ; roll to main
  exten => fax,Dial,Zap/3

Fax calls are answered, then * waits 18 seconds (while
the fax machine is beeping) then * rolls the call to
incomingmain|s|1.

Ideas?

--- Jon Pounder <[EMAIL PROTECTED]> wrote:
> 
> I know there was discussion at one point of signal
> loss through multiple 
> d/a and a/d conversions
> what speed does it connect at through the extension
> ? (assuming analog line in)
> 
> Tim - can you show us your config as an example ?
> 
> 
> At 11:29 AM 3/12/2003 -0800, you wrote:
> 
> 
> > >I still haven't been able to get fax detection
> going,
> > >but I came across something:  when I execute "zap
> show
> > >channel 47" one of the parameters shown is "Fax
> > >Handled: no".  I assume that's a reflection of
> > >something in zapata.conf, but I don't find
> anything
> > >there.  Should it read "...yes" in order for
> Asterisk
> > >to detect the fax tones?  If so, what's the
> syntax for
> > >setting it to yes?
> >I know this is working for me as of cvs march 9, 03
> >as long as the fax machine calling you is sending 
> a REAL CNG tone at 1100
> >Hz
> >
> >can you show us the relevant context section in the
> extension.conf
> >ie the exten -> s entries & your fax extension
> entry
> >
> >
> >___
> >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


__
Do you Yahoo!?
Yahoo! Web Hosting - establish your business online
http://webhosting.yahoo.com
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] "Fax Handled: no" config

2003-03-12 Thread TC
>Tim - can you show us your config as an example ?
[inBound]
exten => s,1,Answer
exten => s,2,setmusiconhold,default
exten => s,3,DigitTimeout,5
exten => s,4,responsetimeout,20
exten => s,5,BackGround,officemenu ;/var/lib/asterisk/sounds

;... other exts

;Fax Test
exten => fax,1,Dial,Zap/6
--
If you are not getting a fax re-route when using this set up
then you prolly need to check & see if the logic in dsp.d->dtmf_detect
lines 510-540 are seeing a CNG tone based on the fax_energy var
look for this test
if (!hit && (fax_energy >= FAX_THRESHOLD) && (fax_energy > s->energy *
21.0))

and add some debugging to see what fax_energy & s-energy look like sumfin
like
ast_log(LOG_DEBUG, "fax_energy %f ratio %f \n", fax_energy,
fax_energy/s-energy );

Also when playing with this last week & googling around it looks like the
ITU
allows 4 standards for a fax handshake, only one of which is for the sending
fax device
to start the hand shake with a CNG tone. I beleive to have discovered that
my telephone/fax
for example is one of these devices that will call a fax device then wait
for the called
fax device to send a CED tone (2100hz) then start the fax transmisison only
after the
called device sends the CED.. in this case * will fail to detect the remote
fax bcus
* does not send the CED tone, during the ans sequence




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


Re: [Asterisk-Users] "Fax Handled: no" config

2003-03-12 Thread Jon Pounder
I know there was discussion at one point of signal loss through multiple 
d/a and a/d conversions
what speed does it connect at through the extension ? (assuming analog line in)

Tim - can you show us your config as an example ?

At 11:29 AM 3/12/2003 -0800, you wrote:


>I still haven't been able to get fax detection going,
>but I came across something:  when I execute "zap show
>channel 47" one of the parameters shown is "Fax
>Handled: no".  I assume that's a reflection of
>something in zapata.conf, but I don't find anything
>there.  Should it read "...yes" in order for Asterisk
>to detect the fax tones?  If so, what's the syntax for
>setting it to yes?
I know this is working for me as of cvs march 9, 03
as long as the fax machine calling you is sending  a REAL CNG tone at 1100
Hz
can you show us the relevant context section in the extension.conf
ie the exten -> s entries & your fax extension entry
___
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 Handled: no" config

2003-03-12 Thread Martin Pycko
It's dynamically changed to "Yes" when the fax gets detected on this
channel.

regards
Martin

On Wed, 12 Mar 2003, Darrell Eldridge wrote:

> I still haven't been able to get fax detection going,
> but I came across something:  when I execute "zap show
> channel 47" one of the parameters shown is "Fax
> Handled: no".  I assume that's a reflection of
> something in zapata.conf, but I don't find anything
> there.  Should it read "...yes" in order for Asterisk
> to detect the fax tones?  If so, what's the syntax for
> setting it to yes?
>
> __
> Do you Yahoo!?
> Yahoo! Web Hosting - establish your business online
> http://webhosting.yahoo.com
> ___
> 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 Handled: no" config

2003-03-12 Thread TC


>I still haven't been able to get fax detection going,
>but I came across something:  when I execute "zap show
>channel 47" one of the parameters shown is "Fax
>Handled: no".  I assume that's a reflection of
>something in zapata.conf, but I don't find anything
>there.  Should it read "...yes" in order for Asterisk
>to detect the fax tones?  If so, what's the syntax for
>setting it to yes?
I know this is working for me as of cvs march 9, 03
as long as the fax machine calling you is sending  a REAL CNG tone at 1100
Hz

can you show us the relevant context section in the extension.conf
ie the exten -> s entries & your fax extension entry


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


Re: [Asterisk-Users] "Fax Handled: no" config

2003-03-12 Thread James Golovich
Fax handled will be set to yes when zaptel detects the fax CNG tones on
the line.  At that point it will try to switch the call to the fax
extension

James


On Wed, 12 Mar 2003, Darrell Eldridge wrote:

> I still haven't been able to get fax detection going,
> but I came across something:  when I execute "zap show
> channel 47" one of the parameters shown is "Fax
> Handled: no".  I assume that's a reflection of
> something in zapata.conf, but I don't find anything
> there.  Should it read "...yes" in order for Asterisk
> to detect the fax tones?  If so, what's the syntax for
> setting it to yes?
> 
> __
> Do you Yahoo!?
> Yahoo! Web Hosting - establish your business online
> http://webhosting.yahoo.com
> ___
> 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


[Asterisk-Users] "Fax Handled: no" config

2003-03-12 Thread Darrell Eldridge
I still haven't been able to get fax detection going,
but I came across something:  when I execute "zap show
channel 47" one of the parameters shown is "Fax
Handled: no".  I assume that's a reflection of
something in zapata.conf, but I don't find anything
there.  Should it read "...yes" in order for Asterisk
to detect the fax tones?  If so, what's the syntax for
setting it to yes?

__
Do you Yahoo!?
Yahoo! Web Hosting - establish your business online
http://webhosting.yahoo.com
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users