Answer the question
In order to leave comments, you need to log in
Proxy sip + rtp, how to forward traffic?
Hello. there are two servers, both in different dmz, interconnected by a tunnel through the server-in-the-middle (since the tunnels come from firewalls, the visibility of the server is not direct). It is required to link asterisks on servers to each other. I was able to connect the servers via sip, put an asterisk on the server-in-the-middle:
[sip-proxy-1]
host=ip1
fromdomain=ip2
type=friend
insecure=invite
disallow=all
canreinvite=yes
allow=alaw,ulaw,g729,gsm
language=ru
directmedia=no
dtmfmode=auto
canreinvite=no
qualify=yes
nat=no
[sip-proxy-2]
host=ip3
fromdomain=ip2
type=friend
context=proxy-31
insecure=invite
disallow=all
canreinvite=yes
allow=alaw,ulaw,g729,gsm
language=ru
directmedia=no
dtmfmode=auto
qualify=yes
nat=no
I see from the dumps that rtp goes to the server-in-the-middle, but doesn't go further. What's the catch?
Answer the question
In order to leave comments, you need to log in
Here you need to decide and use one thing:
canreinvite=yes
directmedia=no
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question