[asterisk-users] Problems with monitor / mixmonitor stopping if using Local channels

2006-08-04 Thread Julian Lyndon-Smith
I am trying to record a queue conversation using mixmonitor (or 
monitor). I am using dynamic queue members (not agents) so I cannot use 
the agent recording facility.


Basically, the call recording stops when a local channel is used and the 
user then transfers the call.


I have constructed a simple dialplan that shows the problem.

[from-sip]

exten = Test,1,Answer()
exten = Test,n,Dial(SIP/7708,120,g)
exten = Test,n,Hangup()

exten = 7709,1,Answer()
exten = 7709,n,MixMonitor(jmlstest.gsm)
exten = 7709,n(works),Dial(SIP/7708,120,g)
;exten = 7709,n(broken1),Dial(Local/[EMAIL PROTECTED])
;exten = 7709,n(broken2),Dial(Local/[EMAIL PROTECTED]/n)
exten = 7709,n,Hangup()

I am starting the mixmonitor on the incoming channel (from a zap line). 
if I use the label (works) then the entire call is recorded even if 7708 
transfers the call to another phone). If I use the label (broken1) 
instead of (works) then the recording is stopped the second 7708 
transfers the call to another phone).


ah ha! I thought. use the /n on the local channel.

If I use the label (broken2) then it works (sort of). Mixmonitor keeps 
recording the conversation even if the call is transferred, but there is 
a whole heap of warnings on the CLI:


[Aug  4 18:46:25] WARNING[13081]: chan_sip.c:3342 sip_write: Asked to 
transmit frame type 8, while native formats is 4 (read/write = 8/4)
[Aug  4 18:46:25] WARNING[13081]: chan_sip.c:3342 sip_write: Asked to 
transmit frame type 8, while native formats is 4 (read/write = 8/4)
[Aug  4 18:46:25] WARNING[13081]: chan_sip.c:3342 sip_write: Asked to 
transmit frame type 8, while native formats is 4 (read/write = 8/4)
[Aug  4 18:46:25] WARNING[13081]: chan_sip.c:3342 sip_write: Asked to 
transmit frame type 8, while native formats is 4 (read/write = 8/4)
[Aug  4 18:46:25] WARNING[13081]: chan_sip.c:3342 sip_write: Asked to 
transmit frame type 8, while native formats is 4 (read/write = 8/4)
[Aug  4 18:46:25] WARNING[13081]: chan_sip.c:3342 sip_write: Asked to 
transmit frame type 8, while native formats is 4 (read/write = 8/4)
[Aug  4 18:46:25] WARNING[13081]: chan_sip.c:3342 sip_write: Asked to 
transmit frame type 8, while native formats is 4 (read/write = 8/4)
[Aug  4 18:46:25] WARNING[13081]: chan_sip.c:3342 sip_write: Asked to 
transmit frame type 8, while native formats is 4 (read/write = 8/4)
[Aug  4 18:46:25] WARNING[13081]: chan_sip.c:3342 sip_write: Asked to 
transmit frame type 8, while native formats is 4 (read/write = 8/4)
[Aug  4 18:46:25] WARNING[13081]: chan_sip.c:3342 sip_write: Asked to 
transmit frame type 8, while native formats is 4 (read/write = 8/4)
[Aug  4 18:46:26] WARNING[13081]: chan_sip.c:3342 sip_write: Asked to 
transmit frame type 8, while native formats is 4 (read/write = 8/4)
[Aug  4 18:46:26] WARNING[13081]: chan_sip.c:3342 sip_write: Asked to 
transmit frame type 8, while native formats is 4 (read/write = 8/4)
[Aug  4 18:46:26] WARNING[13081]: chan_sip.c:3342 sip_write: Asked to 
transmit frame type 8, while native formats is 4 (read/write = 8/4)
[Aug  4 18:46:26] WARNING[13081]: chan_sip.c:3342 sip_write: Asked to 
transmit frame type 8, while native formats is 4 (read/write = 8/4)
[Aug  4 18:46:26] WARNING[13081]: chan_sip.c:3342 sip_write: Asked to 
transmit frame type 8, while native formats is 4 (read/write = 8/4)
[Aug  4 18:46:26] WARNING[13081]: chan_sip.c:3342 sip_write: Asked to 
transmit frame type 8, while native formats is 4 (read/write = 8/4)
[Aug  4 18:46:26] WARNING[13081]: chan_sip.c:3342 sip_write: Asked to 
transmit frame type 8, while native formats is 4 (read/write = 8/4)
[Aug  4 18:46:26] WARNING[13081]: chan_sip.c:3342 sip_write: Asked to 
transmit frame type 8, while native formats is 4 (read/write = 8/4)
[Aug  4 18:46:26] WARNING[13081]: chan_sip.c:3342 sip_write: Asked to 
transmit frame type 8, while native formats is 4 (read/write = 8/4)
[Aug  4 18:46:26] WARNING[13081]: chan_sip.c:3342 sip_write: Asked to 
transmit frame type 8, while native formats is 4 (read/write = 8/4)



this keeps going until the call is ended.

Anyone with any clues, or should I raise a bug ?

Julian.
___
--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


Re: [asterisk-users] Problems with monitor / mixmonitor stopping if using Local channels

