Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
asterisk
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Voice
asterisk
Commits
19fcb928
Commit
19fcb928
authored
9 years ago
by
Matt Jordan
Committed by
Gerrit Code Review
9 years ago
Browse files
Options
Downloads
Plain Diff
Merge "AMI: Add Linkedid to the standard channel snapshot AMI event headers."
parents
05dbfedb
c2d48a2a
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CHANGES
+3
-0
3 additions, 0 deletions
CHANGES
doc/appdocsxml.xslt
+6
-0
6 additions, 0 deletions
doc/appdocsxml.xslt
main/manager_channels.c
+4
-2
4 additions, 2 deletions
main/manager_channels.c
with
13 additions
and
2 deletions
CHANGES
+
3
−
0
View file @
19fcb928
...
...
@@ -186,6 +186,9 @@ AMI
* A new ContactStatus event has been added that reflects res_pjsip contact
lifecycle changes: Created, Removed, Reachable, Unreachable, Unknown.
* Added the Linkedid header to the common channel headers listed for each
channel in AMI events.
res_pjsip
------------------
* A new 'g726_non_standard' endpoint option has been added that, when set to
...
...
This diff is collapsed.
Click to expand it.
doc/appdocsxml.xslt
+
6
−
0
View file @
19fcb928
...
...
@@ -98,6 +98,12 @@
<xsl:value-of
select=
"concat(@prefix,'Uniqueid')"
/>
</xsl:attribute>
</xsl:element>
<xsl:element
name=
"parameter"
>
<xsl:attribute
name=
"name"
>
<xsl:value-of
select=
"concat(@prefix,'Linkedid')"
/>
</xsl:attribute>
<para>
Uniqueid of the oldest channel associated with this channel.
</para>
</xsl:element>
</xsl:template>
<xsl:template
match=
"bridge_snapshot"
>
...
...
This diff is collapsed.
Click to expand it.
main/manager_channels.c
+
4
−
2
View file @
19fcb928
...
...
@@ -435,7 +435,8 @@ struct ast_str *ast_manager_build_channel_state_string_prefix(
"%sContext: %s
\r\n
"
"%sExten: %s
\r\n
"
"%sPriority: %d
\r\n
"
"%sUniqueid: %s
\r\n
"
,
"%sUniqueid: %s
\r\n
"
"%sLinkedid: %s
\r\n
"
,
prefix
,
snapshot
->
name
,
prefix
,
snapshot
->
state
,
prefix
,
ast_state2str
(
snapshot
->
state
),
...
...
@@ -448,7 +449,8 @@ struct ast_str *ast_manager_build_channel_state_string_prefix(
prefix
,
snapshot
->
context
,
prefix
,
snapshot
->
exten
,
prefix
,
snapshot
->
priority
,
prefix
,
snapshot
->
uniqueid
);
prefix
,
snapshot
->
uniqueid
,
prefix
,
snapshot
->
linkedid
);
if
(
!
res
)
{
ast_free
(
out
);
...
...
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