=== Test case: bind2_SUITE:carbons_are_enabled_with_bind_inline_request/1 (click for source code)
=== Config value:
[{watchdog,<0.6753.0>},
{preset,"pgsql_mnesia"},
{mim_data_dir,"/home/circleci/project/big_tests/tests/bind2_SUITE_data"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@0276d3b084bf.2024-04-23_10.53.20/big_tests.tests.bind2_SUITE.logs/run.2024-04-23_10.53.46/bind2_suite.carbons_are_enabled_with_bind_inline_request.10371.html"},
{tc_group_properties,[{name,basic},parallel]},
{tc_group_path,[]},
{data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/bind2_SUITE_data/"},
{priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@0276d3b084bf.2024-04-23_10.53.20/big_tests.tests.bind2_SUITE.logs/run.2024-04-23_10.53.46/log_private/"},
{{saved_modules,mongooseim@localhost,<<"test type">>},
#{mod_vcard =>
#{matches => 30,
host => {prefix,<<"vjud.">>},
search => true,iqdisc => parallel,backend => rdbms},
mod_roster =>
#{iqdisc => one_queue,backend => rdbms,versioning => false,
store_current_id => false},
mod_sic => #{iqdisc => one_queue},
mod_register =>
#{access => register,iqdisc => one_queue,
registration_watchers => [],password_strength => 0,
ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
mod_amp => #{},mod_presence => #{},
mod_disco =>
#{iqdisc => one_queue,users_can_see_hidden_services => false,
server_info => [],extra_domains => []},
mod_stream_management =>
#{buffer => true,ack => true,backend => mnesia,
stale_h =>
#{enabled => false,repeat_after => 1800,geriatric => 3600},
buffer_max => 100,ack_freq => 1,resume_timeout => 600},
mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
mod_bosh =>
#{backend => mnesia,inactivity => 30,max_pause => 120,
max_wait => infinity,server_acks => false},
mod_cache_users =>
#{strategy => fifo,number_of_segments => 5,time_to_live => 2},
mod_carboncopy => #{iqdisc => no_queue}}}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@0276d3b084bf.2024-04-23_10.53.20"
=== Started at 2024-04-23 10:53:46
*** User 2024-04-23 10:53:46.298 ***🔗
alicE_carbons_are_enabled_with_bind_inline_request_387@domain.example.com out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-23 10:53:46.299 ***🔗
alicE_carbons_are_enabled_with_bind_inline_request_387@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f9e6fdf37c2b15a0' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-23 10:53:46.300 ***🔗
alicE_carbons_are_enabled_with_bind_inline_request_387@domain.example.com in
<stream:features>
<register xmlns='http://jabber.org/features/iq-register'/>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-256-PLUS</mechanism>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<amp xmlns='http://jabber.org/feature/amp'/>
<authentication xmlns='urn:xmpp:sasl:2'>
<inline>
<sm xmlns='urn:xmpp:sm:3'/>
<bind xmlns='urn:xmpp:bind:0'>
<inline>
<feature var='urn:xmpp:sm:3'/>
<feature var='urn:xmpp:csi:0'/>
<feature var='urn:xmpp:carbons:2'/>
</inline>
</bind>
</inline>
<mechanism>SCRAM-SHA-256-PLUS</mechanism>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</authentication>
<sm xmlns='urn:xmpp:sm:3'/>
<csi xmlns='urn:xmpp:csi:0'/>
</stream:features>
*** User 2024-04-23 10:53:46.305 ***🔗
bOb_carbons_are_enabled_with_bind_inline_request_399@domain.example.com out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-23 10:53:46.306 ***🔗
bOb_carbons_are_enabled_with_bind_inline_request_399@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2e5fb221aa34e2b1' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-23 10:53:46.306 ***🔗
bOb_carbons_are_enabled_with_bind_inline_request_399@domain.example.com in
<stream:features>
<register xmlns='http://jabber.org/features/iq-register'/>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
<csi xmlns='urn:xmpp:csi:0'/>
</stream:features>
*** User 2024-04-23 10:53:46.306 ***🔗
bOb_carbons_are_enabled_with_bind_inline_request_399@domain.example.com out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9jYXJib25zX2FyZV9lbmFibGVkX3dpdGhfYmluZF9pbmxpbmVfcmVxdWVzdF8zOTkAbWFrcm9saWth</auth>
*** User 2024-04-23 10:53:46.307 ***🔗
bOb_carbons_are_enabled_with_bind_inline_request_399@domain.example.com in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-23 10:53:46.307 ***🔗
bOb_carbons_are_enabled_with_bind_inline_request_399@domain.example.com out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-23 10:53:46.308 ***🔗
bOb_carbons_are_enabled_with_bind_inline_request_399@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='54ea4acf7cab001b' from='domain.example.com' version='1.0' xml:lang='en' to='bob_carbons_are_enabled_with_bind_inline_request_399@domain.example.com'>
*** User 2024-04-23 10:53:46.308 ***🔗
bOb_carbons_are_enabled_with_bind_inline_request_399@domain.example.com in
<stream:features>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
<csi xmlns='urn:xmpp:csi:0'/>
</stream:features>
*** User 2024-04-23 10:53:46.308 ***🔗
bOb_carbons_are_enabled_with_bind_inline_request_399@domain.example.com out
<iq type='set' id='ffe51260e14d4e019852956ec90c07a6'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>escalus-default-resource</resource>
</bind>
</iq>
*** User 2024-04-23 10:53:46.309 ***🔗
bOb_carbons_are_enabled_with_bind_inline_request_399@domain.example.com in
<iq id='ffe51260e14d4e019852956ec90c07a6' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_carbons_are_enabled_with_bind_inline_request_399@domain.example.com/escalus-default-resource</jid>
</bind>
</iq>
*** User 2024-04-23 10:53:46.309 ***🔗
bob_carbons_are_enabled_with_bind_inline_request_399@domain.example.com/escalus-default-resource out
<iq type='set' id='eaa4c68c824494ac47119ab07966ce4f'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 10:53:46.310 ***🔗
bob_carbons_are_enabled_with_bind_inline_request_399@domain.example.com/escalus-default-resource in
<iq from='domain.example.com' to='bob_carbons_are_enabled_with_bind_inline_request_399@domain.example.com/escalus-default-resource' id='eaa4c68c824494ac47119ab07966ce4f' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 10:53:46.310 ***🔗
alicE_carbons_are_enabled_with_bind_inline_request_387@domain.example.com out
<authenticate xmlns='urn:xmpp:sasl:2' mechanism='PLAIN'>
<initial-response>AGFsaWNFX2NhcmJvbnNfYXJlX2VuYWJsZWRfd2l0aF9iaW5kX2lubGluZV9yZXF1ZXN0XzM4NwBtYXR5Z3J5c2E=</initial-response>
<bind xmlns='urn:xmpp:bind:0'>
<enable xmlns='urn:xmpp:carbons:2'/>
</bind>
</authenticate>
*** User 2024-04-23 10:53:46.313 ***🔗
alicE_carbons_are_enabled_with_bind_inline_request_387@domain.example.com in
<success xmlns='urn:xmpp:sasl:2'>
<authorization-identifier>alice_carbons_are_enabled_with_bind_inline_request_387@domain.example.com/1713-869626-312806-dd9e401e78f7c293</authorization-identifier>
<bound xmlns='urn:xmpp:bind:0'/>
</success>
*** User 2024-04-23 10:53:46.317 ***🔗
alicE_carbons_are_enabled_with_bind_inline_request_387@domain.example.com/second_resource out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-23 10:53:46.318 ***🔗
alicE_carbons_are_enabled_with_bind_inline_request_387@domain.example.com/second_resource in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4b47ef81ecb09197' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-23 10:53:46.318 ***🔗
alicE_carbons_are_enabled_with_bind_inline_request_387@domain.example.com/second_resource in
<stream:features>
<register xmlns='http://jabber.org/features/iq-register'/>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-256-PLUS</mechanism>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<amp xmlns='http://jabber.org/feature/amp'/>
<authentication xmlns='urn:xmpp:sasl:2'>
<inline>
<sm xmlns='urn:xmpp:sm:3'/>
<bind xmlns='urn:xmpp:bind:0'>
<inline>
<feature var='urn:xmpp:sm:3'/>
<feature var='urn:xmpp:csi:0'/>
<feature var='urn:xmpp:carbons:2'/>
</inline>
</bind>
</inline>
<mechanism>SCRAM-SHA-256-PLUS</mechanism>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</authentication>
<sm xmlns='urn:xmpp:sm:3'/>
<csi xmlns='urn:xmpp:csi:0'/>
</stream:features>
*** User 2024-04-23 10:53:46.319 ***🔗
alicE_carbons_are_enabled_with_bind_inline_request_387@domain.example.com/second_resource out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2NhcmJvbnNfYXJlX2VuYWJsZWRfd2l0aF9iaW5kX2lubGluZV9yZXF1ZXN0XzM4NwBtYXR5Z3J5c2E=</auth>
*** User 2024-04-23 10:53:46.320 ***🔗
alicE_carbons_are_enabled_with_bind_inline_request_387@domain.example.com/second_resource in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-23 10:53:46.320 ***🔗
alicE_carbons_are_enabled_with_bind_inline_request_387@domain.example.com/second_resource out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-23 10:53:46.320 ***🔗
alicE_carbons_are_enabled_with_bind_inline_request_387@domain.example.com/second_resource in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='de34c717331f692f' from='domain.example.com' version='1.0' xml:lang='en' to='alice_carbons_are_enabled_with_bind_inline_request_387@domain.example.com'>
*** User 2024-04-23 10:53:46.320 ***🔗
alicE_carbons_are_enabled_with_bind_inline_request_387@domain.example.com/second_resource in
<stream:features>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
<csi xmlns='urn:xmpp:csi:0'/>
</stream:features>
*** User 2024-04-23 10:53:46.321 ***🔗
alicE_carbons_are_enabled_with_bind_inline_request_387@domain.example.com/second_resource out
<iq type='set' id='d0c4e66ded34f384e9ae432c157527e7'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>second_resource</resource>
</bind>
</iq>
*** User 2024-04-23 10:53:46.321 ***🔗
alicE_carbons_are_enabled_with_bind_inline_request_387@domain.example.com/second_resource in
<iq id='d0c4e66ded34f384e9ae432c157527e7' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_carbons_are_enabled_with_bind_inline_request_387@domain.example.com/second_resource</jid>
</bind>
</iq>
*** User 2024-04-23 10:53:46.321 ***🔗
alice_carbons_are_enabled_with_bind_inline_request_387@domain.example.com/second_resource out
<iq type='set' id='f57a6b8f9c32e9ed07ee0087a3a5c6c6'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 10:53:46.322 ***🔗
alice_carbons_are_enabled_with_bind_inline_request_387@domain.example.com/second_resource in
<iq from='domain.example.com' to='alice_carbons_are_enabled_with_bind_inline_request_387@domain.example.com/second_resource' id='f57a6b8f9c32e9ed07ee0087a3a5c6c6' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 10:53:46.322 ***🔗
alice_carbons_are_enabled_with_bind_inline_request_387@domain.example.com/second_resource out
<iq xmlns='jabber:client' type='set' id='ddc767e57de27a357d00a7f75402d2cb'>
<enable xmlns='urn:xmpp:carbons:2'/>
</iq>
*** User 2024-04-23 10:53:46.323 ***🔗
alice_carbons_are_enabled_with_bind_inline_request_387@domain.example.com/second_resource in
<iq from='alice_carbons_are_enabled_with_bind_inline_request_387@domain.example.com' to='alice_carbons_are_enabled_with_bind_inline_request_387@domain.example.com/second_resource' id='ddc767e57de27a357d00a7f75402d2cb' type='result'/>
*** User 2024-04-23 10:53:46.323 ***🔗
alicE_carbons_are_enabled_with_bind_inline_request_387@domain.example.com in
<stream:features>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
<csi xmlns='urn:xmpp:csi:0'/>
</stream:features>
*** User 2024-04-23 10:53:46.323 ***🔗
bob_carbons_are_enabled_with_bind_inline_request_399@domain.example.com/escalus-default-resource out
<message type='chat' to='alice_carbons_are_enabled_with_bind_inline_request_387@domain.example.com/1713-869626-312806-dd9e401e78f7c293'>
<body>hello 1</body>
</message>
*** User 2024-04-23 10:53:46.323 ***🔗
alicE_carbons_are_enabled_with_bind_inline_request_387@domain.example.com in
<message from='bob_carbons_are_enabled_with_bind_inline_request_399@domain.example.com/escalus-default-resource' to='alice_carbons_are_enabled_with_bind_inline_request_387@domain.example.com/1713-869626-312806-dd9e401e78f7c293' type='chat'>
<body>hello 1</body>
</message>
*** User 2024-04-23 10:53:46.323 ***🔗
alice_carbons_are_enabled_with_bind_inline_request_387@domain.example.com/second_resource in
<message from='alice_carbons_are_enabled_with_bind_inline_request_387@domain.example.com' to='alice_carbons_are_enabled_with_bind_inline_request_387@domain.example.com/second_resource' xmlns='jabber:client' type='chat'>
<received xmlns='urn:xmpp:carbons:2'>
<forwarded xmlns='urn:xmpp:forward:0'>
<message from='bob_carbons_are_enabled_with_bind_inline_request_399@domain.example.com/escalus-default-resource' to='alice_carbons_are_enabled_with_bind_inline_request_387@domain.example.com/1713-869626-312806-dd9e401e78f7c293' type='chat' xmlns='jabber:client'>
<body>hello 1</body>
</message>
</forwarded>
</received>
</message>
*** User 2024-04-23 10:53:46.324 ***🔗
bob_carbons_are_enabled_with_bind_inline_request_399@domain.example.com/escalus-default-resource out
<message type='chat' to='alice_carbons_are_enabled_with_bind_inline_request_387@domain.example.com/second_resource'>
<body>hello 2</body>
</message>
*** User 2024-04-23 10:53:46.324 ***🔗
alicE_carbons_are_enabled_with_bind_inline_request_387@domain.example.com in
<message from='alice_carbons_are_enabled_with_bind_inline_request_387@domain.example.com' to='alice_carbons_are_enabled_with_bind_inline_request_387@domain.example.com/1713-869626-312806-dd9e401e78f7c293' xmlns='jabber:client' type='chat'>
<received xmlns='urn:xmpp:carbons:2'>
<forwarded xmlns='urn:xmpp:forward:0'>
<message from='bob_carbons_are_enabled_with_bind_inline_request_399@domain.example.com/escalus-default-resource' to='alice_carbons_are_enabled_with_bind_inline_request_387@domain.example.com/second_resource' type='chat' xmlns='jabber:client'>
<body>hello 2</body>
</message>
</forwarded>
</received>
</message>
*** User 2024-04-23 10:53:46.324 ***🔗
alice_carbons_are_enabled_with_bind_inline_request_387@domain.example.com/second_resource in
<message from='bob_carbons_are_enabled_with_bind_inline_request_399@domain.example.com/escalus-default-resource' to='alice_carbons_are_enabled_with_bind_inline_request_387@domain.example.com/second_resource' type='chat'>
<body>hello 2</body>
</message>
*** User 2024-04-23 10:53:46.324 ***🔗
alicE_carbons_are_enabled_with_bind_inline_request_387@domain.example.com out
</stream:stream>
*** User 2024-04-23 10:53:46.325 ***🔗
alicE_carbons_are_enabled_with_bind_inline_request_387@domain.example.com in
</stream:stream>
=== Ended at 2024-04-23 10:53:46
=== successfully completed test case
=== === Returned value: #{peer =>
{client,
<<"bob_carbons_are_enabled_with_bind_inline_request_399@domain.example.com/escalus-default-resource">>,
escalus_tcp,<0.6916.0>,undefined,
[{username,
<<"bob_carbons_are_enabled_with_bind_inline_request_399">>},
{server,<<"domain.example.com">>},
{host,<<"localhost">>},
{password,<<"makrolika">>},
{stream_id,<<"54ea4acf7cab001b">>},
{resource,<<"escalus-default-resource">>}]},
spec =>
[{port,5223},
{tls_module,ssl},
{ssl,true},
{ssl_opts,[{verify,verify_none}]},
{username,
<<"alicE_carbons_are_enabled_with_bind_inline_request_387">>},
{server,<<"domain.example.com">>},
{host,<<"localhost">>},
{password,<<"matygrysa">>}],
features =>
{xmlel,<<"stream:features">>,[],
[{xmlel,<<"session">>,
[{<<"xmlns">>,
<<"urn:ietf:params:xml:ns:xmpp-session">>}],
[]},
{xmlel,<<"bind">>,
[{<<"xmlns">>,
<<"urn:ietf:params:xml:ns:xmpp-bind">>}],
[]},
{xmlel,<<"register">>,
[{<<"xmlns">>,
<<"http://jabber.org/features/iq-register">>}],
[]},
{xmlel,<<"amp">>,
[{<<"xmlns">>,<<"http://jabber.org/feature/amp">>}],
[]},
{xmlel,<<"sm">>,
[{<<"xmlns">>,<<"urn:xmpp:sm:3">>}],
[]},
{xmlel,<<"csi">>,
[{<<"xmlns">>,<<"urn:xmpp:csi:0">>}],
[]}]},
answer =>
{xmlel,<<"success">>,
[{<<"xmlns">>,<<"urn:xmpp:sasl:2">>}],
[{xmlel,<<"authorization-identifier">>,[],
[{xmlcdata,
<<"alice_carbons_are_enabled_with_bind_inline_request_387@domain.example.com/1713-869626-312806-dd9e401e78f7c293">>}]},
{xmlel,<<"bound">>,
[{<<"xmlns">>,<<"urn:xmpp:bind:0">>}],
[]}]},
client_2 =>
{client,
<<"alice_carbons_are_enabled_with_bind_inline_request_387@domain.example.com/second_resource">>,
escalus_tcp,<0.6930.0>,undefined,
[{carbons,true},
{resource,<<"second_resource">>},
{port,5223},
{tls_module,ssl},
{ssl,true},
{ssl_opts,[{verify,verify_none}]},
{username,
<<"alice_carbons_are_enabled_with_bind_inline_request_387">>},
{server,<<"domain.example.com">>},
{host,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"de34c717331f692f">>}]},
client_2_jid =>
<<"alice_carbons_are_enabled_with_bind_inline_request_387@domain.example.com/second_resource">>,
client_1_jid =>
<<"alice_carbons_are_enabled_with_bind_inline_request_387@domain.example.com/1713-869626-312806-dd9e401e78f7c293">>,
answers_1 =>
[{xmlel,<<"message">>,
[{<<"from">>,
<<"bob_carbons_are_enabled_with_bind_inline_request_399@domain.example.com/escalus-default-resource">>},
{<<"to">>,
<<"alice_carbons_are_enabled_with_bind_inline_request_387@domain.example.com/1713-869626-312806-dd9e401e78f7c293">>},
{<<"type">>,<<"chat">>}],
[{xmlel,<<"body">>,[],[{xmlcdata,<<"hello 1">>}]}]},
{xmlel,<<"message">>,
[{<<"from">>,
<<"alice_carbons_are_enabled_with_bind_inline_request_387@domain.example.com">>},
{<<"to">>,
<<"alice_carbons_are_enabled_with_bind_inline_request_387@domain.example.com/second_resource">>},
{<<"xmlns">>,<<"jabber:client">>},
{<<"type">>,<<"chat">>}],
[{xmlel,<<"received">>,
[{<<"xmlns">>,<<"urn:xmpp:carbons:2">>}],
[{xmlel,<<"forwarded">>,
[{<<"xmlns">>,<<"urn:xmpp:forward:0">>}],
[{xmlel,<<"message">>,
[{<<"from">>,
<<"bob_carbons_are_enabled_with_bind_inline_request_399@domain.example.com/escalus-default-resource">>},
{<<"to">>,
<<"alice_carbons_are_enabled_with_bind_inline_request_387@domain.example.com/1713-869626-312806-dd9e401e78f7c293">>},
{<<"type">>,<<"chat">>},
{<<"xmlns">>,<<"jabber:client">>}],
[{xmlel,<<"body">>,[],
[{xmlcdata,<<"hello 1">>}]}]}]}]}]}],
answers_2 =>
[{xmlel,<<"message">>,
[{<<"from">>,
<<"alice_carbons_are_enabled_with_bind_inline_request_387@domain.example.com">>},
{<<"to">>,
<<"alice_carbons_are_enabled_with_bind_inline_request_387@domain.example.com/1713-869626-312806-dd9e401e78f7c293">>},
{<<"xmlns">>,<<"jabber:client">>},
{<<"type">>,<<"chat">>}],
[{xmlel,<<"received">>,
[{<<"xmlns">>,<<"urn:xmpp:carbons:2">>}],
[{xmlel,<<"forwarded">>,
[{<<"xmlns">>,<<"urn:xmpp:forward:0">>}],
[{xmlel,<<"message">>,
[{<<"from">>,
<<"bob_carbons_are_enabled_with_bind_inline_request_399@domain.example.com/escalus-default-resource">>},
{<<"to">>,
<<"alice_carbons_are_enabled_with_bind_inline_request_387@domain.example.com/second_resource">>},
{<<"type">>,<<"chat">>},
{<<"xmlns">>,<<"jabber:client">>}],
[{xmlel,<<"body">>,[],
[{xmlcdata,<<"hello 2">>}]}]}]}]}]},
{xmlel,<<"message">>,
[{<<"from">>,
<<"bob_carbons_are_enabled_with_bind_inline_request_399@domain.example.com/escalus-default-resource">>},
{<<"to">>,
<<"alice_carbons_are_enabled_with_bind_inline_request_387@domain.example.com/second_resource">>},
{<<"type">>,<<"chat">>}],
[{xmlel,<<"body">>,[],[{xmlcdata,<<"hello 2">>}]}]}],
bind2_resource =>
<<"1713-869626-312806-dd9e401e78f7c293">>}