Huge thanks to Joshua Colp for mirroring services

Manager sipchannel command

Share on Twitter Digg this story Click to view a printable version Tue, 19 Jan 2010 21:06:02 -0400

thumnail

Olle has posted a request for feedback on a new command he is adding to the Asterisk Manager:

I am implementing a manager command that can report properties on a SIP channel. Right now, I'm only interested in QoS.
(for obvious reasons).



*CLI> manager show command SIPchannel
Action: SIPchannel
Synopsis: Show information about SIP channel
Privilege: call,all
Description: Show one SIP channel with details on current status.
Variables:
Channel: The channel name (AST) you want to check.
ActionID: Optional action ID for this AMI transaction.
Datatype: Optional parameter name required. If not specified, all data will be sent

Datatype Description
qos Current QoS value for this channel (sender and receiver)




This should be extensible with other datatypes in the future.

Now, for QoS we have to report data for all RTP streams. I was wondering how to label the manager headers. I don't want LocalJitterAudio and LocalJitterVideo - so I started experimenting with parentesis. Meanwhile, we decided to use that for channel identifiers in events/responses including multiple channels. So the question is what kind of syntax I could use here.

Current output:



action: sipchannel
datatype: qos
channel: SIP/pinefrog6-00000000

Response: Success
LocalSSRC(audio): 593163852
RemoteSSRC(audio): 0
LocalJitter(audio): 0
LocalPacketCount(audio): 0
RemotePacketCount(audio): 0
LocalLostPackets(audio): 0
RemoteLostPackets(audio): 0
RemoteJitter(audio): 1
MediaRtt(audio): 25889302




Should I move to

MediaRtt[Audio]

using square brackets. In the future, one could come up with

label[index](channel)

headers for events.

What do you think?

/O


You haven't voted yet! Vote:
Current Rating: 7/10 (1 votes)

Comments (Click to post)

Comments
Name:
Subject:
Website:
Message: 

Similar Articles (Based on Title)

Asterisk Dialplan command "PPPD" released - February 3, 2005
Oskar Senft has send details of a new command to provide RAS dialin and dialout.

New SMS gateway command - March 12, 2005
Adam Holt has posted details of a new Internet based SMS app for Asterisk.

*-cvs: Add G option to dial command - March 20, 2005
A new option (G) has been added to the dial command which will transfer both parties to a defined extension when the call is answered. This is currently only in CVS-HEAD.

BugTraq: New capi4hylafax packages fix arbitrary command execution - September 2, 2006
Martin Schulze has posted details of a fix in Debian for Capi4Hylafax.

New feature for AMI Redirect command - September 22, 2009
Hakon Nessjoen has posted an email asking for testing of a patch for redirecting channels in different directions.

David Troy releases Simple Manager Proxy - September 27, 2004
A cutdown version of the flash-operator panel's op_server.pl file.

Xorcom: How to install a SIP phone, Connecting to the Asterisk Manager - October 12, 2004
The guys over at Xorcom have a tips section with a couple of tips.

ADM 0.5 - Asterisk Desktop Manager (alpha) - February 8, 2005
Richard Hamnett has sent us details of his application for Asterisk/Desktop integration.

*-Dev: AGI via Asterisk Manager API - March 18, 2005
David Pollak has posted details of a method to run AGI commands through the manager interface.

*-Dev: New manager commands - March 21, 2005
Olle has posted details of some new manager commands to the Asterisk-Dev list

Web-MeetMe (through manager) - March 22, 2005
Areski has released a new version of the web based meetme control.

New AstManProxy Manager Proxy v0.98 - April 20, 2005
David Troy has posted details of his new multithreaded manager proxy.

bugtracker: [Patch] Bridge of 2 existing channels including Manager API - May 17, 2005
Matt Florell has posted details of a patch to allow channels to be bridged (including via the manager).

Cisco Call Manager And Asterisk for Voicemail - May 27, 2005
Shaun Ewing has posted detail of a pdf he's written for integrating Cisco Call Manager And Asterisk.


Original Content (C) 2004-2010 Matt Riddell
Back 5  Feed Add
to
Google Subscribe with Bloglines
Go to today

Icons by: FastIcon.com


Back to life
July 21, 2010 Average Vote: 10
Hey all - I am back online after some pretty big projects which have taken all my time. Will be updating the Asterisk news over the next few days.

