Re: [asterisk-users] working example of t38 fax w/ 1.6.2?

2010-05-08 Thread sean darcy
Ilmars Knipšis wrote:
> Hello!
> 
> I use similar setup.
> Probably you need Answer() in receiving end. And wait(3) before 
> receiving fax.
> T.38 works fine with 1.6.2.
> 
> Ilmars.
> 
> On 2010.05.05. 0:17, sean darcy wrote:
>> On 5/4/2010 7:32 AM, Miguel Amez wrote:
>>
>>> App_fax? I didn't hear about that. What's that?
>>> Could you please explain that a little bit better?
>>> I'm experiencing some troubles with T38modem and would like to solve on
>>> the better way.
>>>
>>> regards,
>>>
>>> Miguel Amez
>>>
>>> 2010/5/4 sean darcymailto:seandar...@gmail.com>>
>>>
>>>  Miguel Amez wrote:
>>>   >  Hi Sean,
>>>   >
>>>   >  Do you know about t38modem and hylafax?
>>>   >  There are lots of wonderfull options with both of them.
>>>   >
>>>   >  If you need config files with both of them tell me.
>>>   >
>>>   >  See ya
>>>   >
>>>   >  2010/5/2 sean darcy>>    >>  >>
>>>   >
>>>   >  I can't get a test T.38 fax between 2 1.6.2 machines, using app
>>>   >  _fax and spandsp pre17 and 20100501. The machines can't seem
>>>  to get
>>>   >  connected.
>>>   >
>>>   >  send side extensions.conf:
>>>   >
>>>   >   [fax-tx-test]
>>>   >  exten=>s,1,NoOp(Context fax-tx-test)
>>>   >  exten=>s,n,SendFAX(${FaxFile}.tif)
>>>   >  exten=>s,n,HangUp()
>>>   >  exten=>h,1,NoOp(FAXSTATUS: ${FAXSTATUS} FAXERROR: ${FAXERROR}
>>>  FAXMODE:
>>>   >  ${FAXMODE})
>>>   >
>>>   >  Channel:SIP/side-sip-fax
>>>   >  Context:fax-tx-test
>>>   >  Extension:s
>>>   >  Priority:1
>>>   >  Set:FaxFile=/var/spool/asterisk/fax/20091113_1455
>>>   >
>>>   >  receive side:
>>>   >
>>>   >  [incoming-fax]
>>>   >  exten =>
>>>   >
>>>  
>>> s,1,Set(FAXFILE=/var/spool/asterisk/fax/${STRFTIME(${EPOCH},,%Y%m%d)}_${STRFTIME(${EPOCH},,%H%M)})
>>>   >  exten =>  s,n,ReceiveFAX(${FAXFILE}.tif)
>>>   >  exten =>  s,n,Hangup()
>>>   >
>>>   >  There's a bunch more stuff at
>>>   >  https://issues.asterisk.org/view.php?id=17105
>>>   >
>>>   >  But does anyone have a setup that Just Works? I'd love to
>>>  find a setup
>>>   >  that works for someone else and just copy it.
>>>   >
>>>   >  Thanks,
>>>   >
>>>   >  sean
>>>   >
>>>
>>>  Yes, I am familiar with Hylafax. But I'm trying to Keep It Simple, and
>>>  just use app_fax. Is it working for anyone? Does anybody have a simple
>>>  working example?
>>>
>>>  sean
>>>
>>>  
>> It's the fax module built into 1.6.2.
>>
>> sean
>>

Thanks but Answer() didn't help:

 -- Executing [...@incoming-fax:1] Set("SIP/side-sip-fax-0002", 
"FAXFILE=/var/spool/asterisk/fax/20100508_1027") in new stack
 -- Executing [...@incoming-fax:2] Answer("SIP/side-sip-fax-0002", 
"") in new stack
 -- Executing [...@incoming-fax:3] 
ReceiveFAX("SIP/side-sip-fax-0002", 
"/var/spool/asterisk/fax/20100508_1027.tif") in new stack
[May  8 10:28:06] WARNING[5323]: app_fax.c:223 phase_e_handler: Error 
transmitting fax. result=48: Disconnected after permitted retries.
[May  8 10:28:06] WARNING[5323]: app_fax.c:820 transmit: Transmission failed

