3 Copyright (C) 2010 Simon MORLAT (simon.morlat@free.fr)
5 This program is free software; you can redistribute it and/or
6 modify it under the terms of the GNU General Public License
7 as published by the Free Software Foundation; either version 2
8 of the License, or (at your option) any later version.
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
23 #include "linphonecore.h"
26 static void call_received(SalOp *h){
29 static void call_ringing(SalOp *h){
32 static void call_accepted(SalOp *h){
35 static void call_ack(SalOp *h){
38 static void call_updated(SalOp *){
41 static void call_terminated(SalOp *h){
44 static void call_failure(SalOp *h, SalError error, SalReason reason, const char *details){
47 static void auth_requested(SalOp *h, const char *realm, const char *username){
50 static void auth_success(SalOp *h, const char *realm, const char *username){
53 static void register_success(SalOp *op, bool_t registered){
56 static void register_failure(SalOp *op, SalError error, SalReason reason, const char *details){
59 static void vfu_request(SalOp *op){
62 static void dtmf_received(SalOp *op, char dtmf){
65 static void refer_received(SalOp *op, SalOp *op, const char *referto){
68 static void text_received(Sal *sal, const char *from, const char *msg){
71 static void presence_changed(SalOp *op, SalPresenceStatus status, const char *msg){
74 static void subscribe_received(SalOp *op, const char *from){
77 static void internal_message(SalOp *op, const char *msg){
82 SalCallbacks linphone_sal_callbacks={