{"action":"closed","issue":{"url":"https://api.github.com/repos/marcelloceschia/chan-sccp-b/issues/284","repository_url":"https://api.github.com/repos/marcelloceschia/chan-sccp-b","labels_url":"https://api.github.com/repos/marcelloceschia/chan-sccp-b/issues/284/labels{/name}","comments_url":"https://api.github.com/repos/marcelloceschia/chan-sccp-b/issues/284/comments","events_url":"https://api.github.com/repos/marcelloceschia/chan-sccp-b/issues/284/events","html_url":"https://github.com/marcelloceschia/chan-sccp-b/issues/284","id":120630277,"number":284,"title":"Mixed IPv6/IPv4 service","user":{"login":"spape84","id":2828104,"avatar_url":"https://avatars.githubusercontent.com/u/2828104?v=3","gravatar_id":"","url":"https://api.github.com/users/spape84","html_url":"https://github.com/spape84","followers_url":"https://api.github.com/users/spape84/followers","following_url":"https://api.github.com/users/spape84/following{/other_user}","gists_url":"https://api.github.com/users/spape84/gists{/gist_id}","starred_url":"https://api.github.com/users/spape84/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spape84/subscriptions","organizations_url":"https://api.github.com/users/spape84/orgs","repos_url":"https://api.github.com/users/spape84/repos","events_url":"https://api.github.com/users/spape84/events{/privacy}","received_events_url":"https://api.github.com/users/spape84/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/marcelloceschia/chan-sccp-b/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/marcelloceschia/chan-sccp-b/labels/in%20progress","name":"in progress","color":"ededed"},{"url":"https://api.github.com/repos/marcelloceschia/chan-sccp-b/labels/prio%203","name":"prio 3","color":"02e10c"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/marcelloceschia/chan-sccp-b/milestones/4","html_url":"https://github.com/marcelloceschia/chan-sccp-b/milestones/v4.3","labels_url":"https://api.github.com/repos/marcelloceschia/chan-sccp-b/milestones/4/labels","id":550570,"number":4,"title":"v4.3","description":"","creator":{"login":"dkgroot","id":1935794,"avatar_url":"https://avatars.githubusercontent.com/u/1935794?v=3","gravatar_id":"","url":"https://api.github.com/users/dkgroot","html_url":"https://github.com/dkgroot","followers_url":"https://api.github.com/users/dkgroot/followers","following_url":"https://api.github.com/users/dkgroot/following{/other_user}","gists_url":"https://api.github.com/users/dkgroot/gists{/gist_id}","starred_url":"https://api.github.com/users/dkgroot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dkgroot/subscriptions","organizations_url":"https://api.github.com/users/dkgroot/orgs","repos_url":"https://api.github.com/users/dkgroot/repos","events_url":"https://api.github.com/users/dkgroot/events{/privacy}","received_events_url":"https://api.github.com/users/dkgroot/received_events","type":"User","site_admin":false},"open_issues":22,"closed_issues":26,"state":"open","created_at":"2014-01-28T16:45:45Z","updated_at":"2016-03-23T15:59:13Z","due_on":"2016-03-31T22:00:00Z","closed_at":null},"comments":20,"created_at":"2015-12-06T12:08:04Z","updated_at":"2016-03-23T15:59:13Z","closed_at":"2016-03-23T15:59:13Z","body":"Hi!\r\n\r\nI started using IPv6. The first phone I tried to use with IPv6 unexpectedly loses registration sometimes and Asterisk crashes. This night I found an error message in the logs:\r\n\r\n```\r\n[Dec  6 00:40:25] ERROR[367] sccp_refcount.c: SCCP: (release) Refcount Object 0x7f7350002690 could not be found (Major Logic Error). Please report to developers\r\n[Dec  6 00:40:25] WARNING[1100] sccp_actions.c: SCCP: Defined softkeyset: 'softkey' could not be found. Falling back to 'default' instead !\r\n[Dec  6 00:40:25] WARNING[367] sccp_utils.c: SCCP: (backtrace)\r\n================================================================================\r\nOPERATING SYSTEM: Linux, ARCHITECTURE: x86_64, KERNEL: 3.19.0-32-generic\r\nASTERISK: 11.7.0~dfsg-1ubuntu1\r\nCHAN-SCCP-b: Skinny Client Control Protocol (SCCP). Release: 4.2.1 STABLE - 6368M (built by 'root' on '2015-11-09 13:48:06 UTC')\r\n\r\nTo get a better backtrace you would need to install libbfd (package binutils devel package)\r\n--------------------------------------------------------------------------(bt)--\r\n (bt) > /usr/lib/asterisk/modules/chan_sccp.so(sccp_refcount_release+0x3fb) [0x7f7347d025bb]\r\n (bt) > /usr/lib/asterisk/modules/chan_sccp.so(sccp_line_deleteLineButtonsArray+0x4f) [0x7f7347cae7cb]\r\n (bt) > /usr/lib/asterisk/modules/chan_sccp.so(sccp_dev_clean+0x83b) [0x7f7347c9999b]\r\n (bt) > /usr/lib/asterisk/modules/chan_sccp.so(destroy_session+0x258) [0x7f7347d1d6a8]\r\n (bt) > /usr/lib/asterisk/modules/chan_sccp.so(sccp_socket_device_thread_exit+0x16e) [0x7f7347d1da8e]\r\n (bt) > /usr/lib/asterisk/modules/chan_sccp.so(sccp_socket_devic\r\n[Dec  6 00:40:25] ERROR[1100] sccp_socket.c: SEP002699EF0CF3: error 'Bad file descriptor (9)' while reading from socket.\r\n[Dec  6 00:40:25] ERROR[1100] sccp_socket.c: SEP002699EF0CF3: stats: Register Available Lines Message (45), msgDataSegmentSize: 4, UnreadBytesAccordingToPacket: 4, bytesToRead: 4, bytesReadSoFar: 0\r\n```\r\n\r\nA second strange thing I found was: When setting \"nat=off\" for the test-phone using IPv6 Asterisk crashes as soon as the rtp stream starts. I'm also not sure, which value to set for \"externip\" (server is not behind a nat) and directrtp? All the SIP trunks I'm using are IPv4, my test-phone is using IPv6. Does directrtp work in this setup?\r\n\r\nMaybe you can point me into the right direction for IPv6."}}