No audio when calling phone number

Using Zoiper as SIP phone, I can call using 1001@<MY_PUBLIC_IP> to any number (dutch number) but when I try to speak, there is no audio at all

I tried to check de logs. It looks like connection is made but no RTP packets are sent or received

– Called PJSIP/+31631324697@voys
> 0x7bfc5c2e00e0 – Strict RTP learning after remote address set to: 195.35.115.111:14266
– PJSIP/voys-00000007 is making progress passing it to PJSIP/1001-00000006
> 0x7bfc5c2f1730 – Strict RTP learning after remote address set to: 92.254.76.118:58479
– PJSIP/voys-00000007 is making progress passing it to PJSIP/1001-00000006
– PJSIP/voys-00000007 is making progress passing it to PJSIP/1001-00000006
– PJSIP/voys-00000007 answered PJSIP/1001-00000006
– Channel PJSIP/voys-00000007 joined ‘simple_bridge’ basic-bridge <4f5bc2e1-0ced-487b-8b3f-12f379780795>
– Channel PJSIP/1001-00000006 joined ‘simple_bridge’ basic-bridge <4f5bc2e1-0ced-487b-8b3f-12f379780795>
> Bridge 4f5bc2e1-0ced-487b-8b3f-12f379780795: switching from simple_bridge technology to native_rtp
> Locally RTP bridged ‘PJSIP/1001-00000006’ and ‘PJSIP/voys-00000007’ in stack
– Channel PJSIP/voys-00000007 left ‘native_rtp’ basic-bridge <4f5bc2e1-0ced-487b-8b3f-12f379780795>
– Channel PJSIP/1001-00000006 left ‘native_rtp’ basic-bridge <4f5bc2e1-0ced-487b-8b3f-12f379780795>
== Spawn extension (outbound, +31631324697, 1) exited non-zero on ‘PJSIP/1001-00000006’

This is my extension:

[general]
rtpstart = 10000
rtpend = 20000

#include /etc/asterisk/pjsip_voys.conf

[transport-udp]
type=transport
protocol=udp
bind=0.0.0.0:5060
local_net=192.168.178.0/24
external_media_address=<MY_PUBLIC_IP>
external_signaling_address=<MY_PUBLIC_IP>

[1001]
type = aor
max_contacts=1

[1001] ; This is the name of the extension
type = endpoint
transport=transport-udp
context=outbound
disallow=all
allow=alaw
allow=ulaw
auth=1001-auth
aors=1001
force_rport=yes
rtp_symmetric=yes
rewrite_contact=yes
direct_media=no

[1001-auth]
type = auth
auth_type=userpass
username=1001 ; This is the extension number that Zoiper will use
password=mypass ; Set a secure password

[1001-identify]
type=identify
endpoint=1001
match=<MY_PUBLIC_IP>

this is for my sip trunk

[voys]
type = endpoint
transport = transport-udp
disallow=all
allow=ulaw
allow=alaw
aors = voys
outbound_auth = voys-auth
context = outbound
rtp_symmetric = yes
force_rport = yes
rewrite_contact = yes
direct_media = no
ice_support=true

[voys]
type = aor
contact = sip:ha.voys.nl:5060
qualify_frequency = 15

[voys-auth]
type = auth
auth_type=userpass
username=XXXXXXXXX
password=mysiptrunkpass

[voys-reg]
type = registration
transport = transport-udp
outbound_auth = voys-auth
server_uri = sip:ha.voys.nl
client_uri = sip:XXXXXXXXXXX@ha.voys.nl

[voys-identify]
type = identify
endpoint = voys
match = 195.35.114.0/24
match = 195.35.115.0/24
match = 185.103.76.0/22

this is part of my extensions.conf

[internal]
exten => 1001,1,Dial(PJSIP/1001)
exten => 1001,n,Hangup()

[outbound]
; Handle outgoing international calls (starting with a +)
exten => _+X.,1,Dial(PJSIP/${EXTEN}@voys) ; Replace ‘voys’ with the correct trunk name
exten => _+X.,n,Hangup() ; Hang up after the call is complete

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