[SOLVED] SIP

Started by janne, May 18, 2015, 06:47:58 PM

Previous topic - Next topic
May 18, 2015, 06:47:58 PM Last Edit: November 01, 2015, 12:12:31 AM by franco
Hi all.

Hope someone can help me with a problem with SIP.

Have been trying to get the phone to work through the firewall but it seems that they lost contact after a while.

Start it if the phone works for about 180 seconds, after that it is not possible to dial in. Dial out works quite ok.

I have configured the device with fixed IP and Upstream gateway.

Another issue in passing, why does it take to add Widgets to the latest version? Everything just becomes gray.


With kind regards

Janne

For your VOIP issue I think you need to supply a bit more information....

Greyed out widget solved here :

https://forum.opnsense.org/index.php?topic=432.0


Small note on the widgets: 15.1.11 is coming out tomorrow fixing the issue. Sorry for the trouble.

Don't forget to enable static port mapping for the SIP endpoint under NAT>OUTBOUND.  Attached is an example of what I set up on my PFSense box (and was able to duplicate on OPNsense, which I can't show you currently).

In the screenshot, I'm doing the entire 192.168.x.x scope, but you can easily limit that to the specific phone(s) IP range if you wanted to.

Hope this helps...

 ???
To try to clarify this as I had before a HUAWEI E5172s-22

and on the net so there were four Cisco SPA525G2 and it worked without any problems at all. No configuration at all.

Just plug in the Cisco devices and run on.

Now with OPNsense so it seems difficult to get this to work.

It's fine to call out and you can call in at 180 seconds after the restart.

Should be a SIP service in OPNsense.

try setting Register Expires to 120 on the phones, i do not know that phone but it works with a SPA112.

 :-\
Hello again.


Now i soon tried all things one can but must not SIP to function in OPNsense. Does anybody know or got this to work without any problem?

Should there not be SIP ALG settings in the firewall? And the ability to set timers?


With kind regards

Janne

Hi Janne,

I'm hoping a SIP expert will pick up your question, I don't have the experience. Bumping this for visibility.


Cheers,
Franco

Hi Janne
I have experienced exactly the same issues on pfSense.
The solution, in my situation, was very simple. Change System:Settings:Firewall/NAT:Firewall Optimization Options from Normal to Conservative.

Hope this helps.

/Brian

Did you put the load => res_agi.so line before or after the sip line in modules.conf?