Re: [pfSense] Fwd: Issue with states

2013-08-22 Thread Hannes Werner
same configuration here. I do run freepbx behind pfSense with two voip
providers. I've two registrations on Operator A for two different incomming
numbers and an Operator B for outgoing calls.

do you have any qualify frequency adapted as suggested above?


On Thu, Aug 22, 2013 at 5:00 PM, compdoc  wrote:

> > But from time to time my Asterisk is still not reachable.
>
> I have freepbx running behind pfSense with no nat or rules configured for
> it at all. None are needed. 
>
> ** **
>
> I use two voip providers - one for incoming calls, and one for outgoing
> calls. 
>
> ** **
>
> ** **
>
> ___
> List mailing list
> List@lists.pfsense.org
> http://lists.pfsense.org/mailman/listinfo/list
>
>
___
List mailing list
List@lists.pfsense.org
http://lists.pfsense.org/mailman/listinfo/list


Re: [pfSense] Fwd: Issue with states

2013-08-22 Thread compdoc
> But from time to time my Asterisk is still not reachable.

I have freepbx running behind pfSense with no nat or rules configured for it at 
all. None are needed. 

 

I use two voip providers - one for incoming calls, and one for outgoing calls. 

 

 

___
List mailing list
List@lists.pfsense.org
http://lists.pfsense.org/mailman/listinfo/list


Re: [pfSense] Fwd: Issue with states

2013-08-22 Thread Hannes Werner
But from time to time my Asterisk is still not reachable.

Obviously this issue is not really solved. Is there nothing that can be
done on pfSense site?


On Sun, Aug 4, 2013 at 8:35 PM, Hannes Werner  wrote:

