Skip to content

Opensips SIP Recording module cannot engage with SIP recording server. #3258

@AlijiEmmanuel-dev

Description

@AlijiEmmanuel-dev

OpenSIPS version you are running

opensips 3.4.1 (x86_64/linux)

Describe the bug

Opensips fails to engage the sip recording server. It gives the error siprec:s iprec_start_rec: no existing rtp relay context! when trying to use the the function siprec_start_recording("sip:127.0.0.1:5100");.

To Reproduce

Expected behavior

Opensips should engage the SIP recording server to record the calls

Relevant System Logs

 /usr/sbin/opensips[2988535]: DBG:rtpproxy:engage_rtp_proxy5_f: engage called from script 1:(nil) 2:(nil) 3:(nil) 4:(nil)
 /usr/sbin/opensips[2988535]: DBG:core:parse_headers: flags=ffffffffffffffff
 /usr/sbin/opensips[2988535]: DBG:core:decode_mime_type: Decoding MIME type for:[application/sdp]
 /usr/sbin/opensips[2988535]: DBG:rtpproxy:engage_rtp_proxy5_f: message has sdp body -> forcing rtp proxy
 /usr/sbin/opensips[2988535]: DBG:rtpproxy:force_rtp_proxy: force rtp proxy with param1 <none> and param2 <none>
 /usr/sbin/opensips[2988535]: DBG:core:parse_headers: flags=40
 /usr/sbin/opensips[2988535]: DBG:rtpproxy:force_rtpproxy_body_part: Forcing body:#012[v=0#015#012o=emmanuel 2122 3092 IN IP4 10.53.170.10>
 /usr/sbin/opensips[2988535]: DBG:rtpproxy:rtpp_check_reload_ver: set: 0 | my ver: 0 | set ver: 0
 /usr/sbin/opensips[2988535]: DBG:rtpproxy:rtpproxy_offer_answer: trying new rtpproxy node ***.***.**.***:7899
 rtpproxy[2928836]: INFO:GLOBAL:rtpp_command_ul_handle:516: new IPv4/IPv4 session Rms5o7~aFc, tag RtB2pVu5m;1 requested, type strong
 rtpproxy[2928836]: INFO:Rms5o7~aFc:rtpp_command_ul_handle:581: new session on IPv4 port 34498 created, tag RtB2pVu5m;1
 rtpproxy[2928836]: INFO:Rms5o7~aFc:rtpp_stream_prefill_addr:836: pre-filling caller's RTP address with ***.***.**.***:37908
 rtpproxy[2928836]: INFO:Rms5o7~aFc:rtpp_stream_prefill_addr:836: pre-filling caller's RTCP address with ***.***.**.***:37909
 /usr/sbin/opensips[2988535]: DBG:rtpproxy:rtpproxy_offer_answer: proxy reply: 34498 ***.***.**.***#012
 /usr/sbin/opensips[2988535]: DBG:rtpproxy:engage_rtp_proxy5_f: stored values in dialog
 /usr/sbin/opensips[2988535]: DBG:rtpproxy:engage_rtp_proxy5_f: registered engage_callback
 /usr/sbin/opensips[2988535]: ERROR:siprec:siprec_start_rec: no existing rtp relay context!

OS/environment information

  • Operating System: Ubuntu 20.04
  • OpenSIPS installation: debs
  • other relevant information:

Additional context

I am using Orec X sip recorder as recommended by opensips.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions