[Asterisk-Users] Fax detected, but no fax extension
Ronald Wiplinger
ronald at elmit.com
Wed Apr 20 02:26:05 MST 2005
-- Starting simple switch on 'Zap/3-1'
-- Executing NoOp("Zap/3-1", "9229443944-") in new stack
-- Executing Answer("Zap/3-1", "") in new stack
-- Executing Zapateller("Zap/3-1", "") in new stack
-- Executing BackGround("Zap/3-1", "custom/Welcome") in new stack
-- Playing 'custom/Welcome' (language 'default')
Apr 20 16:49:29 NOTICE[29109]: chan_zap.c:4300 zt_read: Fax detected,
but no fax extension
-- Executing BackGround("Zap/3-1", "if-u-know-ext-dial") in new stack
-- Playing 'if-u-know-ext-dial' (language 'default')
-- Executing Dial("Zap/3-1",
"SIP/601&SIP/621&ZAP/1r1&SIP/610|30|tr") in new stack
-- Called 601
Apr 20 16:49:43 NOTICE[29109]: app_dial.c:973 dial_exec_full: Unable to
create channel of type 'SIP' (cause 3)
-- Called 1r1
Apr 20 16:49:43 NOTICE[29109]: app_dial.c:973 dial_exec_full: Unable to
create channel of type 'SIP' (cause 3)
-- Zap/1-1 is ringing
-- SIP/601-49e2 is ringing
-- Zap/1-1 is ringing
-- Zap/1-1 is ringing
-- SIP/601-49e2 answered Zap/3-1
-- Hungup 'Zap/1-1'
I tried to use the exension 2201, but it did not work, so I have changed
it to "s", but it does not work either.
[fax]
exten => s,1,Macro(faxreceive)
;exten => 2202,1,Macro(faxreceive)
;exten => 2203,1,Macro(faxreceive)
exten => h,1,system(/usr/local/sbin/mailfax ${FAXFILE} \
${EMAILADDR} "${CALLERIDNUM} ${CALLERIDNAME}")
[macro-faxreceive]
exten => s,1,SetVar(FAXFILE=/var/spool/asterisk-fax/${UNIQUEID}.tif)
exten => s,2,DBGet(EMAILADDR=extensionemail/${MACRO_EXTEN})
exten => s,3,rxfax(${FAXFILE})
exten => s,103,SetVar(EMAILADDR=ronald at elmit.com)
exten => s,104,Goto(3)
How can I solve it?
bye
Ronald
More information about the asterisk-users
mailing list