When I was playing with BackgroundDetect to work I tried a number of
combinations like:

start,1,BackgroundDetect(menu-greeting,t)
start,2,NoOp(DTMF_DETECTED: ${DTMF_DETECTED} DTMF: ${DTMF_DID} FAX:
${FAX_DETECTED}

1,1,(Do stuff)
2,1,(Do stuff)

Feb 14 09:33:50 VERBOSE[1097398624] logger.c:     -- Executing
BackgroundDetect("SIP/5060-005b3060", "greet-1_1_1,td")
Feb 14 09:33:50 DEBUG[1097398624] app_backgrounddetect.c: Preparing
detect of 'greet-1_1_1', sil=1000,min=100,max=-1
Feb 14 09:33:50 DEBUG[1097398624] generator.c: Trying to deactivate
generator in SIP/5060-005b3060
Feb 14 09:33:50 VERBOSE[1097398624] logger.c:     -- Playing
'greet-1_1_1' (language 'eng')
Feb 14 09:33:50 DEBUG[1097398624] app_backgrounddetect.c: Start of voice
token!
Feb 14 09:33:50 DEBUG[1097398624] app_backgrounddetect.c: Found
unqualified token of 0 ms
Feb 14 09:33:54 DEBUG[1097398624] app_backgrounddetect.c: Start of voice
token!
Feb 14 09:33:55 DEBUG[1097398624] app_backgrounddetect.c: Found
unqualified token of 0 ms
Feb 14 09:33:56 DEBUG[1097398624] app_backgrounddetect.c: Start of voice
token!
Feb 14 09:33:57 DEBUG[1097398624] app_backgrounddetect.c: Found
qualified token of 321 ms

Each "Start of voice token" is me pushing buttons on the phone. I tried
1, I tried 2, then I tried punching a whole bunch of buttons. In case
it's relevant (if it wasn't obvious from my t38 call earlier) I am using
SIP (ulaw). When using the Background application DTMF detection works
flawlessly.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of CtRiX
Sent: February-14-08 1:20 PM
To: Users Mailing List - Non-Commercial Discussion
Subject: Re: [Callweaver-users] Fax detection while playing a soundfile?

1st, please don't top quote.

2nd, you argued that BackgroundDetect doesn't work.
I asked how you were invoking BackgroundDetect (not backgroundfaxdetect 
that doesn't exists).

So, how are you invoking this ?
Also, BackgroundDetect writes some debug lines in the log (LOG_DEBUG).
Does it detects the DTMF ?
Any log ?
Which channel ?

Max


_______________________________________________
Callweaver-users mailing list
[email protected]
http://lists.callweaver.org/mailman/listinfo/callweaver-users
_______________________________________________
Callweaver-users mailing list
[email protected]
http://lists.callweaver.org/mailman/listinfo/callweaver-users

Reply via email to