[Asterisk-Users] Monitor application

John Todd jtodd at loligo.com
Thu Jun 12 13:49:11 MST 2003


As has been mentioned before, the Monitor application and my macro 
have one significant problem: the recordings are un-synchronized to 
each other.

The first channel starts recording when the Dial is executed.  The 
second channel starts on Asterisk receiving an "Answer" from whatever 
channel driver is being connected.  This means that there may be a 
several second delay between when you complete dialing and when the 
person answers - normally this delay is when the caller hears ringing 
tones.  When the two files are merged together, this ring delay makes 
for a very confusing gap between the channels.

What needs to be done is that either:
   a) Both channels need to start recording on the execution of the 
Dial statement, and silence needs to be "recorded" on whatever 
channel has not answered yet.
   b) A less elegant method could be to start the recording on both 
channels at the time of the "Answer" on the second channel.

The clever person who came up with Monitor (Mahmut Fettahlioglu) had 
mentioned looking at this more sometime when he had a chance...

JT




At 1:35 PM +0300 6/12/03, Pertti Pikkarainen wrote:
>
>Check
>http://www.loligo.com/asterisk/current/extensions.conf
>
>and find macro called  macro-record-on
>There is at least one way described ( author is John Todd ).
>
>
>--Pertti
>
>
>
>Andy Powell wrote:
>
>>Hi,
>>
>>I've had a search through the archives and didn't find much. Is 
>>anyone using the Monitor application? I have it working but there 
>>is a really big drawback. The files are always called the same 
>>thing, which means if I make 2 calls one after the other the first 
>>recording is lost. I half expected Monitor to use something like 
>>ZAP-2-1-<yyyymmddhhmmss>-in/out.wav for it's filenames but it just 
>>uses the channel eg
>>Zap-2-1-in.wav
>>Zap-2-1-out.wav
>>
>>has anyone found a solution to this?
>>
>>Thanks
>>
>>Andy
>>
>>
>>
>>_______________________________________________
>>Asterisk-Users mailing list
>>Asterisk-Users at lists.digium.com
>>http://lists.digium.com/mailman/listinfo/asterisk-users
>>
>
>_______________________________________________
>Asterisk-Users mailing list
>Asterisk-Users at lists.digium.com
>http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list