I have my asterisk system running internal on port 5050
On my router i have configured an port forward from 9051 outside to 5050 inside, because those ports like 5050 and 5060 are scanned a lot by hackers
i can connect my softphone when i use 9051 , thats not an issue
When i call from my doorstation (local lan) to my softphone (public) , i can answer , audio works, but when hanging up on softphone, the call stays active on the doorstation, the hangup doesnt go ttrough
when i configure router with port forward 5050 to 5050 , then all works
I have played with some settings on the endpoint, but it doesnt help, is there something i need to configure extra?
 type=endpoint context=default disallow=all allow=ulaw,alaw allow=h264,vp8 auth=auth6001 aors=6001 rtp_symmetric=yes force_rport=yes rewrite_contact=yes direct_media=yes max_audio_streams=10 max_video_streams=10 from_domain=abc.com [auth6001] type=auth auth_type=userpass password=xxxx username=6001  type=aor qualify_frequency=30 max_contacts=1 remove_existing=yes remove_unavailable=yes
[transport-udp] type = transport protocol = udp bind=0.0.0.0:5050 local_net=192.168.0.0/24 local_net=10.8.0.0/24 local_net=172.30.32.0/24 external_media_address=abc.com external_signaling_address=abc.com
do i maybe need to specify the port also in the external_media_address and external_signaling_address ? like = abc.com:9051 ?