Re: [asterisk-users] T38modem in loopback mode does not work on asterisk 1.4.20.1

2009-04-18 Thread David Backeberg
On Sat, Apr 18, 2009 at 10:27 AM, Thomas Kenyon
 wrote:
> I will try this later, it looks straight forward enough. Does Asterisk
> 1.6 SendFax command autonegotiate T.38 (in the way callweaver does)?

Yes. Of course assuming that it's talking to a device that is T.38 capable.

> Can I use a faxmachine in a linecard to terminate to T.38 on a remote
> host in asterisk 1.6? (Well I suppose I can put it in it's own context,
> use ReceiveFax to make a tiff, and SendFax the image afterwards, but
> that does seem clumsy).

Analog fax on analog fx connection in asterisk system can already
speak fax and make a tiff directly.  Mount a network share if you want
the file somewhere else. I don't see how that case would involve SIP
at all.

If you're talking about a T.38 gateway converting between SIP and
analogue I used Cisco gear as the gateway. But I don't know of any
technical reason asterisk cannot act as a T.38 gateway.

> I guess in Callweaver you'd use the T38Gateway command.

No idea. Never used callweaver.

> Is there anything of interest in digiums new Fax For Asterisk software?

I think everybody has pretty much just read the press release. Haven't
heard any reports of people using it yet.

___
-- 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] T38modem in loopback mode does not work on asterisk 1.4.20.1

2009-04-18 Thread Thomas Kenyon
Atis Lezdins wrote:
> 
> Ok, our setup is the following:
> 
> Inbound call arrives from SIP provider to Asterisk 1.4.19
> Asterisk Dials Callweaver (1.2.0 as I recall) on localhost
> CallWeaver uses RxFax, which causes call to be switched to T.38,
> Asterisk does T.38 passtrough.
> CallWeaver executes shell script at the end which emails the .tiff
> file to recipient.
> 
> User prints document to Hylafax Desktop client.
> Document is sent to Hylafax server
> Hylafax executes shell script specified in SendFaxCmd.
> Shell script creates callfile for CallWeaver
> CallWeaver dials destination number to Asterisk
> Asterisk forwards call to SIP operator
> CallWeaver uses TxFax to send .tiff file already generated by CallWeaver.
> 
> As we are currently on stable 1.4 version, we chose to use CallWeaver
> for this, but we plan to simplify whole setup when migrating to
> Asterisk 1.6, which would take over CallWeaver functions.
> 
I will try this later, it looks straight forward enough. Does Asterisk 
1.6 SendFax command autonegotiate T.38 (in the way callweaver does)?

Can I use a faxmachine in a linecard to terminate to T.38 on a remote 
host in asterisk 1.6? (Well I suppose I can put it in it's own context, 
use ReceiveFax to make a tiff, and SendFax the image afterwards, but 
that does seem clumsy).

I guess in Callweaver you'd use the T38Gateway command.

Is there anything of interest in digiums new Fax For Asterisk software? 
(Or is it just a version of ReceiveFax and SendFax that doesn't rely on 
spandsp?)

___
-- 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] T38modem in loopback mode does not work on asterisk 1.4.20.1

2009-04-17 Thread Thomas Kenyon
Atis Lezdins wrote:
> On Fri, Apr 17, 2009 at 4:31 PM, Michael  wrote:
 The problem is that there is no reliable, or really any viable way to
 achieve this when using T.38 as the carrier uplink.
>>> Could You explain this? I really don't understand Your point.
>> On voip-info there is a how to using T38modem. Congrats to anyone who can get
>> it working.
> 
> Well, i initially wrote that howto, after numerous hours of
> unsuccessful compilations and wrong versions, but T38modem didn't
> prove to work with our provider. Later, one Russian guy managet to get
> this working with he's provider.
> 
That may explain why I couldn't get it to work :-).

I have accounts with 2 providers that are known to support T.38, the

At the moment, the most notable error I'm getting is on startup t38 reports:

error loading avcodec - avcodec: cannot open shared object file: No such
file or directory

> That's why i put CallWeaver (which basically has the same T.38 stack
> as Asterisk 1.6) in it's place.
> 
I shold have another play with that, I have a box dedicated to it after all.

 The setup you describe does not have a audio data path connection to
 Hylafax and I wonder why the convoluted method when the same could be
 achieved using Callweaver alone and some custom scripting.
