I was using NVBackgroundDetect with asterisk 1.2
now with 1.4 i'm using directly faxdetect=incoming inside misdn.conf
the fax get detected but if the call is already answered by the fax
machine the it get redirects to the same machine again and 'cause problems
the only solution is to use "faxdetect=incoming+nojump" ?
or maybe i can add some "Wait(4)" somewhere in dialplan?
[Jul 25 09:09:09] VERBOSE[27138] logger.c: -- Called faxserver/anonimo
[Jul 25 09:09:09] VERBOSE[20926] logger.c: Extension Changed 96 new
state Ringing for Notify User 12
[Jul 25 09:09:09] VERBOSE[20926] logger.c: Extension Changed 96 new
state Ringing for Notify User 11
[Jul 25 09:09:09] VERBOSE[20926] logger.c: Extension Changed 96 new
state Ringing for Notify User 13
[Jul 25 09:09:09] VERBOSE[20934] logger.c: -- Call accepted by
127.0.0.1 (format alaw)
[Jul 25 09:09:09] VERBOSE[20934] logger.c: -- Format for call is alaw
[Jul 25 09:09:09] VERBOSE[27138] logger.c: -- IAX2/faxserver-5 is
ringing
[Jul 25 09:09:09] VERBOSE[27138] logger.c: -- IAX2/faxserver-5
answered mISDN/1-u13
[Jul 25 09:09:09] VERBOSE[20926] logger.c: Extension Changed 96 new
state InUse for Notify User 12
[Jul 25 09:09:09] VERBOSE[20926] logger.c: Extension Changed 96 new
state InUse for Notify User 11
[Jul 25 09:09:09] VERBOSE[20926] logger.c: Extension Changed 96 new
state InUse for Notify User 13
[Jul 25 09:09:10] VERBOSE[27138] logger.c: -- Redirecting
mISDN/1-u13 to fax extension (context:trunk-1)
[Jul 25 09:09:10] VERBOSE[27138] logger.c: -- Hungup 'IAX2/faxserver-5'
[Jul 25 09:09:10] VERBOSE[27138] logger.c: == Spawn extension
(trunk-1, fax, 0) exited non-zero on 'mISDN/1-u13'
[Jul 25 09:09:10] NOTICE[27138] channel.c: Dropping incompatible voice
frame on mISDN/1-u13 of format slin since our native format has changed
to alaw
[Jul 25 09:09:10] VERBOSE[27138] logger.c: -- Redirecting
mISDN/1-u13 to fax extension (context:trunk-1)
[Jul 25 09:09:10] VERBOSE[27138] logger.c: -- Hungup 'IAX2/faxserver-5'
[Jul 25 09:09:10] VERBOSE[27138] logger.c: == Spawn extension
(trunk-1, fax, 0) exited non-zero on 'mISDN/1-u13'
[Jul 25 09:09:10] NOTICE[27138] channel.c: Dropping incompatible voice
frame on mISDN/1-u13 of format slin since our native format has changed
to alaw
[Jul 25 09:09:10] VERBOSE[20926] logger.c: Extension Changed 96 new
state Idle for Notify User 12
[Jul 25 09:09:10] VERBOSE[20926] logger.c: Extension Changed 96 new
state Idle for Notify User 11
[Jul 25 09:09:10] VERBOSE[20926] logger.c: Extension Changed 96 new
state Idle for Notify User 13
[Jul 25 09:09:11] VERBOSE[27138] logger.c: -- AGI Script
/usr/lib/mercurius/agi/rubrica.agi completed, returning 0
[Jul 25 09:09:11] VERBOSE[27138] logger.c: -- Executing
[EMAIL PROTECTED]:2] NoOp("mISDN/1-u13", "FAXEXTEN=s") in new stack
[Jul 25 09:09:11] VERBOSE[27138] logger.c: -- Executing
[EMAIL PROTECTED]:3] AGI("mISDN/1-u13",
"/usr/lib/mercurius/agi/trunk-incoming.agi|1|fax") in new stack
[Jul 25 09:09:11] VERBOSE[27138] logger.c: -- Launched AGI Script
/usr/lib/mercurius/agi/trunk-incoming.agi
[Jul 25 09:09:11] VERBOSE[27138] logger.c: -- AGI Script Executing
Application: (SipAddHeader) Options: (Alert-Info:
<http://192.168.1.6:8080/snom360/external.wav>;info=external)
[Jul 25 09:09:11] VERBOSE[27138] logger.c: -- AGI Script
/usr/lib/mercurius/agi/trunk-incoming.agi completed, returning 0
[Jul 25 09:09:11] VERBOSE[27138] logger.c: -- Executing
[EMAIL PROTECTED]:1] Set("mISDN/1-u13", "__PARAM1=") in new stack
[Jul 25 09:09:11] VERBOSE[27138] logger.c: -- Executing
[EMAIL PROTECTED]:2] Goto("mISDN/1-u13", "faxserver|s|1") in new stack
[Jul 25 09:09:11] VERBOSE[27138] logger.c: -- Goto (faxserver,s,1)
[Jul 25 09:09:11] VERBOSE[27138] logger.c: -- Executing
[EMAIL PROTECTED]:1] NoOp("mISDN/1-u13", "faxserver") in new stack
[Jul 25 09:09:11] VERBOSE[27138] logger.c: -- Executing
[EMAIL PROTECTED]:2] Set("mISDN/1-u13", "CDR(userfield)=FAX SERVER") in new stack
[Jul 25 09:09:11] VERBOSE[27138] logger.c: -- Executing
[EMAIL PROTECTED]:3] Dial("mISDN/1-u13", "IAX2/faxserver/anonimo|30|rR") in
new stack
[Jul 25 09:09:11] VERBOSE[27138] logger.c: -- Called faxserver/anonimo
[Jul 25 09:09:11] VERBOSE[20926] logger.c: Extension Changed 96 new
state Ringing for Notify User 12
[Jul 25 09:09:11] VERBOSE[20926] logger.c: Extension Changed 96 new
state Ringing for Notify User 11
[Jul 25 09:09:11] VERBOSE[20926] logger.c: Extension Changed 96 new
state Ringing for Notify User 13
[Jul 25 09:09:11] VERBOSE[20939] logger.c: -- Call accepted by
127.0.0.1 (format alaw)
[Jul 25 09:09:11] VERBOSE[20939] logger.c: -- Format for call is alaw
[Jul 25 09:09:11] VERBOSE[27138] logger.c: -- Hungup 'IAX2/faxserver-7'
Cordiali saluti,
Antonio Gallo
Direzione R & D
MC srl
Via al Lago, 6/a
23900 Lecco
Tel. 0341.423318
Fax. 0341.424828
_______________________________________________
Misdn-asterisk mailing list
[email protected]
http://lists.beronet.com/cgi-bin/mailman/listinfo/misdn-asterisk