>I would like to make recording avilable to my
>/stat/var/lib/asterisk/sounds/de/sprache   folder
>
>how can I make te folder writable and after recording are done  make it back
>RO
>exten => _99XX,1,Wait(1)
>
>exten => _99XX,n,System("mount -o rw,remount")
>
>exten => _99XX,n,Wait(1)
>
>exten => _99XX,n,Playback(schreibschutz_aus)
>
>exten =>
>_99XX,n,Record(/stat/var/lib/asterisk/sounds/de/sprache${EXTEN:2}:gsm)
>
>exten => _99XX,n,Wait(1)
>
>exten => _99XX,n,System("mount -o ro,remount /")
>
>exten => _99XX,n,Wait(1)
>
>exten => _99XX,n,Playback(schreibschutz_ein)
>
>exten =>
>_99XX,n,Playback(/stat/var/lib/asterisk/sounds/de/sprache${EXTEN:2})
>
>exten => _99XX,n,Hangup
>
>Best Regards
>Nedi

Why don't you record your sounds in "custom-sounds", which is already 
a symlink to "/mnt/kd/custom-sounds" and is read/write?

Michael

http://www.mksolutions.info

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.

Reply via email to