>>> Why would the audio data path would be necessary? In our setup
>>> CallWeaver effectively acts as modem, and talks T.38 with provider.
>> Fax information data path to be pedantic.
> 
> Data from Hylafax to CallWeaver is passed as TIFF image - thus no
> data/quality loss.
> 
How does this work? What do you use as the modem in hylafax?

> Regards,
> Atis
> 


___
-- 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] T38modem in loopback mode does not work on asterisk 1.4.20.1

2009-04-17 Thread Atis Lezdins
On Fri, Apr 17, 2009 at 4:31 PM, Michael  wrote:
>
>> > The problem is that there is no reliable, or really any viable way to
>> > achieve this when using T.38 as the carrier uplink.
>>
>> Could You explain this? I really don't understand Your point.
>
> On voip-info there is a how to using T38modem. Congrats to anyone who can get
> it working.

Well, i initially wrote that howto, after numerous hours of
unsuccessful compilations and wrong versions, but T38modem didn't
prove to work with our provider. Later, one Russian guy managet to get
this working with he's provider.

That's why i put CallWeaver (which basically has the same T.38 stack
as Asterisk 1.6) in it's place.

>> > The setup you describe does not have a audio data path connection to
>> > Hylafax and I wonder why the convoluted method when the same could be
>> > achieved using Callweaver alone and some custom scripting.
>>
>> Why would the audio data path would be necessary? In our setup
>> CallWeaver effectively acts as modem, and talks T.38 with provider.
>
> Fax information data path to be pedantic.

Data from Hylafax to CallWeaver is passed as TIFF image - thus no
data/quality loss.

Regards,
Atis

-- 
Atis Lezdins,
VoIP Project Manager / Developer,
IQ Labs Inc,
a...@iq-labs.net
Skype: atis.lezdins
Cell Phone: +371 28806004
Cell Phone: +1 800 7300689
Work phone: +1 800 7502835

___
-- 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] T38modem in loopback mode does not work on asterisk 1.4.20.1

2009-04-17 Thread Michael

> > The problem is that there is no reliable, or really any viable way to
> > achieve this when using T.38 as the carrier uplink.
>
> Could You explain this? I really don't understand Your point.

On voip-info there is a how to using T38modem. Congrats to anyone who can get 
it working.

> > The setup you describe does not have a audio data path connection to
> > Hylafax and I wonder why the convoluted method when the same could be
> > achieved using Callweaver alone and some custom scripting.
>
> Why would the audio data path would be necessary? In our setup
> CallWeaver effectively acts as modem, and talks T.38 with provider.

Fax information data path to be pedantic.

___
-- 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] T38modem in loopback mode does not work on asterisk 1.4.20.1

2009-04-17 Thread Atis Lezdins
On Fri, Apr 17, 2009 at 4:03 PM, Michael  wrote:
> On Sat, 18 Apr 2009 00:54:07 you wrote:
>
>> Well, not really a waste of time. As I mentioned - Hylafax has many
>> desktop clients, it's better to just write few scripts than to design
>> desktop software for your own setup. If You have a need of sending
>> faxes, You'll probably need a desktop client too.
>
> I wish it wasn't a waste of time because Hylafax would make a great front end
> to a T.38 SIP system. I use Hylafax myself, but not with SIP.
>
> The problem is that there is no reliable, or really any viable way to achieve
> this when using T.38 as the carrier uplink.

Could You explain this? I really don't understand Your point.

> The setup you describe does not have a audio data path connection to Hylafax
> and I wonder why the convoluted method when the same could be achieved using
> Callweaver alone and some custom scripting.

Why would the audio data path would be necessary? In our setup
CallWeaver effectively acts as modem, and talks T.38 with provider.

Please see my previous statement about desktop client software. I
doubt that this can be simply achieved with custom scripting.

Regards,
Atis


-- 
Atis Lezdins,
VoIP Project Manager / Developer,
IQ Labs Inc,
a...@iq-labs.net
Skype: atis.lezdins
Cell Phone: +371 28806004
Cell Phone: +1 800 7300689
Work phone: +1 800 7502835

___
-- 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] T38modem in loopback mode does not work on asterisk 1.4.20.1

2009-04-17 Thread Michael
On Sat, 18 Apr 2009 00:54:07 you wrote:

