mwolff44 / pk-sbc

P-KISS-SBC - simple and stupid SIP/RTP SBC - AGPL v3 - Based on kamailio / RTP Engine
https://pk-sbc.io
GNU Affero General Public License v3.0
98 stars 49 forks source link

improve default freeswitch config #152

Closed freddy36 closed 6 years ago

mwolff44 commented 6 years ago

I can not use it like that, as you see there are excaped caracter at the end. But neeeds to be enhanced

freddy36 commented 6 years ago

With or without the escaped dots it should result in the same logic. Network_addr will always have the format X.X.X.X for the standard setup so the escaped ANY regex matches must match the dots in the network_addr. I would prefer this slightly relaxed IP matching over having to introduce a second variable for the regex version of the IP.

mwolff44 commented 6 years ago

have you tested it like that ? if it is ok, i merge it

freddy36 commented 6 years ago

Yes it's working for me like this.

mwolff44 commented 6 years ago

for me it is ok from security point of view, as it is easy and recommanded to setup a firewall on FS VMs.