I want to do this with event socket...

I'm just not sure how.

- outbound call starting
- Validate that a gateway is up
- Perform a requred out-of-band operation (an application action probably) on the gateway
  and wait for it to complete.
- Route call to that gateway

If the gateway is not up, I'd repeat for secondary and tertiary gateways.

Any recipe thoughts?

Thanks,

-Gerry