<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hello,<br>
<br>
My asterisk version is 13.5.0.<br>
<br>
Sometime when i want to post a moh into a bridge, ari return this
error.<br>
<br>
<pre class="json"><code>{
"<span class="attribute">error</span>": <span class="value"><span class="string">"Allocation failed"</span>
}</span></code></pre>
<br>
For the moment i need to restart Asterisk and everything come back.<br>
Is there is another people got this issue with ari ?<br>
<br>
My cli debug:<br>
<br>
[Aug 21 13:08:37] DEBUG[31745]: tcptls.c:232 tcptls_stream_read: TCP
timeout reading data<br>
[Aug 21 13:08:37] DEBUG[31745]: http.c:1986 httpd_helper_thread:
HTTP idle timeout or peer closed connection.<br>
[Aug 21 13:08:37] DEBUG[31745]: http.c:2007 httpd_helper_thread:
HTTP closing session. Top level<br>
[Aug 21 13:08:38] DEBUG[31750]: http.c:1930 httpd_helper_thread:
HTTP opening session. Top level<br>
[Aug 21 13:08:38] DEBUG[31750]: http.c:1405 handle_uri: HTTP Request
URI is
/ari/bridges/6d21e8c3-be38-408d-afc9-0a65519d107d/moh?api_key=xivo:Nasheow8Eag
<br>
[Aug 21 13:08:38] DEBUG[31750]: http.c:1460 handle_uri: match
request [ari/bridges/6d21e8c3-be38-408d-afc9-0a65519d107d/moh] with
handler [httpstatus] len 10<br>
[Aug 21 13:08:38] DEBUG[31750]: http.c:1460 handle_uri: match
request [ari/bridges/6d21e8c3-be38-408d-afc9-0a65519d107d/moh] with
handler [static] len 6<br>
[Aug 21 13:08:38] DEBUG[31750]: http.c:1460 handle_uri: match
request [ari/bridges/6d21e8c3-be38-408d-afc9-0a65519d107d/moh] with
handler [ari] len 3<br>
[Aug 21 13:08:38] DEBUG[31750]: http.c:1476 handle_uri: Match made
with [ari]<br>
[Aug 21 13:08:38] DEBUG[31750]: res_ari.c:505 ast_ari_invoke:
Finding handler for bridges<br>
[Aug 21 13:08:38] DEBUG[31750]: res_ari.c:509 ast_ari_invoke:
Checking playbacks<br>
[Aug 21 13:08:38] DEBUG[31750]: res_ari.c:509 ast_ari_invoke:
Checking sounds<br>
[Aug 21 13:08:38] DEBUG[31750]: res_ari.c:509 ast_ari_invoke:
Checking bridges<br>
[Aug 21 13:08:38] DEBUG[31750]: res_ari.c:529 ast_ari_invoke: Got
it!<br>
[Aug 21 13:08:38] DEBUG[31750]: res_ari.c:505 ast_ari_invoke:
Finding handler for 6d21e8c3-be38-408d-afc9-0a65519d107d<br>
[Aug 21 13:08:38] DEBUG[31750]: res_ari.c:509 ast_ari_invoke:
Checking bridgeId<br>
[Aug 21 13:08:38] DEBUG[31750]: res_ari.c:529 ast_ari_invoke: Got
it!<br>
[Aug 21 13:08:38] DEBUG[31750]: res_ari.c:505 ast_ari_invoke:
Finding handler for moh<br>
[Aug 21 13:08:38] DEBUG[31750]: res_ari.c:509 ast_ari_invoke:
Checking addChannel<br>
[Aug 21 13:08:38] DEBUG[31750]: res_ari.c:509 ast_ari_invoke:
Checking removeChannel<br>
[Aug 21 13:08:38] DEBUG[31750]: res_ari.c:509 ast_ari_invoke:
Checking moh<br>
[Aug 21 13:08:38] DEBUG[31750]: res_ari.c:529 ast_ari_invoke: Got
it!<br>
[Aug 21 13:08:38] DEBUG[31750]: res_ari.c:1007 ast_ari_callback:
Examining ARI response:<br>
500 Internal Server Error<br>
Access-Control-Allow-Origin: <a class="moz-txt-link-freetext"
href="http://ari.asterisk.org">http://ari.asterisk.org</a><br>
Access-Control-Allow-Credentials: true<br>
Content-type: application/json<br>
<br>
{"error":"Allocation failed"}<br>
[Aug 21 13:08:38] DEBUG[31750]: http.c:557 ast_http_send: HTTP
keeping session open. status_code:500<br>
<br>
<br>
Sylvain<br>
</body>
</html>