[Home]

Summary:ASTERISK-12570: We could NOT get the channel lock for SIP
Reporter:Diego Valencia (diencia)Labels:
Date Opened:2008-08-12 13:27:49Date Closed:2011-06-07 14:00:20
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Channels/chan_sip/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:We see this log before the asterisk hang. This asterisk was working very fine, now I install a transcoder card and the asterisk randomly hangs (2 or 3 times for day) with these errors. I tried with other machine, and other version 1.4.17 with the same result. I must to reboot the server because a kill -9 command doesn´t work. If I remove de card there is no crash any more. I don´t know if is a zaptel or asterisk problem, Plese show me how create a debug if you need it.

The zaptel driver know the transcoder card:

CLI> transcoder show
0/0 encoders/decoders of 92 channels are in use.

regards

Diego


****** ADDITIONAL INFORMATION ******

Aug 12 12:33:21] NOTICE[4247] rtp.c: Unknown RTP codec 126 received from ipsoftphone
[Aug 12 12:33:31] NOTICE[4247] rtp.c: Unknown RTP codec 126 received from ipsoftphone
[Aug 12 12:33:41] NOTICE[4247] rtp.c: Unknown RTP codec 126 received from ipsoftphone
[Aug 12 12:33:51] ERROR[4041] chan_sip.c: We could NOT get the channel lock for SIP/SER-Saliente-081e6ff0!
[Aug 12 12:33:51] ERROR[4041] chan_sip.c: SIP transaction failed: 056d38bf4fab0375746e361831733e3e@190.11.152.79
[Aug 12 12:33:51] NOTICE[4247] rtp.c: Unknown RTP codec 126 received from ipsoftphone
[Aug 12 12:33:52] ERROR[4041] chan_sip.c: We could NOT get the channel lock for SIP/SER-Saliente-081e6ff0!
[Aug 12 12:33:52] ERROR[4041] chan_sip.c: SIP transaction failed: 056d38bf4fab0375746e361831733e3e@IP.of.my.asterisk
[Aug 12 12:33:53] ERROR[4041] chan_sip.c: We could NOT get the channel lock for SIP/SER-Saliente-081e6ff0!
[Aug 12 12:33:53] ERROR[4041] chan_sip.c: SIP transaction failed: 056d38bf4fab0375746e361831733e3e@IP.of.my.asterisk
[Aug 12 12:33:54] ERROR[4041] chan_sip.c: We could NOT get the channel lock for SIP/SER-Saliente-081e6ff0!
[Aug 12 12:33:54] ERROR[4041] chan_sip.c: SIP transaction failed: 056d38bf4fab0375746e361831733e3e@IP.of.my.asterisk
[Aug 12 12:33:55] ERROR[4041] chan_sip.c: We could NOT get the channel lock for SIP/SER-Saliente-081e6ff0!
........
[Aug 12 12:34:26] ERROR[4041] chan_sip.c: We could NOT get the channel lock for SIP/SER-Saliente-081e6ff0!
[Aug 12 12:34:26] ERROR[4041] chan_sip.c: SIP transaction failed: 056d38bf4fab0375746e361831733e3e@IP.of.my.asterisk
[Aug 12 12:34:28] ERROR[4041] chan_sip.c: We could NOT get the channel lock for SIP/SER-Saliente-081e6ff0!
[Aug 12 12:34:28] ERROR[4041] chan_sip.c: SIP transaction failed: 056d38bf4fab0375746e361831733e3e@IP.of.my.asterisk
[Aug 12 12:34:30] ERROR[4041] chan_sip.c: We could NOT get the channel lock for SIP/SER-Saliente-081e6ff0!
[Aug 12 12:34:30] ERROR[4041] chan_sip.c: SIP transaction failed: 056d38bf4fab0375746e361831733e3e@IP.of.my.asterisk
[Aug 12 12:34:32] ERROR[4041] chan_sip.c: We could NOT get the channel lock for SIP/SER-Saliente-081e6ff0!
[Aug 12 12:34:32] ERROR[4041] chan_sip.c: SIP transaction failed: 056d38bf4fab0375746e361831733e3e@IP.of.my.asterisk
[Aug 12 12:34:34] ERROR[4041] chan_sip.c: We could NOT get the channel lock for SIP/SER-Saliente-081e6ff0!
[Aug 12 12:34:34] ERROR[4041] chan_sip.c: SIP transaction failed: 056d38bf4fab0375746e361831733e3e@IP.of.my.asterisk
[Aug 12 12:34:36] ERROR[4041] chan_sip.c: We could NOT get the channel lock for SIP/SER-Saliente-081e6ff0!
[Aug 12 12:34:36] ERROR[4041] chan_sip.c: SIP transaction failed: 056d38bf4fab0375746e361831733e3e@IP.of.my.asterisk
[Aug 12 12:34:38] ERROR[4041] chan_sip.c: We could NOT get the channel lock for SIP/SER-Saliente-081e6ff0!
[Aug 12 12:34:38] ERROR[4041] chan_sip.c: SIP transaction failed: 056d38bf4fab0375746e361831733e3e@IP.of.my.asterisk
[Aug 12 12:34:40] ERROR[4041] chan_sip.c: We could NOT get the channel lock for SIP/SER-Saliente-081e6ff0!
[Aug 12 12:34:40] ERROR[4041] chan_sip.c: SIP transaction failed: 056d38bf4fab0375746e361831733e3e@IP.of.my.asterisk
[Aug 12 12:34:54] WARNING[4041] chan_sip.c: Maximum retries exceeded on transmission 056d38bf4fab0375746e361831733e3e@IP.of.my.asterisk
for seqno 102 (Critical Request)
-------------- Asterisk HANG I MUST TO RESTART THE SERVER --------------------
[Aug 12 13:37:21] NOTICE[4023] cdr.c: CDR simple logging enabled.
[Aug 12 13:37:22] NOTICE[4023] loader.c: 156 modules will be loaded.
[Aug 12 13:37:22] WARNING[4023] res_smdi.c: No SMDI interfaces are available to listen on, not starting SMDI listener.
[Aug 12 13:37:23] NOTICE[4023] /root/agx-ast-addons/app_txfax.c: TxF
Comments:By: pj (pj) 2008-08-12 14:18:27

I wrote similar bugreport due to same errors ASTERISK-1303115, except that I don't have crashes and not using transcoder.
You will be probably asked to compile asterisk with
MENUSELECT_CFLAGS=DONT_OPTIMIZE DEBUG_THREADS LOADABLE_MODULES DEBUG_CHANNEL_LOCKS
and analyze coredump with
gdb asterisk coredumpfile

By: Diego Valencia (diencia) 2008-09-26 07:43:25

I can confirm my problem is now solved with changes in r141949

By: Steve Murphy (murf) 2008-09-26 12:12:33

OK, if the problem is solved, then I'll close this bug.