/l3/users/goddan/nt-voip/linux4.unix.nt/root :1 :2 :3 :4 :5 :6 :7 :8 :9 :10 :11 :12 |
|
#nano /etc/asterisk/extensions.conf
![]() --- /tmp/l3-saved-2245.11402.21620 2013-04-10 14:06:31.000000000 +0300 +++ /etc/asterisk/extensions.conf 2013-04-10 14:06:43.000000000 +0300 @@ -9,7 +9,7 @@ exten=>_81XX,n,Playback(/var/tmp/message/${EXTEN:2}) exten=>_82XX,1,Playback(/var/tmp/message/$(EXTEN:2}) exten=>8300,1,Voicemailmain() -exten=8301,1,Meetme(1234) +exten=>8301,1,Meetme(1234) ;exten=>_14XX,1,Answer ;exten=>_14XX,n,Set(CALLFILENAME=${EXTEN}-${CALLERID(num)}-${EPOCH}) |
#[default]
![]() Asterisk 1.6.2.9-2+squeeze10, Copyright (C) 1999 - 2010 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= Connected to Asterisk 1.6.2.9-2+squeeze10 currently running on linux4 (pid = 1664) linux4*CLI> dialplan reload Dialplan reloaded. [Apr 10 14:06:54] WARNING[5918]: app_meetme.c:1097 build_conf: Unable to open pseudo device linux4*CLI> quit |
#[default]
Asterisk 1.6.2.9-2+squeeze10, Copyright (C) 1999 - 2010 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= Connected to Asterisk 1.6.2.9-2+squeeze10 currently running on linux4 (pid = 1664) linux4*CLI> dialplan reload Dialplan reloaded. [Apr 10 14:06:54] WARNING[5918]: app_meetme.c:1097 build_conf: Unable to open pseudo device linux4*CLI> quit |
#[default]
![]() Asterisk 1.6.2.9-2+squeeze10, Copyright (C) 1999 - 2010 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= Connected to Asterisk 1.6.2.9-2+squeeze10 currently running on linux4 (pid = 1664) [Apr 10 14:08:22] NOTICE[5956]: rtp.c:1143 process_rfc3389: Comfort noise support incomplete in Asterisk (RFC 3389). Please turn off on client if possible. Client IP: 192.168.40.101 [Apr 10 14:08:24] NOTICE[1686]: chan_sip.c:21643 handle_request_subscribe: Received SIP subscribe for peer without mailbox: 1403 ... kick lock mute unlock unmute list linux4*CLI> meetme kick lock mute unlock unmute list linux4*CLI> meetme kick 1234 1 all 2 linux4*CLI> meetme kick 1234 1 linux4*CLI> meetme kick 1234 2 [Apr 10 14:12:05] NOTICE[1686]: chan_sip.c:21643 handle_request_subscribe: Received SIP subscribe for peer without mailbox: 1403 [Apr 10 14:12:16] NOTICE[1686]: chan_sip.c:21643 handle_request_subscribe: Received SIP subscribe for peer without mailbox: 1403 linux4*CLI> quit |
#[default]
Asterisk 1.6.2.9-2+squeeze10, Copyright (C) 1999 - 2010 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= Connected to Asterisk 1.6.2.9-2+squeeze10 currently running on linux4 (pid = 1664) [Apr 10 14:08:22] NOTICE[5956]: rtp.c:1143 process_rfc3389: Comfort noise support incomplete in Asterisk (RFC 3389). Please turn off on client if possible. Client IP: 192.168.40.101 [Apr 10 14:08:24] NOTICE[1686]: chan_sip.c:21643 handle_request_subscribe: Received SIP subscribe for peer without mailbox: 1403 ... kick lock mute unlock unmute list linux4*CLI> meetme kick lock mute unlock unmute list linux4*CLI> meetme kick 1234 1 all 2 linux4*CLI> meetme kick 1234 1 linux4*CLI> meetme kick 1234 2 [Apr 10 14:12:05] NOTICE[1686]: chan_sip.c:21643 handle_request_subscribe: Received SIP subscribe for peer without mailbox: 1403 [Apr 10 14:12:16] NOTICE[1686]: chan_sip.c:21643 handle_request_subscribe: Received SIP subscribe for peer without mailbox: 1403 linux4*CLI> quit |
#cd /usr/share/a
![]() abiword-2.8/ alsa/ aptitude/ aclocal/ alsa-base/ apt-xapian-index/ acpi-support/ app-install/ aspell/ adduser/ application-registry/ asterisk/ aiksaurus/ applications/ avahi/ alacarte/ apps/ |
#cd /usr/share/a
![]() abiword-2.8/ alsa/ aptitude/ aclocal/ alsa-base/ apt-xapian-index/ acpi-support/ app-install/ aspell/ adduser/ application-registry/ asterisk/ aiksaurus/ applications/ avahi/ alacarte/ apps/ |
#cd /usr/share/a
![]() abiword-2.8/ alsa/ aptitude/ aclocal/ alsa-base/ apt-xapian-index/ acpi-support/ app-install/ aspell/ adduser/ application-registry/ asterisk/ aiksaurus/ applications/ avahi/ alacarte/ apps/ |
#cd /usr/share/a
![]() abiword-2.8/ alsa/ aptitude/ aclocal/ alsa-base/ apt-xapian-index/ acpi-support/ app-install/ aspell/ adduser/ application-registry/ asterisk/ aiksaurus/ applications/ avahi/ alacarte/ apps/ |
#ls
![]() agent-alreadyon.gsm spy-mobile.gsm agent-incorrect.gsm spy-nbs.gsm agent-loggedoff.gsm spy-sip.gsm agent-loginok.gsm spy-skinny.gsm agent-newlocation.gsm spy-unistim.gsm agent-pass.gsm spy-usbradio.gsm agent-user.gsm spy-zap.gsm ascending-2tone.gsm ss-noservice.gsm auth-incorrect.gsm transfer.gsm auth-thankyou.gsm tt-allbusy.gsm ... spy-agent.gsm vm-toreply.gsm spy-console.gsm vm-torerecord.gsm spy-dahdi.gsm vm-undeleted.gsm spy-h323.gsm vm-undelete.gsm spy-iax2.gsm vm-unknown-caller.gsm spy-iax.gsm vm-Urgent.gsm spy-jingle.gsm vm-whichbox.gsm spy-local.gsm vm-Work.gsm spy-mgcp.gsm vm-youhave.gsm spy-misdn.gsm |
#ls
agent-alreadyon.gsm spy-mobile.gsm agent-incorrect.gsm spy-nbs.gsm agent-loggedoff.gsm spy-sip.gsm agent-loginok.gsm spy-skinny.gsm agent-newlocation.gsm spy-unistim.gsm agent-pass.gsm spy-usbradio.gsm agent-user.gsm spy-zap.gsm ascending-2tone.gsm ss-noservice.gsm auth-incorrect.gsm transfer.gsm auth-thankyou.gsm tt-allbusy.gsm ... spy-agent.gsm vm-toreply.gsm spy-console.gsm vm-torerecord.gsm spy-dahdi.gsm vm-undeleted.gsm spy-h323.gsm vm-undelete.gsm spy-iax2.gsm vm-unknown-caller.gsm spy-iax.gsm vm-Urgent.gsm spy-jingle.gsm vm-whichbox.gsm spy-local.gsm vm-Work.gsm spy-mgcp.gsm vm-youhave.gsm spy-misdn.gsm |
#ls
![]() agent-alreadyon.gsm spy-mobile.gsm agent-incorrect.gsm spy-nbs.gsm agent-loggedoff.gsm spy-sip.gsm agent-loginok.gsm spy-skinny.gsm agent-newlocation.gsm spy-unistim.gsm agent-pass.gsm spy-usbradio.gsm agent-user.gsm spy-zap.gsm ascending-2tone.gsm ss-noservice.gsm auth-incorrect.gsm transfer.gsm auth-thankyou.gsm tt-allbusy.gsm ... spy-agent.gsm vm-tooshort.gsm spy-console.gsm vm-toreply.gsm spy-dahdi.gsm vm-torerecord.gsm spy-h323.gsm vm-undeleted.gsm spy-iax2.gsm vm-undelete.gsm spy-iax.gsm vm-unknown-caller.gsm spy-jingle.gsm vm-Urgent.gsm spy-local.gsm vm-whichbox.gsm spy-mgcp.gsm vm-Work.gsm spy-misdn.gsm vm-youhave.gsm |
#ls
agent-alreadyon.gsm spy-mobile.gsm agent-incorrect.gsm spy-nbs.gsm agent-loggedoff.gsm spy-sip.gsm agent-loginok.gsm spy-skinny.gsm agent-newlocation.gsm spy-unistim.gsm agent-pass.gsm spy-usbradio.gsm agent-user.gsm spy-zap.gsm ascending-2tone.gsm ss-noservice.gsm auth-incorrect.gsm transfer.gsm auth-thankyou.gsm tt-allbusy.gsm ... spy-agent.gsm vm-tooshort.gsm spy-console.gsm vm-toreply.gsm spy-dahdi.gsm vm-torerecord.gsm spy-h323.gsm vm-undeleted.gsm spy-iax2.gsm vm-undelete.gsm spy-iax.gsm vm-unknown-caller.gsm spy-jingle.gsm vm-Urgent.gsm spy-local.gsm vm-whichbox.gsm spy-mgcp.gsm vm-Work.gsm spy-misdn.gsm vm-youhave.gsm |
#apt-get install mpg123
![]() Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: libmpg123-0 Suggested packages: libartsc0 libaudio2 The following NEW packages will be installed: libmpg123-0 mpg123 0 upgraded, 2 newly installed, 0 to remove and 31 not upgraded. ... Selecting previously deselected package libmpg123-0. (Reading database ... 122950 files and directories currently installed.) Unpacking libmpg123-0 (from .../libmpg123-0_1.12.1-3_i386.deb) ... Selecting previously deselected package mpg123. Unpacking mpg123 (from .../mpg123_1.12.1-3_i386.deb) ... Processing triggers for man-db ... Setting up libmpg123-0 (1.12.1-3) ... Setting up mpg123 (1.12.1-3) ... update-alternatives: using /usr/bin/mpg123.bin to provide /usr/bin/mpg123 (mpg123) in auto mode. update-alternatives: using /usr/bin/mpg123.bin to provide /usr/bin/mp3-decoder (mp3-decoder) in auto mode. |
#apt-get install mpg123
Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: libmpg123-0 Suggested packages: libartsc0 libaudio2 The following NEW packages will be installed: libmpg123-0 mpg123 0 upgraded, 2 newly installed, 0 to remove and 31 not upgraded. ... Selecting previously deselected package libmpg123-0. (Reading database ... 122950 files and directories currently installed.) Unpacking libmpg123-0 (from .../libmpg123-0_1.12.1-3_i386.deb) ... Selecting previously deselected package mpg123. Unpacking mpg123 (from .../mpg123_1.12.1-3_i386.deb) ... Processing triggers for man-db ... Setting up libmpg123-0 (1.12.1-3) ... Setting up mpg123 (1.12.1-3) ... update-alternatives: using /usr/bin/mpg123.bin to provide /usr/bin/mpg123 (mpg123) in auto mode. update-alternatives: using /usr/bin/mpg123.bin to provide /usr/bin/mp3-decoder (mp3-decoder) in auto mode. |
#ls
![]() agent-alreadyon.gsm spy-mobile.gsm agent-incorrect.gsm spy-nbs.gsm agent-loggedoff.gsm spy-sip.gsm agent-loginok.gsm spy-skinny.gsm agent-newlocation.gsm spy-unistim.gsm agent-pass.gsm spy-usbradio.gsm agent-user.gsm spy-zap.gsm ascending-2tone.gsm ss-noservice.gsm auth-incorrect.gsm transfer.gsm auth-thankyou.gsm tt-allbusy.gsm ... spy-agent.gsm vm-tooshort.gsm spy-console.gsm vm-toreply.gsm spy-dahdi.gsm vm-torerecord.gsm spy-h323.gsm vm-undeleted.gsm spy-iax2.gsm vm-undelete.gsm spy-iax.gsm vm-unknown-caller.gsm spy-jingle.gsm vm-Urgent.gsm spy-local.gsm vm-whichbox.gsm spy-mgcp.gsm vm-Work.gsm spy-misdn.gsm vm-youhave.gsm |
#ls
agent-alreadyon.gsm spy-mobile.gsm agent-incorrect.gsm spy-nbs.gsm agent-loggedoff.gsm spy-sip.gsm agent-loginok.gsm spy-skinny.gsm agent-newlocation.gsm spy-unistim.gsm agent-pass.gsm spy-usbradio.gsm agent-user.gsm spy-zap.gsm ascending-2tone.gsm ss-noservice.gsm auth-incorrect.gsm transfer.gsm auth-thankyou.gsm tt-allbusy.gsm ... spy-agent.gsm vm-tooshort.gsm spy-console.gsm vm-toreply.gsm spy-dahdi.gsm vm-torerecord.gsm spy-h323.gsm vm-undeleted.gsm spy-iax2.gsm vm-undelete.gsm spy-iax.gsm vm-unknown-caller.gsm spy-jingle.gsm vm-Urgent.gsm spy-local.gsm vm-whichbox.gsm spy-mgcp.gsm vm-Work.gsm spy-misdn.gsm vm-youhave.gsm |
#cd D
![]() Desktop/ Documents/ Downloads/ |
#cd Downloads/
![]() |
#cd D
![]() Desktop/ Documents/ Downloads/ |
#cd Downloads/
|
#ls
![]() 1.mp3 asterisk-core-sounds-ru-gsm-1.4.23.tar.gz asterisk-core-sounds-ru-gsm-current.tar.gz sounds |
#ls
1.mp3 asterisk-core-sounds-ru-gsm-1.4.23.tar.gz asterisk-core-sounds-ru-gsm-current.tar.gz sounds |
#mpg123 -w 1.wav
![]() You made some mistake in program usage... let me briefly remind you: High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3 version 1.12.1; written and copyright by Michael Hipp and others free software (LGPL/GPL) without any warranty but with best wishes usage: mpg123 [option(s)] [file(s) | URL(s) | -] supported options [defaults in brackets]: -v increase verbosity level -q quiet (don't print title) -t testmode (no output) -s write to stdout -w <filename> write Output as WAV file -k n skip first n frames [0] -n n decode only n frames [all] ... -2 downsample 1:2 (22 kHz) -4 downsample 1:4 (11 kHz) -d n play every n'th frame only -h n play every frame n times -0 decode channel 0 (left) only -1 decode channel 1 (right) only -m mix both channels (mono) -p p use HTTP proxy p [$HTTP_PROXY] -@ f read filenames/URLs from f -T get realtime priority -z shuffle play (with wildcards) -Z random play -u a HTTP authentication string -E f Equalizer, data from file -C enable control keys --no-gapless not skip junk/padding in mp3s -? this help --version print name + version See the manpage mpg123(1) or call mpg123 with --longhelp for more parameters and information. |
#mpg123 -w 1.wav
![]() You made some mistake in program usage... let me briefly remind you: High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3 version 1.12.1; written and copyright by Michael Hipp and others free software (LGPL/GPL) without any warranty but with best wishes usage: mpg123 [option(s)] [file(s) | URL(s) | -] supported options [defaults in brackets]: -v increase verbosity level -q quiet (don't print title) -t testmode (no output) -s write to stdout -w <filename> write Output as WAV file -k n skip first n frames [0] -n n decode only n frames [all] ... -2 downsample 1:2 (22 kHz) -4 downsample 1:4 (11 kHz) -d n play every n'th frame only -h n play every frame n times -0 decode channel 0 (left) only -1 decode channel 1 (right) only -m mix both channels (mono) -p p use HTTP proxy p [$HTTP_PROXY] -@ f read filenames/URLs from f -T get realtime priority -z shuffle play (with wildcards) -Z random play -u a HTTP authentication string -E f Equalizer, data from file -C enable control keys --no-gapless not skip junk/padding in mp3s -? this help --version print name + version See the manpage mpg123(1) or call mpg123 with --longhelp for more parameters and information. |
#mpg123 -w 1.wav /home/user/1.mp3
![]() High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3 version 1.12.1; written and copyright by Michael Hipp and others free software (LGPL/GPL) without any warranty but with best wishes [readers.c:1042] error: Cannot open file /home/user/1.mp3: No such file or directory [mpg123.c:581] error: Cannot open /home/user/1.mp3: File access error. (code 22) |
#mpg123 -w 1.wav /home/user/1.mp3
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3 version 1.12.1; written and copyright by Michael Hipp and others free software (LGPL/GPL) without any warranty but with best wishes [readers.c:1042] error: Cannot open file /home/user/1.mp3: No such file or directory [mpg123.c:581] error: Cannot open /home/user/1.mp3: File access error. (code 22) |
#ls
![]() 1.mp3 asterisk-core-sounds-ru-gsm-1.4.23.tar.gz sounds 1.wav asterisk-core-sounds-ru-gsm-current.tar.gz |
#ls
1.mp3 asterisk-core-sounds-ru-gsm-1.4.23.tar.gz sounds 1.wav asterisk-core-sounds-ru-gsm-current.tar.gz |
#ls -l
![]() total 9608 -rw-r--r-- 1 user user 5727770 Apr 10 14:30 1.mp3 -rw-r--r-- 1 root root 44 Apr 10 14:34 1.wav -rw-r--r-- 1 root root 2037556 Jan 8 23:39 asterisk-core-sounds-ru-gsm-1.4.23.tar.gz -rw-r--r- |