Browse code

nsq: remove unused defs.h file

Emmanuel Schmidbauer authored on 16/10/2020 11:22:33
Showing 1 changed files
1 1
deleted file mode 100644
... ...
@@ -1,130 +0,0 @@
1
-/*
2
- * NSQ module
3
- *
4
- * Copyright (C) 2010-2014 2600Hz
5
- *
6
- * This file is part of Kamailio, a free SIP server.
7
- *
8
- * Kamailio is free software; you can redistribute it and/or modify
9
- * it under the terms of the GNU General Public License as published by
10
- * the Free Software Foundation; either version 2 of the License, or
11
- * (at your option) any later version
12
- *
13
- * Kamailio is distributed in the hope that it will be useful,
14
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
15
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16
- * GNU General Public License for more details.
17
- *
18
- * You should have received a copy of the GNU General Public License
19
- * along with this program; if not, write to the Free Software
20
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
21
- *
22
- * Contributor(s):
23
- * Emmanuel Schmidbauer <emmanuel@getweave.com>
24
- *
25
- */
26
-
27
-#ifndef _NSQ_DEFS_H_
28
-#define _NSQ_DEFS_H_
29
-
30
-#define BLF_MAX_DIALOGS 8
31
-#define BLF_JSON_PRES		"Presentity"
32
-#define BLF_JSON_PRES_USER	"Presentity-User"
33
-#define BLF_JSON_PRES_REALM	"Presentity-Realm"
34
-#define BLF_JSON_FROM      	"From"
35
-#define BLF_JSON_FROM_USER 	"From-User"
36
-#define BLF_JSON_FROM_REALM	"From-Realm"
37
-#define BLF_JSON_FROM_URI	"From-URI"
38
-#define BLF_JSON_TO        	"To"
39
-#define BLF_JSON_TO_USER 	"To-User"
40
-#define BLF_JSON_TO_REALM	"To-Realm"
41
-#define BLF_JSON_TO_URI		"To-URI"
42
-#define BLF_JSON_CALLID    	"Call-ID"
43
-#define BLF_JSON_TOTAG     	"To-Tag"
44
-#define BLF_JSON_FROMTAG   	"From-Tag"
45
-#define BLF_JSON_STATE     	"State"
46
-#define BLF_JSON_USER      	"User"
47
-#define BLF_JSON_QUEUE     	"Queue"
48
-#define BLF_JSON_EXPIRES	"Expires"
49
-#define BLF_JSON_APP_NAME       "App-Name"
50
-#define BLF_JSON_APP_VERSION    "App-Version"
51
-#define BLF_JSON_NODE           "Node"
52
-#define BLF_JSON_SERVERID       "Server-ID"
53
-#define BLF_JSON_EVENT_CATEGORY "Event-Category"
54
-#define BLF_JSON_EVENT_NAME     "Event-Name"
55
-#define BLF_JSON_TYPE           "Type"
56
-#define BLF_JSON_MSG_ID         "Msg-ID"
57
-#define BLF_JSON_DIRECTION      "Direction"
58
-
59
-#define BLF_JSON_CONTACT   	"Contact"
60
-#define BLF_JSON_EVENT_PKG      "Event-Package"
61
-#define MWI_JSON_WAITING        "Messages-Waiting"
62
-#define MWI_JSON_VOICE_MESSAGE  "MWI-Voice-Message"
63
-#define MWI_JSON_NEW            "Messages-New"
64
-#define MWI_JSON_SAVED          "Messages-Saved"
65
-#define MWI_JSON_URGENT         "Messages-Urgent"
66
-#define MWI_JSON_URGENT_SAVED   "Messages-Urgent-Saved"
67
-#define MWI_JSON_ACCOUNT        "Message-Account"
68
-#define MWI_JSON_FROM      	"From"
69
-#define MWI_JSON_TO        	"To"
70
-
71
-#define DIALOGINFO_BODY_BUFFER_SIZE 8192
72
-#define MWI_BODY_BUFFER_SIZE 2048
73
-#define PRESENCE_BODY_BUFFER_SIZE 4096
74
-
75
-#define MWI_BODY_VOICE_MESSAGE "Messages-Waiting: %.*s\r\nMessage-Account: %.*s\r\nVoice-Message: %.*s\r\n"
76
-#define MWI_BODY_NO_VOICE_MESSAGE "Messages-Waiting: %.*s\r\nMessage-Account: %.*s\r\n"
77
-#define MWI_BODY             "Messages-Waiting: %.*s\r\nMessage-Account: %.*s\r\nVoice-Message: %.*s/%.*s (%.*s/%.*s)\r\n"
78
-#define PRESENCE_BODY        "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\
79
-<presence xmlns=\"urn:ietf:params:xml:ns:pidf\" xmlns:dm=\"urn:ietf:params:xml:ns:pidf:data-model\" xmlns:rpid=\"urn:ietf:params:xml:ns:pidf:rpid\" xmlns:c=\"urn:ietf:params:xml:ns:pidf:cipid\" entity=\"%s\"> \
80
-<tuple xmlns=\"urn:ietf:params:xml:ns:pidf\" id=\"%s\">\
81
-<status>\
82
-<basic>%s</basic>\
83
-</status>\
84
-</tuple>\
85
-<note xmlns=\"urn:ietf:params:xml:ns:pidf\">%s</note>\
86
-<dm:person xmlns:dm=\"urn:ietf:params:xml:ns:pidf:data-model\" xmlns:rpid=\"urn:ietf:params:xml:ns:pidf:rpid\" id=\"1\">\
87
-<rpid:activities>%s</rpid:activities>\
88
-<dm:note>%s</dm:note>\
89
-</dm:person>\
90
-</presence>"
91
-
92
-#define DIALOGINFO_EMPTY_BODY "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\
93
-<dialog-info xmlns=\"urn:ietf:params:xml:ns:dialog-info\" version=\"1\" state=\"full\" entity=\"%.*s\"> \
94
-<dialog call-id=\"76001e23e09704ea9e1257ebea85e1f3\" direction=\"initiator\">\
95
-<state>terminated</state>\
96
-</dialog>\
97
-</dialog-info>"
98
-
99
-#define LOCAL_TAG "local-tag=\"%.*s\""
100
-#define REMOTE_TAG "remote-tag=\"%.*s\""
101
-
102
-#define DIALOGINFO_BODY "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\
103
-<dialog-info xmlns=\"urn:ietf:params:xml:ns:dialog-info\" version=\"1\" state=\"full\" entity=\"%.*s\">\
104
-<dialog id=\"%.*s\" call-id=\"%.*s\" %.*s %.*s direction=\"%.*s\">\
105
-<state>%.*s</state>\
106
-<local>\
107
-<identity display=\"%.*s\">%.*s</identity>\
108
-<target uri=\"%.*s\"/>\
109
-</local>\
110
-<remote>\
111
-<identity display=\"%.*s\">%.*s</identity>\
112
-<target uri=\"%.*s\"/>\
113
-</remote>\
114
-</dialog>\
115
-</dialog-info>"
116
-
117
-#define DIALOGINFO_BODY_2 "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\
118
-<dialog-info xmlns=\"urn:ietf:params:xml:ns:dialog-info\" version=\"1\" state=\"full\" entity=\"%.*s\">\
119
-<dialog id=\"%.*s\" call-id=\"%.*s\" %.*s %.*s direction=\"%.*s\">\
120
-<state>%.*s</state>\
121
-<local>\
122
-<identity display=\"%.*s\">%.*s</identity>\
123
-</local>\
124
-<remote>\
125
-<identity display=\"%.*s\">%.*s</identity>\
126
-</remote>\
127
-</dialog>\
128
-</dialog-info>"
129
-
130
-#endif /* _NSQ_DEFS_H_ */