Skip to content

Getting 253 exit code for RTP to SRTP call. #834

@nikhildhupkar

Description

@nikhildhupkar

@jeannotlanglois -

Media is failing with UAC exit code 253 for RTP to SRTP call(only audio)

Please find attached traces and logs in zip file.

1=>Logs for BOTH the SIPP-UAC side AND the SIPP-UAS side - Attached

2=> Additionally I will also ideally need a wireshark capture of both the SIPP-UAC and SIPP-UAS side - attached

SIPP-UAS side pcap file does not show SRTP packets received but RTP engine pcap file shows SRTP packets are sent to UAS sipp.

Below is the UAS sipp-script part as per the PDF document:
a=crypto:[cryptotag1audio] [cryptosuiteaescm128sha1801audio] inline:[cryptokeyparams1audio]

rtp_echo="startaudio,0,PCMU/8000"
rtp_echo="updateaudio,0,PCMU/8000"
rtp_echo="stopaudio,0,PCMU/8000"

When I remove rtp_echo="startaudio/updateaudio/stopaudio" nop blocks from sipp-uas script and replace with below rtp_stream(which is not as per the PDF document), then I can see SRTP packets are being received at UAS-sipp side.
This does not do SRTP-echo but its generating SRTP packets which are being dropped at RTPEngine due to Auth failed error.

rtp_stream="apattern,1,8,PCMA/8000"

Observation - When rtp_echo="startaudio/updateaudio/stopaudio" is used in UAS script RTP engine, SRTP packets are not being received by UAS sipp but when we remove it, SRTP packets are being received by UAS sipp. It means there is no network issue from RTP engine to UAS-sipp machine.

3=> I also need to see the exact command lines that you are using to launch SIPP-UAC and SIPP-UAS (e.g. BOTH sides).

UAS

sipp -i 10.10.14.137 -p 5060 -key account_name sipp-uas.xconnect.lab -key sipp_server_public_ip 54.221.150.22 -sf outbound_call_srtp_uas.xml -rtpcheck_debug -srtpcheck_debug

UAC

sipp -i 10.10.14.202 -p 5030 -m 1 10.10.6.78:5085 -key account_name sipp-uac.xconnect.lab -key called_number +1555333111 -key source_number +12082137662 -key sipp_client_public_ip 98.81.121.17 -sf outbound_call_srtp_uac.xml -rtpcheck_debug -srtpcheck_debug

4=> Finally I will need a quick description of your setup
Below is the setup:
UAC-SIPP(10.10.14.202/98.81.121.17) --> Kamailio/RTPEngine(10.10.14.50/3.215.2.108) --> UAS-SIPP(10.10.14.137/54.221.150.22)

SIPP_RTP_to_SRTP_issue.zip

outbound_call_srtp_uac.xml
outbound_call_srtp_uas.xml

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