[asterisk-users] recording not working to NFS
I have an NFS mount and I am trying to record to it. The mount works fine, I create a directory and it shows on the server, I delete it and it gets deleted at the server, but Asterisk 16-latest is always recording to the local drive, it ignores the NFS mount. Once I unmount the directory, the recordings show up in the drive. Is this by design? -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] Error compiling Asterisk on Centos 8
I am compiling asterisk11 (eleven) on Centos 8 (eight) with ./configure LDFLAGS="-z muldefs" --libdir=/usr/lib64 --with-unixodbc=$(odbc_config --include-prefix)/ --disable-asteriskssl -enable-xmldoc NOISY_BUILD=no Since I did the configure with "--disable-asteriskssl", why is even trying to compile libasteriskssl? make[1]: Entering directory '/usr/src/asterisk/main' gcc -o libasteriskssl.o -c libasteriskssl.c -MD -MT libasteriskssl.o -MF .libasteriskssl.o.d -MP -pthread -I/usr/src/asterisk/include -I/usr/include/libxml2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g3 -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DAST_MODULE=\"core\" -DAST_IN_CORE libasteriskssl.c:77:26: error: macro "SSL_library_init" passed 1 arguments, but takes just 0 int SSL_library_init(void) ^ libasteriskssl.c:78:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token { ^ libasteriskssl.c:87:33: error: macro "SSL_load_error_strings" passed 1 arguments, but takes just 0 void SSL_load_error_strings(void) ^ libasteriskssl.c:88:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token { ^ libasteriskssl.c:97:1: error: expected identifier or ‘(’ before ‘{’ token { ^ libasteriskssl.c:106:1: error: expected identifier or ‘(’ before ‘{’ token { ^ -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] recording not working to NFS
I did not explain myself well, for this I apologize. The files never appear on the NFS mount, only in the local drive. Restarting Asterisk with the mount on does not fix it. Asterisk simply ignores the mount and writes to the local drive. But the mount is fine, I can create a dir and it appears on the other side, so NFS is fine. Any idea? On 2021-10-13 12:04, Telium Technical Support wrote: If unmounting makes your files appear on the NFS mount, then there may be some caching going on, or files not being closed (by Asterisk). Unmounting will force files to close and could make them appear. Try restarting Asterisk (with NFS still mounted). Do the files then appear? -Original Message- From: asterisk-users [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of cio-al...@playerschool.edu Sent: Wednesday, October 13, 2021 1:37 PM To: asterisk-users@lists.digium.com Subject: [asterisk-users] recording not working to NFS I have an NFS mount and I am trying to record to it. The mount works fine, I create a directory and it shows on the server, I delete it and it gets deleted at the server, but Asterisk 16-latest is always recording to the local drive, it ignores the NFS mount. Once I unmount the directory, the recordings show up in the drive. Is this by design? -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] recording not working to NFS
I did test manually and the NFS mount works fine. I do create a directory and it shows at the server. I am using containers, indeed. How can it be affecting Asterisk that I am using LXC containers? On 2021-10-16 11:34, Dave Platt wrote: I did not explain myself well, for this I apologize. The files never appear on the NFS mount, only in the local drive. Restarting Asterisk with the mount on does not fix it. Asterisk simply ignores the mount and writes to the local drive. But the mount is fine, I can create a dir and it appears on the other side, so NFS is fine. Any idea? That's a bit bizarre. I had first though that this might be a problem if you were to start Asterisk before mounting the share... Asterisk might have opened the message directory when it started, and then doing directory-relative file creation and moves. But, you say that restarting Asterisk doesn't change the behavior. On your system, are you using containers, or namespaces, or etc.? You might be accidentally setting up an environment in which the NFS mount isn't being "seen" by the environment in which Asterisk is running. It might also be worth checking if you can manually create files in the shared location when running as the same user-ID/group-ID as Asterisk is configured to use. You might be seeing some sort of odd permissions-based problem. -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] Strange Codes on Asterisk command line
On a new installation of Asteris, I connect to the command line and after a few minutes I get the code below, and then I need to CTRL-C to get out and come back in. --- (10 headers 0 lines) --- Really destroying SIP dialog '7f9fc09410586a9e62c5fed905c398ba@208.78.161.2' Method: INVITE Really destroying SIP dialog '5af3bcf012ac9d574b17f2634e48de54@65.21.137.162:5060' Method: OPTIONS \U+26504\U+2650A\U+26565\U+26578\U+26569\U+26574\U+2650A\U+2650A Disconnected from Asterisk server -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Strange Codes on Asterisk command line
I want to confirm that it works fine. Many, many thanks to every person involved On 2021-10-26 15:20, Sean Bright wrote: On 10/25/2021 1:19 PM, cio-al...@playerschool.edu wrote: Yes, it's Asterisk 11 on Centos 8, not Centos 7. Centos 7 cannot be used anymore because of some systemd incompatibility Can somebody be so nice as to provide a patch for the latest version of Asterisk 11? Just add --without-libedit to your configure flags. This will make Asterisk use the bundled version of the editline library instead of the system's: ./configure --without-libedit Kind regards, Sean -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Strange Codes on Asterisk command line
Question: Is there a developer or sangoma, who may write this patch for a fee? My boss is putting pressure on me. On 2021-10-25 11:19, cio-al...@playerschool.edu wrote: Yes, it's Asterisk 11 on Centos 8, not Centos 7. Centos 7 cannot be used anymore because of some systemd incompatibility Can somebody be so nice as to provide a patch for the latest version of Asterisk 11? Asterisk 11 is not my choice, but it's the only version that works with another software that we use at the school for fund-raising. We are a not-for-profit music school. On 2021-10-24 11:37, Sean Bright wrote: On 10/24/2021 12:41 PM, cio-al...@playerschool.edu wrote: Really destroying SIP dialog '5af3bcf012ac9d574b17f2634e48de54@65.21.137.162:5060' Method: OPTIONS \U+26504\U+2650A\U+26565\U+26578\U+26569\U+26574\U+2650A\U+2650A If this is still Asterisk 11 as you've mentioned in other threads, this was fixed in 2016[1] (but not in the 11 branch). 1. https://issues.asterisk.org/jira/browse/ASTERISK-26592 -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Strange Codes on Asterisk command line
Yes, it's Asterisk 11 on Centos 8, not Centos 7. Centos 7 cannot be used anymore because of some systemd incompatibility Can somebody be so nice as to provide a patch for the latest version of Asterisk 11? Asterisk 11 is not my choice, but it's the only version that works with another software that we use at the school for fund-raising. We are a not-for-profit music school. On 2021-10-24 11:37, Sean Bright wrote: On 10/24/2021 12:41 PM, cio-al...@playerschool.edu wrote: Really destroying SIP dialog '5af3bcf012ac9d574b17f2634e48de54@65.21.137.162:5060' Method: OPTIONS \U+26504\U+2650A\U+26565\U+26578\U+26569\U+26574\U+2650A\U+2650A If this is still Asterisk 11 as you've mentioned in other threads, this was fixed in 2016[1] (but not in the 11 branch). 1. https://issues.asterisk.org/jira/browse/ASTERISK-26592 -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] pjsip Hangupcause not working
I have a hangup handler on an outgoing PJSIP channel that grabs the SIP status like this: NoOp(keys=${HANGUPCAUSE_KEYS()} sipmsg=${HANGUPCAUSE(${CHANNEL},tech)}) This works fine if the call connects to the other end but the caller for example hangs up while it's still ringing: NoOp("PJSIP/custom-00ab", "keys=PJSIP/custom-00ab sipmsg=SIP 180 Ringing") in new stack It also works fine if the call was answered: NoOp("PJSIP/custom-00ad", "keys=PJSIP/custom-00ad,PJSIP/squiresvi-00ac sipmsg=SIP 200 OK") in new stack But if the remote end returns an error status (eg 404) then I get nothing: func_hangupcause.c:140 hangupcause_read: Unable to find information for channel PJSIP/custom-00af -- Executing [sipdirect2@hangup_handlers_egress:6] NoOp("PJSIP/custom-00af", "keys= sipmsg=") in new stack Any idea whether this is possible? It works fine in our old Asterisk systems, but on Asterisk 16 with PJSIP I'm getting nowhere with it. -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users