{"action":"created","issue":{"url":"https://api.github.com/repos/voximplant/react-native-voximplant/issues/36","repository_url":"https://api.github.com/repos/voximplant/react-native-voximplant","labels_url":"https://api.github.com/repos/voximplant/react-native-voximplant/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/voximplant/react-native-voximplant/issues/36/comments","events_url":"https://api.github.com/repos/voximplant/react-native-voximplant/issues/36/events","html_url":"https://github.com/voximplant/react-native-voximplant/issues/36","id":313610437,"number":36,"title":"headers not forwarded to incoming call","user":{"login":"izaa","id":3491506,"avatar_url":"https://avatars2.githubusercontent.com/u/3491506?v=4","gravatar_id":"","url":"https://api.github.com/users/izaa","html_url":"https://github.com/izaa","followers_url":"https://api.github.com/users/izaa/followers","following_url":"https://api.github.com/users/izaa/following{/other_user}","gists_url":"https://api.github.com/users/izaa/gists{/gist_id}","starred_url":"https://api.github.com/users/izaa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/izaa/subscriptions","organizations_url":"https://api.github.com/users/izaa/orgs","repos_url":"https://api.github.com/users/izaa/repos","events_url":"https://api.github.com/users/izaa/events{/privacy}","received_events_url":"https://api.github.com/users/izaa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-04-12T07:39:14Z","updated_at":"2018-04-12T10:16:09Z","closed_at":null,"author_association":"NONE","body":"related: https://github.com/voximplant/react-native-voximplant/issues/22\r\n\r\nI have the latest version of this package. I'm using android version.\r\n\r\nI start the call\r\n```\r\n const headers = {\r\n 'X-user': userId,\r\n};\r\nVoxImplant.SDK.startCall(callId,headers);\r\n```\r\n\r\nI see the headers in VoxImplant Control Panel:\r\n\r\n> \r\n> 2018-04-12 07:26:39 Sent event to JS onPhoneEvent with params [{callerid = removed;  customData =  ;  destination = destid ;  displayName =dname ;  fromURI = sip:caller@app.acc.voximplant.com ;  headers = {VI-Authenticated-Caller = removed;  VI-Browser = voxmobile ;  VI-CallData =  ;  VI-Client-Device = WebRTC ;  VI-Client-IP = 45.181.240.244 ;  VI-Client-Type = user ;  VI-ClientVersion = 2.3.6 ;  **X-user = destid;**   ;  } ;  id = ae19d51f6e35f53c.1523517999.122496 ;  name = Application.CallAlerting ;  scheme = {\"\" : {\"audio\" : [{\"direction\" : \"sendrecv\" , \"flows\" : [{\"cname\" : \"PEnHLL+ETYK0URy7\" , \"ssrc\" : 2217349308}] , \"msid\" : \"LCnDgpb2lzj6pMV4XK5QJTfDeGFLO9GIR71S cc033994-dea3-4582-840f-a9db4ded969f\" , \"uniq\" : 0}] , \"place\" : 0 , \"type\" : \"\" , \"video\" : [{\"codecs\" : [104,124] , \"direction\" : \"sendrecv\" , \"flows\" : [{\"cname\" : \"PEnHLL+ETYK0URy7\" , \"ssrc\" : 3905939635}] , \"msid\" : \"LCnDgpb2lzj6pMV4XK5QJTfDeGFLO9GIR71S fd7371c7-059c-45f4-8119-b8acdfb8e86a\" , \"uniq\" : 0}]}} ;  toURI = sip:destid@app.acc.voximplant.com ;  } ;  ]\r\n> 2018-04-12 07:26:39 Executing JS command: EnableMediaStatistics with params [{id = ae19d51f6e35f53c.1523517999.122496 ;  } ;  ]\r\n\r\nBut the incomingcall contains no headers:\r\n\r\n![image](https://user-images.githubusercontent.com/3491506/38662472-1509ae0a-3e3d-11e8-89f9-5ffd45f42ad6.png)\r\n\r\n\r\nAnu suggestion what to do? Thanks!\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/voximplant/react-native-voximplant/issues/comments/380752144","html_url":"https://github.com/voximplant/react-native-voximplant/issues/36#issuecomment-380752144","issue_url":"https://api.github.com/repos/voximplant/react-native-voximplant/issues/36","id":380752144,"user":{"login":"izaa","id":3491506,"avatar_url":"https://avatars2.githubusercontent.com/u/3491506?v=4","gravatar_id":"","url":"https://api.github.com/users/izaa","html_url":"https://github.com/izaa","followers_url":"https://api.github.com/users/izaa/followers","following_url":"https://api.github.com/users/izaa/following{/other_user}","gists_url":"https://api.github.com/users/izaa/gists{/gist_id}","starred_url":"https://api.github.com/users/izaa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/izaa/subscriptions","organizations_url":"https://api.github.com/users/izaa/orgs","repos_url":"https://api.github.com/users/izaa/repos","events_url":"https://api.github.com/users/izaa/events{/privacy}","received_events_url":"https://api.github.com/users/izaa/received_events","type":"User","site_admin":false},"created_at":"2018-04-12T10:16:09Z","updated_at":"2018-04-12T10:16:09Z","author_association":"NONE","body":"So, because headers don't work, how should I forward some data trough call from caller to recipient? Can I change the displayname or how to use CustomData? Any help would be appreciated! \r\n\r\nThank you!"}}
{"actor":{"display_login":"izaa"}}