forked from alcacoop/sipxpcom
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpjsip.h
More file actions
34 lines (27 loc) · 731 Bytes
/
pjsip.h
File metadata and controls
34 lines (27 loc) · 731 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#include <pjmedia.h>
#include <pjlib-util.h>
#include <pjlib.h>
#include <pjsua-lib/pjsua.h>
#include "stdio.h"
#include "string.h"
#include "nsCOMPtr.h"
#include "nsIArray.h"
#include "nsIMutableArray.h"
#include "nsISIP.h"
#include "nsServiceManagerUtils.h"
#include "nsComponentManagerUtils.h"
#include "nsIProxyObjectManager.h"
#define THIS_FILE "APP"
#define current_acc pjsua_acc_get_default()
int sipregister(long sipPort);
int sipderegister();
int sipmakecall(char*);
int siphangup();
void playring();
void stopring();
void setringtone(char*);
void playtone(char);
int sipaddaccount(char*, char*, char*);
void sipsetstunserver(char*);
void SyncObservers(nsCOMPtr<nsIArray>);
static void CallObservers(const char*);