> I've running my Asterisk PBX
>  for 5 days now with the above suggestions and it works well.
>
> Thank you very much!
>
>
> On Tue, Jul 30, 2013 at 7:42 PM, J. Echter <
> j.ech...@echter-kuechen-elektro.de> wrote:
>
>>  Am 30.07.2013 08:34, schrieb Hannes Werner:
>>
>> Thank you for the answer, I've Outbound rules for quite some time without
>> success.
>> I added the qualifyfrequency option yesterday to my asterisk settings and
>> the peer registration last till this morning which is much longer than I
>> had since pfSense as router.
>>
>> I hope it helps, but I will leave the outbound rules aswell. A one week
>> test should give stronger results.
>>
>>
>> On Mon, Jul 29, 2013 at 3:34 PM, J. Echter 
>>  wrote:
>>
>>
>>  Am 29.07.2013 14:45, schrieb Guido Falsi:
>>
>>  On 07/29/13 12:06, Hannes Werner wrote:
>>
>>  Thank you very much,
>> I tried increasing qualify frequency without any success. I'm not on the
>> site with that installation and I might be able to get there this
>> afternoon.
>> I'll give a feedback after some tests. Untill now I never had a
>> registration for longer than 6 hours.
>>
>>
>>  I'm not sure this really fixes the problem...it seems to work for me
>> though, so I shared it. YMMV.
>>
>>
>>  Hi,
>>
>> here it worked the following.
>>
>> go to
>>
>> firewall - nat - outbound
>>
>> switch from automatic to manual
>>
>> then there should be lots of rules created.
>>
>> on the first line add something similar:
>>
>> If-src-  src port-   dest.-
>> dest. port-nat addr.-   nat port-static port
>> WAN192.168.0.1/24udp/*sip provider   udp/*
>> **yes
>>
>> src = subnet where asterisk sits
>> dest. = provider ip (ask them to be sure)
>>
>> good luck
>> ___
>> List mailing 
>> listList@lists.pfsense.orghttp://lists.pfsense.org/mailman/listinfo/list
>>
>>
>>
>> ___
>> List mailing 
>> listList@lists.pfsense.orghttp://lists.pfsense.org/mailman/listinfo/list
>>
>>  ah i forgot to mention, set this rule on the first place. so it gets hit
>> first.
>>
>> cheers
>>
>> juergen
>>
>> ___
>> List mailing list
>> List@lists.pfsense.org
>> http://lists.pfsense.org/mailman/listinfo/list
>>
>>
>
___
List mailing list
List@lists.pfsense.org
http://lists.pfsense.org/mailman/listinfo/list


Re: [pfSense] Fwd: Issue with states

2013-08-04 Thread Hannes Werner
I've running my Asterisk PBX
 for 5 days now with the above suggestions and it works well.

Thank you very much!


On Tue, Jul 30, 2013 at 7:42 PM, J. Echter <
j.ech...@echter-kuechen-elektro.de> wrote:

>  Am 30.07.2013 08:34, schrieb Hannes Werner:
>
> Thank you for the answer, I've Outbound rules for quite some time without
> success.
> I added the qualifyfrequency option yesterday to my asterisk settings and
> the peer registration last till this morning which is much longer than I
> had since pfSense as router.
>
> I hope it helps, but I will leave the outbound rules aswell. A one week
> test should give stronger results.
>
>
> On Mon, Jul 29, 2013 at 3:34 PM, J. Echter 
>  wrote:
>
>
>  Am 29.07.2013 14:45, schrieb Guido Falsi:
>
>  On 07/29/13 12:06, Hannes Werner wrote:
>
>  Thank you very much,
> I tried increasing qualify frequency without any success. I'm not on the
> site with that installation and I might be able to get there this
> afternoon.
> I'll give a feedback after some tests. Untill now I never had a
> registration for longer than 6 hours.
>
>
>  I'm not sure this really fixes the problem...it seems to work for me
> though, so I shared it. YMMV.
>
>
>  Hi,
>
> here it worked the following.
>
> go to
>
> firewall - nat - outbound
>
> switch from automatic to manual
>
> then there should be lots of rules created.
>
> on the first line add something similar:
>
> If-src-  src port-   dest.-
> dest. port-nat addr.-   nat port-static port
> WAN192.168.0.1/24udp/*sip provider   udp/*
> **yes
>
> src = subnet where asterisk sits
> dest. = provider ip (ask them to be sure)
>
> good luck
> ___
> List mailing 
> listList@lists.pfsense.orghttp://lists.pfsense.org/mailman/listinfo/list
>
>
>
> ___
> List mailing 
> listList@lists.pfsense.orghttp://lists.pfsense.org/mailman/listinfo/list
>
>  ah i forgot to mention, set this rule on the first place. so it gets hit
> first.
>
> cheers
>
> juergen
>
> ___
> List mailing list
> List@lists.pfsense.org
> http://lists.pfsense.org/mailman/listinfo/list
>
>
___
List mailing list
List@lists.pfsense.org
http://lists.pfsense.org/mailman/listinfo/list


Re: [pfSense] Fwd: Issue with states

2013-07-30 Thread J. Echter
Am 30.07.2013 08:34, schrieb Hannes Werner:
> Thank you for the answer, I've Outbound rules for quite some time without
> success.
> I added the qualifyfrequency option yesterday to my asterisk settings and
> the peer registration last till this morning which is much longer than I
> had since pfSense as router.
>
> I hope it helps, but I will leave the outbound rules aswell. A one week
> test should give stronger results.
>
>
> On Mon, Jul 29, 2013 at 3:34 PM, J. Echter <
> j.ech...@echter-kuechen-elektro.de> wrote:
>
>> Am 29.07.2013 14:45, schrieb Guido Falsi:
>>> On 07/29/13 12:06, Hannes Werner wrote:
 Thank you very much,
 I tried increasing qualify frequency without any success. I'm not on the
 site with that installation and I might be able to get there this
 afternoon.
 I'll give a feedback after some tests. Untill now I never had a
 registration for longer than 6 hours.

>>> I'm not sure this really fixes the problem...it seems to work for me
>>> though, so I shared it. YMMV.
>>>
>> Hi,
>>
>> here it worked the following.
>>
>> go to
>>
>> firewall - nat - outbound
>>
>> switch from automatic to manual
>>
>> then there should be lots of rules created.
>>
>> on the first line add something similar:
>>
>> If-src-  src port-   dest.-
>> dest. port-nat addr.-   nat port-static port
>> WAN192.168.0.1/24udp/*sip provider   udp/*
>> **yes
>>
>> src = subnet where asterisk sits
>> dest. = provider ip (ask them to be sure)
>>
>> good luck
>> ___
>> List mailing list
>> List@lists.pfsense.org
>> http://lists.pfsense.org/mailman/listinfo/list
>>
>
>
> ___
> List mailing list
> List@lists.pfsense.org
> http://lists.pfsense.org/mailman/listinfo/list
ah i forgot to mention, set this rule on the first place. so it gets hit
first.

cheers

juergen
___
List mailing list
List@lists.pfsense.org
http://lists.pfsense.org/mailman/listinfo/list


Re: [pfSense] Fwd: Issue with states

2013-07-29 Thread Hannes Werner
Thank you for the answer, I've Outbound rules for quite some time without
success.
I added the qualifyfrequency option yesterday to my asterisk settings and
the peer registration last till this morning which is much longer than I
had since pfSense as router.

I hope it helps, but I will leave the outbound rules aswell. A one week
test should give stronger results.


On Mon, Jul 29, 2013 at 3:34 PM, J. Echter <
j.ech...@echter-kuechen-elektro.de> wrote:

> Am 29.07.2013 14:45, schrieb Guido Falsi:
> > On 07/29/13 12:06, Hannes Werner wrote:
> >> Thank you very much,
> >> I tried increasing qualify frequency without any success. I'm not on the
> >> site with that installation and I might be able to get there this
> >> afternoon.
> >> I'll give a feedback after some tests. Untill now I never had a
> >> registration for longer than 6 hours.
> >>
> >
> > I'm not sure this really fixes the problem...it seems to work for me
> > though, so I shared it. YMMV.
> >
> Hi,
>
> here it worked the following.
>
> go to
>
> firewall - nat - outbound
>
> switch from automatic to manual
>
> then there should be lots of rules created.
>
> on the first line add something similar:
>
> If-src-  src port-   dest.-
> dest. port-nat addr.-   nat port-static port
> WAN192.168.0.1/24udp/*sip provider   udp/*
> **yes
>
> src = subnet where asterisk sits
> dest. = provider ip (ask them to be sure)
>
> good luck
> ___
> List mailing list
> List@lists.pfsense.org
> http://lists.pfsense.org/mailman/listinfo/list
>
___
List mailing list
List@lists.pfsense.org
http://lists.pfsense.org/mailman/listinfo/list


Re: [pfSense] Fwd: Issue with states

2013-07-29 Thread Hannes Werner
Thank you very much,
I tried increasing qualify frequency without any success. I'm not on the
site with that installation and I might be able to get there this
afternoon.
I'll give a feedback after some tests. Untill now I never had a
registration for longer than 6 hours.



On Mon, Jul 29, 2013 at 11:49 AM, Guido Falsi  wrote:

> On 07/29/13 11:16, Hannes Werner wrote:
>
>>
>> Hello,
>>
>> I've difficulties with my Asterisk server behind pfsense which looses
>> his registrations until states on the pfSense is reset or particular
>> state is deleted.
>>
>> I think the problem is recorded hier:
>> http://redmine.pfsense.org/**issues/1629
>>
>> I would like to ask what the state of this issue is?
>>
>>
> After some playing around I think I found the solution. It looks like it
> is a timeout problem, asterisk by default sends too few UDP keepalives for
> pfsense default timeout, setting "qualifyfreq=20" (or anything below 30)
> and setting peers with a reasonable qualify value (qualify=80, for example)
> seems to fix it.
>
> I have been running smooth for a week with this implemented, but I admit
> this isn't a long enough test. Anyway I think it's worth a try.
>
> --
> Guido Falsi 
>
___
List mailing list
List@lists.pfsense.org
http://lists.pfsense.org/mailman/listinfo/list


[pfSense] Fwd: Issue with states

2013-07-29 Thread Hannes Werner
Hello,

I've difficulties with my Asterisk server behind pfsense which looses his
registrations until states on the pfSense is reset or particular state is
deleted.

I think the problem is recorded hier:
http://redmine.pfsense.org/issues/1629

I would like to ask what the state of this issue is?

Regards,

Hannes
___
List mailing list
List@lists.pfsense.org
http://lists.pfsense.org/mailman/listinfo/list