[asterisk-bugs] [JIRA] (ASTERISK-24695) Unable to get 'B' function of MixMonitor to work with ChanSpy

Matt Jordan (JIRA) noreply at issues.asterisk.org
Thu Jan 15 19:45:34 CST 2015


     [ https://issues.asterisk.org/jira/browse/ASTERISK-24695?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Jordan updated ASTERISK-24695:
-----------------------------------

    Summary: Unable to get 'B' function of MixMonitor to work with ChanSpy  (was: Unable to get 'B' function of MixMonitor to work)

> Unable to get 'B' function of MixMonitor to work with ChanSpy
> -------------------------------------------------------------
>
>                 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
>            Assignee: 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