Page 1 of 1

Dialplan not proceeding after ReceiveFax

PostPosted: Wed Jun 15, 2011 7:58 am
by mwhite41
Hi

I've got an extension in extensions.conf that looks like this:

exten => 123456,1,ReceiveFax(/tmp/filename.tiff)
exten => 123456,n,NoOp(Fax Received)
exten => 123456,n,System(/usr/local/bin/script.sh)

The only priority that executes appears to be ReceiveFax Log file includes --- Executing [123456@default:1] but it never gets to priorities 2 and 3.

At first I thought it was a "System" command problem, so I added the NoOp which doesn't get executed either.

Running 1.6.2.17. Any ideas if this is a bug, or....?

(Yes I am running dialplan reload after I change the extensions.conf, AND I can receive the fax in filename.tiff, so that's working OK). Is there an implied hangup or something in ReceiveFax() that means these subsequent priorities don't get executed?

Mark

Re: Dialplan not proceeding after ReceiveFax

PostPosted: Wed Jun 15, 2011 8:54 am
by malcolmd
Yes.

To execute additional dialplan logic after ReceiveFax has run, use the "h" extension.

Re: Dialplan not proceeding after ReceiveFax

PostPosted: Wed Jun 15, 2011 9:13 am
by mwhite41
Thanks malcolmd. Did that and it worked fine.

Best regards,

Mark