If you could, I'd appreciate your sharing your working setup so I can 
just duplicate it.

sean


-- 
_
-- 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] working example of t38 fax w/ 1.6.2?

2010-05-05 Thread Ilmars Knipšis
Hello!

I use similar setup.
Probably you need Answer() in receiving end. And wait(3) before 
receiving fax.
T.38 works fine with 1.6.2.

Ilmars.

On 2010.05.05. 0:17, sean darcy wrote:
> On 5/4/2010 7:32 AM, Miguel Amez wrote:
>
>> App_fax? I didn't hear about that. What's that?
>> Could you please explain that a little bit better?
>> I'm experiencing some troubles with T38modem and would like to solve on
>> the better way.
>>
>> regards,
>>
>> Miguel Amez
>>
>> 2010/5/4 sean darcymailto:seandar...@gmail.com>>
>>
>>  Miguel Amez wrote:
>>   >  Hi Sean,
>>   >
>>   >  Do you know about t38modem and hylafax?
>>   >  There are lots of wonderfull options with both of them.
>>   >
>>   >  If you need config files with both of them tell me.
>>   >
>>   >  See ya
>>   >
>>   >  2010/5/2 sean darcy>    >  >>
>>   >
>>   >  I can't get a test T.38 fax between 2 1.6.2 machines, using app
>>   >  _fax and spandsp pre17 and 20100501. The machines can't seem
>>  to get
>>   >  connected.
>>   >
>>   >  send side extensions.conf:
>>   >
>>   >   [fax-tx-test]
>>   >  exten=>s,1,NoOp(Context fax-tx-test)
>>   >  exten=>s,n,SendFAX(${FaxFile}.tif)
>>   >  exten=>s,n,HangUp()
>>   >  exten=>h,1,NoOp(FAXSTATUS: ${FAXSTATUS} FAXERROR: ${FAXERROR}
>>  FAXMODE:
>>   >  ${FAXMODE})
>>   >
>>   >  Channel:SIP/side-sip-fax
>>   >  Context:fax-tx-test
>>   >  Extension:s
>>   >  Priority:1
>>   >  Set:FaxFile=/var/spool/asterisk/fax/20091113_1455
>>   >
>>   >  receive side:
>>   >
>>   >  [incoming-fax]
>>   >  exten =>
>>   >
>>  
>> s,1,Set(FAXFILE=/var/spool/asterisk/fax/${STRFTIME(${EPOCH},,%Y%m%d)}_${STRFTIME(${EPOCH},,%H%M)})
>>   >  exten =>  s,n,ReceiveFAX(${FAXFILE}.tif)
>>   >  exten =>  s,n,Hangup()
>>   >
>>   >  There's a bunch more stuff at
>>   >  https://issues.asterisk.org/view.php?id=17105
>>   >
>>   >  But does anyone have a setup that Just Works? I'd love to
>>  find a setup
>>   >  that works for someone else and just copy it.
>>   >
>>   >  Thanks,
>>   >
>>   >  sean
>>   >
>>
>>  Yes, I am familiar with Hylafax. But I'm trying to Keep It Simple, and
>>  just use app_fax. Is it working for anyone? Does anybody have a simple
>>  working example?
>>
>>  sean
>>
>>  
> It's the fax module built into 1.6.2.
>
> sean
>
>
>
>


-- 
_
-- 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] working example of t38 fax w/ 1.6.2?

2010-05-05 Thread Olivier
2010/5/4 sean darcy 

