Can a gateway set a channel variable ?? If so you can have the gateways define a var like "gateway-available-MYGATEWAY" then test for THAT in your dial plan .... Jay On 15/08/2010, at 7:32 AM, Fraser Redmond <fraserredmond@gmail.com> wrote:
I want to have different gateways defined on dev and prod servers, but with the same dialplan code used between them.
Is there an API function I can put in a condition to detect if a gateway exists? (I had a look through google and the wiki, and the closest looking thing was domain_exists.)
Or am I meant to just try bridging to it, and dealing with a failure?
Cheers, Fraser
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org