Call Freeze when psql query

Hi,

I having some issue with asterisk.

My Asterisk : 13.38.1 build by mockbuild @ jenkins7

When i restart core everything its fine for a while. Later connection gets up, but comes to dialplan [check-number]s,1 and freeze for a while and nothing happens. When i hangup asterisk try Autodestruct.

Everything is freezeing and i can’t call.

Blockquote
[check-number]
exten => s,1,Answer()
exten => s,n,ExecIf([[TOK_CHECKPHONE("{CDR(src)}")]=0])?Goto(brak) exten => s,n,Set(IDCLIENT=[TOK_GET_IDCLIENT({CDR(src)})]) exten => s,n,Noop({IDCLIENT})
exten => s,n,Return()
exten => s,n(brak),Noop(Brak Numeru Klienta)
exten => s,n,Goto(pincollection,s,1)

– Goto (customdests,dest-9,1)
– Executing [dest-9@customdests:1] NoOp(“SIP/223505003-00000009”, “Entering Custom Destination check-number”) in new stack
– Executing [dest-9@customdests:2] Gosub(“SIP/223505003-00000009”, “check-number,s,1()”) in new stack
– Executing [s@check-number:1] Answer(“SIP/223505003-00000009”, “”) in new stack
[2021-02-22 13:12:48] NOTICE[26963][C-00000007]: ast_expr2.y:761 compose_func_args: argbuf allocated 12 bytes;
[2021-02-22 13:12:48] NOTICE[26963][C-00000007]: ast_expr2.y:780 compose_func_args: argbuf uses 11 bytes;
[2021-02-22 13:12:59] WARNING[24469]: chan_sip.c:4360 __sip_autodestruct: Autodestruct on dialog ‘2264c5ee0e6d146a3c20d3e8339358b4@195.162.16.203:5090’ with owner SIP/223505003-00000009 in place (Method: BYE). Rescheduling destruction for 10000 ms
[2021-02-22 13:13:03] WARNING[24469]: chan_sip.c:4360 __sip_autodestruct: Autodestruct on dialog ‘25fe8bea1d4a67282135c780656e9c47@195.162.16.203:5090’ with owner SIP/223505003-00000008 in place (Method: BYE). Rescheduling destruction for 10000 ms
[2021-02-22 13:13:06] WARNING[24469]: chan_sip.c:4360 __sip_autodestruct: Autodestruct on dialog ‘2264c5ee0e6d146a3c20d3e8339358b4@195.162.16.203:5090’ with owner SIP/223505003-00000009 in place (Method: BYE). Rescheduling destruction for 10000 ms
[2021-02-22 13:13:09] NOTICE[24469]: chan_sip.c:29764 check_rtp_timeout: Disconnecting call ‘SIP/223505003-00000008’ for lack of RTP activity in 31 seconds

Blockquote

The most likely cause is that the database query is waiting for a reply, or something has happened to the database connection but it has not caused the connection to drop.

Thanks for response.

How can i verify it?
From the asterisk ofc.

A backtrace[1] would show where it is blocked.

[1] Getting a Backtrace - Asterisk Project - Asterisk Project Wiki.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.