Re: [Asterisk-Users] Get faxed you faxing faxer!

2003-08-14 Thread James Sharp
>
> I always have a chuckle when I see this.
>
> it probably could if someone sorts it out, but its reqally starting to
> expect a lot.

It'll just take someone with the masochistic tendencies needed to do the
realtime DSP code for reception.  For transmission, however, things are a
bit simpler.  There's a chunk of code by the late Tony Fisher that can
negotiate and transmit group 3 fax if its run on an SGI Indy's sound
system.   I may be wrong here, but as far as I see it...it would only take
a few steps to adapt this code to give asterisk the ability to send faxes.

1) Obtain the rights to use the code. (seance, anyone? Ouija board?)
2) Rebuild the DSP filter coefficients for an 8Khz sampling instead of the
9.6Khz sampling rate the code sets the Indy's sound hardware to.  Not all
that hard, since one of the programs in the collection of code is the
coefficient generator.
3) Adapt the code to run as an asterisk application.


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


Re: [Asterisk-Users] Get faxed you faxing faxer!

2003-08-14 Thread Anthony Wood
On Tue, Aug 12, 2003 at 11:48:31AM +1000, Adam Donnison wrote:
> Fax is not as easy as it may first appear.  First of all there
> are two parts to the protocol, one of which would be relatively
> easy to accomplish if you have built your softmodem as it uses
> flow-controlled error detecting style conversations.  But this
> is just the call setup, and inter-page negotiation.  The
> actual sending of the page data uses a non-flow controlled
> protocol that uses bit stuffing to make sure the receiving fax
> receives a line of data just in time to print it.  The timings
> are _very_ tight, from memory all you need is a delay of well
> under 100ms for the remote machine to give up.  Even with
> TR29.2 modems (where the T.4 data transfer protocol timings
> are handled by the modem) you can get all sorts of problems unless
> you can make sure you keep the modem buffer full.  Doing it
> all in software means you have to manage the timings yourself.
> 
>  From my perspective, unless you are using a real-time OS, you
> may as well forget implementing T.4 as your interrupt latency
> is likely to kill you.  Either that or using a SMP machine
> so that there is always a CPU available. Either way, it is
> a big ask.

I concur.

Even hardware Class 1 faxmodems require a lot of timing dependant stuff
to happen on the server, class 2 and 2.0 can handle most of it
themselves.  My experience is with hylafax, you really want
dedicated hardware (faxcard,faxmodem class 2, or dedicated box),
to handle the fax unless you want a successful fax reception to
be the exception, rather than the rule.

Maybe if you only got faxes at night and only got asterisk calls
during the day, it would be OK, but it is amazingly annoying
that a $20 second hand 15 year old thermal fax machine
recieves every fax perfectly and hylafax still has hiccups now and then.

cheers,
Woody

> 
> Adam
> 
> Eric Wieling wrote:
> > software fax modem dsp
> > 
> > There doesn't seem to be many software fax modems out there, but I found
> > these few when doing a Google search a few months ago and bookmarked
> > them:
> > 
> > http://www.softmodem.org/
> > 
> > http://fabrice.bellard.free.fr/linmodem.html
> > 
> > http://artax.karlin.mff.cuni.cz/~pacoo0bm/archive/new_fischer/
> > 
> > http://www-users.cs.york.ac.uk/~fisher/modem/
> > 
> > I just realized that softmodem.org links to all the other URLs.
> > 
> > On Mon, 2003-08-11 at 19:23, Jamie Carl wrote:
> > 
> >>All this talk of faxing has started me thinking (this is 
> >>always a bad thing) and I've come up with a question.
> >>
> >>Now, I know Asterisk can detect and route faxes, to a 
> >>'fax' extension and all that.  But can Asterisk be used to 
> >>'receive' faxes?  
> >>
> >>I know there was some talk about this just over a year ago 
> >>and I'm wondering if anything came of it.  It would be 
> >>nice to be able to receive faxes with asterisk and then 
> >>have them filer through and AGI script and emailed or 
> >>dumped in a directory/database/whatever.
> >>
> >>I mean for me, currently, I have a fax/modem hooked up to 
> >>the same machine asterisk is on, and it get's sent faxes 
> >>via my FXS port.  It would be nice to be able to pull off 
> >>the modem and throw it away. (or auction it on ebay)
> >>
> >>
> >> --
> >>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
> 
> 
> -- 
> Adam Donnison  email: [EMAIL PROTECTED]
> Saki Computer Services Pty. Ltd.
> 93 Kallista-Emerald Roadphone: +61 3 9752 1512
> THE PATCH  VIC 3792AUSTRALIAfax:   +61 3 9752 1098
> 
> ___
> Asterisk-Users mailing list
> [EMAIL PROTECTED]
> http://lists.digium.com/mailman/listinfo/asterisk-users

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


