[Home]

Summary:ASTERISK-23734: ARI crash when using bridges with no names
Reporter:Paul Belanger (pabelanger)Labels:
Date Opened:2014-05-12 14:37:57Date Closed:2015-01-29 16:37:52.000-0600
Priority:MajorRegression?
Status:Closed/CompleteComponents:Resources/res_ari
Versions:Frequency of
Occurrence
Related
Issues:
is related toASTERISK-24560 Creating a named ARI bridge twice causes a crash
Environment:Attachments:( 0) bt.txt
Description:Create a bridge with no name in ARI, then assign music on hold to the bridge, asterisk will crash.

See attached backtrace.
Comments:By: Paul Belanger (pabelanger) 2014-05-13 10:11:06.349-0500

Below is an example of how to crash asterisk, it is actually a malformed bridge ID that does it.

$ curl -i -X POST -H 'Content-Type: application/json' -H 'Authorization: Basic Z3Vlc3Q6Z3Vlc3Q=' -H 'Accept: application/json' -H 'User-Agent: python-ari' -d '{}' "http://localhost:8088/ari/bridges"

$ curl -i -X POST -H 'Content-Type: application/json' -H 'Authorization: Basic Z3Vlc3Q6Z3Vlc3Q=' -H 'Accept: application/json' -H 'User-Agent: python-ari' -d '{}' "http://localhost:8088/ari/bridges/<Bridge bb56-29a28ca5a33e>/moh"


By: Matt Jordan (mjordan) 2015-01-29 16:38:15.870-0600

This should be fixed by the patch on ASTERISK-24560.