Hello.
 
I have small problem with checking connection state. In php script I use following commands:
 
api originate sofia/gateway/voipdiscount.com/0048xxxxxxxx1 &park()
api originate sofia/gateway/voipdiscount.com/0048xxxxxxxx2 &eavesdrop(first_uuid)
 
I want to check if someone has picked up headphone before I use uuid_bridge command. How can I do this ?
 
Thanks.