[asterisk-dev] Destroy bridge not working

sven.evensen at teletopia.com sven.evensen at teletopia.com
Tue Feb 14 02:23:33 CST 2017


Hi all,
I am on Asterisk 14.2.1 and I am using ari4java.
I use extensively  bridging to connect an incoming call to an outgoing 
call. That works well.
When a call is finished, I call "ari.bridges().destroy( bridgeId );" 
to clean up. No error message
and events look correct. But I see this :


d-ast*CLI> bridge show all
Bridge-ID                            Chans Type            Technology
Bridge-1487017020.13433                  0 stasis          
simple_bridge
Bridge-1487014170.12008                  0 stasis          
simple_bridge
Bridge-1487017020.13434                  0 stasis          
simple_bridge
Bridge-1486991878.918                    0 stasis          
simple_bridge

Hundreds of these. I ran a test with 2000 calls and all seemingly 
worked, but after some 500
calls I saw exceptions being thrown.

I assume I am doing something wrong here. Am I not destoying the 
bridges correctly?

regards,
Sven





More information about the asterisk-dev mailing list