Re: [asterisk-users] 1.6.0.5: I need a really simple analog SendFax dialplan

2009-09-24 Thread Martin
just forget about the dial(a,G()) approach ... you already posted that it doesn't work ... either call sendfax on the 1st step to send fax to the channel that called in to asterisk or use that call to trigger sending a fax with originate/system Martin On Wed, Sep 23, 2009 at 7:45 PM, sean darcy

Re: [asterisk-users] 1.6.0.5: I need a really simple analog SendFax dialplan

2009-09-24 Thread Martin
if you're trying to send the same fax to both parties, then do exten = s,1,System() exten = s,2,Sendfax() step1 will spool the call to dial a number and send a fax step2 will transmit the fax to the incoming call Martin On Wed, Sep 23, 2009 at 7:45 PM, sean darcy seandar...@gmail.com wrote:

Re: [asterisk-users] 1.6.0.5: I need a really simple analog SendFax dialplan

2009-09-24 Thread sean darcy
Martin wrote: if you're trying to send the same fax to both parties, then do exten = s,1,System() exten = s,2,Sendfax() step1 will spool the call to dial a number and send a fax step2 will transmit the fax to the incoming call Martin On Wed, Sep 23, 2009 at 7:45 PM, sean darcy

Re: [asterisk-users] 1.6.0.5: I need a really simple analog SendFax dialplan

2009-09-24 Thread sean darcy
sean darcy wrote: Martin wrote: if you're trying to send the same fax to both parties, then do exten = s,1,System() exten = s,2,Sendfax() step1 will spool the call to dial a number and send a fax step2 will transmit the fax to the incoming call Martin On Wed, Sep 23, 2009 at 7:45 PM,

Re: [asterisk-users] 1.6.0.5: I need a really simple analog SendFax dialplan

2009-09-23 Thread sean darcy
Martin wrote: from RTFM G(context^exten^pri) - If the call is answered, transfer the calling party to the specified priority and the called party to the specified priority+1. Optionally, an extension, or extension and context may be specified. Otherwise,

Re: [asterisk-users] 1.6.0.5: I need a really simple analog SendFax dialplan

2009-09-23 Thread Anthony Messina
On Wednesday 23 September 2009 01:44:31 sean darcy wrote: Does anyone use SendFax for analog faxing? Yes. I have two contexts as follows: [outbound] exten = _X.,1,Dial(DAHDI/G2/${EXTEN}) [sendfax] exten = s,1,SendFAX(${FAXFILE}) exten = h,n,Hangup() When I want to send a fax, I initiate

Re: [asterisk-users] 1.6.0.5: I need a really simple analog SendFax dialplan

2009-09-23 Thread Martin
well maybe it doesn't work as it should ... anyways like the other poster said that's not the way you use it ... either call the sendfax app directly or use Originate / call file spooling... BTW there should be an Originate app executable from dialplan ... But since there's none you can do

Re: [asterisk-users] 1.6.0.5: I need a really simple analog SendFax dialplan

2009-09-23 Thread Jared Smith
On Wed, 2009-09-23 at 10:17 -0500, Martin wrote: BTW there should be an Originate app executable from dialplan ... But since there's none you can do There is an Originate application, but it's only available in newer versions of Asterisk. (I know I have it on the 1.6.2 branch, but I don't

Re: [asterisk-users] 1.6.0.5: I need a really simple analog SendFax dialplan

2009-09-23 Thread Martin
Well 1.6.2 is not yet released - it's rc2 now of course the app is somewhere ... since it's very easy to code ... actually it should have been added at the time when originate was added to CLI ... it's a pity someone who added cli originate did not think about writing a few more lines for

Re: [asterisk-users] 1.6.0.5: I need a really simple analog SendFax dialplan

2009-09-23 Thread sean darcy
Martin wrote: well maybe it doesn't work as it should ... anyways like the other poster said that's not the way you use it ... either call the sendfax app directly or use Originate / call file spooling... BTW there should be an Originate app executable from dialplan ... But since

[asterisk-users] 1.6.0.5: I need a really simple analog SendFax dialplan

2009-09-22 Thread sean darcy
Using Digium fax I've tried a simple dialplan: '8447' = 1. Answer() [pbx_config] 2. Set(CALLERID(num)=xxxyyy) [pbx_config] 3. Dial(DAHDI/g0/1bbbccc,,G(send))[pbx_config] [send]4.

Re: [asterisk-users] 1.6.0.5: I need a really simple analog SendFax dialplan

2009-09-22 Thread Martin
from RTFM G(context^exten^pri) - If the call is answered, transfer the calling party to the specified priority and the called party to the specified priority+1. Optionally, an extension, or extension and context may be specified. Otherwise, the current extension