Y
Y
Yermek2021-03-31 09:28:00
Asterisk
Yermek, 2021-03-31 09:28:00

Why are RTP packets going to the left address?

All health! I set up an asterisk via pjsip

With this configuration:

pjsip.conf

[udp-transport]
type=transport
protocol=udp
bind=0.0.0.0:5699
local_net=192.168.200.0/24
local_net=127.0.0.1/32
external_media_address=55.176.150.171
external_signaling_address=55.176.150.171
external_signaling_port=5699
symmetric_transport=yes

[SP1]
type=endpoint
transport=udp-transport
context=demo
;nat begin
;rtp_symmetric=yes
force_rport=yes
rewrite_contact=yes
;nat end
disallow=all
allow=ulaw
aors=SP1
auth=authSP1
direct_media=yes

[SP1]
type=aor
max_contacts=1

[authSP1]
type=auth
auth_type=userpass
password=pass4tests
username=SP1



I have just such a picture. I
6064148a0acf3962143276.png

checked it on the demo context by calling 600 (echo test). Moreover, the voice from the soft background is transmitted to the server (I listened to the analysis of RTP packets)

Please tell me where to dig

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Barbolin, 2021-03-31
@ermek6

direct_media=no
I guess the client is on the left, his external address is 93.185.73.55. The address 192.168.20.251 is the client's internal address.
Show INVITE from 93.185.73.55.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question