1 /* 2 * Copyright (C) 2006 Stefan Sayer 3 * 4 * This file is part of SEMS, a free SIP media server. 5 * 6 * SEMS is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; either version 2 of the License, or 9 * (at your option) any later version. This program is released under 10 * the GPL with the additional exemption that compiling, linking, 11 * and/or using OpenSSL is allowed. 12 * 13 * For a license to use the SEMS software under conditions 14 * other than those described here, or to purchase support for this 15 * software, please contact iptel.org by e-mail at the following addresses: 16 * info@iptel.org 17 * 18 * SEMS is distributed in the hope that it will be useful, 19 * but WITHOUT ANY WARRANTY; without even the implied warranty of 20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 21 * GNU General Public License for more details. 22 * 23 * You should have received a copy of the GNU General Public License 24 * along with this program; if not, write to the Free Software 25 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 26 */ 27 /** @file AmUAC.h */ 28 #ifndef AmUAC_H 29 #define AmUAC_H 30 31 #include "AmThread.h" 32 #include "AmSession.h" 33 #include "AmArg.h" 34 35 #include <string> 36 using std::string; 37 38 /** \brief API for UAC support */ 39 class AmUAC { 40 public: 41 static string dialout(const string& user, 42 const string& app_name, 43 const string& r_uri, 44 const string& from, 45 const string& from_uri, 46 const string& to, 47 const string& local_tag = "", 48 const string& hdrs = "", 49 AmArg* session_params = NULL); 50 51 }; 52 53 #endif 54