> Well, not really a waste of time. As I mentioned - Hylafax has many
> desktop clients, it's better to just write few scripts than to design
> desktop software for your own setup. If You have a need of sending
> faxes, You'll probably need a desktop client too.

I wish it wasn't a waste of time because Hylafax would make a great front end 
to a T.38 SIP system. I use Hylafax myself, but not with SIP.

The problem is that there is no reliable, or really any viable way to achieve 
this when using T.38 as the carrier uplink.

The setup you describe does not have a audio data path connection to Hylafax 
and I wonder why the convoluted method when the same could be achieved using 
Callweaver alone and some custom scripting.

___
-- 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] T38modem in loopback mode does not work on asterisk 1.4.20.1

2009-04-17 Thread Atis Lezdins
On Fri, Apr 17, 2009 at 1:35 PM, Florian Hackenberger
 wrote:
> On Friday 17 April 2009, Michael wrote:
>> Trying to link Hylafax < - > Callweaver or Asterisk is unfortunately
>> a waste of time. You need to use the built in fax support and write
>> from scratch the necessary scripts and dial plan to deal with faxes.
>
> Ok, that's fine.

Well, not really a waste of time. As I mentioned - Hylafax has many
desktop clients, it's better to just write few scripts than to design
desktop software for your own setup. If You have a need of sending
faxes, You'll probably need a desktop client too.

>> I have successfully got a T.38 set up working, but it wasn't devoid
>> of a lot of bother along the way.
>
> And how do the T.38 calls get to callweaver? Directly from the SIP
> provider, or does asterisk forward them to callweaver? Which version of
> asterisk (on which distribution) and which version of callweaver are
> you using?

Ok, our setup is the following:

Inbound call arrives from SIP provider to Asterisk 1.4.19
Asterisk Dials Callweaver (1.2.0 as I recall) on localhost
CallWeaver uses RxFax, which causes call to be switched to T.38,
Asterisk does T.38 passtrough.
CallWeaver executes shell script at the end which emails the .tiff
file to recipient.

User prints document to Hylafax Desktop client.
Document is sent to Hylafax server
Hylafax executes shell script specified in SendFaxCmd.
Shell script creates callfile for CallWeaver
CallWeaver dials destination number to Asterisk
Asterisk forwards call to SIP operator
CallWeaver uses TxFax to send .tiff file already generated by CallWeaver.

As we are currently on stable 1.4 version, we chose to use CallWeaver
for this, but we plan to simplify whole setup when migrating to
Asterisk 1.6, which would take over CallWeaver functions.

Regards,
Atis

-- 
Atis Lezdins,
VoIP Project Manager / Developer,
IQ Labs Inc,
a...@iq-labs.net
Skype: atis.lezdins
Cell Phone: +371 28806004
Cell Phone: +1 800 7300689
Work phone: +1 800 7502835

___
-- 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] T38modem in loopback mode does not work on asterisk 1.4.20.1

2009-04-17 Thread Michael
On Fri, 17 Apr 2009 22:35:04 you wrote:

> And how do the T.38 calls get to callweaver? Directly from the SIP
> provider, or does asterisk forward them to callweaver? Which version of
> asterisk (on which distribution) and which version of callweaver are
> you using?

Directly from a T.38 capable SIP provider (1). I use the 1.2.0.1 of CW on 
Slackware.

1. If you want you can run this on the same box as an Asterisk setup. Just 
make sure you multihome the system and bind all of Asterisk's / Callweaver's 
services to IP's.

___
-- 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] T38modem in loopback mode does not work on asterisk 1.4.20.1

2009-04-17 Thread Florian Hackenberger
On Friday 17 April 2009, Michael wrote:
> Trying to link Hylafax < - > Callweaver or Asterisk is unfortunately
> a waste of time. You need to use the built in fax support and write
> from scratch the necessary scripts and dial plan to deal with faxes.

Ok, that's fine.

> I have successfully got a T.38 set up working, but it wasn't devoid
> of a lot of bother along the way.

And how do the T.38 calls get to callweaver? Directly from the SIP 
provider, or does asterisk forward them to callweaver? Which version of 
asterisk (on which distribution) and which version of callweaver are 
you using?

Thanks in advance,
Florian


