Testing, disable TLS and use IPv4-only network for easy comparison (Prosody 0.8.2 is IPv4 only) # Asterisk 1.8.23.0 - Prosody 0.8.2 # Network IPv4-only # asterisk -c # (Segmentation fault) tcpdump -n -i lo -s0 -w prosody-0.8.2-no_tls.pcap The key packet is: ==================================== tcpdump -A -vvv 'port 5222' -r prosody-0.8.2-no_tls.pcap -- 15:29:21.776374 IP (tos 0x0, ttl 64, id 53576, offset 0, flags [DF], proto TCP (6), length 1167) localhost.priv.abelbeck.com.5222 > localhost.priv.abelbeck.com.36185: Flags [P.], cksum 0x0284 (incorrect -> 0x57aa), seq 1599:2714, ack 1340, win 579, options [nop,nop,TS val 500146 ecr 500141], length 1115 E....H@.@.g..........f.YG.I.G.x....C....... ........Online and Available0 ==================================== # Asterisk 1.8.23.0 - Prosody 0.9.0 # Network IPv4-only # asterisk -c # (Works !) tcpdump -n -i lo -s0 -w prosody-0.9.0-no_tls.pcap The key packet is: ==================================== tcpdump -A -vvv 'port 5222' -r prosody-0.9.0-no_tls.pcap -- 15:35:52.552149 IP (tos 0x0, ttl 64, id 242, offset 0, flags [DF], proto TCP (6), length 1206) localhost.priv.abelbeck.com.5222 > localhost.priv.abelbeck.com.42910: Flags [P.], cksum 0x02ab (incorrect -> 0x744b), seq 1583:2737, ack 1340, win 579, options [nop,nop,TS val 4294847108 ecr 4294847102], length 1154 E.....@.@.7N.........f.... f.......C....... ..*...*~Online and Available0 ==================================== Note the difference in the key packet is 0.9.0 includes -- iq id='disco' type='get' ... -- from='asterisk@pbx3.priv.abelbeck.com' -- and 0.8.2 does not include the 'from=...' Possibly it may be more complicated than this, but this looks like the magic difference.