Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] Find out or log negotiated codec for SIP channel?


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
tony at softins.co.uk
Guest





PostPosted: Thu Jun 04, 2015 5:58 am    Post subject: [asterisk-users] Find out or log negotiated codec for SIP ch Reply with quote

Hi, despite some searching I haven't found an answer to this question:

Is there a way I can see in the log, or find out in the dialplan, what
codec has been negotiated for a SIP channel? If possible, I'd like to
do this in both Asterisk 11 and in an old 1.2 system.

What I'm specifically trying to do is to determine historically the
usage of the G.729 licences installed in a system, but an answer to
the more general question would be useful.

Thanks
Tony
--
Tony Mountifield
Work: tony@softins.co.uk - http://www.softins.co.uk
Play: tony@mountifield.org - http://tony.mountifield.org

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
rnewton at digium.com
Guest





PostPosted: Tue Jun 09, 2015 9:17 am    Post subject: [asterisk-users] Find out or log negotiated codec for SIP ch Reply with quote

On Thu, Jun 4, 2015 at 5:58 AM, Tony Mountifield <tony@softins.co.uk (tony@softins.co.uk)> wrote:
Quote:
Hi, despite some searching I haven't found an answer to this question:

Is there a way I can see in the log, or find out in the dialplan, what
codec has been negotiated for a SIP channel? If possible, I'd like to
do this in both Asterisk 11 and in an old 1.2 system.

What I'm specifically trying to do is to determine historically the
usage of the G.729 licences installed in a system, but an answer to
the more general question would be useful.

Thanks
Tony
--
Tony Mountifield
Work: tony@softins.co.uk (tony@softins.co.uk) - http://www.softins.co.uk
Play: tony@mountifield.org (tony@mountifield.org) - http://tony.mountifield.org


I believe  "core show channel <channel name>" or "sip show channel <channel name>" may help you.


From a log standpoint - there should be information on the codecs negotiated when you enable the DEBUG logger channel.


You probably want to read through the logging documentation on the wiki.


https://wiki.asterisk.org/wiki/display/AST/Logging

https://wiki.asterisk.org/wiki/display/AST/Collecting+Debug+Information



Thanks,



--
Quote:
Rusty Newton
Digium, Inc. | Community Support Manager
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
direct: +1 256 428 6200

Check us out at: http://digium.com & http://asterisk.org
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services