> On 5/4/2010 7:32 AM, Miguel Amez wrote:
> > App_fax? I didn't hear about that. What's that?
> > Could you please explain that a little bit better?
> > I'm experiencing some troubles with T38modem and would like to solve on
> > the better way.
> >
> > regards,
> >
> > Miguel Amez
> >
> > 2010/5/4 sean darcy mailto:seandar...@gmail.com>>
> >
> > Miguel Amez wrote:
> >  > Hi Sean,
> >  >
> >  > Do you know about t38modem and hylafax?
> >  > There are lots of wonderfull options with both of them.
> >  >
> >  > If you need config files with both of them tell me.
> >  >
> >  > See ya
> >  >
> >  > 2010/5/2 sean darcy  >   > >>
> >  >
> >  > I can't get a test T.38 fax between 2 1.6.2 machines, using
> app
> >  > _fax and spandsp pre17 and 20100501. The machines can't seem
> > to get
> >  > connected.
> >  >
> >  > send side extensions.conf:
> >  >
> >  >  [fax-tx-test]
> >  > exten=>s,1,NoOp(Context fax-tx-test)
> >  > exten=>s,n,SendFAX(${FaxFile}.tif)
> >  > exten=>s,n,HangUp()
> >  > exten=>h,1,NoOp(FAXSTATUS: ${FAXSTATUS} FAXERROR: ${FAXERROR}
> > FAXMODE:
> >  > ${FAXMODE})
> >  >
> >  > Channel:SIP/side-sip-fax
> >  > Context:fax-tx-test
> >  > Extension:s
> >  > Priority:1
> >  > Set:FaxFile=/var/spool/asterisk/fax/20091113_1455
> >  >
> >  > receive side:
> >  >
> >  > [incoming-fax]
> >  > exten =>
> >  >
> >
> s,1,Set(FAXFILE=/var/spool/asterisk/fax/${STRFTIME(${EPOCH},,%Y%m%d)}_${STRFTIME(${EPOCH},,%H%M)})
> >  > exten => s,n,ReceiveFAX(${FAXFILE}.tif)
> >  > exten => s,n,Hangup()
> >  >
> >  > There's a bunch more stuff at
> >  > https://issues.asterisk.org/view.php?id=17105
> >  >
> >  > But does anyone have a setup that Just Works? I'd love to
> > find a setup
> >  > that works for someone else and just copy it.
> >  >
> >  > Thanks,
> >  >
> >  > sean
> >  >
> >
> > Yes, I am familiar with Hylafax. But I'm trying to Keep It Simple,
> and
> > just use app_fax. Is it working for anyone? Does anybody have a
> simple
> > working example?
> >
> > sean
> >
>
> It's the fax module built into 1.6.2.
>

This module doesn't support T.38 (if 'm not mistaken).



> sean
>
>
>
> --
> _
> -- 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] working example of t38 fax w/ 1.6.2?

2010-05-04 Thread sean darcy
On 5/4/2010 7:32 AM, Miguel Amez wrote:
> App_fax? I didn't hear about that. What's that?
> Could you please explain that a little bit better?
> I'm experiencing some troubles with T38modem and would like to solve on
> the better way.
>
> regards,
>
> Miguel Amez
>
> 2010/5/4 sean darcy mailto:seandar...@gmail.com>>
>
> Miguel Amez wrote:
>  > Hi Sean,
>  >
>  > Do you know about t38modem and hylafax?
>  > There are lots of wonderfull options with both of them.
>  >
>  > If you need config files with both of them tell me.
>  >
>  > See ya
>  >
>  > 2010/5/2 sean darcy    >>
>  >
>  > I can't get a test T.38 fax between 2 1.6.2 machines, using app
>  > _fax and spandsp pre17 and 20100501. The machines can't seem
> to get
>  > connected.
>  >
>  > send side extensions.conf:
>  >
>  >  [fax-tx-test]
>  > exten=>s,1,NoOp(Context fax-tx-test)
>  > exten=>s,n,SendFAX(${FaxFile}.tif)
>  > exten=>s,n,HangUp()
>  > exten=>h,1,NoOp(FAXSTATUS: ${FAXSTATUS} FAXERROR: ${FAXERROR}
> FAXMODE:
>  > ${FAXMODE})
>  >
>  > Channel:SIP/side-sip-fax
>  > Context:fax-tx-test
>  > Extension:s
>  > Priority:1
>  > Set:FaxFile=/var/spool/asterisk/fax/20091113_1455
>  >
>  > receive side:
>  >
>  > [incoming-fax]
>  > exten =>
>  >
> 
> s,1,Set(FAXFILE=/var/spool/asterisk/fax/${STRFTIME(${EPOCH},,%Y%m%d)}_${STRFTIME(${EPOCH},,%H%M)})
>  > exten => s,n,ReceiveFAX(${FAXFILE}.tif)
>  > exten => s,n,Hangup()
>  >
>  > There's a bunch more stuff at
>  > https://issues.asterisk.org/view.php?id=17105
>  >
>  > But does anyone have a setup that Just Works? I'd love to
> find a setup
>  > that works for someone else and just copy it.
>  >
>  > Thanks,
>  >
>  > sean
>  >
>
> Yes, I am familiar with Hylafax. But I'm trying to Keep It Simple, and
> just use app_fax. Is it working for anyone? Does anybody have a simple
> working example?
>
> sean
>

