Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
external
sofia-sip
Commits
6bafeca0
Commit
6bafeca0
authored
Sep 13, 2005
by
Pekka Pessi
Browse files
Fixed NUA_500_ERROR usage.
darcs-hash:20050913083353-65a35-65067c71ee567b3596b644596997642eb5b62161.gz
parent
2360bc02
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
libsofia-sip-ua/nua/nua_stack.c
libsofia-sip-ua/nua/nua_stack.c
+4
-1
libsofia-sip-ua/nua/nua_stack.h
libsofia-sip-ua/nua/nua_stack.h
+3
-1
No files found.
libsofia-sip-ua/nua/nua_stack.c
View file @
6bafeca0
...
...
@@ -170,6 +170,9 @@ static char const nua_allow_str[] =
"INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, INFO, "
"MESSAGE, SUBSCRIBE, NOTIFY, REFER, UPDATE"
;
/** Default internal error */
char
const
nua_500_error
[]
=
"Internal NUA Error"
;
/* ----------------------------------------------------------------------
* Initialization & deinitialization
*/
...
...
@@ -3478,7 +3481,7 @@ ua_invite2(nua_t *nua, nua_handle_t *nh, nua_event_t e, int restarted,
char
const
*
what
;
du
=
dialog_usage_add
(
nh
,
nh
->
nh_ds
,
nua_session_usage
,
NULL
);
what
=
(
char
const
*
)
NUA_500_ERROR
;
/* Internal error */
what
=
nua_500_error
;
/* Internal error */
msg
=
du
?
crequest_message
(
nua
,
nh
,
cr
,
restarted
,
SIP_METHOD_INVITE
,
...
...
libsofia-sip-ua/nua/nua_stack.h
View file @
6bafeca0
...
...
@@ -522,7 +522,9 @@ struct nua_handle_s
(nh)->nh_phrase, \
SIPTAG_WARNING_STR(nh->nh_warning)
#define NUA_500_ERROR 500, "Internal NUA Error"
extern
char
const
nua_500_error
[];
#define NUA_500_ERROR 500, nua_500_error
#define SET_STATUS(_status, _phrase) status = _status, phrase = _phrase
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment