Re: [asterisk-users] How to use mixmonitor when transfering a call
On 2022-04-08 2:11 p.m., Carlos Chavez wrote: I am having a problem with my recordings. Mixmonitor is called in the "macro" when you dial an extension. If that call is transferred to another extension then the recording is reset and we lose the recording for the original call. How can I tell Mixmonitor to keep recording and not reset? I have the "a" option set in mixmonitor to append and not overwrite. Is there a way to know if Mixmonitor has already started on this call and avoid executing it again when transferred? This is what I use: [ Context 'grabar' created by 'pbx_config' ] 's' => 1. Set(MONITOR_FILE=${STRFTIME(${EPOCH},,%Y)}/${STRFTIME(${EPOCH},,%m)}/${UNIQUEID}.wav) [extensions.conf:0] 2. Mixmonitor(${MONITOR_FILE},ba) [extensions.conf:0] 3. Return() [extensions.conf:0] On every transfer the recording starts again at the moment. I thought the "a" option would simply append to the file and keep going. Any ideas? Add an ExecIf that returns early if MONITOR_FILE already has a filename. -- Trevor Peirce AcroVoice Solutions Inc www.acrovoice.ca - 1-888-606-3030 x701 -- _ -- 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] How to use mixmonitor when transfering a call
I am having a problem with my recordings. Mixmonitor is called in the "macro" when you dial an extension. If that call is transferred to another extension then the recording is reset and we lose the recording for the original call. How can I tell Mixmonitor to keep recording and not reset? I have the "a" option set in mixmonitor to append and not overwrite. Is there a way to know if Mixmonitor has already started on this call and avoid executing it again when transferred? This is what I use: [ Context 'grabar' created by 'pbx_config' ] 's' => 1. Set(MONITOR_FILE=${STRFTIME(${EPOCH},,%Y)}/${STRFTIME(${EPOCH},,%m)}/${UNIQUEID}.wav) [extensions.conf:0] 2. Mixmonitor(${MONITOR_FILE},ba) [extensions.conf:0] 3. Return() [extensions.conf:0] On every transfer the recording starts again at the moment. I thought the "a" option would simply append to the file and keep going. Any ideas? -- Telecomunicaciones Abiertas de México S.A. de C.V. Carlos Chávez +52 (55)8116-9161 -- _ -- 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] Dahdi start up under systemctl
'/etc/init.d/dahdi [status,start,stop,restart]' works under a systemd system, as stated in /etc/init.d/README: Note that traditional init scripts continue to function on a systemd system. An init script /etc/rc.d/init.d/foobar is implicitly mapped into a service unit foobar.service during system initialization. On Fri, Apr 8, 2022 at 3:43 AM Jerry Geis wrote: > What is the command to install dahdi on a systemctl type startup ? > > I just installed dahdi from git (so latest) and did : > > cd dahdi-linux-complete > ls shows > dahdi-linux and dahdi-tools > find . | grep service > shows nothing. > > in dahdi-tools there is the OLD dahdi.init file - but that is the OLD > init.d > > Thanks > > Jerry > -- > _ > -- 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
[asterisk-users] Dahdi start up under systemctl
Спасибо за обращение в PARIBET!Ваше обращение № 86256342 принято и в данный момент обрабатывается представителями Службы Поддержки PARIBET.Чтобы добавить что-либо к Вашему обращению, просто нажмите "Ответить" на это письмо.Обработка обращений может занимать до 24 часов.С уважением,Команда PARIBET8-800-770-73-71Мы работаем для Вас круглосуточно! T_I_C_K_E_T_I_D_86256342 -- _ -- 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] Dahdi start up under systemctl
What is the command to install dahdi on a systemctl type startup ? I just installed dahdi from git (so latest) and did : cd dahdi-linux-complete ls shows dahdi-linux and dahdi-tools find . | grep service shows nothing. in dahdi-tools there is the OLD dahdi.init file - but that is the OLD init.d Thanks Jerry -- _ -- 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