-- 
DI Florian Hackenberger
flor...@hackenberger.at
www.hackenberger.at

___
-- 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] T38modem in loopback mode does not work on asterisk 1.4.20.1

2009-04-17 Thread Michael
On Fri, 17 Apr 2009 21:39:53 Florian Hackenberger wrote:

> Could you please describe your setup in more detail? Where does you SIP
> provider send FAX calls to? Directly to callweaver or to asterisk 1.4
> which forwards it to call weaver? Do you have hylafax in the mix as
> well, or does you callweaver instance terminate and originate the FAX
> calls itself?

Trying to link Hylafax < - > Callweaver or Asterisk is unfortunately a waste 
of time. You need to use the built in fax support and write from scratch the 
necessary scripts and dial plan to deal with faxes.

I have successfully got a T.38 set up working, but it wasn't devoid of a lot 
of bother along the way.

Michael

___
-- 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] T38modem in loopback mode does not work on asterisk 1.4.20.1

2009-04-17 Thread Florian Hackenberger
On Thursday 16 April 2009, Atis Lezdins wrote:
> I tried T38modem, it works nicely in local setups, but I never got it
> working with our SIP provider.
Ok, that basically rules t38modem out, because thos SIP provider 
probably use a T/E1 <-> SIP gateway as well.

> As for "stable" Asterisk 1.4, we also do have it, but there's
> CallWeaver on the same machine sending all fax calls to Asterisk 1.4
> in T.38 passthrough (for unified billing and logging).

Could you please describe your setup in more detail? Where does you SIP 
provider send FAX calls to? Directly to callweaver or to asterisk 1.4 
which forwards it to call weaver? Do you have hylafax in the mix as 
well, or does you callweaver instance terminate and originate the FAX 
calls itself?

Thanks in advance,
Florian

-- 
DI Florian Hackenberger
flor...@hackenberger.at
www.hackenberger.at

___
-- 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] T38modem in loopback mode does not work on asterisk 1.4.20.1

2009-04-17 Thread Florian Hackenberger
On Wednesday 15 April 2009, David Backeberg wrote:
> in sip.conf:
> [general]
> t38pt_udptl = yes
>
> in your dialplan
> ReceiveFax() and SendFax()
> will automatically detect whether it's possible to do fax as T.38, or
> it will instead do audio fax over your voip codec of choice.

Thank you very much for your help, I'll give 1.6 a try!

Cheers,
Florian

-- 
DI Florian Hackenberger
flor...@hackenberger.at
www.hackenberger.at

___
-- 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] T38modem in loopback mode does not work on asterisk 1.4.20.1

2009-04-15 Thread Atis Lezdins
On Tue, Apr 14, 2009 at 4:52 PM, Florian Hackenberger
 wrote:
> On Tuesday 14 April 2009, Michael wrote:
>> > asterisk-1.6 with app_fax built-in
>> > Try 1.6. You'll be glad you did.
>> While I have not tried Asterisk 1.6 because I settled on Callweaver
>> at the time (which has native T38 support), I *strongly* recommend
>> going with software that has native T38 support.
>>
>> This could be Asterisk 1.6 or Callweaver.
>>
>> So +1 for the above.
>
> Thank you all for your comments. I'm unfortunately stuck with asterisk
> 1.4, because it took a considerable amount of time to patch it to be
> stable (and feature complete) enough for my requirements. Integrating
> Callweaver might be an option, however I would loose the advantage of
> easily controlling the fax call before handing it off to hylafax.
> With asterisk 1.6, is it possible to use hylafax, or would asterisk
> terminate the fax calls itself?
>
> Are there any success stories with t38modem, asterisk and hylafax?
>

I tried T38modem, it works nicely in local setups, but I never got it
working with our SIP provider.

As for "stable" Asterisk 1.4, we also do have it, but there's
CallWeaver on the same machine sending all fax calls to Asterisk 1.4
in T.38 passthrough (for unified billing and logging).

Hylafax has one big advantage - many desktop clients that allow easy
fax sending. It can be configured to execute custom scripts that grab
generated .tiff files and feed them to CallWeaver. Just search list
archives, I've writen detailed descriptions of this mechanism.

Regards,
Atis


-- 
Atis Lezdins,
VoIP Project Manager / Developer,
IQ Labs Inc,
a...@iq-labs.net
Skype: atis.lezdins
Cell Phone: +371 28806004
Cell Phone: +1 800 7300689
Work phone: +1 800 7502835

