Connect a remote Android mobile Phone to Asterisk

Hello,

I try to register an Android smartphone using data through 4G. My Asterisk 18.1.1 server is behind a NAT (Everything is ok within a LAN configuration).

I tried some configuration options with,

media_address
rtp_symmetric
force_rport
direct_media
rewrite_contact

It doesn’t work till now. I can answer only the incoming call, but without any sound.

So I decided to try the IAX protocol, defining my phone through iax.conf

[my phone-name]
type = friend
secret=xxxxxxxx
context=

It appears that I can not register my phone this way (IAX vs. SIP).

Now the point is to find a client who could support this IAX protocol for a Android.

I tried Mizudroid but it seems not be compatible with IAX
I tried Zoiper but my free version is not compatible, it’s only for SIP

Any idea for another app ?

Or maybe could it be possible to find another “simple” solution i.e. without STUN, VPN, etc. ?

Denis

You don’t seem to have provided an external signalling address, which could cause the protocol to stall.

Yes I did,

[transport-udp-nat]
type=transport
protocol=udp
bind=0.0.0.0:5077
local_net=192.168.0.1/25
external_media_address=81.64.182.179
external_signaling_address=81.64.182.179

[endpoint_external] (!)

type=endpoint
context=from-internal
disallow=all
allow=ulaw,alaw
rtp_symmetric=yes
rewrite_contact=yes
force_rport=yes
transport=transport-udp-nat

Denis

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.