[asterisk-app-dev] Bridge + moh

Sylvain Boily sboily at avencall.com
Fri Aug 21 12:11:42 CDT 2015


Hello,

My asterisk version is 13.5.0.

Sometime when i want to post a moh into a bridge, ari return this error.

|{
  "error": "Allocation failed"
}|


For the moment i need to restart Asterisk and everything come back.
Is there is another people got this issue with ari ?

My cli debug:

[Aug 21 13:08:37] DEBUG[31745]: tcptls.c:232 tcptls_stream_read: TCP
timeout reading data
[Aug 21 13:08:37] DEBUG[31745]: http.c:1986 httpd_helper_thread: HTTP
idle timeout or peer closed connection.
[Aug 21 13:08:37] DEBUG[31745]: http.c:2007 httpd_helper_thread: HTTP
closing session.  Top level
[Aug 21 13:08:38] DEBUG[31750]: http.c:1930 httpd_helper_thread: HTTP
opening session.  Top level
[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

[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
[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
[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
[Aug 21 13:08:38] DEBUG[31750]: http.c:1476 handle_uri: Match made with
[ari]
[Aug 21 13:08:38] DEBUG[31750]: res_ari.c:505 ast_ari_invoke: Finding
handler for bridges
[Aug 21 13:08:38] DEBUG[31750]: res_ari.c:509 ast_ari_invoke:   Checking
playbacks
[Aug 21 13:08:38] DEBUG[31750]: res_ari.c:509 ast_ari_invoke:   Checking
sounds
[Aug 21 13:08:38] DEBUG[31750]: res_ari.c:509 ast_ari_invoke:   Checking
bridges
[Aug 21 13:08:38] DEBUG[31750]: res_ari.c:529 ast_ari_invoke:   Got it!
[Aug 21 13:08:38] DEBUG[31750]: res_ari.c:505 ast_ari_invoke: Finding
handler for 6d21e8c3-be38-408d-afc9-0a65519d107d
[Aug 21 13:08:38] DEBUG[31750]: res_ari.c:509 ast_ari_invoke:   Checking
bridgeId
[Aug 21 13:08:38] DEBUG[31750]: res_ari.c:529 ast_ari_invoke:   Got it!
[Aug 21 13:08:38] DEBUG[31750]: res_ari.c:505 ast_ari_invoke: Finding
handler for moh
[Aug 21 13:08:38] DEBUG[31750]: res_ari.c:509 ast_ari_invoke:   Checking
addChannel
[Aug 21 13:08:38] DEBUG[31750]: res_ari.c:509 ast_ari_invoke:   Checking
removeChannel
[Aug 21 13:08:38] DEBUG[31750]: res_ari.c:509 ast_ari_invoke:   Checking moh
[Aug 21 13:08:38] DEBUG[31750]: res_ari.c:529 ast_ari_invoke:   Got it!
[Aug 21 13:08:38] DEBUG[31750]: res_ari.c:1007 ast_ari_callback:
Examining ARI response:
500 Internal Server Error
Access-Control-Allow-Origin: http://ari.asterisk.org
Access-Control-Allow-Credentials: true
Content-type: application/json

{"error":"Allocation failed"}
[Aug 21 13:08:38] DEBUG[31750]: http.c:557 ast_http_send: HTTP keeping
session open.  status_code:500


Sylvain
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-app-dev/attachments/20150821/3708b583/attachment.html>


More information about the asterisk-app-dev mailing list