Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
BC
public
belle-sip
Commits
bfbad2b7
Commit
bfbad2b7
authored
Mar 06, 2014
by
Guillaume Beraudo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Proxy helper function to discover call side record route uri
parent
b223ea60
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/provider.c
src/provider.c
+3
-3
No files found.
src/provider.c
View file @
bfbad2b7
...
...
@@ -445,15 +445,15 @@ belle_sip_provider_t *belle_sip_provider_new(belle_sip_stack_t *s, belle_sip_lis
if
(
lp
)
belle_sip_provider_add_listening_point
(
p
,
lp
);
return
p
;
}
#if 0
/* what is the purpose of this function incorrectly named ?*/
/* This function is used by a proxy to set its call side record route.
* It must be called before adding any VIA header to the message. */
belle_sip_uri_t
*
belles_sip_provider_find_our_origin
(
belle_sip_provider_t
*
p
,
belle_sip_request_t
*
req
)
{
belle_sip_uri_t
*
origin
=
belle_sip_request_extract_origin
(
req
);
belle_sip_hop_t
*
hop
=
belle_sip_hop_new_from_uri
(
origin
);
belle_sip_channel_t
*
inChan
=
belle_sip_provider_get_channel
(
p
,
hop
);
return
compute_our_external_uri_from_channel
(
inChan
);
}
#endif
static
belle_sip_channel_t
*
_belle_sip_provider_find_channel_with_us
(
belle_sip_provider_t
*
p
,
belle_sip_uri_t
*
uri
)
{
const
char
*
transport
;
...
...
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