On Jun 4, 2006, at 8:11 PM, Doug Lytle wrote:
Okay,
I decided that I would give it a try, I ended up having the same
issues as you. I got it figured out though.
When using the monitor application, it splits the wave files into
incoming and outgoing legs. Once the call has been completed, it
mixes them into the final file. The problem is, it doesn't
consider the h extension as the call completed. It waits until the
h extension has terminated before merging. I proved this point by
adding a sleep 20 in my script and the incoming/outgoing waves sat
there for 20 seconds. My fix was to ad an ampersand at the end of
the System script entry. As so:
exten => h,1,System(/usr/local/bin/monitor.sh ${CALLFILENAME} &)
This will cause the script to detach from the current shell.
Doug
Your a real life saver. Thank you.
Attilla
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users