Hello, last week I setup an EC2 t2.micro instance with Asterisk 15.2.2 installed. Tested with PJSIP softphones, audio worked well, video gave a green window though. I guess the EC2 inbound rules are ok since audio is working, so there might be something wrong/missing in my pjsip.conf. Here is how it looks like, please advise, appreciated.
[transport-udp-nat]
type=transport
protocol=udp
bind=0.0.0.0
local_net=172.12.34.56/32 ;private ip of ec2 instance
local_net=10.0.1.0/24 ;private ip of endpoints
external_media_address=34.123.456.789 ;public ip of ec2 instance
external_signaling_address=34.123.456.789 ;public ip of ec2 instanceendpoint_internal
type=endpoint
context=from-internal
force_rport=yes
rtp_symmetric=yes
direct_media=no
disallow=all
allow=ulaw,h264auth_userpass
type=auth
auth_type=userpassaor_dynamic
type=aor
max_contacts=1demo-alice
auth=demo-alice
aors=demo-alice
demo-alice
password=unsecurepassword ; put a strong, unique password here instead
username=demo-alice
demo-alicedemo-bob
auth=demo-bob
aors=demo-bob
demo-bob
password=unsecurepassword ; put a strong, unique password here instead
username=demo-bob
demo-bob