Skip to content

Unable to configure RTP port range #29

@mgoga

Description

@mgoga

With sipster/pjsip sucessfully installed I would like to follow through the basic sipster example and record the sound from a sip connection to that sip server. Now if I run this on a local arch linux machine the sound gets recorded fully, but if I do the same on a docker machine, that I start with

docker run -p 5060:5060/udp -it myContainer

the SIP connection works, but there is no sound recorded.

A friend told me that SIP uses RTP for sound transport and that this protocol binds UDP ports from 16384 to 32767.

Now if I do

docker run -p 5060:5060/udp -p 16384-32767:16384-32767/udp -it myContainer

this takes ages and crashes eventually.

Is there a way to narrow down the RTP port range in sipster or pjsip?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions