Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
savoirfairelinux
jami-daemon
Commits
91e8105c
Commit
91e8105c
authored
Apr 16, 2012
by
Alexandre Savard
Committed by
Tristan Matthews
Apr 17, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#9830: Remove create_route_set from sipvoiplink
parent
3d5ff61e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
26 deletions
+0
-26
daemon/src/sip/sipvoiplink.cpp
daemon/src/sip/sipvoiplink.cpp
+0
-26
No files found.
daemon/src/sip/sipvoiplink.cpp
View file @
91e8105c
...
...
@@ -117,32 +117,6 @@ int SIPSessionReinvite(SIPCall *);
* Helper function to process refer function on call transfer
*/
void
onCallTransfered
(
pjsip_inv_session
*
inv
,
pjsip_rx_data
*
rdata
);
/*
pjsip_route_hdr *createRouteSet(const std::string &route, pj_pool_t *hdr_pool)
{
int port = 0;
std::string host;
size_t found = route.find(":");
if (found != std::string::npos) {
host = route.substr(0, found);
port = atoi(route.substr(found + 1, route.length()).c_str());
} else
host = route;
pjsip_route_hdr *route_set = pjsip_route_hdr_create(hdr_pool);
pjsip_route_hdr *routing = pjsip_route_hdr_create(hdr_pool);
pjsip_sip_uri *url = pjsip_sip_uri_create(hdr_pool, 0);
routing->name_addr.uri = (pjsip_uri*) url;
pj_strdup2(hdr_pool, &url->host, host.c_str());
url->port = port;
pj_list_push_back(route_set, pjsip_hdr_clone(hdr_pool, routing));
return route_set;
}
*/
void
handleIncomingOptions
(
pjsip_rx_data
*
rdata
)
{
...
...
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