Skip to content

v3.7.7 set -mp but rtp always use one port #833

@ChaoSong77

Description

@ChaoSong77

Hi everyone,
I'm using version v3.7.7. When starting UAS and UAC, I set -mp to 7000, and in the XML, I set m=audio [media_port] RTP/AVP 8 100. Logically, the port for each media transmission should increase by two, for example, 7000, 7002, 7004. However, I've noticed that in SDP, it's always m=audio 7000 RTP/AVP 8 100. Is this normal? If not, could you tell me the correct usage? Thank you very much! Below are my startup commands for UAC and UAS:

UAC:
sipp -sf /root/sip-load-generator/assets/uac-xmode-ok.xml 10.0.2.3:7061 -inf /root/sip-load-generator/assets/Domain.csv -i 10.0.1.61 -p 5062 -mi 10.0.1.61 -p 7000 -r 10 -max_sched_loops 3000

UAS:
sipp -sf uas-xmode.xml -i 10.0.2.3 -p 7061 -mi 10.0.2.3 -mp 7000 -rtp_echo -max_sched_loops 3000

xml:
o=- 1669191793 1669191794 IN IP4 [local_ip]
s=SBC call
c=IN IP4 [media_ip]
b=AS:37
b=RS:600
b=RR:2000
t=0 0
m=audio [media_port] RTP/AVP 8 100

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions