Eric Smith
2005-Aug-15 13:30 UTC
[Asterisk-Users] Only single channel recorded with Monitor
We are using the following to record conversations.
exten => _1XXX.,1,SetVar(CALLFILENAME=call_to_${EXTEN:1}_dated_${TIMESTAMP})
exten => _1XXX.,2,Monitor(wav,${CALLFILENAME},m)
exten => _1XXX.,3,Dial(IAX2/4506:zj5S3A5a@nl.voipgate.nl/${EXTEN:1})
exten => _1XXX.,4,Congestion
exten => _1XXX.,104,Congestion
This was working previously to record both sides of the
conversation but now we only have the initiating caller channel
being recorded. Occasionaly the other caller is also recorded
but the speed of the recording is completely wrong causing
distortion and out of sync.
Here fwiw are the logs.
Aug 15 18:31:32 DEBUG[9995]: build_route: Contact hop:
<sip:snom@81.58.13.190:5060;line=ikojqrcx>
Aug 15 18:31:32 DEBUG[9995]: Device 'SIP/snom' changed to state
'2'
Aug 15 18:31:32 VERBOSE[9995]: -- Executing
SetVar("SIP/snom-7214",
"CALLFILENAME=call_to_00NUMBER_HIDDEN_dated_20050815-183132") in new
stack
Aug 15 18:31:32 VERBOSE[9995]: -- Executing
Monitor("SIP/snom-7214",
"wav|call_to_00NUMBER_HIDDEN_dated_20050815-183132|m") in new stack
Aug 15 18:31:32 VERBOSE[9995]: -- Executing Dial("SIP/snom-7214",
"IAX2/4506:zj5S3A5a@nl.voipgate.nl/00NUMBER_HIDDEN") in new stack
Aug 15 18:31:32 VERBOSE[9995]: -- Called
4506:zj5S3A5a@nl.voipgate.nl/00NUMBER_HIDDEN
Aug 15 18:31:32 DEBUG[9995]: Device 'IAX2/4506/2' changed to state
'2'
Aug 15 18:31:32 VERBOSE[9995]: -- Call accepted by 80.127.191.55 (format
G729A)
Aug 15 18:31:32 VERBOSE[9995]: -- Format for call is G729A
Aug 15 18:31:34 VERBOSE[9995]: -- IAX2/4506/2 is ringing
Aug 15 18:31:34 DEBUG[9995]: Ooh, voice format changed to 256
Aug 15 18:31:34 DEBUG[9995]: Ooh, format changed from UNKN to G729A
Aug 15 18:31:45 VERBOSE[9995]: -- IAX2/4506/2 stopped sounds
Aug 15 18:31:45 VERBOSE[9995]: -- IAX2/4506/2 answered SIP/snom-7214
Aug 15 18:31:45 DEBUG[9995]: Stopping retransmission on
'3c26c4900ffd-slkmlo7l0766@81-58-13-190' of Response 2: Found
Any ideas how to fix this?
Thanks
--
Eric Smith
Vahan Yerkanian
2005-Aug-15 13:41 UTC
[Asterisk-Users] Only single channel recorded with Monitor
Try reinstalling sox - it is responsible for mixing the caller and callee channels. Also, if "IAX2/4506:zj5S3A5a@nl.voipgate.nl" is your real username and password, change them asap, you just made it available to 10000+ people and the archives ;) Regards, Vahan Eric Smith wrote:> We are using the following to record conversations. > > exten => _1XXX.,1,SetVar(CALLFILENAME=call_to_${EXTEN:1}_dated_${TIMESTAMP}) > exten => _1XXX.,2,Monitor(wav,${CALLFILENAME},m) > exten => _1XXX.,3,Dial(IAX2/4506:zj5S3A5a@nl.voipgate.nl/${EXTEN:1}) > exten => _1XXX.,4,Congestion > exten => _1XXX.,104,Congestion > > This was working previously to record both sides of the > conversation but now we only have the initiating caller channel > being recorded. Occasionaly the other caller is also recorded > but the speed of the recording is completely wrong causing > distortion and out of sync. > > Here fwiw are the logs. > > Aug 15 18:31:32 DEBUG[9995]: build_route: Contact hop: <sip:snom@81.58.13.190:5060;line=ikojqrcx> > Aug 15 18:31:32 DEBUG[9995]: Device 'SIP/snom' changed to state '2' > Aug 15 18:31:32 VERBOSE[9995]: -- Executing SetVar("SIP/snom-7214", "CALLFILENAME=call_to_00NUMBER_HIDDEN_dated_20050815-183132") in new stack > Aug 15 18:31:32 VERBOSE[9995]: -- Executing Monitor("SIP/snom-7214", "wav|call_to_00NUMBER_HIDDEN_dated_20050815-183132|m") in new stack > Aug 15 18:31:32 VERBOSE[9995]: -- Executing Dial("SIP/snom-7214", "IAX2/4506:zj5S3A5a@nl.voipgate.nl/00NUMBER_HIDDEN") in new stack > Aug 15 18:31:32 VERBOSE[9995]: -- Called 4506:zj5S3A5a@nl.voipgate.nl/00NUMBER_HIDDEN > Aug 15 18:31:32 DEBUG[9995]: Device 'IAX2/4506/2' changed to state '2' > Aug 15 18:31:32 VERBOSE[9995]: -- Call accepted by 80.127.191.55 (format G729A) > Aug 15 18:31:32 VERBOSE[9995]: -- Format for call is G729A > Aug 15 18:31:34 VERBOSE[9995]: -- IAX2/4506/2 is ringing > Aug 15 18:31:34 DEBUG[9995]: Ooh, voice format changed to 256 > Aug 15 18:31:34 DEBUG[9995]: Ooh, format changed from UNKN to G729A > Aug 15 18:31:45 VERBOSE[9995]: -- IAX2/4506/2 stopped sounds > Aug 15 18:31:45 VERBOSE[9995]: -- IAX2/4506/2 answered SIP/snom-7214 > Aug 15 18:31:45 DEBUG[9995]: Stopping retransmission on '3c26c4900ffd-slkmlo7l0766@81-58-13-190' of Response 2: Found > > Any ideas how to fix this? > > Thanks >-------------- next part -------------- A non-text attachment was scrubbed... Name: vahan.vcf Type: text/x-vcard Size: 287 bytes Desc: not available Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20050815/18ac83a0/vahan.vcf
Eric
2005-Aug-16 06:41 UTC
[Asterisk-Users] Only single channel recorded with Monitor - SOLVED
This problem was solved by changing the preferred codec from G729A to ulaw. Eric Smith said:> We are using the following to record conversations. > > exten => _1XXX.,1,SetVar(CALLFILENAME=call_to_${EXTEN:1}_dated_${TIMESTAMP}) > exten => _1XXX.,2,Monitor(wav,${CALLFILENAME},m) > exten => _1XXX.,3,Dial(IAX2/4506:zj5S3A5a@nl.voipgate.nl/${EXTEN:1}) > exten => _1XXX.,4,Congestion > exten => _1XXX.,104,Congestion > > This was working previously to record both sides of the > conversation but now we only have the initiating caller channel > being recorded. Occasionaly the other caller is also recorded > but the speed of the recording is completely wrong causing > distortion and out of sync. > > Here fwiw are the logs. > > Aug 15 18:31:32 DEBUG[9995]: build_route: Contact hop: <sip:snom@81.58.13.190:5060;line=ikojqrcx> > Aug 15 18:31:32 DEBUG[9995]: Device 'SIP/snom' changed to state '2' > Aug 15 18:31:32 VERBOSE[9995]: -- Executing SetVar("SIP/snom-7214", "CALLFILENAME=call_to_00NUMBER_HIDDEN_dated_20050815-183132") in new stack > Aug 15 18:31:32 VERBOSE[9995]: -- Executing Monitor("SIP/snom-7214", "wav|call_to_00NUMBER_HIDDEN_dated_20050815-183132|m") in new stack > Aug 15 18:31:32 VERBOSE[9995]: -- Executing Dial("SIP/snom-7214", "IAX2/4506:zj5S3A5a@nl.voipgate.nl/00NUMBER_HIDDEN") in new stack > Aug 15 18:31:32 VERBOSE[9995]: -- Called 4506:zj5S3A5a@nl.voipgate.nl/00NUMBER_HIDDEN > Aug 15 18:31:32 DEBUG[9995]: Device 'IAX2/4506/2' changed to state '2' > Aug 15 18:31:32 VERBOSE[9995]: -- Call accepted by 80.127.191.55 (format G729A) > Aug 15 18:31:32 VERBOSE[9995]: -- Format for call is G729A > Aug 15 18:31:34 VERBOSE[9995]: -- IAX2/4506/2 is ringing > Aug 15 18:31:34 DEBUG[9995]: Ooh, voice format changed to 256 > Aug 15 18:31:34 DEBUG[9995]: Ooh, format changed from UNKN to G729A > Aug 15 18:31:45 VERBOSE[9995]: -- IAX2/4506/2 stopped sounds > Aug 15 18:31:45 VERBOSE[9995]: -- IAX2/4506/2 answered SIP/snom-7214 > Aug 15 18:31:45 DEBUG[9995]: Stopping retransmission on '3c26c4900ffd-slkmlo7l0766@81-58-13-190' of Response 2: Found > > Any ideas how to fix this? > > Thanks > > -- > Eric Smith > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users-- Eric Smith