[asterisk-users] How to read RTP ports from CLI ?
Matthew Jordan
mjordan at digium.com
Wed Aug 13 12:07:52 CDT 2014
On Wed, Aug 13, 2014 at 9:29 AM, Olivier <oza.4h07 at gmail.com> wrote:
> 2014-08-13 15:38 GMT+02:00 Mikael Fredin <mikael at wiraya.com>:
>> On 12 August 2014 16:19, Olivier <oza.4h07 at gmail.com> wrote:
>>>
>>> How can I read RTP ports from CLI (to double check what could be
>>> included in rtp.conf file) ?
>>> "sip show settings" do not provide the answer.
>>
>>
>> On way would be to activate SIP debugging:
>> sip set debug on
>>
>> Then check the INVITE body/SDP for port on a row that looks like this:
>> m=audio 11374 RTP/AVP 8 101
>>
>> Where 11374 would be the port.
>>
>> /Mikael Fredin
>
> Sure but what I'm looking for is to:
> - type something like "rtp show settings"
> - and read something like : Port range 10000-20000
That information is not available via a CLI command.
--
Matthew Jordan
Digium, Inc. | Engineering Manager
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: http://digium.com & http://asterisk.org
More information about the asterisk-users
mailing list