Re: [Asterisk-Users] Get faxed you faxing faxer!

2003-08-14 Thread Jamie Carl
Sorry to say this Gary, but I think you're missing the 
whole point behind Asterisk.  Why merely try and 
'recreate' what PABXs already do and have been doing for 
the last quadzillion years.  Asterisk, BY DESIGN, is 
trying to do, not only the same stuff, but MORE and 
BETTER.  

So, keeping this in mind, why is it so outrageously 
rediculous to ask?  If asterisk is MORE than just a PABX, 
won't that mean it's MORE appealing to users?  

I don't expect anything when it comes to Asterisk.  If a 
feature works, great, I have a new toy.  If it doesn't, I 
try and help fix it.  If it's not there, i 'suggest' it. 
It's all part of the open source process.

Oh, and as for PABXs in australia that support fax, well, 
Cisco have a nice little full IMS system that does it. 
But who wants to pay $1,000,000 for a PABX, right?

Jazz

On Tue, 12 Aug 2003 10:17:35 +1000
 "Gary" <[EMAIL PROTECTED]> wrote:
I always have a chuckle when I see this.

it probably could if someone sorts it out, but its 
reqally starting to
expect a lot.

I really cant think of any pab system (at least here in 
australia)
which has a builtin fax.  fax/phones sure, fax on 
computers sure, but
pab/fax m, I can just see my p100 sitting at home 
trying to deal
with faxes and phone calls.  (shudder..)

On Tue, 12 Aug 2003 10:23:05 +1000, Jamie Carl wrote:

All this talk of faxing has started me thinking (this is 
always a bad thing) and I've come up with a question.

Now, I know Asterisk can detect and route faxes, to a 
'fax' extension and all that.  But can Asterisk be used 
to 
'receive' faxes?  

I know there was some talk about this just over a year 
ago 
and I'm wondering if anything came of it.  It would be 
nice to be able to receive faxes with asterisk and then 
have them filer through and AGI script and emailed or 
dumped in a directory/database/whatever.

I mean for me, currently, I have a fax/modem hooked up to 
the same machine asterisk is on, and it get's sent faxes 
via my FXS port.  It would be nice to be able to pull off 
the modem and throw it away. (or auction it on ebay)
 
Regards,

Jamie Carl
Jazz Inc.
Email:  [EMAIL PROTECTED]
Web:www.jazz-inc.net
Phone:  +61-414-365-466
Jabber: [EMAIL PROTECTED]
___
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
Regards,

Jamie Carl
Jazz Inc.
Email:  [EMAIL PROTECTED]
Web:www.jazz-inc.net
Phone:  +61-414-365-466
Jabber: [EMAIL PROTECTED]
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Get faxed you faxing faxer!

