{"action":"created","issue":{"url":"https://api.github.com/repos/BelledonneCommunications/linphone-android/issues/515","repository_url":"https://api.github.com/repos/BelledonneCommunications/linphone-android","labels_url":"https://api.github.com/repos/BelledonneCommunications/linphone-android/issues/515/labels{/name}","comments_url":"https://api.github.com/repos/BelledonneCommunications/linphone-android/issues/515/comments","events_url":"https://api.github.com/repos/BelledonneCommunications/linphone-android/issues/515/events","html_url":"https://github.com/BelledonneCommunications/linphone-android/issues/515","id":424175493,"node_id":"MDU6SXNzdWU0MjQxNzU0OTM=","number":515,"title":"Video call not ending","user":{"login":"Miteshmakwana73","id":38969602,"node_id":"MDQ6VXNlcjM4OTY5NjAy","avatar_url":"https://avatars0.githubusercontent.com/u/38969602?v=4","gravatar_id":"","url":"https://api.github.com/users/Miteshmakwana73","html_url":"https://github.com/Miteshmakwana73","followers_url":"https://api.github.com/users/Miteshmakwana73/followers","following_url":"https://api.github.com/users/Miteshmakwana73/following{/other_user}","gists_url":"https://api.github.com/users/Miteshmakwana73/gists{/gist_id}","starred_url":"https://api.github.com/users/Miteshmakwana73/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Miteshmakwana73/subscriptions","organizations_url":"https://api.github.com/users/Miteshmakwana73/orgs","repos_url":"https://api.github.com/users/Miteshmakwana73/repos","events_url":"https://api.github.com/users/Miteshmakwana73/events{/privacy}","received_events_url":"https://api.github.com/users/Miteshmakwana73/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2019-03-22T11:59:57Z","updated_at":"2019-03-28T11:02:11Z","closed_at":"2019-03-26T10:31:34Z","author_association":"NONE","body":"I am facing problem whenever I try to call it's automatically start a video call and it's not going back to audio on pressing of video button,\r\nI am getting this on the click of video\r\n```\r\n2019-03-22 17:25:39.297 17100-17100/org.linphone I/Jenya Sip Call: [Permission] Camera permission is granted\r\n2019-03-22 17:25:39.298 17100-17100/org.linphone I/Jenya Sip Call: Call 0xe37ee000: moving from state LinphoneCallStreamsRunning to LinphoneCallUpdating\r\n2019-03-22 17:25:39.298 17100-17100/org.linphone I/Jenya Sip Call: New call state [Updating]\r\n2019-03-22 17:25:39.305 17100-17100/org.linphone I/Jenya Sip Call: Call 0xe37ee000 is locking sound resources.\r\n2019-03-22 17:25:39.305 17100-17100/org.linphone I/Jenya Sip Call: Call 0xe37ee000 is locking sound resources.\r\n2019-03-22 17:25:39.305 17100-17100/org.linphone I/Jenya Sip Call: Linphone core [0xf1850400] notifying [call_state_changed]\r\n2019-03-22 17:25:39.307 17100-17100/org.linphone I/Jenya Sip Call: Don't put video stream on local offer for call [0xe37ee000]\r\n2019-03-22 17:25:39.308 17100-17100/org.linphone I/Jenya Sip Call: Don't put text stream on local offer for call [0xe37ee000]\r\n2019-03-22 17:25:39.308 17100-17100/org.linphone I/Jenya Sip Call: Modifying call parameters...\r\n2019-03-22 17:25:39.308 17100-17100/org.linphone I/Jenya Sip Call: Linphone core [0xf1850400] notifying [display_status]\r\n2019-03-22 17:25:39.309 17100-17100/org.linphone I/Jenya Sip Call: Dialog [0xe9f7c680]: now updated by transaction [0xd3e64360].\r\n2019-03-22 17:25:39.309 17100-17100/org.linphone I/Jenya Sip Call: Changing [client] [INVITE] transaction [0xd3e64360], from state [INIT] to [CALLING]\r\n2019-03-22 17:25:39.310 17100-17100/org.linphone I/Jenya Sip Call: channel [0xe9dd52c0]: message sent to [UDP://mydomain:8086], size: [1506] bytes\r\n2019-03-22 17:25:39.310 17100-17100/org.linphone I/Jenya Sip Call: INVITE sip:mod_sofia@104.237.141.82:5060 SIP/2.0\r\n2019-03-22 17:25:39.310 17100-17100/org.linphone I/Jenya Sip Call: Via: SIP/2.0/UDP 192.168.0.101:5060;branch=z9hG4bK.Xw6xm-YBM;rport\r\n2019-03-22 17:25:39.310 17100-17100/org.linphone I/Jenya Sip Call: From: <sip:989865651212@xxx.xxx.xx.xx;app-id=622464153529;pn-type=google;pn-tok=APA91bF25H3jzU15geM881P3-uHuK6rIq16g4MzD_TfUooLBk9xa7VzeHrr7XS9bL0rWmUSqJwZkpJqJ34L-JJc0wdZiMdwuxijXJ61W_U3UeRM-PZZUVnM>;tag=w4SmFOf\r\n2019-03-22 17:25:39.310 17100-17100/org.linphone I/Jenya Sip Call: To: \"123456\" <sip:123456@mydomain:8086>;tag=evc4SZ4ma69ee\r\n2019-03-22 17:25:39.310 17100-17100/org.linphone I/Jenya Sip Call: CSeq: 113 INVITE\r\n2019-03-22 17:25:39.310 17100-17100/org.linphone I/Jenya Sip Call: Call-ID: 284cca94-c73c-1237-f09d-12db2fa4fcd8\r\n2019-03-22 17:25:39.310 17100-17100/org.linphone I/Jenya Sip Call: Max-Forwards: 70\r\n2019-03-22 17:25:39.310 17100-17100/org.linphone I/Jenya Sip Call: Subject: Media change\r\n2019-03-22 17:25:39.310 17100-17100/org.linphone I/Jenya Sip Call: Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO, UPDATE\r\n2019-03-22 17:25:39.310 17100-17100/org.linphone I/Jenya Sip Call: Content-Type: application/sdp\r\n2019-03-22 17:25:39.310 17100-17100/org.linphone I/Jenya Sip Call: Content-Length: 522\r\n2019-03-22 17:25:39.310 17100-17100/org.linphone I/Jenya Sip Call: Contact: <sip:989865651212@xxx.xxx.xx.xx;app-id=622464153529;pn-type=google;pn-tok=APA91bF25H3jzU15geM881P3-uHuK6rIq16g4MzD_TfUooLBk9xa7VzeHrr7XS9bL0rWmUSqJwZkpJqJ34L-JJc0wdZiMdwuxijXJ61W_U3UeRM-PZZUVnM;transport=udp>;+sip.instance=\"<urn:uuid:7a09d0a7-8e41-4ec6-8b8b-871569b0ca98>\"\r\n2019-03-22 17:25:39.310 17100-17100/org.linphone I/Jenya Sip Call: User-Agent: LinphoneAndroid/1.0 (belle-sip/1.4.2)\r\n2019-03-22 17:25:39.310 17100-17100/org.linphone I/Jenya Sip Call: v=0\r\n2019-03-22 17:25:39.310 17100-17100/org.linphone I/Jenya Sip Call: o=989865651212 2887 2213 IN IP4 192.168.0.101\r\n2019-03-22 17:25:39.310 17100-17100/org.linphone I/Jenya Sip Call: s=Talk\r\n2019-03-22 17:25:39.310 17100-17100/org.linphone I/Jenya Sip Call: c=IN IP4 192.168.0.101\r\n2019-03-22 17:25:39.310 17100-17100/org.linphone I/Jenya Sip Call: b=AS:380\r\n2019-03-22 17:25:39.310 17100-17100/org.linphone I/Jenya Sip Call: t=0 0\r\n2019-03-22 17:25:39.310 17100-17100/org.linphone I/Jenya Sip Call: a=rtcp-xr:rcvr-rtt=all:10000 stat-summary=loss,dup,jitt,TTL voip-metrics\r\n2019-03-22 17:25:39.310 17100-17100/org.linphone I/Jenya Sip Call: m=audio 7076 RTP/AVP 96 97 98 99 0 8 101 100 102\r\n2019-03-22 17:25:39.310 17100-17100/org.linphone I/Jenya Sip Call: a=rtpmap:96 opus/48000/2\r\n2019-03-22 17:25:39.310 17100-17100/org.linphone I/Jenya Sip Call: a=fmtp:96 useinbandfec=1\r\n2019-03-22 17:25:39.310 17100-17100/org.linphone I/Jenya Sip Call: a=rtpmap:97 SILK/16000\r\n2019-03-22 17:25:39.310 17100-17100/org.linphone I/Jenya Sip Call: a=rtpmap:98 speex/16000\r\n2019-03-22 17:25:39.310 17100-17100/org.linphone I/Jenya Sip Call: a=fmtp:98 vbr=on\r\n2019-03-22 17:25:39.310 17100-17100/org.linphone I/Jenya Sip Call: a=rtpmap:99 speex/8000\r\n2019-03-22 17:25:39.310 17100-17100/org.linphone I/Jenya Sip Call: a=fmtp:99 vbr=on\r\n2019-03-22 17:25:39.310 17100-17100/org.linphone I/Jenya Sip Call: a=rtpmap:101 telephone-event/48000\r\n2019-03-22 17:25:39.310 17100-17100/org.linphone I/Jenya Sip Call: a=rtpmap:100 telephone-event/16000\r\n2019-03-22 17:25:39.310 17100-17100/org.linphone I/Jenya Sip Call: a=rtpmap:102 telephone-event/8000\r\n2019-03-22 17:25:39.310 17100-17100/org.linphone I/Jenya Sip Call: m=video 0 RTP/AVP 0\r\n2019-03-22 17:25:39.310 17100-17100/org.linphone I/Jenya Sip Call: a=inactive\r\n2019-03-22 17:25:39.395 17100-17100/org.linphone I/Jenya Sip Call: bellesip_wake_lock_acquire(): Android wake lock acquired [ref=0x1010a2]\r\n2019-03-22 17:25:39.395 17100-17100/org.linphone I/Jenya Sip Call: channel [0xe9dd52c0]: starting recv background task with id=[1010a2].\r\n2019-03-22 17:25:39.396 17100-17100/org.linphone I/Jenya Sip Call: channel [0xe9dd52c0]: received [1091] new bytes from [UDP://mydomain:8086]:\r\n2019-03-22 17:25:39.396 17100-17100/org.linphone I/Jenya Sip Call: INFO sip:989865651212@XXX.XXX.XX.XXX:5060;app-id=622464153529;pn-type=google;pn-tok=APA91bF25H3jzU15geM881P3-uHuK6rIq16g4MzD_TfUooLBk9xa7VzeHrr7XS9bL0rWmUSqJwZkpJqJ34L-JJc0wdZiMdwuxijXJ61W_U3UeRM-PZZUVnM;transport=udp SIP/2.0\r\n2019-03-22 17:25:39.396 17100-17100/org.linphone I/Jenya Sip Call: Via: SIP/2.0/UDP 104.237.141.82;rport;branch=z9hG4bKDm7Fyt4DXcNrK\r\n2019-03-22 17:25:39.396 17100-17100/org.linphone I/Jenya Sip Call: Max-Forwards: 70\r\n2019-03-22 17:25:39.396 17100-17100/org.linphone I/Jenya Sip Call: From: \"123456\" <sip:123456@mydomain:8086>;tag=evc4SZ4ma69ee\r\n2019-03-22 17:25:39.396 17100-17100/org.linphone I/Jenya Sip Call: To: <sip:989865651212@192.168.1.245:5060;app-id=622464153529;pn-type=google;pn-tok=APA91bF25H3jzU15geM881P3-uHuK6rIq16g4MzD_TfUooLBk9xa7VzeHrr7XS9bL0rWmUSqJwZkpJqJ34L-JJc0wdZiMdwuxijXJ61W_U3UeRM-PZZUVnM;transport=udp>;tag=w4SmFOf\r\n2019-03-22 17:25:39.396 17100-17100/org.linphone I/Jenya Sip Call: Call-ID: 284cca94-c73c-1237-f09d-12db2fa4fcd8\r\n2019-03-22 17:25:39.396 17100-17100/org.linphone I/Jenya Sip Call: CSeq: 2074088 INFO\r\n2019-03-22 17:25:39.396 17100-17100/org.linphone I/Jenya Sip Call: Contact: <sip:mod_sofia@104.237.141.82:5060>\r\n2019-03-22 17:25:39.396 17100-17100/org.linphone I/Jenya Sip Call: User-Agent: SWITCH\r\n2019-03-22 17:25:39.396 17100-17100/org.linphone I/Jenya Sip Call: Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, NOTIFY, PUBLISH, SUBSCRIBE\r\n2019-03-22 17:25:39.396 17100-17100/org.linphone I/Jenya Sip Call: Supported: path, replaces\r\n2019-03-22 17:25:39.396 17100-17100/org.linphone I/Jenya Sip Call: Content-Type: application/media_control+xml\r\n2019-03-22 17:25:39.396 17100-17100/org.linphone I/Jenya Sip Call: Content-Length: 149\r\n2019-03-22 17:25:39.396 17100-17100/org.linphone I/Jenya Sip Call: <?xml version=\"1.0\" encoding=\"utf-8\" ?>\r\n```\r\nand some times I am getting this error on video call after some time\r\n```\r\n2019-03-22 16:19:05.330 9176-9176/org.linphone E/AndroidRuntime: FATAL EXCEPTION: main\r\n    Process: org.linphone, PID: 9176\r\n    java.lang.RuntimeException: Unable to start receiver org.linphone.KeepAliveHandler: java.lang.NullPointerException: Attempt to invoke interface method 'boolean org.linphone.core.LpConfig.getBool(java.lang.String, java.lang.String, boolean)' on a null object reference\r\n        at android.app.ActivityThread.handleReceiver(ActivityThread.java:3105)\r\n        at android.app.ActivityThread.-wrap18(ActivityThread.java)\r\n        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1609)\r\n        at android.os.Handler.dispatchMessage(Handler.java:102)\r\n        at android.os.Looper.loop(Looper.java:163)\r\n        at android.app.ActivityThread.main(ActivityThread.java:6238)\r\n        at java.lang.reflect.Method.invoke(Native Method)\r\n        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)\r\n        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:794)\r\n     Caused by: java.lang.NullPointerException: Attempt to invoke interface method 'boolean org.linphone.core.LpConfig.getBool(java.lang.String, java.lang.String, boolean)' on a null object reference\r\n        at org.linphone.LinphonePreferences.isDebugEnabled(LinphonePreferences.java:1110)\r\n        at org.linphone.KeepAliveHandler.onReceive(KeepAliveHandler.java:33)\r\n        at android.app.ActivityThread.handleReceiver(ActivityThread.java:3098)\r\n        at android.app.ActivityThread.-wrap18(ActivityThread.java) \r\n        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1609) \r\n        at android.os.Handler.dispatchMessage(Handler.java:102) \r\n        at android.os.Looper.loop(Looper.java:163) \r\n        at android.app.ActivityThread.main(ActivityThread.java:6238) \r\n        at java.lang.reflect.Method.invoke(Native Method) \r\n        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904) \r\n        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:794) \r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/BelledonneCommunications/linphone-android/issues/comments/477548519","html_url":"https://github.com/BelledonneCommunications/linphone-android/issues/515#issuecomment-477548519","issue_url":"https://api.github.com/repos/BelledonneCommunications/linphone-android/issues/515","id":477548519,"node_id":"MDEyOklzc3VlQ29tbWVudDQ3NzU0ODUxOQ==","user":{"login":"Viish","id":1561996,"node_id":"MDQ6VXNlcjE1NjE5OTY=","avatar_url":"https://avatars0.githubusercontent.com/u/1561996?v=4","gravatar_id":"","url":"https://api.github.com/users/Viish","html_url":"https://github.com/Viish","followers_url":"https://api.github.com/users/Viish/followers","following_url":"https://api.github.com/users/Viish/following{/other_user}","gists_url":"https://api.github.com/users/Viish/gists{/gist_id}","starred_url":"https://api.github.com/users/Viish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Viish/subscriptions","organizations_url":"https://api.github.com/users/Viish/orgs","repos_url":"https://api.github.com/users/Viish/repos","events_url":"https://api.github.com/users/Viish/events{/privacy}","received_events_url":"https://api.github.com/users/Viish/received_events","type":"User","site_admin":false},"created_at":"2019-03-28T11:02:11Z","updated_at":"2019-03-28T11:02:11Z","author_association":"MEMBER","body":"As I said, I believe the problem to be in your server config."}}
{"actor":{"display_login":"Viish"}}