[Home]

Summary:ASTERISK-24697: MixMonitor doesn't work properly with the option: b
Reporter:Vadim (cron333)Labels:
Date Opened:2015-01-16 05:41:14.000-0600Date Closed:2015-01-16 07:07:15.000-0600
Priority:MajorRegression?
Status:Closed/CompleteComponents:Applications/app_mixmonitor
Versions:11.15.0 Frequency of
Occurrence
Constant
Related
Issues:
Environment:CentOS release 6.6 (Final)Attachments:
Description:MixMonitor makes record always, even if a call is "UNAVAILABLE" and also with option "b"
Comments:By: Vadim (cron333) 2015-01-16 05:47:14.567-0600

   -- Executing [7774@office-out:1] NoOp("IAX2/650-8570", "") in new stack
   -- Executing [7774@office-out:2] Set("IAX2/650-8570", "__MONITOR_FILENAME=650_7774_16-01-2015_1421406295.106") in new stack
   -- Executing [7774@office-out:3] MixMonitor("IAX2/650-8570", "650_7774_16-01-2015_1421406295.106.wav,b,/usr/local/bin/recoder 650_7774_16-01-2015_1421406295.106") in new stack
   -- Executing [7774@office-out:4] Dial("IAX2/650-8570", "SIP/prov_1/7774,60") in new stack
 == Using SIP RTP TOS bits 184
 == Using SIP RTP CoS mark 5
 == Begin MixMonitor Recording IAX2/650-8570
[Jan 16 14:04:55] ERROR[13264][C-00000060]: netsock2.c:269 ast_sockaddr_resolve: getaddrinfo("prov_1", "(null)", ...): Name or service not known
[Jan 16 14:04:55] WARNING[13264][C-00000060]: chan_sip.c:6054 create_addr: No such host: prov_1
[Jan 16 14:04:55] WARNING[13264][C-00000060]: app_dial.c:2437 dial_exec_full: Unable to create channel of type 'SIP' (cause 20 - Subscriber absent)
 == Everyone is busy/congested at this time (1:0/0/1)
   -- Executing [7774@office-out:5] Hangup("IAX2/650-8570", "") in new stack
 == Spawn extension (office-out, 7774, 5) exited non-zero on 'IAX2/650-8570'
   -- Executing [h@office-out:1] NoOp("IAX2/650-8570", "CHANUNAVAIL") in new stack
   -- Executing [h@office-out:2] Set("IAX2/650-8570", "CDR(userfield)=") in new stack
   -- Executing [h@office-out:3] NoOp("IAX2/650-8570", "CDR(userfield): ") in new stack
   -- Hungup 'IAX2/650-8570'
 == MixMonitor close filestream (mixed)
 == Executing [/usr/local/bin/recoder 650_7774_16-01-2015_1421406295.106]
 == End MixMonitor Recording IAX2/650-8570

By: Matt Jordan (mjordan) 2015-01-16 07:07:15.575-0600

That isn't how the {{b}} option works.

{quote}
{noformat}
b - Only save audio to the file while the channel is bridged.
{noformat}
{quote}

The file is always created. The {{b}} option merely only writes audio to the file while the channel is bridged.