___
-- 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] T38modem in loopback mode does not work on asterisk 1.4.20.1

2009-04-15 Thread David Backeberg
On Wed, Apr 15, 2009 at 3:29 AM, Florian Hackenberger
 wrote:
> Thanks for the explanation! Sounds all good. There is one remaining
> question however. As you mentioned T.30, is app_fax capable of
> terminating T.38?

Yes although I'm speaking about 1.6. I can't say for certain what is
required on 1.4. You need to set up SIP to listen for T.38

in sip.conf:
[general]
t38pt_udptl = yes

in your dialplan
ReceiveFax() and SendFax()
will automatically detect whether it's possible to do fax as T.38, or
it will instead do audio fax over your voip codec of choice. Ideally
G.711. Your VoIP gateway should certainly be capable of acting as a
T.38 gateway, at least mine does.

___
-- 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] T38modem in loopback mode does not work on asterisk 1.4.20.1

2009-04-15 Thread Ian
Sorry for the stupid question, but I think I'm not understanding 
something. Why can't you use Fax for Asterisk with res_fax and 
res_fax_digium?

Florian Hackenberger a écrit :
> Thanks for the explanation! Sounds all good. There is one remaining 
> question however. As you mentioned T.30, is app_fax capable of 
> terminating T.38? Because that's what our Voip Gateway to the ISDN 
> world spits at me :-) Passing the fax over a standard voice stream and 
> decoding it within asterisk would introduce another potential source of 
> problems, I suppose.
>
> Cheers,
>   Florian
>
>   

___
-- 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] T38modem in loopback mode does not work on asterisk 1.4.20.1

2009-04-15 Thread Florian Hackenberger
On Tuesday 14 April 2009, David Backeberg wrote:
> With app_fax integrated into asterisk-1.6, you have an 'infinite'
> modem pool that you control through the dial-plan. Using dialplan
> variables you provide a filename to save the fax to, and you can use
> other dialplan directives to describe what you want to do with the
> file once you have it. One call gets one 'modem' that is dynamically
> allocated, then destroyed when the call completes. This dialplan
> auto-scales to the load capacity of your system / circuits.

Thanks for the explanation! Sounds all good. There is one remaining 
question however. As you mentioned T.30, is app_fax capable of 
terminating T.38? Because that's what our Voip Gateway to the ISDN 
world spits at me :-) Passing the fax over a standard voice stream and 
decoding it within asterisk would introduce another potential source of 
problems, I suppose.

Cheers,
Florian

-- 
DI Florian Hackenberger
flor...@hackenberger.at
www.hackenberger.at

___
-- 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] T38modem in loopback mode does not work on asterisk 1.4.20.1

2009-04-14 Thread Steve Underwood
David Backeberg wrote:
> What I was specifically getting at in the context of that response was
> a comparison of dynamic modem pool versus fixed-size modem pool. When
> faced with the choice between a fixed-size modem pool or one that
> would grow or shrink dynamically with demand, I think the dynamic is a
> better choice. That is my opinion, based on my particular style of
> usage, and I am certainly grateful for the existence of Hylafax.
> [..]
>   
The dynamic modem pool approach is nice in a number of ways, but has a 
key downside - there isn't an effect constraint on the upper bound of 
concurrent instances. You can keep starting them until you drag the 
machine to its knees. The same is true for other apps, of course, and 
any meaningful constraint would need to be based on the aggregate load 
they produce.

On the upside, at least one fast modern machine have been seen steadily 
running 500 instances. :-)

Steve


___
-- 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] T38modem in loopback mode does not work on asterisk 1.4.20.1

2009-04-14 Thread Lee Howard
Steve Underwood wrote:
> Lee Howard wrote:
>   
>> David Backeberg wrote:
>>   
>> 
>>> It may be possible to use hylafax, but
>>> I don't know how or why you would.
>>> 
>>>   
>> The reason *why* is generally due to support issues.
>>
>> For one, HylaFAX probably has a better T.30 implementation in its Class 
>> 1 driver than does app_fax.  At least that historically has been true.  
>> I welcome the day when all fax applications perform as well as HylaFAX 
>> has since its 4.2.x days.
>>   
>> 
> It used to be true, but I suspect there is little in it when you use 
> spandsp-0.0.6pre7 or later. :-)

