[asterisk-bugs] [JIRA] (ASTERISK-26094) stasis: Playing MOH to bridge with ARI does not work
Richard Mudgett (JIRA)
noreply at issues.asterisk.org
Tue Jun 26 15:43:54 CDT 2018
[ https://issues.asterisk.org/jira/browse/ASTERISK-26094?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Richard Mudgett updated ASTERISK-26094:
---------------------------------------
Description:
I do the following on an incoming call:
1 - Create/Update a bridge using ARI (POST to /bridges/\{bridgeid} with custom bridgeid and type=mixing
2 - Add current channel to bridge (POST /bridges/\{bridgeId}/addChannel). Nothing for role. There is now 1 channel in bridge.
-- Channel PJSIP/abc-00000000 joined 'simple_bridge' stasis-bridge <1111a>
3 - Play moh (POST to /bridges/\{bridgeid}/moh).
Expected to hear something on channel, but nothing. Console debug says moh started and then immediately says it stopped with no reason why.
-- Channel Announcer/ARI_MOH-00000000;2 joined 'simple_bridge' stasis-bridge <1111a>
-- Started music on hold, class 'en', on channel 'Announcer/ARI_MOH-00000000;1'
-- Stopped music on hold on Announcer/ARI_MOH-00000000;1
4 - Play moh again. Same parameters.
Now moh file plays just fine. The single short wav file plays over and over as expected.
5 - Hangup channel, and repeat.
After the steps above, every time I POST to /bridges/\{bridgeid}/moh I get an error back "Allocation failed". Nothing is heard. Nothing is logged on asterisk console for this POST. (Debug 9, verbose 9)
was:
I do the following on an incoming call:
1 - Create/Update a bridge using ARI (POST to /bridges/{bridgeid} with custom bridgeid and type=mixing
2 - Add current channel to bridge (POST /bridges/{bridgeId}/addChannel). Nothing for role. There is now 1 channel in bridge.
-- Channel PJSIP/abc-00000000 joined 'simple_bridge' stasis-bridge <1111a>
3 - Play moh (POST to /bridges/{bridgeid}/moh).
Expected to hear something on channel, but nothing. Console debug says moh started and then immediately says it stopped with no reason why.
-- Channel Announcer/ARI_MOH-00000000;2 joined 'simple_bridge' stasis-bridge <1111a>
-- Started music on hold, class 'en', on channel 'Announcer/ARI_MOH-00000000;1'
-- Stopped music on hold on Announcer/ARI_MOH-00000000;1
4 - Play moh again. Same parameters.
Now moh file plays just fine. The single short wav file plays over and over as expected.
5 - Hangup channel, and repeat.
After the steps above, every time I POST to /bridges/{bridgeid}/moh I get an error back "Allocation failed". Nothing is heard. Nothing is logged on asterisk console for this POST. (Debug 9, verbose 9)
> stasis: Playing MOH to bridge with ARI does not work
> ----------------------------------------------------
>
> Key: ASTERISK-26094
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-26094
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Resources/res_stasis
> Affects Versions: 13.9.1, 13.10.0
> Environment: Ubuntu 14.04.4 LTS
> Reporter: Cameron
> Labels: pjsip
> Attachments: debug_log_26094, mohbug.js
>
>
> I do the following on an incoming call:
> 1 - Create/Update a bridge using ARI (POST to /bridges/\{bridgeid} with custom bridgeid and type=mixing
> 2 - Add current channel to bridge (POST /bridges/\{bridgeId}/addChannel). Nothing for role. There is now 1 channel in bridge.
> -- Channel PJSIP/abc-00000000 joined 'simple_bridge' stasis-bridge <1111a>
> 3 - Play moh (POST to /bridges/\{bridgeid}/moh).
> Expected to hear something on channel, but nothing. Console debug says moh started and then immediately says it stopped with no reason why.
> -- Channel Announcer/ARI_MOH-00000000;2 joined 'simple_bridge' stasis-bridge <1111a>
> -- Started music on hold, class 'en', on channel 'Announcer/ARI_MOH-00000000;1'
> -- Stopped music on hold on Announcer/ARI_MOH-00000000;1
> 4 - Play moh again. Same parameters.
> Now moh file plays just fine. The single short wav file plays over and over as expected.
> 5 - Hangup channel, and repeat.
> After the steps above, every time I POST to /bridges/\{bridgeid}/moh I get an error back "Allocation failed". Nothing is heard. Nothing is logged on asterisk console for this POST. (Debug 9, verbose 9)
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list