Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-daemon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-daemon
Commits
9de99c18
Commit
9de99c18
authored
16 years ago
by
Emmanuel Milou
Browse files
Options
Downloads
Patches
Plain Diff
Add SIP OPTIONS method capability to sflphone UA
parent
87d1da0d
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/sipvoiplink.cpp
+2
-2
2 additions, 2 deletions
src/sipvoiplink.cpp
with
2 additions
and
2 deletions
src/sipvoiplink.cpp
+
2
−
2
View file @
9de99c18
...
...
@@ -101,7 +101,7 @@ void call_on_state_changed( pjsip_inv_session *inv, pjsip_event *e);
void
call_on_media_update
(
pjsip_inv_session
*
inv
UNUSED
,
pj_status_t
status
UNUSED
);
/*
* Called when the inv
o
te usage module has created a new dialog and invite
* Called when the inv
i
te usage module has created a new dialog and invite
* because of forked outgoing request.
*
* @param inv A pointer on a pjsip_inv_session structure
...
...
@@ -1376,7 +1376,7 @@ std::string SIPVoIPLink::getSipTo(const std::string& to_url, std::string hostnam
_debug
(
"UserAgent: VOIP callbacks initialized
\n
"
);
// Add endpoint capabilities (INFO, OPTIONS, etc) for this UA
pj_str_t
allowed
[]
=
{
{(
char
*
)
"INFO"
,
4
},
{(
char
*
)
"REGISTER"
,
8
}
};
// //{"INVITE", 6}, {"ACK",3}, {"BYE",3}, {"CANCEL",6}
, {"OPTIONS", 7},
pj_str_t
allowed
[]
=
{
{(
char
*
)
"INFO"
,
4
},
{(
char
*
)
"REGISTER"
,
8
}
,
{(
char
*
)
"OPTIONS"
,
7
}
};
// //{"INVITE", 6}, {"ACK",3}, {"BYE",3}, {"CANCEL",6}
accepted
=
pj_str
((
char
*
)
"application/sdp"
);
// Register supported methods
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment