[asterisk-dev] 【res_pjsip_registrar.c: Error】

2020-12-09 Thread Noriyuki Hayashi
Dear Sirs, I tried rpmbuild Asterisk-13.37.1 with CentOS7.9 x86_64 environment. It has error as below. res_pjsip_registrar.c: In function 'find_registrar_aor': res_pjsip_registrar.c:1054:5: error: implicit declaration of function 'pj_strcspn2' [-Werror=implicit-function-declaration] pj_ssiz

Re: [asterisk-dev] 【res_pjsip_registrar.c: Error】

2020-12-09 Thread Joshua C. Colp
On Wed, Dec 9, 2020 at 5:48 AM Noriyuki Hayashi wrote: > Dear Sirs, > > I tried rpmbuild Asterisk-13.37.1 with CentOS7.9 x86_64 environment. > It has error as below. > > res_pjsip_registrar.c: In function 'find_registrar_aor': > res_pjsip_registrar.c:1054:5: error: implicit declaration of functio

Re: [asterisk-dev] =?UTF-8?B?44CQcmVzX3Bqc2lwX3JlZ2lzdHJhcg==?=.c: Error】

2020-12-09 Thread Alexander Traud
> pj_strcspn2 The fix for raised the required version of the PJ Project to 2.6, see [1]: A) go for an external PJ Project, like 2.10 B) go for ./configure --with-pjproject-bundled, see [2] C) reverse the change for ASTERISK-28641, see [3] D

[asterisk-dev] session channel locks

2020-12-09 Thread Dan Cropp
We are working on a patch for the REFER support and have a question on whether a lock is needed or not. In chan_pjsip.c function xfer_client_on_evsub_state, code is processing the REFER-NOTIFY subscription. It gets an ast_sip_session reference, then it acquires a ast_channel reference. Should w

Re: [asterisk-dev] session channel locks

2020-12-09 Thread Joshua C. Colp
On Wed, Dec 9, 2020 at 12:02 PM Dan Cropp wrote: > We are working on a patch for the REFER support and have a question on > whether a lock is needed or not. > > > > In chan_pjsip.c function xfer_client_on_evsub_state, code is processing > the REFER-NOTIFY subscription. > > > > It gets an ast_sip_

Re: [asterisk-dev] session channel locks

2020-12-09 Thread Dan Cropp
Thank you Joshua. From: asterisk-dev On Behalf Of Joshua C. Colp Sent: Wednesday, December 9, 2020 10:27 AM To: Asterisk Developers Mailing List Subject: Re: [asterisk-dev] session channel locks On Wed, Dec 9, 2020 at 12:02 PM Dan Cropp mailto:d...@amtelco.com>> wrote: We are working on a pat

[asterisk-dev] Scope Trace: Often no CR on CLI?

2020-12-09 Thread Alexander Traud
Currently, I debug something with the new Scope Tracing [1][2] on the Command-Line Interface (CLI) within GDB. Six of the printed messages did not wrap to a new line. In all cases, SCOPE_ did not include a message, and therefore no trailing "\n". With a Regular Expression, I found 32 calls that

Re: [asterisk-dev] Scope Trace: Often no CR on CLI?

2020-12-09 Thread George Joseph
On Wed, Dec 9, 2020 at 11:09 AM Alexander Traud wrote: > Currently, I debug something with the new Scope Tracing [1][2] on the > Command-Line Interface (CLI) within GDB. Six of the printed messages did > not wrap to a new line. In all cases, SCOPE_ did not include a message, and > therefore no tr

Re: [asterisk-dev] Scope Trace: Often no CR on CLI?

2020-12-09 Thread George Joseph
On Wed, Dec 9, 2020 at 12:11 PM George Joseph wrote: > > > On Wed, Dec 9, 2020 at 11:09 AM Alexander Traud > wrote: > >> Currently, I debug something with the new Scope Tracing [1][2] on the >> Command-Line Interface (CLI) within GDB. Six of the printed messages did >> not wrap to a new line. In

Re: [asterisk-dev] 【res_pjsip_registrar.c: Error】

2020-12-09 Thread Noriyuki Hayashi
Dear Joshua, Thank you for your great hint and advice. I rebuild rpm and upgaraded as follows. pjproject-2.3-6.el7.x86_64 pjproject-devel-2.3-6.el7.x86_64 pjproject-devel-2.6.0-1.cs7.x86_64 pjproject-2.6.0-1.cs7.x86_64 libsrtp-1.4.4-11.20101004cvs.el7.x86_64.rpm libsrtp-devel-1.4.4-11.20101004