Hello everyone,
I’m experiencing an issue with audio when making calls using MicroSIP. The call connects successfully, but there’s no audio in either direction. However, when I call over the SIP trunk, everything works perfectly — including audio.
The system is running on an Azure VM. In the Azure network settings, I’ve allowed both inbound and outbound traffic on:
- Port 5060 (for SIP signaling)
- Ports 10000–20000 (for RTP/media)
These rules are applied for any protocol.
Despite these settings, audio doesn’t work in MicroSIP. Here are my endpoints:
[transport-udp]
type=transport
protocol=udp
bind=0.0.0.0:4040
[transport-udp-nat]
type=transport
protocol=udp
bind=0.0.0.0:5060
local_net=127.0.0.0/16
external_media_address={{ PUBLIC_IP }}
external_signaling_address={{ PUBLIC_IP }}
[transport-tcp-nat]
type=transport
protocol=tcp
bind=0.0.0.0
local_net=127.0.0.0/16
external_media_address={{ PUBLIC_IP }}
external_signaling_address={{ PUBLIC_IP }}
[telnyx]
type=endpoint
transport=transport-udp-nat
context=telnyx
disallow=all
allow=g722
allow=ulaw
allow=alaw
direct_media=no
aors=telnyx
outbound_auth=telnyx
; Configures the endpoint for incoming/outgoing calls and media handling
[telnyx]
type=identify
endpoint=telnyx
match=sip.telnyx.com
[6001]
type=endpoint
context=public
disallow=all
allow=g722
allow=ulaw
auth=6001
aors=6001
set_var=PROJECT_ID=108
transport=transport-tcp-nat
force_rport=yes
ice_support=yes
rewrite_contact=yes
[6001]
type=auth
auth_type=userpass
password=xxxxxxxxx
username=6001
[6001]
type=aor
max_contacts=10
and pjsip show transports displays this:
Transport: tls_transport tls 0 0 0.0.0.0:5061
Transport: transport-tcp-nat tcp 0 0 0.0.0.0:5060
Transport: transport-udp udp 0 0 0.0.0.0:4040
Transport: transport-udp-nat udp 0 0 0.0.0.0:5060
Transport: wss_transport wss 0 0 0.0.0.0:8089
Do you guys might have any idea of what it may be.
Any help or suggestions would be greatly appreciated!