[asterisk-users] error receiving a fax ... but with a fax that was received without problems

Joshua Colp jcolp at digium.com
Sun Sep 21 08:17:43 CDT 2014

Bart Remmerie wrote:
> Dear Joshua,
> I don't think this is it:
> first, this has been working in the past

If the either side didn't hang up (or it took awhile for the hangup to 
be recognized) then the dialplan would continue.

> second, why would I get a message like the one below "exited non-zero"
> if everything is normal.

Because the message is there to inform you of what happened. It's not 
indicative of a problem in all cases.

> In the past, all following lines were executed just fine (converting the
> tif to a pdf and sending it a gmail mailbox)
> I'm not convinced that everything is dropped after the ReceiveFax line,
> especially since the "Spawn extension" message applies to the ReceiveFax
> line itself (as if something goes wrong there) => any hints on where/how
> I can get a more detailed logging of this ?
> * == *Spawn extension (LocalSets, 502, 5) exited non-zero on 'DAHDI/4-1'

This means that whatever was executing either encountered an error or 
the channel was hung up, which is when dialplan execution stops. This is 
normal as I previously mentioned.

Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org

More information about the asterisk-users mailing list