{"action":"created","issue":{"url":"https://api.github.com/repos/onsip/rtpengine/issues/5","labels_url":"https://api.github.com/repos/onsip/rtpengine/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/onsip/rtpengine/issues/5/comments","events_url":"https://api.github.com/repos/onsip/rtpengine/issues/5/events","html_url":"https://github.com/onsip/rtpengine/issues/5","id":120854034,"number":5,"title":"Handle meta-data being sent to rtpengine multiple times per call","user":{"login":"dbmikus","id":123053,"avatar_url":"https://avatars.githubusercontent.com/u/123053?v=3","gravatar_id":"","url":"https://api.github.com/users/dbmikus","html_url":"https://github.com/dbmikus","followers_url":"https://api.github.com/users/dbmikus/followers","following_url":"https://api.github.com/users/dbmikus/following{/other_user}","gists_url":"https://api.github.com/users/dbmikus/gists{/gist_id}","starred_url":"https://api.github.com/users/dbmikus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbmikus/subscriptions","organizations_url":"https://api.github.com/users/dbmikus/orgs","repos_url":"https://api.github.com/users/dbmikus/repos","events_url":"https://api.github.com/users/dbmikus/events{/privacy}","received_events_url":"https://api.github.com/users/dbmikus/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-07T19:56:33Z","updated_at":"2015-12-08T17:59:34Z","closed_at":"2015-12-08T17:59:34Z","body":"In the RTP Engine, we can pass metadata to the RTP Engine through commands. Currently, a call only has one metadata instance and subsequent commands that target the call will overwrite the metadata. We must make sure to free metadata that is overwritten before assigning the new metadata.\r\n\r\nMetadata is associated with the call. So, for every command, we want to overwrite the metadata from the old command if metadata was actually passed in.\r\n"},"comment":{"url":"https://api.github.com/repos/onsip/rtpengine/issues/comments/162962972","html_url":"https://github.com/onsip/rtpengine/issues/5#issuecomment-162962972","issue_url":"https://api.github.com/repos/onsip/rtpengine/issues/5","id":162962972,"user":{"login":"egreenmachine","id":1035982,"avatar_url":"https://avatars.githubusercontent.com/u/1035982?v=3","gravatar_id":"","url":"https://api.github.com/users/egreenmachine","html_url":"https://github.com/egreenmachine","followers_url":"https://api.github.com/users/egreenmachine/followers","following_url":"https://api.github.com/users/egreenmachine/following{/other_user}","gists_url":"https://api.github.com/users/egreenmachine/gists{/gist_id}","starred_url":"https://api.github.com/users/egreenmachine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/egreenmachine/subscriptions","organizations_url":"https://api.github.com/users/egreenmachine/orgs","repos_url":"https://api.github.com/users/egreenmachine/repos","events_url":"https://api.github.com/users/egreenmachine/events{/privacy}","received_events_url":"https://api.github.com/users/egreenmachine/received_events","type":"User","site_admin":false},"created_at":"2015-12-08T17:59:34Z","updated_at":"2015-12-08T17:59:34Z","body":"I am overwriting the metadata with correctly freeing the previous metadata. 425ace45f7dcb7055ce089edcce61ba14a686d2e"}}