asterisk problem

367 views
Skip to first unread message

Michal Meyza

unread,
Sep 6, 2012, 5:34:48 AM9/6/12
to gs3-...@googlegroups.com
Hello

I have a problem with asterisk, receive these errors, after that phones are not registered and I need to restart asterisk.

[Sep  6 10:39:44] ERROR[2521] ais/clm.c: Could not initialize cluster membership service: Try Again
[Sep  6 10:39:44] WARNING[2521] chan_sip.c: sip.conf: Different 'nat' settings between [general] and section [gw_20_patton]. See /usr/share/doc/asterisk/README.Debian.gz (global='Always' peer/user='RFC3581')

gw_20_patton on the gemeinschaft has nat = no, the same like in [general] on the /opt/gemeinschaft/etc/asterisk/sip.conf

Please help

Thanks

Sascha Daniels

unread,
Sep 6, 2012, 6:31:56 AM9/6/12
to gs3-...@googlegroups.com
Hi.

I think the messages are not directly related to the real problem.

If phones are not registered any more, you "lost" chan_sip.


I would make bet that you hit
https://issues.asterisk.org/jira/browse/ASTERISK-16834 or
https://issues.asterisk.org/jira/browse/ASTERISK-16961

You can check that this way:

Remove all keys from your phones that use BLF or EXTENSION.

After restarting the phones go to the asterisk CLI and type:

core show hints

"Watchers" should now be 0 everywhere.

Try it for a few days. If your problem has vanished, I am right and you
have small problem.

There is way to backport Gemeinschaft to asterisk 1.4, but it is a bit
of work.

I am suporting many Gemeinschaft installations and a vanishing chan_sip
was allways related to this deadlock.


Greets

Sascha


Am 06.09.12 11:34, schrieb Michal Meyza:
> --
> To unsubscribe from this group, send email to
> gs3-users+...@googlegroups.com
>
> Diese Mailingliste wird kostenlos von Usern f�r User betrieben. Unter
> http://www.amooma.de bekommen Sie schnellen kommerziellen Support und
> Consulting vom Hersteller von Gemeinschaft.

Michal Meyza

unread,
Sep 6, 2012, 6:42:15 AM9/6/12
to gs3-...@googlegroups.com
there is no other way to solve this?
We have around 130 users, and each has set BLF...
> Diese Mailingliste wird kostenlos von Usern f�r User betrieben. Unter

Michal Meyza

unread,
Sep 6, 2012, 6:52:50 AM9/6/12
to gs3-...@googlegroups.com
are you sure these messages are not related to this problem?

[Sep  6 10:39:44] ERROR[2521] ais/clm.c: Could not initialize cluster membership service: Try Again
[Sep  6 10:39:44] WARNING[2521] chan_sip.c: sip.conf: Different 'nat' settings between [general] and section [gw_20_patton]. See /usr/share/doc/asterisk/README.Debian.gz (global='Always' peer/user='RFC3581')

each time after phones unregistered we have these errors...

Sascha Daniels

unread,
Sep 6, 2012, 7:04:20 AM9/6/12
to gs3-...@googlegroups.com
Hi.

Am 06.09.12 12:52, schrieb Michal Meyza:
> are you sure these messages are not related to this problem?
>
> [Sep 6 10:39:44] ERROR[2521] ais/clm.c: Could not initialize cluster
> membership service: Try Again

Does not matter, because it is not used.

> [Sep 6 10:39:44] WARNING[2521] chan_sip.c: sip.conf: Different 'nat'
> settings between [general] and section [gw_20_patton]. See
> /usr/share/doc/asterisk/README.Debian.gz (global='Always'
> peer/user='RFC3581')

This is only a warning and I have never seen a crashing chan_sip because
of nat settings (yet).

>
> each time after phones unregistered we have these errors...

To be really sure without disabeling BLF, you must compile asterisk with
debug symbols to make a backtrace.

That is a lot of work and depending on your hardware and call per minute
it will be horrible slow.

I can not run asterisk 1.6 with debug symbols on my Dual QuadCore Xeon
with 600 phones and a few thousand calls a day. After half an hour
asterisk is so dead slow, that the PBX is unusable.

If your hardware is fast enough, you can compile asterisk with debug
symbols and make a backtrace after chan_sip has vanished.

Or you can say: I go back to 1.4 without testing.


Greets

Sascha

Michal Meyza

unread,
Sep 6, 2012, 7:37:57 AM9/6/12
to gs3-...@googlegroups.com
so, when we set "Line" instead of BLF and Extension.. that will solve our problem?

Sascha Daniels

unread,
Sep 6, 2012, 8:27:09 AM9/6/12
to gs3-...@googlegroups.com
Hi.

Am 06.09.12 13:37, schrieb Michal Meyza:
> so, when we set "Line" instead of BLF and Extension.. that will solve
> our problem?

To be honest, I don't know what the Snom does with "line".

In Gemeinschaft there are two Options that make sense.

1. Extension/BLF (depending on Firmware version)

That is to monitor another extension, pickup that extension when it is
ringing or call that extension. Both options make a subscription to the
hint of that extension on the asterisk.

-> deadlock bug

2. External destination

That option just dials the number an nothing more. No monitoring, no
pickup and so on.

There is no way to monitor another extension without having possible
deadlocks.

Greets

Sascha

Michal Meyza

unread,
Sep 7, 2012, 6:27:29 AM9/7/12
to gs3-...@googlegroups.com
We observe that phones not registered appear after pick up the call by *8 combination? Am I right?
We decide to make pick up by BLF keys...

Sascha Daniels

unread,
Sep 7, 2012, 7:18:01 AM9/7/12
to gs3-...@googlegroups.com
Hi.

Am 07.09.12 12:27, schrieb Michal Meyza:
> We observe that phones not registered appear after pick up the call by
> *8 combination? Am I right?
> We decide to make pick up by BLF keys...

The pickup itself is not the problem.

The hint state change that comes with a pickup is the problem no matter
how the call is picked up.

Make a backport to 1.4!

With that number of users you will run into that problem again.

Greets

Sascha
Reply all
Reply to author
Forward
0 new messages