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
d75d3b6b
Commit
d75d3b6b
authored
Oct 28, 2005
by
Pekka Pessi
Browse files
Clarified use of nua_refer().
darcs-hash:20051028080138-65a35-6a1d6f66ff2d87ed37ad9bc8ae419967321d39fd.gz
parent
f0724e61
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
libsofia-sip-ua/nua/nua.c
libsofia-sip-ua/nua/nua.c
+5
-3
libsofia-sip-ua/nua/nua_stack.c
libsofia-sip-ua/nua/nua_stack.c
+4
-0
No files found.
libsofia-sip-ua/nua/nua.c
View file @
d75d3b6b
...
...
@@ -1150,9 +1150,11 @@ void nua_terminate(nua_handle_t *nh, tag_type_t tag, tag_value_t value, ...)
/** Transfer a call.
*
* Send a REFER request asking the recipient to transfer the call. The REFER
* request also establishes a subscription to the "refer" event. The event
* id parameter can be determined by the CSeq number from the SIP response
* returned with the nua_r_refer event.
* request also establishes a subscription to the "refer" event. The "refer"
* event will have an "id" parameter, which has the value of CSeq number in
* the REFER request. After initiating the REFER request, the nua engine
* sends application a nua_r_refer event with status 100 and tag
* SIPTAG_EVENT() containing a matching event header.
*
* @param nh Pointer to operation handle
* @param tag, value, ... List of tagged parameters
...
...
libsofia-sip-ua/nua/nua_stack.c
View file @
d75d3b6b
...
...
@@ -6115,6 +6115,10 @@ ua_refer(nua_t *nua, nua_handle_t *nh, nua_event_t e, tagi_t const *tags)
return
UA_EVENT1
(
e
,
NUA_500_ERROR
);
}
/*
* We send a 100 trying event so that application gets a event
* it can use to match NOTIFYs with its REFER
*/
ua_event
(
nua
,
nh
,
NULL
,
e
,
SIP_100_TRYING
,
NUTAG_REFER_EVENT
(
event
),
TAG_END
());
...
...
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