I want to have different gateways defined on dev and prod servers, but with the same dialplan code used between them.<br><br>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.)<br>

<br>Or am I meant to just try bridging to it, and dealing with a failure?<br><br clear="all">Cheers,<br>Fraser<br><br><br>