2003-08-14 Thread Adam Donnison
Fax is not as easy as it may first appear.  First of all there
are two parts to the protocol, one of which would be relatively
easy to accomplish if you have built your softmodem as it uses
flow-controlled error detecting style conversations.  But this
is just the call setup, and inter-page negotiation.  The
actual sending of the page data uses a non-flow controlled
protocol that uses bit stuffing to make sure the receiving fax
receives a line of data just in time to print it.  The timings
are _very_ tight, from memory all you need is a delay of well
under 100ms for the remote machine to give up.  Even with
TR29.2 modems (where the T.4 data transfer protocol timings
are handled by the modem) you can get all sorts of problems unless
you can make sure you keep the modem buffer full.  Doing it
all in software means you have to manage the timings yourself.
From my perspective, unless you are using a real-time OS, you
may as well forget implementing T.4 as your interrupt latency
is likely to kill you.  Either that or using a SMP machine
so that there is always a CPU available. Either way, it is
a big ask.
Adam

Eric Wieling wrote:
software fax modem dsp

There doesn't seem to be many software fax modems out there, but I found
these few when doing a Google search a few months ago and bookmarked
them:
http://www.softmodem.org/

http://fabrice.bellard.free.fr/linmodem.html

http://artax.karlin.mff.cuni.cz/~pacoo0bm/archive/new_fischer/

http://www-users.cs.york.ac.uk/~fisher/modem/

I just realized that softmodem.org links to all the other URLs.

On Mon, 2003-08-11 at 19:23, Jamie Carl wrote:

All this talk of faxing has started me thinking (this is 
always a bad thing) and I've come up with a question.

Now, I know Asterisk can detect and route faxes, to a 
'fax' extension and all that.  But can Asterisk be used to 
'receive' faxes?  

I know there was some talk about this just over a year ago 
and I'm wondering if anything came of it.  It would be 
nice to be able to receive faxes with asterisk and then 
have them filer through and AGI script and emailed or 
dumped in a directory/database/whatever.

I mean for me, currently, I have a fax/modem hooked up to 
the same machine asterisk is on, and it get's sent faxes 
via my FXS port.  It would be nice to be able to pull off 
the modem and throw it away. (or auction it on ebay)

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


--
Adam Donnison  email: [EMAIL PROTECTED]
Saki Computer Services Pty. Ltd.
93 Kallista-Emerald Roadphone: +61 3 9752 1512
THE PATCH  VIC 3792AUSTRALIAfax:   +61 3 9752 1098
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Get faxed you faxing faxer!

2003-08-14 Thread Gary
sorry jamie, i didn;t miss the point, i just didn't put in the
smiley...

you might have missed what one of asterisk machines is actually running
on...

p100 was refering to a pentium 100 processor, doing other stuff as well
asterisk... throw a fax at it and would probably limp to computer
heaven !!  (even running linux) ... it runs normally at 75% cpu
utilisation   :-)

On Tue, 12 Aug 2003 10:52:46 +1000, Jamie Carl wrote:

