[asterisk-bugs] [JIRA] (ASTERISK-24695) Unable to get 'B' function of MixMonitor to work
xrobau (JIRA)
noreply at issues.asterisk.org
Thu Jan 15 17:33:34 CST 2015
[ https://issues.asterisk.org/jira/browse/ASTERISK-24695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=224505#comment-224505 ]
xrobau commented on ASTERISK-24695:
-----------------------------------
This fails when both extens are the same codec, as well. I tried ulaw/ulaw, with the same result ('unable to convert from slin to slin')
{code}localhost*CLI> core show channel SIP/300-0000001f
-- General --
Name: SIP/300-0000001f
Type: SIP
UniqueID: 1421364398.624
LinkedID: 1421364398.622
Caller ID: 300
Caller ID Name: Rob Desk
Connected Line ID: 303
Connected Line ID Name: 303
Eff. Connected Line ID: 303
Eff. Connected Line ID Name: 303
DNID Digits: (N/A)
Language: en
State: Up (6)
NativeFormats: (ulaw)
WriteFormat: ulaw
ReadFormat: ulaw
WriteTranscode: No
ReadTranscode: No
Time to Hangup: 0
Elapsed Time: 0h0m10s
Bridge ID: 2cfdc37a-1528-48a9-abe9-f31e1140a38b
-- PBX --
Context: from-internal
Extension:
Priority: 1
Call Group: 0
Pickup Group: 0
Application: AppDial
Data: (Outgoing Line)
Call Identifer: [C-0000003a]
Variables:
BRIDGEPVTCALLID=b6d6835d-7ec1c5e5 at 10.46.80.100
BRIDGEPEER=SIP/303-0000001e
DIALEDPEERNUMBER=300
SIPCALLID=6ee0f0a263cc9e531c027615275ea43c at 192.168.15.5:5060
KEEPCID=TRUE
CWIGNORE=
REC_STATUS=RECORDING
RECORD_ID=SIP/303-0000001e
MIXMON_ID=0x7fb300930c10
CALLFILENAME=internal-300-303-20150116-092638-1421364398.622
REC_POLICY_MODE=YES
MON_FMT=wav
FROMEXTEN=303
TIMESTR=20150116-092638
YEAR=2015
MONTH=01
DAY=16
PICKUPMARK=300
EXTTOCALL=300
TTL=64
CALLEE_ACCOUNCODE=
DIAL_OPTIONS=Ttr
RINGTIMER=15
CDR Variables:
level 1: calledsubaddr=
level 1: callingsubaddr=
level 1: dnid=
level 1: clid="Rob De
level 1: src=300
level 1: dcontext=from-in
level 1: channel=SIP/300
level 1: lastapp=AppDial
level 1: lastdata=(Outgoi
level 1: start=1421364
level 1: answer=1421364
level 1: end=1421364
level 1: duration=1
level 1: billsec=0
level 1: disposition=8
level 1: amaflags=3
level 1: uniqueid=1421364
level 1: linkedid=1421364
level 1: sequence=117
{code}
> Unable to get 'B' function of MixMonitor to work
> ------------------------------------------------
>
> Key: ASTERISK-24695
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-24695
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Applications/app_chanspy, Applications/app_mixmonitor
> Affects Versions: 13.1.0
> Reporter: xrobau
>
> The new 'B' Param to MixMonitor is having difficulty when running Chanspy.
> {code}localhost*CLI> sip show channels
> Peer User/ANR Call ID Format Hold Last Message Expiry Peer
> 10.46.80.100 303 acc0a6e9-697af0 (ulaw) No Rx: ACK 303
> 192.168.15.125 300 181cb63801a2ec8 (g722) No Tx: ACK 300
> 2 active SIP dialogs
> localhost*CLI>{code}
> When enabling MixMonitor on that channel, the hook is loaded and triggered, but each time it runs...
> {code}
> -- Executing [s at macro-one-touch-record:1] Set("SIP/303-00000016", "ONETOUCH_REC_SCRIPT_STATUS=") in new stack
> -- Executing [s at macro-one-touch-record:2] System("SIP/303-00000016", "/var/lib/asterisk/bin/one_touch_record.php "SIP/303-00000016"") in new stack
> == Begin MixMonitor Recording SIP/303-00000016
> -- Called hook at __func_periodic_hook_context__
> -- Executing [hook at __func_periodic_hook_context__:1] Set("Local/hook at __func_periodic_hook_context__-00000023;2", "EncodedChannel=SIP/303-00000016") in new stack
> -- Executing [hook at __func_periodic_hook_context__:2] Set("Local/hook at __func_periodic_hook_context__-00000023;2", "GROUP_NAME=SIP/303-000000166") in new stack
> -- Executing [hook at __func_periodic_hook_context__:3] Set("Local/hook at __func_periodic_hook_context__-00000023;2", "GROUP(periodic-hook)=SIP/303-000000166") in new stack
> -- Executing [hook at __func_periodic_hook_context__:4] ExecIf("Local/hook at __func_periodic_hook_context__-00000023;2", "0?Hangup()") in new stack
> -- Executing [hook at __func_periodic_hook_context__:5] Set("Local/hook at __func_periodic_hook_context__-00000023;2", "ChannelToSpy=SIP/303-00000016") in new stack
> -- Executing [hook at __func_periodic_hook_context__:6] ChanSpy("Local/hook at __func_periodic_hook_context__-00000023;2", "SIP/303-00000016,qEB") in new stack
> == Spawn extension (__func_periodic_hook_context__, hook, 6) exited non-zero on 'Local/hook at __func_periodic_hook_context__-00000023;2'
> {code}
> Chanspy crashes with a spurious codec translation error
> {code}
> [2015-01-16 09:08:42] DEBUG[24244][C-00000031] pbx.c: Launching 'ChanSpy'
> [2015-01-16 09:08:42] VERBOSE[24244][C-00000031] pbx.c: Executing [hook at __func_periodic_hook_context__:6] ChanSpy("Local/hook at __func_periodic_hook_context__-00000024;2", "SIP/303-00000016,qEB") in new stack
> [2015-01-16 09:08:42] WARNING[24244][C-00000031] channel.c: Unable to find a codec translation path from (slin) to (slin)
> [2015-01-16 09:08:42] ERROR[24244][C-00000031] app_chanspy.c: Could Not Set Write Format.
> [2015-01-16 09:08:42] DEBUG[24244][C-00000031] pbx.c: Spawn extension (__func_periodic_hook_context__,hook,6) exited non-zero on 'Local/hook at __func_periodic_hook_context__-00000024;2'
> [2015-01-16 09:08:42] VERBOSE[24244][C-00000031] pbx.c: Spawn extension (__func_periodic_hook_context__, hook, 6) exited non-zero on 'Local/hook at __func_periodic_hook_context__-00000024;2'
> [2015-01-16 09:08:42] DEBUG[24244][C-00000031] channel.c: Soft-Hanging (0x10) up channel 'Local/hook at __func_periodic_hook_context__-00000024;2'
> [2015-01-16 09:08:42] DEBUG[24244][C-00000031] channel.c: Hanging up channel 'Local/hook at __func_periodic_hook_context__-00000024;2'
> [2015-01-16 09:08:42] DEBUG[27629] cdr.c: Finalized CDR for Local/hook at __func_periodic_hook_context__-00000024;2 - start 1421363322.708113 answer 0.000000 end 1421363322.709825 dispo FAILED
> [2015-01-16 09:08:42] DEBUG[24243] channel.c: Hanging up channel 'Local/hook at __func_periodic_hook_context__-00000024;1'
> [2015-01-16 09:08:42] DEBUG[27629] cdr.c: Finalized CDR for Local/hook at __func_periodic_hook_context__-00000024;1 - start 1421363322.708073 answer 0.000000 end 1421363322.709928 dispo NO ANSWER
> [2015-01-16 09:08:42] DEBUG[27629] cdr.c: Skipping CDR for Local/hook at __func_periodic_hook_context__-00000024;1 since we weren't answered
> [2015-01-16 09:08:42] DEBUG[27629] cdr.c: Skipping CDR for Local/hook at __func_periodic_hook_context__-00000024;2 since we weren't answered
> {code}
> Note that it's trying to translate from slin to slin.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list