OPNsense Forum

Archive => 15.1 Legacy Series => Topic started by: janne on May 18, 2015, 06:47:58 pm

Post by: janne on May 18, 2015, 06:47:58 pm
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

Title: Re: SIP
Post by: reep on May 18, 2015, 11:02:15 pm
For your VOIP issue I think you need to supply a bit more information....

Greyed out widget solved here :


Title: Re: SIP
Post by: franco on May 18, 2015, 11:24:32 pm
Small note on the widgets: 15.1.11 is coming out tomorrow fixing the issue. Sorry for the trouble.
Title: Re: SIP
Post by: kristiandg on May 19, 2015, 04:30:47 pm
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...
Title: Re: SIP
Post by: janne on June 08, 2015, 10:23:21 am
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.
Title: Re: SIP
Post by: norspang on June 08, 2015, 02:39:08 pm
try setting Register Expires to 120 on the phones, i do not know that phone but it works with a SPA112.
Title: Re: SIP
Post by: janne on October 26, 2015, 01:26:24 pm
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

Title: Re: SIP
Post by: franco on October 28, 2015, 11:03:18 pm
Hi Janne,

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

Title: Re: SIP
Post by: elfrom on October 31, 2015, 10:42:15 am
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.

Post by: Derricksmaw on November 28, 2015, 12:40:57 pm
Did you put the load => res_agi.so line before or after the sip line in modules.conf?