>Sorry to say this Gary, but I think you're missing the 
>whole point behind Asterisk.  Why merely try and 
>'recreate' what PABXs already do and have been doing for 
>the last quadzillion years.  Asterisk, BY DESIGN, is 
>trying to do, not only the same stuff, but MORE and 
>BETTER.  
>
>So, keeping this in mind, why is it so outrageously 
>rediculous to ask?  If asterisk is MORE than just a PABX, 
>won't that mean it's MORE appealing to users?  
>
>I don't expect anything when it comes to Asterisk.  If a 
>feature works, great, I have a new toy.  If it doesn't, I 
>try and help fix it.  If it's not there, i 'suggest' it. 
> It's all part of the open source process.
>
>Oh, and as for PABXs in australia that support fax, well, 
>Cisco have a nice little full IMS system that does it. 
> But who wants to pay $1,000,000 for a PABX, right?
>
>Jazz
>
>On Tue, 12 Aug 2003 10:17:35 +1000
>  "Gary" <[EMAIL PROTECTED]> wrote:
>>
>>I always have a chuckle when I see this.
>>
>>it probably could if someone sorts it out, but its 
>>reqally starting to
>>expect a lot.
>>
>>I really cant think of any pab system (at least here in 
>>australia)
>>which has a builtin fax.  fax/phones sure, fax on 
>>computers sure, but
>>pab/fax m, I can just see my p100 sitting at home 
>>trying to deal
>>with faxes and phone calls.  (shudder..)
>>
>>On Tue, 12 Aug 2003 10:23:05 +1000, Jamie Carl wrote:
>>
>>>All this talk of faxing has started me thinking (this is 
>>>always a bad thing) and I've come up with a question.
>>>
>>>Now, I know Asterisk can detect and route faxes, to a 
>>>'fax' extension and all that.  But can Asterisk be used 
>>>to 
>>>'receive' faxes?  
>>>
>>>I know there was some talk about this just over a year 
>>>ago 
>>>and I'm wondering if anything came of it.  It would be 
>>>nice to be able to receive faxes with asterisk and then 
>>>have them filer through and AGI script and emailed or 
>>>dumped in a directory/database/whatever.
>>>
>>>I mean for me, currently, I have a fax/modem hooked up to 
>>>the same machine asterisk is on, and it get's sent faxes 
>>>via my FXS port.  It would be nice to be able to pull off 
>>>the modem and throw it away. (or auction it on ebay)
>>>  
>>>Regards,
>>>
>>>Jamie Carl
>>>Jazz Inc.
>>>Email:  [EMAIL PROTECTED]
>>>Web:www.jazz-inc.net
>>>Phone:  +61-414-365-466
>>>Jabber: [EMAIL PROTECTED]
>>>___
>>>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
>
>Regards,
>
>Jamie Carl
>Jazz Inc.
>Email:  [EMAIL PROTECTED]
>Web:www.jazz-inc.net
>Phone:  +61-414-365-466
>Jabber: [EMAIL PROTECTED]
>___
>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] Get faxed you faxing faxer!

2003-08-14 Thread Jamie Carl
I've got an old P200Pro and a Celeron 333 CPU and MB 
sitting around if you want them. :)

Jazz

On Tue, 12 Aug 2003 11:31:37 +1000
 "Gary" <[EMAIL PROTECTED]> wrote:
*This message was transferred with a trial version of 
CommuniGate(tm) Pro*
sorry jamie, i didn;t miss the point, i just didn't put 
in the
smiley...

you might have missed what one of asterisk machines is 
actually running
on...

p100 was refering to a pentium 100 processor, doing other 
stuff as well
asterisk... throw a fax at it and would probably limp to 
computer
heaven !!  (even running linux) ... it runs normally at 
75% cpu
utilisation   :-)

On Tue, 12 Aug 2003 10:52:46 +1000, Jamie Carl wrote:

Sorry to say this Gary, but I think you're missing the 
whole point behind Asterisk.  Why merely try and 
'recreate' what PABXs already do and have been doing for 
the last quadzillion years.  Asterisk, BY DESIGN, is 
trying to do, not only the same stuff, but MORE and 
BETTER.  

So, keeping this in mind, why is it so outrageously 
rediculous to ask?  If asterisk is MORE than just a PABX, 
won't that mean it's MORE appealing to users?  

I don't expect anything when it comes to Asterisk.  If a 
feature works, great, I have a new toy.  If it doesn't, I 
try and help fix it.  If it's not there, i 'suggest' it. 
It's all part of the open source process.

Oh, and as for PABXs in australia that support fax, well, 
Cisco have a nice little full IMS system that does it. 
But who wants to pay $1,000,000 for a PABX, right?

Jazz

On Tue, 12 Aug 2003 10:17:35 +1000
 "Gary" <[EMAIL PROTECTED]> wrote:
I always have a chuckle when I see this.

it probably could if someone sorts it out, but its 
reqally starting to
expect a lot.

I really cant think of any pab system (at least here in 
australia)
which has a builtin fax.  fax/phones sure, fax on 
computers sure, but
pab/fax m, I can just see my p100 sitting at home 
trying to deal
with faxes and phone calls.  (shudder..)

On Tue, 12 Aug 2003 10:23:05 +1000, Jamie Carl wrote:

All this talk of faxing has started me thinking (this is 
always a bad thing) and I've come up with a question.

Now, I know Asterisk can detect and route faxes, to a 
'fax' extension and all that.  But can Asterisk be used 
to 
'receive' faxes?  

