Re: [asterisk-users] FAX over ISDN PRI

2010-01-30 Thread Mariano Lecuona
thanks..

2010/1/30 Kevin P. Fleming 

> Mariano Lecuona wrote:
>
> > All I just want to be able to detect the fax signail while doing an
> > outbout call taking advance of the out_dialout feature of asterisk. So
> > for to have a clear image on how i am doing it.
>
> The faxdetect functionality in Asterisk is not intended to detect
> answering FAX machines; it is for detection of calling FAX machines.
>
> The open source NVFaxDetect application may be able to do what you want.
>
> --
> Kevin P. Fleming
> Digium, Inc. | Director of Software Technologies
> 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
> skype: kpfleming | jabber: kpflem...@digium.com
> Check us out at www.digium.com & www.asterisk.org
>
> --
> _
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] FAX over ISDN PRI

2010-01-30 Thread Kevin P. Fleming
Mariano Lecuona wrote:

> All I just want to be able to detect the fax signail while doing an
> outbout call taking advance of the out_dialout feature of asterisk. So
> for to have a clear image on how i am doing it.

The faxdetect functionality in Asterisk is not intended to detect
answering FAX machines; it is for detection of calling FAX machines.

The open source NVFaxDetect application may be able to do what you want.

-- 
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
skype: kpfleming | jabber: kpflem...@digium.com
Check us out at www.digium.com & www.asterisk.org

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] FAX over ISDN PRI

2010-01-30 Thread Mariano Lecuona
Hi,

All I just want to be able to detect the fax signail while doing an outbout
call taking advance of the out_dialout feature of asterisk. So for to have a
clear image on how i am doing it.

I have my .call that I move the /var/spool/asterisk/ouotgoing like:
(numbers were changed to preserve privacy)

Channel: Local/9...@dial_out/n
CallerID: Fax Test <>
MaxRetries: 0
RetryTime: 300
WaitTime: 60
Archive: yes
Context: dial_go
Extension: s
Priority: 1
Set: Q_NAME=511
Set: ANI=

extension.conf

[dial_out]
;
exten => _X.,1,Macro(recordcall,${Q_NAME},${CALLERID(number)})  ;; this is a
custom macro that I created for personal recording puporse
exten => _X.,n,Dial(DAHDI/g1/${EXTEN:0})  ;; this is en sime truck dial
macro that dial into the SPANS -> I know it is OK for sure
exten => _X.,n,Hangup()

[dial_go]
;
exten => s,1,Answer
exten => s,n,Wait(2)
exten => s,n,Goto(${Q_NAME},1)
; If none of above happen, send to queue
exten => _s-.,1,Goto(${Q_NAME},1)
;
exten => fax,1,QueueLog(${Q_NAME}|${UNIQUEID}|NONE|FAXDETECTED|${ANI})
exten => fax,n,Hangup()
;
exten => _512,1,Goto(voicemenu-custom-1,s,1)
;
exten => _5[01]X,1,Queue(${EXTEN}${Q_TIMEOUT})
exten => _5[01]X,n,Hangup()
;

chan_dahdi.conf

faxdetect = incoming

I have successfully detected and Answer Machine with AMD application, but as
I experience some dificulties to detect fax I have removed on AMD structure
form the dial plan, only to focus on fax detection. Here is the asterisk
console output when placing a call to fax destination.


[Jan 30 17:49:14] -- Attempting call on Local/9990...@dial_out/n for
s...@dial_go:1 (Retry 1)
[Jan 30 17:49:14] -- Executing [9990...@dial_out:1]
Macro("Local/9990...@dial_out-dda8,2", "recordcall|511|9990909") in new
stack
[Jan 30 17:49:14] -- Executing [...@macro-recordcall:1]
GotoIf("Local/9990...@dial_out-dda8,2", "1?5:2") in new stack
[Jan 30 17:49:14] -- Goto (macro-recordcall,s,5)
[Jan 30 17:49:14] -- Executing [...@macro-recordcall:5]
Set("Local/9990...@dial_out-dda8,2",
"FILEREC=2010-01-30-17-49-14-SRC-511-DST-9990909") in new stack
[Jan 30 17:49:14] -- Executing [...@macro-recordcall:6]
Set("Local/9990...@dial_out-dda8,2",
"FILE_PATH=2010/01/30/2010-01-30-17-49-14-SRC-511-DST-9990909") in new stack
[Jan 30 17:49:14] -- Executing [...@macro-recordcall:7]
Set("Local/9990...@dial_out-dda8,2",
"CDR(userfield)=2010-01-30-17-49-14-SRC-511-DST-9990909.wav") in new stack
[Jan 30 17:49:14] -- Executing [...@macro-recordcall:8]
MixMonitor("Local/9990...@dial_out-dda8,2",
"/opt/rec/2010/01/30/2010-01-30-17-49-14-SRC-511-DST-9990909.wav|b") in new
stack
[Jan 30 17:49:14] -- Executing [...@macro-recordcall:9]
MacroExit("Local/9990...@dial_out-dda8,2", "") in new stack
[Jan 30 17:49:14] -- Executing [9990...@dial_out:2]
Macro("Local/9990...@dial_out-dda8,2", "dialerdial|DAHDI/g1/9990909|511") in
new stack
[Jan 30 17:49:14] -- Executing [...@macro-dialerdial:1]
Dial("Local/9990...@dial_out-dda8,2", "DAHDI/g1/9990909") in new stack
[Jan 30 17:49:14] -- Requested transfer capability: 0x00 - SPEECH
[Jan 30 17:49:14] -- Called g2/9990909
[Jan 30 17:49:14]   == Begin MixMonitor Recording
Local/9990...@dial_out-dda8,2
[Jan 30 17:49:14] -- DAHDI/32-1 is proceeding passing it to
Local/9990...@dial_out-dda8,2
[Jan 30 17:49:15] -- DAHDI/32-1 is ringing
[Jan 30 17:49:21] -- DAHDI/32-1 answered Local/9990...@dial_out-dda8,2
[Jan 30 17:49:21] -- Executing [...@dial_go:1]
Answer("Local/9990...@dial_out-dda8,1", "") in new stack
[Jan 30 17:49:21] -- Executing [...@dial_go:2]
Wait("Local/9990...@dial_out-dda8,1", "2") in new stack
[Jan 30 17:49:23] -- Executing [...@dial_go:3]
Goto("Local/9990...@dial_out-dda8,1", "511|1") in new stack
[Jan 30 17:49:23] -- Goto (dial_go,511,1)
[Jan 30 17:49:23] -- Executing [...@dial_go:1]
Queue("Local/9990...@dial_out-dda8,1", "511180") in new stack
[Jan 30 17:49:23] -- Started music on hold, class 'default', on channel
'Local/9990...@dial_out-dda8,1'
[Jan 30 17:49:23] -- outgoing agentcall, to agent '10017', on
'Local/3...@default-d45d,1'
[Jan 30 17:49:23] -- Executing [3...@default:1]
Dial("Local/3...@default-d45d,2", "SIP/3601") in new stack
[Jan 30 17:49:23] -- Called 3601
[Jan 30 17:49:23] -- SIP/3601-096664f0 is ringing
[Jan 30 17:49:23] -- Agent/10017 is ringing


Thanks to all

Mariano
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users