On Jan 12, 2014, at 5:35 AM, Michael Keuter wrote:

> 
> Am 12.01.2014 um 12:31 schrieb Michael Keuter <[email protected]>:
> 
>> 
>> Am 11.01.2014 um 21:30 schrieb Ryan Bantz <[email protected]>:
>> 
>>> Hello,
>>> 
>>> I am running an embedded version of AstLinux on an Alix board. I have the 
>>> following code in my dial plan. If a user is leaving a recording and hangs 
>>> up prior to pressing # to end the recording the box will lock up. The box 
>>> is inaccessible via SSH and needs to be power cycled. As far as I can tell 
>>> it looks like it fills up the ram disk. Is there a way around this to 
>>> prevent the system from locking up?
>>> 
>>> ; Record ivr
>>> 
>>> exten => 903,1,Wait(2) ; Call 903 to record new sound files
>>> 
>>> exten => 903,n,Record(custom-sounds/ivr:gsm) ; Press # to stop recording
>>> 
>>> exten => 903,n,Wait(2)
>>> 
>>> exten => 903,n,Playback(custom-sounds/ivr) ; Listen to your recording
>>> 
>>> exten => 903,n,wait(2)
>>> 
>>> exten => 903,n,Hangup
>>> 
>>> 
>>> 
>>> -Ryan
>> 
>> Hi Ryan,
>> 
>> I use nearly the same dialplan stuff to record custom sounds, and it works 
>> fine for me. Which AstLinux version are you using?
>> "custom-sounds" is normally a symlink to "/mnt/kd/custom-sounds", so the 
>> file should be recorded on your CompactFlash card and not in RAM.
>> Can you verify this?
>> 
>> ls -l /var/lib/asterisk/sounds/custom-*
>> lrwxrwxrwx    1 root     root            21 Jan  9 08:36 
>> /var/lib/asterisk/sounds/custom-sounds -> /mnt/kd/custom-sounds
> 
> 
> Update: the colon (":") in your record statement needs to be a dot (".") => 
> ivr.gsm
> Maybe this is the problem.
> 
> Syntax (1.8):
> Record(filename.format[,silence[,maxduration[,options]]])
> 
> Michael

Hi Ryan,

I think Michael has it covered above, but do you have the 'h' (hangup) 
extension defined ?  Something simple...
--
exten => h,1,Hangup
--
Or possibly something else ?

Lonnie





------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Astlinux-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
[email protected].

Reply via email to