[root@asterisk1 asterisk]# asterisk -r Asterisk 1.2.9.1 svn rev 34876, Copyright (C) 1999 - 2006 Digium, Inc. and others. Created by Mark Spencer Asterisk comes with ABSOLUTELY NO WARRANTY; type '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 'show license' for details. ========================================================================= Connected to Asterisk 1.2.9.1 svn rev 34876 currently running on asterisk1 (pid = 2690) Verbosity is at least 1 Core debug is at least 1 == MySQL RealTime reloaded. Reloading H.323 Reloading MGCP Reloading SIP asterisk1*CLI> exit [root@asterisk1 asterisk]# mcedit extensions_custom.conf [root@asterisk1 asterisk]# asterisk -r Asterisk 1.2.9.1 svn rev 34876, Copyright (C) 1999 - 2006 Digium, Inc. and others. Created by Mark Spencer Asterisk comes with ABSOLUTELY NO WARRANTY; type '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 'show license' for details. ========================================================================= Connected to Asterisk 1.2.9.1 svn rev 34876 currently running on asterisk1 (pid = 2690) Verbosity is at least 1 Core debug is at least 1 asterisk1*CLI> restart now asterisk1*CLI> Disconnected from Asterisk server [root@asterisk1 asterisk]# asterisk -r Asterisk 1.2.9.1 svn rev 34876, Copyright (C) 1999 - 2006 Digium, Inc. and others. Created by Mark Spencer Asterisk comes with ABSOLUTELY NO WARRANTY; type '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 'show license' for details. ========================================================================= Connected to Asterisk 1.2.9.1 svn rev 34876 currently running on asterisk1 (pid = 2690) Verbosity is at least 1 Core debug is at least 1 asterisk1*CLI> exit [root@asterisk1 asterisk]# mcedit extensions_custom.conf [root@asterisk1 asterisk]# asterisk -r Asterisk 1.2.9.1 svn rev 34876, Copyright (C) 1999 - 2006 Digium, Inc. and others. Created by Mark Spencer Asterisk comes with ABSOLUTELY NO WARRANTY; type '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 'show license' for details. ========================================================================= Connected to Asterisk 1.2.9.1 svn rev 34876 currently running on asterisk1 (pid = 2690) Verbosity is at least 1 Core debug is at least 1 asterisk1*CLI> restart now asterisk1*CLI> Disconnected from Asterisk server [root@asterisk1 asterisk]# asterisk -r Asterisk 1.2.9.1 svn rev 34876, Copyright (C) 1999 - 2006 Digium, Inc. and others. Created by Mark Spencer Asterisk comes with ABSOLUTELY NO WARRANTY; type '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 'show license' for details. ========================================================================= Connected to Asterisk 1.2.9.1 svn rev 34876 currently running on asterisk1 (pid = 2690) Verbosity is at least 1 Core debug is at least 1 == MySQL RealTime reloaded. Reloading H.323 Reloading MGCP Reloading SIP recordingcheck|20060905-101631|1157462191.0: Outbound recording not enabled fixlocalprefix: Could not parse /etc/asterisk/localprefixes.conf recordingcheck|20060905-101656|1157462216.2: Inbound recording not enabled dialparties.agi: Starting New Dialparties.agi dialparties.agi: Caller ID name is 'Cristian Farias' number is '121' dialparties.agi: Methodology of ring is 'none' recordingcheck|20060905-101704|1157462224.4: Inbound recording not enabled dialparties.agi: Starting New Dialparties.agi dialparties.agi: Caller ID name is 'Cristian Farias' number is '121' dialparties.agi: Methodology of ring is 'none' asterisk1*CLI> exit [root@asterisk1 asterisk]# mcedit extensions_custom.conf [root@asterisk1 asterisk]# asterisk -r Asterisk 1.2.9.1 svn rev 34876, Copyright (C) 1999 - 2006 Digium, Inc. and others. Created by Mark Spencer Asterisk comes with ABSOLUTELY NO WARRANTY; type '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 'show license' for details. ========================================================================= Connected to Asterisk 1.2.9.1 svn rev 34876 currently running on asterisk1 (pid = 2690) Verbosity is at least 1 Core debug is at least 1 asterisk1*CLI> restart now asterisk1*CLI> Disconnected from Asterisk server [root@asterisk1 asterisk]# asterisk -r Asterisk 1.2.9.1 svn rev 34876, Copyright (C) 1999 - 2006 Digium, Inc. and others. Created by Mark Spencer Asterisk comes with ABSOLUTELY NO WARRANTY; type '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 'show license' for details. ========================================================================= Connected to Asterisk 1.2.9.1 svn rev 34876 currently running on asterisk1 (pid = 2690) Verbosity is at least 1 Core debug is at least 1 == MySQL RealTime reloaded. Reloading H.323 Reloading MGCP Reloading SIP recordingcheck|20060905-103848|1157463528.0: Outbound recording not enabled fixlocalprefix: Could not parse /etc/asterisk/localprefixes.conf recordingcheck|20060905-103902|1157463542.2: Inbound recording not enabled dialparties.agi: Starting New Dialparties.agi dialparties.agi: Caller ID name is 'Cristian Farias' number is '121' dialparties.agi: Methodology of ring is 'none' recordingcheck|20060905-103913|1157463553.4: Inbound recording not enabled dialparties.agi: Starting New Dialparties.agi dialparties.agi: Caller ID name is 'Vanesa Morero' number is '110' dialparties.agi: Methodology of ring is 'none' recordingcheck|20060905-103927|1157463567.6: Outbound recording not enabled fixlocalprefix: Could not parse /etc/asterisk/localprefixes.conf recordingcheck|20060905-104117|1157463677.8: Inbound recording not enabled dialparties.agi: Starting New Dialparties.agi dialparties.agi: Caller ID name is 'Cristian Farias' number is '121' dialparties.agi: Methodology of ring is 'none' recordingcheck|20060905-104121|1157463681.10: Outbound recording not enabled fixlocalprefix: Could not parse /etc/asterisk/localprefixes.conf recordingcheck|20060905-104138|1157463698.12: Inbound recording not enabled dialparties.agi: Starting New Dialparties.agi dialparties.agi: Caller ID name is 'Pablo Lucchetti' number is '122' dialparties.agi: Methodology of ring is 'none' recordingcheck|20060905-104200|1157463720.14: Outbound recording not enabled fixlocalprefix: Could not parse /etc/asterisk/localprefixes.conf == MySQL RealTime reloaded. Reloading H.323 Reloading MGCP Reloading SIP recordingcheck|20060905-104243|1157463763.16: Inbound recording not enabled dialparties.agi: Starting New Dialparties.agi dialparties.agi: Caller ID name is 'Pablo Lucchetti' number is '122' dialparties.agi: Methodology of ring is 'none' recordingcheck|20060905-104303|1157463783.18: Outbound recording not enabled fixlocalprefix: Could not parse /etc/asterisk/localprefixes.conf asterisk1*CLI> exit [root@asterisk1 asterisk]# mcedit extensions_custom.conf [root@asterisk1 asterisk]# mcedit extensions.conf [root@asterisk1 asterisk]# asterisk -r Asterisk 1.2.9.1 svn rev 34876, Copyright (C) 1999 - 2006 Digium, Inc. and others. Created by Mark Spencer Asterisk comes with ABSOLUTELY NO WARRANTY; type '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 'show license' for details. ========================================================================= Connected to Asterisk 1.2.9.1 svn rev 34876 currently running on asterisk1 (pid = 2690) Verbosity is at least 1 Core debug is at least 1 asterisk1*CLI> restart now asterisk1*CLI> Disconnected from Asterisk server [root@asterisk1 asterisk]# asterisk -r Asterisk 1.2.9.1 svn rev 34876, Copyright (C) 1999 - 2006 Digium, Inc. and others. Created by Mark Spencer Asterisk comes with ABSOLUTELY NO WARRANTY; type '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 'show license' for details. ========================================================================= Connected to Asterisk 1.2.9.1 svn rev 34876 currently running on asterisk1 (pid = 2690) Verbosity is at least 1 Core debug is at least 1 == MySQL RealTime reloaded. Reloading H.323 Reloading MGCP Reloading SIP asterisk1*CLI> exit [root@asterisk1 asterisk]# [root@asterisk1 asterisk]# mcedit extensions_custom.conf [root@asterisk1 asterisk]# asterisk -r Asterisk 1.2.9.1 svn rev 34876, Copyright (C) 1999 - 2006 Digium, Inc. and others. Created by Mark Spencer Asterisk comes with ABSOLUTELY NO WARRANTY; type '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 'show license' for details. ========================================================================= Connected to Asterisk 1.2.9.1 svn rev 34876 currently running on asterisk1 (pid = 2690) Verbosity is at least 1 Core debug is at least 1 asterisk1*CLI> restart now asterisk1*CLI> Disconnected from Asterisk server [root@asterisk1 asterisk]# asterisk -r Asterisk 1.2.9.1 svn rev 34876, Copyright (C) 1999 - 2006 Digium, Inc. and others. Created by Mark Spencer Asterisk comes with ABSOLUTELY NO WARRANTY; type '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 'show license' for details. ========================================================================= Connected to Asterisk 1.2.9.1 svn rev 34876 currently running on asterisk1 (pid = 2690) Verbosity is at least 1 Core debug is at least 1 == MySQL RealTime reloaded. Reloading H.323 Reloading MGCP Reloading SIP asterisk1*CLI> exit [root@asterisk1 asterisk]# mcedit extensions_custom.conf [root@asterisk1 asterisk]# asterisk -r Asterisk 1.2.9.1 svn rev 34876, Copyright (C) 1999 - 2006 Digium, Inc. and others. Created by Mark Spencer Asterisk comes with ABSOLUTELY NO WARRANTY; type '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 'show license' for details. ========================================================================= Connected to Asterisk 1.2.9.1 svn rev 34876 currently running on asterisk1 (pid = 2690) Verbosity is at least 1 Core debug is at least 1 asterisk1*CLI> restart now asterisk1*CLI> Disconnected from Asterisk server [root@asterisk1 asterisk]# mcedit extensions_custom.conf [root@asterisk1 asterisk]# mcedit extensions.conf [root@asterisk1 asterisk]# mcedit extensions_custom.conf [root@asterisk1 asterisk]# mcedit extensions_custom.conf extensions_custom.conf [B---] 0 L:[ 1+12 13/ 42] *(436 /1203b)= [ 91 0x5B ; This file contains example extensions_custom.conf entries. ; extensions_custom.conf should be used to include customizations ; to AMP's Asterisk dialplan. ; All custom context should contain the string 'custom' in it's name ; Extensions in AMP have access to the 'from-internal' context. ; The context 'from-internal-custom' is included in 'from-internal' by default #include extensions_trixbox.conf #include extensions_hud.conf [from-extensions] [from-outbound] include => from-internal [from-internal-custom] include => from-internal-trixbox ;1234,1,Playback(demo-congrats) ; extensions can dial 1234 ;1234,2,Hangup() ;h,1,Hangup() ;include => custom-recordme ; extensions can also dial 5678 ; custom-count2four,s,1 can be used as a custom target for ; a Digital Receptionist menu or a Call Group ;[custom-count2four] ;s,1,SayDigits(1234) ;s,2,Hangup ; custom-recordme,5678,1 can be used as a custom target for ; a Digital Receptionist menu or a Call Group ;[custom-recordme] ;exten => 5678,1,Wait(2) ;exten => 5678,2,Record(/tmp/asterisk-recording:gsm) ;exten => 5678,3,Wait(2) ;exten => 5678,4,Playback(/tmp/asterisk-recording) ;exten => 5678,5,Wait(2) ;exten => 5678,6,Hangup 1Help 2Save 3Mark 4Replac 5Copy 6Move 7Search 8Delete 9PullDn 10Quit