Nerd Vittles: Building a Bluetooth Proximity Detection System with Asterisk
December 12, 2005 Average Vote: 10
The Nerd Vittles site has an article on proximity detection using Asterisk and a TomTom GPS

Automated Testing Update
July 30, 2010 Average Vote: 10
Russell Bryant has posted details of a new mailing list for automated testing of Asterisk and some information on the progress that has been made. There is no way to say how important I think this work is. It really makes a huge difference to Asterisk and the ability to use it in an enterprise environment. Really great work.

VoIP-Info: FFasterisk Video file converter
August 25, 2006 Average Vote: 10
The wiki has a link to a new piece of software for converting video to the format required for Asterisk.

Code Review: SRTP support for Asterisk
March 12, 2009 Average Vote: 10
Terry Wilson has moved his SRTP branch onto the Digium review board.

HumBug - Pre BETA Launch Registration
July 27, 2010 Average Vote: 10
Nir Simionovich has posted details of the beta of the new call analytics service.

Interview with BKW_
December 7, 2004 Average Vote: 10
We've finally completed our interview with BKW. Hope you like! :-)

SlashDot: GSM and Asterisk Integration
August 21, 2005 Average Vote: 10
There is a post up on SlashDot which talks about using cellphones with Asterisk.

Interview with Mark Spencer
November 26, 2004 Average Vote: 9.9
We have managed to get an interview with Mark Spencer AKA Markster. Mark Spencer is the creator of Asterisk and by far the most active developer.

Asterisk and Kamailio realtime integration tutorial
May 24, 2010 Average Vote: 9.9
Daniel-Constantin Mierla has posted a link to a tutorial on integrating Asterisk and Kamailio using realtime.

Asterisk IPv6 update
February 1, 2010 Average Vote: 9.8
Olle has posted an update on IPV6 in Asterisk and a link to a blog post of his.

Proposal for T.38 transparent gateway design in Asterisk
April 29, 2010 Average Vote: 9.8
Kevin Fleming has posted a proposed design for a transparent T.38 gateway for Asterisk:

Asterisk Monitoring with iPhone and iPod touch
February 12, 2010 Average Vote: 9.7
For the past couple of weeks I have been working on an app that allows you to monitor and restart Asterisk servers.

Monitoring Asterisk with Munin
January 7, 2010 Average Vote: 9.7
I had a few requests for these munin plugins after some discussion on one of the Asterisk lists and thought people might like them.

New Zealand Asterisk Voices
March 2, 2006 Average Vote: 9.7
Chris Hodgetts has posted details of recordings of Asterisk Sounds with a New Zealand accent.


Automated Testing Update
July 30, 2010
Russell Bryant has posted details of a new mailing list for automated testing of Asterisk and some information on the progress that has been made. There is no way to say how important I think this work is. It really makes a huge difference to Asterisk and the ability to use it in an enterprise environment. Really great work.

Asterisk 1.8.0-beta2 Now Available
July 28, 2010
The Asterisk Development Team has announced the release of Asterisk 1.8.0-beta2.

HumBug - Pre BETA Launch Registration
July 27, 2010
Nir Simionovich has posted details of the beta of the new call analytics service.

Branch Merging Changes
July 26, 2010
Russell Bryant has posted details of some changes to the way developers need to commit code to Asterisk because of the newly released 1.8 branch.

Asterisk 1.8.0-beta1 is Now Available
July 26, 2010
The Asterisk Development Team has announced the release of Asterisk 1.8.0-beta1. This release marks the beginning of the testing process for the eventual release of Asterisk 1.8.0.

Asterisk 1.6.2.10 Now Available
July 26, 2010
The Asterisk Development Team has announced the release of Asterisk 1.6.2.10.

Asterisk 1.4.34 Now Available
July 26, 2010
The Asterisk Development Team has announced the release of Asterisk 1.4.34.

AppleRaisin - AstDB over realtime
July 23, 2010
Olle has posted a note about his awesome AppleRaisin branch which provides the ability to store AstDB in realtime. This would make for a much simpler failover and clustering situation.

QueueMetrics 1.6.1 released
July 22, 2010
Lenz has posted a note to inform us that QueueMetrics version 1.6.1 has been released. This release offers a large number of bug fixes, misc improvements and new developements including hotdesking.

Asterisk 1.8 Branch Creation
July 22, 2010
Russell Bryant has posted a note to inform us of the creation of the 1.8 branch of Asterisk.