VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
ldardini at gmail.com Guest
|
Posted: Wed Aug 27, 2014 3:20 pm Post subject: [asterisk-users] features.conf and mixmonitor stop and start |
|
|
Hello,I have a recording started in the dialplan with the MixMonitor application. I want to be able to stop it during a call and maybe restart it.
I tried using the value defined in [featuremap] but it starts another MixMonitor application even if there already one instead of stopping it.
Any idea on how I can stop the MixMonitor application while it is running?
[featuremap]
automixmon => *1
I tried also to use the [applicationmap]] but it doesn't seem to work. Pressing #1 do nothing. Here my dialplan:
9999 => {
Set(__DYNAMIC_FEATURE=pauseMonitor);
MixMonitor(test);
Dial(SIP/1000@srv01,30,TtX);
}
[applicationmap]
pauseMonitor => #1,self/both,stopMixMonitor
Any advice? |
|
Back to top |
|
|
ish at pack-net.co.uk Guest
|
Posted: Wed Aug 27, 2014 5:47 pm Post subject: [asterisk-users] features.conf and mixmonitor stop and start |
|
|
Do the pause/unpause in a Macro or Gosub and reference that from the features.conf
Also, make sure you put the filename into a variable and give it full inheritance so you can resume recording to the same file (using the a option)
On 27 August 2014 21:20, Leandro Dardini <ldardini@gmail.com (ldardini@gmail.com)> wrote:
Quote: | Hello,I have a recording started in the dialplan with the MixMonitor application. I want to be able to stop it during a call and maybe restart it.
I tried using the value defined in [featuremap] but it starts another MixMonitor application even if there already one instead of stopping it.
Any idea on how I can stop the MixMonitor application while it is running?
[featuremap]
automixmon => *1
I tried also to use the [applicationmap]] but it doesn't seem to work. Pressing #1 do nothing. Here my dialplan:
9999 => {
Set(__DYNAMIC_FEATURE=pauseMonitor);
MixMonitor(test);
Dial(SIP/1000@srv01,30,TtX);
}
[applicationmap]
pauseMonitor => #1,self/both,stopMixMonitor
Any advice?
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
|
--
Quote: | Ishfaq Malik
Department: VOIP Support
Company: Packnet Limited
t: +44 (0)845 004 4994
f: +44 (0)161 660 9825
e: ish@pack-net.co.uk (ish@pack-net.co.uk)
w: http://www.pack-net.co.uk
Registered Address: PACKNET LIMITED, Duplex 2, Ducie House
37 Ducie Street
Manchester, M1 2JW
COMPANY REG NO. 04920552
|
|
|
Back to top |
|
|
ldardini at gmail.com Guest
|
Posted: Thu Aug 28, 2014 1:57 am Post subject: [asterisk-users] features.conf and mixmonitor stop and start |
|
|
Can you post an example?
Leandro
2014-08-28 0:47 GMT+02:00 Ishfaq Malik <ish@pack-net.co.uk (ish@pack-net.co.uk)>:
Quote: | Do the pause/unpause in a Macro or Gosub and reference that from the features.conf
Also, make sure you put the filename into a variable and give it full inheritance so you can resume recording to the same file (using the a option)
On 27 August 2014 21:20, Leandro Dardini <ldardini@gmail.com (ldardini@gmail.com)> wrote:
Quote: | Hello,I have a recording started in the dialplan with the MixMonitor application. I want to be able to stop it during a call and maybe restart it.
I tried using the value defined in [featuremap] but it starts another MixMonitor application even if there already one instead of stopping it.
Any idea on how I can stop the MixMonitor application while it is running?
[featuremap]
automixmon => *1
I tried also to use the [applicationmap]] but it doesn't seem to work. Pressing #1 do nothing. Here my dialplan:
9999 => {
Set(__DYNAMIC_FEATURE=pauseMonitor);
MixMonitor(test);
Dial(SIP/1000@srv01,30,TtX);
}
[applicationmap]
pauseMonitor => #1,self/both,stopMixMonitor
Any advice?
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
|
--
Quote: | Ishfaq Malik
Department: VOIP Support
Company: Packnet Limited
t: [url=tel:%2B44%20%280%29845%20004%204994]+44 (0)845 004 4994[/url]
f: [url=tel:%2B44%20%280%29161%20660%209825]+44 (0)161 660 9825[/url]
e: ish@pack-net.co.uk (ish@pack-net.co.uk)
w: http://www.pack-net.co.uk
Registered Address: PACKNET LIMITED, Duplex 2, Ducie House
37 Ducie Street
Manchester, M1 2JW
COMPANY REG NO. 04920552
|
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
|
|
|
Back to top |
|
|
ish at pack-net.co.uk Guest
|
Posted: Thu Aug 28, 2014 5:29 am Post subject: [asterisk-users] features.conf and mixmonitor stop and start |
|
|
On 28 August 2014 07:56, Leandro Dardini <ldardini@gmail.com (ldardini@gmail.com)> wrote:
Quote: | Can you post an example?
Leandro
2014-08-28 0:47 GMT+02:00 Ishfaq Malik <ish@pack-net.co.uk (ish@pack-net.co.uk)>:
Quote: | Do the pause/unpause in a Macro or Gosub and reference that from the features.conf
Also, make sure you put the filename into a variable and give it full inheritance so you can resume recording to the same file (using the a option)
On 27 August 2014 21:20, Leandro Dardini <ldardini@gmail.com (ldardini@gmail.com)> wrote:
Quote: | Hello,I have a recording started in the dialplan with the MixMonitor application. I want to be able to stop it during a call and maybe restart it.
I tried using the value defined in [featuremap] but it starts another MixMonitor application even if there already one instead of stopping it.
Any idea on how I can stop the MixMonitor application while it is running?
[featuremap]
automixmon => *1
I tried also to use the [applicationmap]] but it doesn't seem to work. Pressing #1 do nothing. Here my dialplan:
9999 => {
Set(__DYNAMIC_FEATURE=pauseMonitor);
MixMonitor(test);
Dial(SIP/1000@srv01,30,TtX);
}
[applicationmap]
pauseMonitor => #1,self/both,stopMixMonitor
Any advice?
|
|
|
extensions.conf:
[macro-pause-recording]
exten => s,1,Verbose(Stopping Recording)
exten => s,n,StopMixMonitor()
[macro-unpause-recording]
exten => s,1,Verbose(Resuming Recording)
exten => s,n,MixMonitor(${REC_FILE_NAME},a)
features.conf
StopMixMonitor => #00,peer/both,Macro(pause-recording)
;
MixMonitor => #01,peer/both,Macro(unpause-recording)
Make sure you set REC_FILE_NAME early on with a double underscore and remember to add Set(__DYNAMIC_FEATURES=MixMonitor#StopMixMonitor) early on too
--
Quote: | Ishfaq Malik
Department: VOIP Support
Company: Packnet Limited
t: +44 (0)845 004 4994
f: +44 (0)161 660 9825
e: ish@pack-net.co.uk (ish@pack-net.co.uk)
w: http://www.pack-net.co.uk
Registered Address: PACKNET LIMITED, Duplex 2, Ducie House
37 Ducie Street
Manchester, M1 2JW
COMPANY REG NO. 04920552
|
|
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|