2 * Asterisk -- A telephony toolkit for Linux.
6 * Copyright (C) 1999, Mark Spencer
8 * Mark Spencer <markster@linux-support.net>
10 * This program is free software, distributed under the terms of
11 * the GNU General Public License
14 #ifndef _ASTERISK_SRV_H
15 #define _ASTERISK_SRV_H
16 #include <asterisk/channel.h>
17 /* Lookup entry in SRV records Returns 1 if found, 0 if not found, -1 on hangup */
18 extern int ast_get_srv(struct ast_channel *chan, char *host, int hostlen, int *port, const char *service);