It's the fax module built into 1.6.2.

sean



-- 
_
-- 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] working example of t38 fax w/ 1.6.2?

2010-05-04 Thread Miguel Amez
App_fax? I didn't hear about that. What's that?
Could you please explain that a little bit better?
I'm experiencing some troubles with T38modem and would like to solve on the
better way.

regards,

Miguel Amez

2010/5/4 sean darcy 

> Miguel Amez wrote:
> > Hi Sean,
> >
> > Do you know about t38modem and hylafax?
> > There are lots of wonderfull options with both of them.
> >
> > If you need config files with both of them tell me.
> >
> > See ya
> >
> > 2010/5/2 sean darcy mailto:seandar...@gmail.com>>
> >
> > I can't get a test T.38 fax between 2 1.6.2 machines, using app
> > _fax and spandsp pre17 and 20100501. The machines can't seem to get
> > connected.
> >
> > send side extensions.conf:
> >
> >  [fax-tx-test]
> > exten=>s,1,NoOp(Context fax-tx-test)
> > exten=>s,n,SendFAX(${FaxFile}.tif)
> > exten=>s,n,HangUp()
> > exten=>h,1,NoOp(FAXSTATUS: ${FAXSTATUS} FAXERROR: ${FAXERROR}
> FAXMODE:
> > ${FAXMODE})
> >
> > Channel:SIP/side-sip-fax
> > Context:fax-tx-test
> > Extension:s
> > Priority:1
> > Set:FaxFile=/var/spool/asterisk/fax/20091113_1455
> >
> > receive side:
> >
> > [incoming-fax]
> > exten =>
> >
> s,1,Set(FAXFILE=/var/spool/asterisk/fax/${STRFTIME(${EPOCH},,%Y%m%d)}_${STRFTIME(${EPOCH},,%H%M)})
> > exten => s,n,ReceiveFAX(${FAXFILE}.tif)
> > exten => s,n,Hangup()
> >
> > There's a bunch more stuff at
> > https://issues.asterisk.org/view.php?id=17105
> >
> > But does anyone have a setup that Just Works? I'd love to find a
> setup
> > that works for someone else and just copy it.
> >
> > Thanks,
> >
> > sean
> >
>
> Yes, I am familiar with Hylafax. But I'm trying to Keep It Simple, and
> just use app_fax. Is it working for anyone? Does anybody have a simple
> working example?
>
> sean
>
>
> --
> _
> -- 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] working example of t38 fax w/ 1.6.2?

2010-05-03 Thread sean darcy
Miguel Amez wrote:
> Hi Sean,
> 
> Do you know about t38modem and hylafax?
> There are lots of wonderfull options with both of them.
> 
> If you need config files with both of them tell me.
> 
> See ya
> 
> 2010/5/2 sean darcy mailto:seandar...@gmail.com>>
> 
> I can't get a test T.38 fax between 2 1.6.2 machines, using app
> _fax and spandsp pre17 and 20100501. The machines can't seem to get
> connected.
> 
> send side extensions.conf:
> 
>  [fax-tx-test]
> exten=>s,1,NoOp(Context fax-tx-test)
> exten=>s,n,SendFAX(${FaxFile}.tif)
> exten=>s,n,HangUp()
> exten=>h,1,NoOp(FAXSTATUS: ${FAXSTATUS} FAXERROR: ${FAXERROR} FAXMODE:
> ${FAXMODE})
> 
> Channel:SIP/side-sip-fax
> Context:fax-tx-test
> Extension:s
> Priority:1
> Set:FaxFile=/var/spool/asterisk/fax/20091113_1455
> 
> receive side:
> 
> [incoming-fax]
> exten =>
> 
> s,1,Set(FAXFILE=/var/spool/asterisk/fax/${STRFTIME(${EPOCH},,%Y%m%d)}_${STRFTIME(${EPOCH},,%H%M)})
> exten => s,n,ReceiveFAX(${FAXFILE}.tif)
> exten => s,n,Hangup()
> 
> There's a bunch more stuff at
> https://issues.asterisk.org/view.php?id=17105
> 
> But does anyone have a setup that Just Works? I'd love to find a setup
> that works for someone else and just copy it.
> 
> Thanks,
> 
> sean
> 

