[asterisk-users] Asterisk 1.4.20.1 and Realtime

Mindaugas Kezys mkezys at gmail.com
Tue Jun 3 09:52:13 CDT 2008


Hello,

Tested on 4 different servers with Asterisk 1.4.20.1 and Realtime (MySQL).

When trying to register SIP device Asterisk CLI shows:

[Jun  3 10:26:10] NOTICE[13451]: chan_sip.c:12665 handle_response_peerpoke:
Peer '101' is now Reachable. (152ms / 2000ms)
[Jun  3 10:26:10] NOTICE[13451]: chan_sip.c:12665 handle_response_peerpoke:
Peer '101' is now Reachable. (154ms / 2000ms)
[Jun  3 10:26:10] NOTICE[13451]: chan_sip.c:12665 handle_response_peerpoke:
Peer '101' is now Reachable. (157ms / 2000ms)
[Jun  3 10:26:10] NOTICE[13451]: chan_sip.c:12665 handle_response_peerpoke:
Peer '101' is now Reachable. (162ms / 2000ms)
[Jun  3 10:26:10] NOTICE[13451]: chan_sip.c:12665 handle_response_peerpoke:
Peer '101' is now Reachable. (151ms / 2000ms)
[Jun  3 10:26:10] NOTICE[13451]: chan_sip.c:12665 handle_response_peerpoke:
Peer '101' is now Reachable. (155ms / 2000ms)
[Jun  3 10:26:10] NOTICE[13451]: chan_sip.c:12665 handle_response_peerpoke:
Peer '101' is now Reachable. (159ms / 2000ms)
[Jun  3 10:26:10] NOTICE[13451]: chan_sip.c:12665 handle_response_peerpoke:
Peer '101' is now Reachable. (156ms / 2000ms)
[Jun  3 10:26:10] NOTICE[13451]: chan_sip.c:12665 handle_response_peerpoke:
Peer '101' is now Reachable. (152ms / 2000ms)
[Jun  3 10:26:10] NOTICE[13451]: chan_sip.c:12665 handle_response_peerpoke:
Peer '101' is now Reachable. (152ms / 2000ms)
[Jun  3 10:26:10] NOTICE[13451]: chan_sip.c:12665 handle_response_peerpoke:
Peer '101' is now Reachable. (156ms / 2000ms)
[Jun  3 10:26:11] NOTICE[13451]: chan_sip.c:12665 handle_response_peerpoke:
Peer '101' is now Reachable. (165ms / 2000ms)
[Jun  3 10:26:11] NOTICE[13451]: chan_sip.c:12665 handle_response_peerpoke:
Peer '101' is now Reachable. (152ms / 2000ms)
[Jun  3 10:26:11] NOTICE[13451]: chan_sip.c:12665 handle_response_peerpoke:
Peer '101' is now Reachable. (153ms / 2000ms)

On other server:

[Jun  2 22:30:20] NOTICE[6421] chan_sip.c: Peer 'RofiqC3' is now
UNREACHABLE!  Last qualify: 0
[Jun  2 22:30:20] NOTICE[6421] chan_sip.c: Peer 'RofiqC4' is now
UNREACHABLE!  Last qualify: 0
[Jun  2 22:30:20] NOTICE[6421] chan_sip.c: Peer 'RofiqC3' is now
UNREACHABLE!  Last qualify: 0
[Jun  2 22:30:20] NOTICE[6421] chan_sip.c: Peer 'RofiqC3' is now
UNREACHABLE!  Last qualify: 0
[Jun  2 22:30:20] NOTICE[6421] chan_sip.c: Peer 'RofiqC3' is now
UNREACHABLE!  Last qualify: 0
[Jun  2 22:30:20] NOTICE[6421] chan_sip.c: Peer 'RofiqC3' is now
UNREACHABLE!  Last qualify: 0
[Jun  2 22:30:20] NOTICE[6421] chan_sip.c: Peer 'RofiqC3' is now
UNREACHABLE!  Last qualify: 0
[Jun  2 22:30:20] NOTICE[6421] chan_sip.c: Peer 'RofiqC3' is now
UNREACHABLE!  Last qualify: 0
[Jun  2 22:30:20] NOTICE[6421] chan_sip.c: Peer 'RofiqC3' is now
UNREACHABLE!  Last qualify: 0
[Jun  2 22:30:20] NOTICE[6421] chan_sip.c: Peer 'RofiqC3' is now
UNREACHABLE!  Last qualify: 0
[Jun  2 22:30:20] NOTICE[6421] chan_sip.c: Peer 'RofiqC3' is now
UNREACHABLE!  Last qualify: 0
[Jun  2 22:30:20] NOTICE[6421] chan_sip.c: Peer 'RofiqC4' is now
UNREACHABLE!  Last qualify: 0

On third:

[Jun  2 14:13:56] NOTICE[20174] chan_sip.c: Peer 'theboss' is now
UNREACHABLE!  Last qualify: 0
[Jun  2 14:13:56] NOTICE[20174] chan_sip.c: Peer 'theboss' is now
UNREACHABLE!  Last qualify: 0
[Jun  2 14:13:56] NOTICE[20174] chan_sip.c: Peer 'theboss' is now
UNREACHABLE!  Last qualify: 0
[Jun  2 14:13:56] NOTICE[20174] chan_sip.c: Peer 'theboss' is now
UNREACHABLE!  Last qualify: 0
[Jun  2 14:13:56] NOTICE[20174] chan_sip.c: Peer 'theboss' is now
UNREACHABLE!  Last qualify: 0
[Jun  2 14:13:56] NOTICE[20174] chan_sip.c: Peer 'theboss' is now
UNREACHABLE!  Last qualify: 0
[Jun  2 14:13:56] NOTICE[20174] chan_sip.c: Peer 'theboss' is now
UNREACHABLE!  Last qualify: 0
[Jun  2 14:13:56] NOTICE[20174] chan_sip.c: Peer 'theboss' is now
UNREACHABLE!  Last qualify: 0
[Jun  2 14:13:56] NOTICE[20174] chan_sip.c: Peer 'theboss' is now
UNREACHABLE!  Last qualify: 0
[Jun  2 14:13:56] NOTICE[20174] chan_sip.c: Peer 'theboss' is now
UNREACHABLE!  Last qualify: 0
[Jun  2 14:13:56] NOTICE[20174] chan_sip.c: Peer 'theboss' is now
UNREACHABLE!  Last qualify: 0


And this does not stop even when device is swithed off. Device shows:
"service unavailable , not registered"

Asterisk hangs and /etc/init.d/asterisk stop does not help.

killall -9 safe_asterisk/asterisk is the only way.

Downgrading to Asterisk 1.4.18.1 (1.4.19.x is broken) helps and everything
works very nicely.

Anybody else experience this?

Regards,
Mindaugas Kezys
http://www.kolmisoft.com






More information about the asterisk-users mailing list