Asterisk Bring In RTP Audio

Home » Asterisk Users » Asterisk Bring In RTP Audio
Asterisk Users 4 Comments

Hi –

I have a device that has 16 RTP ports. I desire to bring that audio into Asterisk… is that possible ?
The device does not run SIP at all just RTP audio. I am using Asterisk 18. How might I do that ?

Thanks,

Jerry

4 thoughts on - Asterisk Bring In RTP Audio

  • Turn you 16 RTP port device into a SIP UA. Use one of the open source SIP phones as starting point, setup as autoanswer, and start streaming the RTP.

    High level answer for high level question…but that should point you In the right direction

    From: asterisk-users [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Jerry Geis Sent: Sunday, November 7, 2021 8:29 PM
    To: Asterisk Users Mailing List – Non-Commercial Discussion
    Subject: [asterisk-users] Asterisk bring in RTP audio

    Hi –

    I have a device that has 16 RTP ports. I desire to bring that audio into Asterisk… is that possible ?

    The device does not run SIP at all just RTP audio. I am using Asterisk 18.

    How might I do that ?

    Thanks,

    Jerry

  • You may use a UnicastRTP channel. It allows you to specify an IP/port to connect to.

    Regards,

    Jean

  • Hi Jean

    interesting – was not aware of the unicastrtp channel – been looking for more information on it – not finding much.

    Is there anyway to bring “in” audio with unicastrtp. I can perhaps see ‘sending” audio out – but I’m looking for both directions.

    Would this be the syntax ?

    Channel: UnicastRTP/basic/IP:port

    Thanks

    Jerry

  • Le 08/11/2021 à 18:10, Jerry Geis a écrit :
    If I remember well the syntax is “UnicastRTP/IP:port”

    The local RTP port is randomly allocated but you can retrieve it in a channel variable. I guess you will have to transmit it to the other side, unless the other side has a kind of “symmetric RTP” machanism.