[Asterisk-Users] RxFAX application
Dan
dtoma at fx.ro
Sun Dec 7 01:08:40 MST 2003
Hi all,
I have installed FAX app as described in several mails.
When a fax call is received, I get the following in the * console:
-- Starting simple switch on 'Zap/1-1'
-- Executing Answer("Zap/1-1", "") in new stack
-- Executing Ringing("Zap/1-1", "") in new stack
-- Executing Wait("Zap/1-1", "2") in new stack
-- Executing DBget("Zap/1-1", "CIDTMP=phonebook/0722123456") in new
stack
-- DBget: varname=CIDTMP, family=phonebook, key=0722123456
-- DBget: set variable CIDTMP to Dan-Mobile
-- Executing SetCallerID("Zap/1-1", "0722123456") in new stack
-- Executing SetCIDName("Zap/1-1", "Dan-Mobile") in new stack
-- Executing SetLanguage("Zap/1-1", "ro") in new stack
-- Executing Dial("Zap/1-1", "SIP/101&SIP/103&IAX/dan|30|Ttr") in new
stack
-- Called 101
-- Called 103
-- SIP/101-65f1 is ringing
-- SIP/103-7dda is ringing
-- Redirecting Zap/1-1 to fax extension
== Spawn extension (inbound-analog, fax, 0) exited non-zero on 'Zap/1-1'
== Spawn extension (inbound-analog, fax, 1) exited non-zero on 'Zap/1-1'
-- Hungup 'Zap/1-1'
This is what I have in extensions.conf:
[inbound-analog]
exten => fax,1,RxFAX(/var/spool/asterisk/incoming/${CALLERIDNUM}.tif)
exten => fax,2,Hangup
exten => s,1,Answer
exten => s,2,Ringing
exten => s,3,Wait(2)
exten => s,4,DBget(CIDTMP=phonebook/${CALLERIDNUM})
exten => s,5,SetCallerID(${CALLERIDNUM})
exten => s,6,SetCIDNAME(${CIDTMP})
exten => s,7,SetLanguage(ro)
exten => s,8,Dial(SIP/101&SIP/103&IAX2/dan,30,Ttr)
exten => s,9,Wait(1)
exten => s,10,Voicemail2(u101)
exten => s,9,Hangup
exten => s,109,Wait(3)
exten => s,110,Goto(8)
More information about the asterisk-users
mailing list