I know there was some talk about this just over a year 
ago 
and I'm wondering if anything came of it.  It would be 
nice to be able to receive faxes with asterisk and then 
have them filer through and AGI script and emailed or 
dumped in a directory/database/whatever.

I mean for me, currently, I have a fax/modem hooked up to 
the same machine asterisk is on, and it get's sent faxes 
via my FXS port.  It would be nice to be able to pull off 
the modem and throw it away. (or auction it on ebay)
 
Regards,

Jamie Carl
Jazz Inc.
Email:  [EMAIL PROTECTED]
Web:www.jazz-inc.net
Phone:  +61-414-365-466
Jabber: [EMAIL PROTECTED]
___
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
Regards,

Jamie Carl
Jazz Inc.
Email:  [EMAIL PROTECTED]
Web:www.jazz-inc.net
Phone:  +61-414-365-466
Jabber: [EMAIL PROTECTED]
___
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
Regards,

Jamie Carl
Jazz Inc.
Email:  [EMAIL PROTECTED]
Web:www.jazz-inc.net
Phone:  +61-414-365-466
Jabber: [EMAIL PROTECTED]
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Get faxed you faxing faxer!

2003-08-14 Thread Eric Wieling
software fax modem dsp

There doesn't seem to be many software fax modems out there, but I found
these few when doing a Google search a few months ago and bookmarked
them:

http://www.softmodem.org/

http://fabrice.bellard.free.fr/linmodem.html

http://artax.karlin.mff.cuni.cz/~pacoo0bm/archive/new_fischer/

http://www-users.cs.york.ac.uk/~fisher/modem/

I just realized that softmodem.org links to all the other URLs.

On Mon, 2003-08-11 at 19:23, Jamie Carl wrote:
> All this talk of faxing has started me thinking (this is 
> always a bad thing) and I've come up with a question.
> 
> Now, I know Asterisk can detect and route faxes, to a 
> 'fax' extension and all that.  But can Asterisk be used to 
> 'receive' faxes?  
> 
> I know there was some talk about this just over a year ago 
> and I'm wondering if anything came of it.  It would be 
> nice to be able to receive faxes with asterisk and then 
> have them filer through and AGI script and emailed or 
> dumped in a directory/database/whatever.
> 
> I mean for me, currently, I have a fax/modem hooked up to 
> the same machine asterisk is on, and it get's sent faxes 
> via my FXS port.  It would be nice to be able to pull off 
> the modem and throw it away. (or auction it on ebay)
> 
> 
>  --
> 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] Get faxed you faxing faxer!

2003-08-11 Thread Gary

I always have a chuckle when I see this.

it probably could if someone sorts it out, but its reqally starting to
expect a lot.

I really cant think of any pab system (at least here in australia)
which has a builtin fax.  fax/phones sure, fax on computers sure, but
pab/fax m, I can just see my p100 sitting at home trying to deal
with faxes and phone calls.  (shudder..)

On Tue, 12 Aug 2003 10:23:05 +1000, Jamie Carl wrote:

>All this talk of faxing has started me thinking (this is 
>always a bad thing) and I've come up with a question.
>
>Now, I know Asterisk can detect and route faxes, to a 
>'fax' extension and all that.  But can Asterisk be used to 
>'receive' faxes?  
>
>I know there was some talk about this just over a year ago 
>and I'm wondering if anything came of it.  It would be 
>nice to be able to receive faxes with asterisk and then 
>have them filer through and AGI script and emailed or 
>dumped in a directory/database/whatever.
>
>I mean for me, currently, I have a fax/modem hooked up to 
>the same machine asterisk is on, and it get's sent faxes 
>via my FXS port.  It would be nice to be able to pull off 
>the modem and throw it away. (or auction it on ebay)
>  
>Regards,
>
>Jamie Carl
>Jazz Inc.
>Email:  [EMAIL PROTECTED]
>Web:www.jazz-inc.net
>Phone:  +61-414-365-466
>Jabber: [EMAIL PROTECTED]
>___
>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