2006-08-04 Thread Julian Lyndon-Smith

Dammit - meant to say that I'm using svn trunk (SVN-trunk-r38548)

Sorry!.

Julian Lyndon-Smith wrote:
I am trying to record a queue conversation using mixmonitor (or 
monitor). I am using dynamic queue members (not agents) so I cannot use 
the agent recording facility.


Basically, the call recording stops when a local channel is used and the 
user then transfers the call.


I have constructed a simple dialplan that shows the problem.

[from-sip]

exten = Test,1,Answer()
exten = Test,n,Dial(SIP/7708,120,g)
exten = Test,n,Hangup()

exten = 7709,1,Answer()
exten = 7709,n,MixMonitor(jmlstest.gsm)
exten = 7709,n(works),Dial(SIP/7708,120,g)
;exten = 7709,n(broken1),Dial(Local/[EMAIL PROTECTED])
;exten = 7709,n(broken2),Dial(Local/[EMAIL PROTECTED]/n)
exten = 7709,n,Hangup()

I am starting the mixmonitor on the incoming channel (from a zap line). 
if I use the label (works) then the entire call is recorded even if 7708 
transfers the call to another phone). If I use the label (broken1) 
instead of (works) then the recording is stopped the second 7708 
transfers the call to another phone).


ah ha! I thought. use the /n on the local channel.

If I use the label (broken2) then it works (sort of). Mixmonitor keeps 
recording the conversation even if the call is transferred, but there is 
a whole heap of warnings on the CLI:


[Aug  4 18:46:25] WARNING[13081]: chan_sip.c:3342 sip_write: Asked to 
transmit frame type 8, while native formats is 4 (read/write = 8/4)
[Aug  4 18:46:25] WARNING[13081]: chan_sip.c:3342 sip_write: Asked to 
transmit frame type 8, while native formats is 4 (read/write = 8/4)
[Aug  4 18:46:25] WARNING[13081]: chan_sip.c:3342 sip_write: Asked to 
transmit frame type 8, while native formats is 4 (read/write = 8/4)
[Aug  4 18:46:25] WARNING[13081]: chan_sip.c:3342 sip_write: Asked to 
transmit frame type 8, while native formats is 4 (read/write = 8/4)
[Aug  4 18:46:25] WARNING[13081]: chan_sip.c:3342 sip_write: Asked to 
transmit frame type 8, while native formats is 4 (read/write = 8/4)
[Aug  4 18:46:25] WARNING[13081]: chan_sip.c:3342 sip_write: Asked to 
transmit frame type 8, while native formats is 4 (read/write = 8/4)
[Aug  4 18:46:25] WARNING[13081]: chan_sip.c:3342 sip_write: Asked to 
transmit frame type 8, while native formats is 4 (read/write = 8/4)
[Aug  4 18:46:25] WARNING[13081]: chan_sip.c:3342 sip_write: Asked to 
transmit frame type 8, while native formats is 4 (read/write = 8/4)
[Aug  4 18:46:25] WARNING[13081]: chan_sip.c:3342 sip_write: Asked to 
transmit frame type 8, while native formats is 4 (read/write = 8/4)
[Aug  4 18:46:25] WARNING[13081]: chan_sip.c:3342 sip_write: Asked to 
transmit frame type 8, while native formats is 4 (read/write = 8/4)
[Aug  4 18:46:26] WARNING[13081]: chan_sip.c:3342 sip_write: Asked to 
transmit frame type 8, while native formats is 4 (read/write = 8/4)
[Aug  4 18:46:26] WARNING[13081]: chan_sip.c:3342 sip_write: Asked to 
transmit frame type 8, while native formats is 4 (read/write = 8/4)
[Aug  4 18:46:26] WARNING[13081]: chan_sip.c:3342 sip_write: Asked to 
transmit frame type 8, while native formats is 4 (read/write = 8/4)
[Aug  4 18:46:26] WARNING[13081]: chan_sip.c:3342 sip_write: Asked to 
transmit frame type 8, while native formats is 4 (read/write = 8/4)
[Aug  4 18:46:26] WARNING[13081]: chan_sip.c:3342 sip_write: Asked to 
transmit frame type 8, while native formats is 4 (read/write = 8/4)
[Aug  4 18:46:26] WARNING[13081]: chan_sip.c:3342 sip_write: Asked to 
transmit frame type 8, while native formats is 4 (read/write = 8/4)
[Aug  4 18:46:26] WARNING[13081]: chan_sip.c:3342 sip_write: Asked to 
transmit frame type 8, while native formats is 4 (read/write = 8/4)
[Aug  4 18:46:26] WARNING[13081]: chan_sip.c:3342 sip_write: Asked to 
transmit frame type 8, while native formats is 4 (read/write = 8/4)
[Aug  4 18:46:26] WARNING[13081]: chan_sip.c:3342 sip_write: Asked to 
transmit frame type 8, while native formats is 4 (read/write = 8/4)
[Aug  4 18:46:26] WARNING[13081]: chan_sip.c:3342 sip_write: Asked to 
transmit frame type 8, while native formats is 4 (read/write = 8/4)



this keeps going until the call is ended.

Anyone with any clues, or should I raise a bug ?

Julian.
___
--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




___
--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