29 Nov
2019
29 Nov
'19
10:48 p.m.
1- is this the right way?
It really depends on your circumstances and the use case, so it's difficult to tell. Also, the network address criteria may not be as stable as expected, perhaps another variable is better suited for that condition.
2- when i do like this, do RTP packages go over my server?
In most circumstances, the RTP will flow through your server indeed.
3- what should i do, just to transfer signalling, not to transfer media over my server?
Check bypass_media and/or bypass_media_after_bridge: https://freeswitch.org/confluence/display/FREESWITCH/Variables+Master+List#V...