[asterisk-users] How to read RTP ports from CLI ?

Olivier oza.4h07 at gmail.com
Wed Aug 13 09:29:47 CDT 2014


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


>
> --
> _____________________________________________________________________
> -- 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



More information about the asterisk-users mailing list