I’m testing our new PRI with inbound faxes, but I’m having a problem. It seems as though asterisk detects the fax and wants to direct the fax to the correct place, but it never gets around to it.
Here is the dialplan snippet:
[code][incoming-ld]
exten => 8665789740,1,Answer()
exten => 8665789740,2,Set(TIMEOUT(response)=10)
exten => 8665789740,3,Background(edps-holiday)
exten => fax,1,Goto(internal-extensions,900,1)
[internal-extensions]
exten => 900,1,Dial(IAX2/iaxmodem7,10,r)
exten => 900,2,Goto(901,1)
exten => 900,102,Goto(901,1)
exten => 901,1,Dial(IAX2/iaxmodem6,10,r)
exten => 901,2,Goto(900,1)
exten => 901,102,Goto(900,1)
[/code]
When I call in, this is what I see:
Accepting call from '3306028368' to '8665789740' on channel 0/1, span 2
-- Executing Answer("Zap/5-1", "") in new stack
-- Executing Set("Zap/5-1", "TIMEOUT(response)=10") in new stack
-- Response timeout set to 10
-- Executing BackGround("Zap/5-1", "edps-holiday") in new stack
-- Redirecting Zap/5-1 to fax extension
May 3 17:49:02 WARNING[326]: pbx.c:2412 __ast_pbx_run: Timeout, but no rule 't' in context 'incoming-ld'
-- Hungup 'Zap/5-1'
The key line being “Redirecting Zap/5-1 to fax extension”, but nothing happens.
Any ideas?
If I just have the line dial the fax extension directly, it works perfectly.