That's wonderful news.  :-)

Thanks,

Lee.


___
-- 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] T38modem in loopback mode does not work on asterisk 1.4.20.1

2009-04-14 Thread Steve Underwood
Lee Howard wrote:
> David Backeberg wrote:
>   
>> It may be possible to use hylafax, but
>> I don't know how or why you would.
>> 
>
> The reason *why* is generally due to support issues.
>
> For one, HylaFAX probably has a better T.30 implementation in its Class 
> 1 driver than does app_fax.  At least that historically has been true.  
> I welcome the day when all fax applications perform as well as HylaFAX 
> has since its 4.2.x days.
>   
It used to be true, but I suspect there is little in it when you use 
spandsp-0.0.6pre7 or later. :-)

Steve


___
-- 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] T38modem in loopback mode does not work on asterisk 1.4.20.1

2009-04-14 Thread David Backeberg
On Tue, Apr 14, 2009 at 10:46 AM, Lee Howard  wrote:
> David Backeberg wrote:
>> It may be possible to use hylafax, but
>> I don't know how or why you would.
>
> The reason *why* is generally due to support issues.

What I was specifically getting at in the context of that response was
a comparison of dynamic modem pool versus fixed-size modem pool. When
faced with the choice between a fixed-size modem pool or one that
would grow or shrink dynamically with demand, I think the dynamic is a
better choice. That is my opinion, based on my particular style of
usage, and I am certainly grateful for the existence of Hylafax.

The other thing I was getting at was complexity of a multi-layer
software stack in loopback mode when it comes to trying to figure out
where the problem could be. One of my suggestions was to separate the
sender and receiver to separate machines, and my other suggestion was
to reduce the layers of software involved. As you know from having
written Hylafax, it's designed for hardware modems and does things
like letting you take your fax device online/offline, as well as
taking it down for five seconds post-fax to do a reset on the line.
These things are all documented, they all have debugging tools, and
ways to view modem state. But for a beginning person trying to set up
a fax for the first time I feel like it adds complexity to what can
already be a complex task. Thus I suggested trying without.

As I've been debugging faxes it seems more and more like fax failures
are due to poorly-thought-through enterprise voip implementations, or
intermittent line noise, or poor implementations of fax protocols in
proprietary fax machine hardware. I think the Hylafax versus app_fax
thing is really six of one versus a half-dozen of the other, but both
are useful data points in debugging a failing fax configuration.

___
-- 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] T38modem in loopback mode does not work on asterisk 1.4.20.1

2009-04-14 Thread Lee Howard
David Backeberg wrote:
> It may be possible to use hylafax, but
> I don't know how or why you would.

The reason *why* is generally due to support issues.

For one, HylaFAX probably has a better T.30 implementation in its Class 
1 driver than does app_fax.  At least that historically has been true.  
I welcome the day when all fax applications perform as well as HylaFAX 
has since its 4.2.x days.

Thanks,

Lee.

___
-- 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] T38modem in loopback mode does not work on asterisk 1.4.20.1

2009-04-14 Thread David Backeberg
On Tue, Apr 14, 2009 at 9:52 AM, Florian Hackenberger
 wrote:
> With asterisk 1.6, is it possible to use hylafax, or would asterisk
> terminate the fax calls itself?

With app_fax integrated into asterisk-1.6, you have an 'infinite'
modem pool that you control through the dial-plan. Using dialplan
variables you provide a filename to save the fax to, and you can use
other dialplan directives to describe what you want to do with the
file once you have it. One call gets one 'modem' that is dynamically
allocated, then destroyed when the call completes. This dialplan
auto-scales to the load capacity of your system / circuits.

With app_fax there's no need to pre-allocate and control the 'modem'
with another piece of software. It may be possible to use hylafax, but
I don't know how or why you would. I thought the whole point of
hylafax is to control a "modem", and Hylafax would tie you to a
specific number of modems you would have to leave idling. My hunch is
you can't do this with app_fax and 1.6, and would instead have to use
one of those plug-ins you used to have to use with 1.4. Unless of
course I'm misunderstanding something fundamental to hylafax.

___
-- 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] T38modem in loopback mode does not work on asterisk 1.4.20.1

