Skip to content

[BUG] opensips 3.6.2 send msg to rtpengine, the msg is Garbled characters, this is big bug, old version have not the same problem #3784

@tong123

Description

@tong123

OpenSIPS version you are running
3.6.2

./osips/sbin/opensips -f ./osips/etc/opensips/opensips.cfg -m 1024 -M 2048

Describe the bug

The formal parameter flags_str of the rtpe_function_call_prepare function takes the value of "media-address=0.0.0.0". In the message sent to the rtpengine process, the content of media-address is garbled. It was found that this piece of memory was released in rtpe_function_call_prepare (because pkg_free(flags_nt.s) was called), but this released memory was used again in the send_rtpe_command function

To Reproduce

Expected behavior

Relevant System Logs

OS/environment information

  • Operating System:
  • OpenSIPS installation:
  • other relevant information:

Additional context

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