I am new to Asterisk and this forum was very helpful for setting it up.
But there is an issue I can’t solve : Asterisk with 4G-LTE/mobile data.
Here is the part of my PJSIP endpoint :
rtp_keepalive=1 rewrite_contact = yes direct_media = no force_rport = yes rtp_symmetric = yes
And here is my pjsip.conf :
[transport-udp] type = transport protocol = udp bind = 0.0.0.0 local_net = 127.0.0.1/32 external_media_address = my_external_ip external_signaling_address = my_external_ip
When I call from my local wifi/rj45, there is no problem.
When I call from another network, no problem, it works.
But when I call from 4G (with the same device) there is no audio.
When I set RTP debug on, we can see thet RTP packets are sent to 10.x.x.x, I think that’s the issue.
How can I “force” Asterisk to send RTP packets to my 4G IP?
When I register my softphone, the CLI is showing the correct IP.
Thanks a lot for your help