2009-04-14 Thread Florian Hackenberger
On Tuesday 14 April 2009, Michael wrote:
> > asterisk-1.6 with app_fax built-in
> > Try 1.6. You'll be glad you did.
> While I have not tried Asterisk 1.6 because I settled on Callweaver
> at the time (which has native T38 support), I *strongly* recommend
> going with software that has native T38 support.
>
> This could be Asterisk 1.6 or Callweaver.
>
> So +1 for the above.

Thank you all for your comments. I'm unfortunately stuck with asterisk 
1.4, because it took a considerable amount of time to patch it to be 
stable (and feature complete) enough for my requirements. Integrating 
Callweaver might be an option, however I would loose the advantage of 
easily controlling the fax call before handing it off to hylafax.
With asterisk 1.6, is it possible to use hylafax, or would asterisk 
terminate the fax calls itself?

Are there any success stories with t38modem, asterisk and hylafax?

Cheers,
Florian

-- 
DI Florian Hackenberger
flor...@hackenberger.at
www.hackenberger.at

___
-- 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] T38modem in loopback mode does not work on asterisk 1.4.20.1

2009-04-14 Thread Michael
On Wed, 15 Apr 2009 00:43:45 you wrote:

> Now for the part I do know something about. Native asterisk fax
> support and native asterisk sip support improved in 1.6. With 1.6
> there is a built-in app_fax module which works quite well for sending
> fax over SIP with T.38. I found the configuration and debugging
> simpler and more understandable. I never really knew why my
> asterisk-1.4 faxing experiments went so badly, and I had no reason to
> go find out once my asterisk-1.6 faxing worked so well.
>
> I will say as an opinion:
> Openh323 + ptlib_unix + t38modem + hylafax + asterisk-1.4
>
> sounds like a lot harder to troubleshoot than:

It's hell (from experience)

> asterisk-1.6 with app_fax built-in
>
> Try 1.6. You'll be glad you did.

While I have not tried Asterisk 1.6 because I settled on Callweaver at the 
time (which has native T38 support), I *strongly* recommend going with 
software that has native T38 support.

This could be Asterisk 1.6 or Callweaver.

So +1 for the above.

___
-- 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] T38modem in loopback mode does not work on asterisk 1.4.20.1

2009-04-14 Thread David Backeberg
On Tue, Apr 14, 2009 at 7:11 AM, Michael  wrote:
> On Tue, 14 Apr 2009 23:00:02 Florian Hackenberger wrote:
>
>> Can somone spot the problem? Is someone using t38modem with asterisk
>> successfully?
> The best advice I can offer is to give up now and use Callweaver otherwise you
> can spend hours, or days, with no working result.

I'll be a little more constructive than that. I've never done it the
way you're trying to do it, and don't know whether it will work. I
will say that I dis-recommend trying to test faxing, or even SIP in
loopback mode. My experience is that debugging is more fruitful when
you have two systems you can control, and this applies specifically to
faxing where you want to be able to watch the sender and receiver
separately. If you can disentangle the logs in real-time, more power
to you. Fire up a virt if you don't have a second machine you can
control.

Now for the part I do know something about. Native asterisk fax
support and native asterisk sip support improved in 1.6. With 1.6
there is a built-in app_fax module which works quite well for sending
fax over SIP with T.38. I found the configuration and debugging
simpler and more understandable. I never really knew why my
asterisk-1.4 faxing experiments went so badly, and I had no reason to
go find out once my asterisk-1.6 faxing worked so well.

I will say as an opinion:
Openh323 + ptlib_unix + t38modem + hylafax + asterisk-1.4

sounds like a lot harder to troubleshoot than:
asterisk-1.6 with app_fax built-in

Try 1.6. You'll be glad you did.

___
-- 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] T38modem in loopback mode does not work on asterisk 1.4.20.1

2009-04-14 Thread Michael
On Tue, 14 Apr 2009 23:00:02 Florian Hackenberger wrote:

> Can somone spot the problem? Is someone using t38modem with asterisk
> successfully?
>
> Cheers,
>   Florian

The best advice I can offer is to give up now and use Callweaver otherwise you 
can spend hours, or days, with no working result.

Fax support is Asterisk 1.2/1.4 is effectively non existant and nobody on this 
list or Hylafax list is interested.

Michael

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