Yes, I am familiar with Hylafax. But I'm trying to Keep It Simple, and 
just use app_fax. Is it working for anyone? Does anybody have a simple 
working example?

sean


-- 
_
-- 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] working example of t38 fax w/ 1.6.2?

2010-05-02 Thread Miguel Amez
Hi Sean,

Do you know about t38modem and hylafax?
There are lots of wonderfull options with both of them.

If you need config files with both of them tell me.

See ya

2010/5/2 sean darcy 

> I can't get a test T.38 fax between 2 1.6.2 machines, using app
> _fax and spandsp pre17 and 20100501. The machines can't seem to get
> connected.
>
> send side extensions.conf:
>
>  [fax-tx-test]
> exten=>s,1,NoOp(Context fax-tx-test)
> exten=>s,n,SendFAX(${FaxFile}.tif)
> exten=>s,n,HangUp()
> exten=>h,1,NoOp(FAXSTATUS: ${FAXSTATUS} FAXERROR: ${FAXERROR} FAXMODE:
> ${FAXMODE})
>
> Channel:SIP/side-sip-fax
> Context:fax-tx-test
> Extension:s
> Priority:1
> Set:FaxFile=/var/spool/asterisk/fax/20091113_1455
>
> receive side:
>
> [incoming-fax]
> exten =>
>
> s,1,Set(FAXFILE=/var/spool/asterisk/fax/${STRFTIME(${EPOCH},,%Y%m%d)}_${STRFTIME(${EPOCH},,%H%M)})
> exten => s,n,ReceiveFAX(${FAXFILE}.tif)
> exten => s,n,Hangup()
>
> There's a bunch more stuff at
> https://issues.asterisk.org/view.php?id=17105
>
> But does anyone have a setup that Just Works? I'd love to find a setup
> that works for someone else and just copy it.
>
> Thanks,
>
> sean
>
>
> --
> _
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>   http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

[asterisk-users] working example of t38 fax w/ 1.6.2?

2010-05-02 Thread sean darcy
I can't get a test T.38 fax between 2 1.6.2 machines, using app
_fax and spandsp pre17 and 20100501. The machines can't seem to get 
connected.

send side extensions.conf:

  [fax-tx-test]
exten=>s,1,NoOp(Context fax-tx-test)
exten=>s,n,SendFAX(${FaxFile}.tif)
exten=>s,n,HangUp()
exten=>h,1,NoOp(FAXSTATUS: ${FAXSTATUS} FAXERROR: ${FAXERROR} FAXMODE: 
${FAXMODE})

Channel:SIP/side-sip-fax
Context:fax-tx-test
Extension:s
Priority:1
Set:FaxFile=/var/spool/asterisk/fax/20091113_1455

receive side:

[incoming-fax]
exten => 
s,1,Set(FAXFILE=/var/spool/asterisk/fax/${STRFTIME(${EPOCH},,%Y%m%d)}_${STRFTIME(${EPOCH},,%H%M)})
exten => s,n,ReceiveFAX(${FAXFILE}.tif)
exten => s,n,Hangup()

There's a bunch more stuff at https://issues.asterisk.org/view.php?id=17105

But does anyone have a setup that Just Works? I'd love to find a setup 
that works for someone else and just copy it.

Thanks,

sean


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