<p><b>@jchavanton</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/kamailio/kamailio/pull/1701#discussion_r230569857">src/modules/rtp_media_server/rtp_media_server.c</a>:</p>
<pre style='color:#555'>> +{
+       if(rank == PROC_MAIN) {
+               int pid;
+               pid = fork_process(PROC_XWORKER, "RTP_media_server", 1);
+               if(pid < 0)
+                       return -1;
+               if(pid == 0) {
+                       rms_session_manage_loop();
+                       return 0;
+               }
+       }
+       int rtn = 0;
+       return (rtn);
+}
+
+int rms_str_dup(str *dst, str *src, int shared)
</pre>
<p>Same topic as before, since they do not convert to <code>\0</code> terminated <code>char *</code> they are not flexible in this case.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/pull/1701#discussion_r230569857">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AF36ZXd50TMtHpqEsXb-fY1oEoRHtdccks5urhtggaJpZM4YF7gV">mute the thread</a>.<img src="https://github.com/notifications/beacon/AF36Zdh-b2w-dOZgYxDkzsbjeiUzqbDfks5urhtggaJpZM4YF7gV.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/kamailio/kamailio","title":"kamailio/kamailio","subtitle":"GitHub repository","main_image_url":"https://assets-cdn.github.com/images/email/message_cards/header.png","avatar_image_url":"https://assets-cdn.github.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/kamailio/kamailio"}},"updates":{"snippets":[{"icon":"PERSON","message":"@jchavanton commented on #1701"}],"action":{"name":"View Pull Request","url":"https://github.com/kamailio/kamailio/pull/1701#discussion_r230569857"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/pull/1701#discussion_r230569857",
"url": "https://github.com/kamailio/kamailio/pull/1701#discussion_r230569857",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
},
{
"@type": "MessageCard",
"@context": "http://schema.org/extensions",
"hideOriginalBody": "false",
"originator": "AF6C5A86-E920-430C-9C59-A73278B5EFEB",
"title": "@jchavanton commented on 1701",
"sections": [
{
"text": "",
"activityTitle": "**Julien Chavanton**",
"activityImage": "https://assets-cdn.github.com/images/email/message_cards/avatar.png",
"activitySubtitle": "@jchavanton",
"facts": [

]
}
],
"potentialAction": [
{
"targets": [
{
"os": "default",
"uri": "https://github.com/kamailio/kamailio/pull/1701#discussion_r230569857"
}
],
"@type": "OpenUri",
"name": "View on GitHub"
},
{
"name": "Unsubscribe",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"MuteNotification\",\n\"threadId\": 404207637\n}"
}
],
"themeColor": "26292E"
}
]</script>