<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2963" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>&nbsp;
<DIV><FONT face=Arial size=2>Thanks&nbsp;Marco,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV>
<DIV><FONT face=Arial size=2>this is my CLI when received a call from number 
beginning wwith 0</FONT><FONT face=Arial size=2>:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV>&nbsp;-- Executing Macro("VISDN/visdn1.2/76.I", "hangupcall") in new 
stack<BR>&nbsp;&nbsp;&nbsp; -- Executing ResetCDR("VISDN/visdn1.2/76.I", "w") in 
new stack<BR>&nbsp;&nbsp;&nbsp; -- Executing NoCDR("VISDN/visdn1.2/76.I", "") in 
new stack<BR>&nbsp;&nbsp;&nbsp; -- Executing Wait("VISDN/visdn1.2/76.I", "5") in 
new stack<BR>&nbsp;&nbsp;&nbsp; -- Executing Hangup("VISDN/visdn1.2/76.I", "") 
in new stack</DIV>
<DIV>&nbsp;</DIV></DIV>
<DIV><FONT face=Arial size=2>1) this is [from-internal] and [from-pstn] section 
of my extensions.conf:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>[from-internal]<BR>; applications are now mostly all found in 
from-internal-additional in _custom.conf<BR>include =&gt; parkedcalls<BR>include 
=&gt; from-internal-custom<BR>;allow phones to dial other extensions<BR>include 
=&gt; ext-fax<BR>include =&gt; from-trunk<BR>;allow phones to access generated 
contexts<BR>;<BR>; MODIFIED (PL)<BR>;<BR>; Currently the include for 
findmefollow is being auto-generated before ext-local which is the desired 
behavior.<BR>; However, I haven't been able to do anything that I know of to 
force this. We need to determine if it should<BR>; be hardcoded into here to 
make sure it doesn't change with some configuration. For now I will leave it 
out<BR>; until we can discuss this.<BR>;<BR>include =&gt; 
from-internal-additional<BR>exten =&gt; s,1,Macro(hangupcall)<BR>exten =&gt; 
h,1,Macro(hangupcall)</DIV>
<DIV>&nbsp;</DIV>
<DIV>[from-pstn]<BR>include =&gt; 
from-pstn-custom&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
; create this context in extensions_custom.conf to include 
customizations<BR>include =&gt; ext-findmefollow&nbsp;&nbsp;; MODIFICATOIN (PL) 
for findmefollow if enabled, should be bofore ext-local<BR>include =&gt; 
ext-did-direct&nbsp;&nbsp;; MODIFICATOIN (PL) put before ext-did to take 
precedence<BR>include =&gt; ext-did<BR>exten =&gt; 
fax,1,Goto(ext-fax,in_fax,1)</DIV>
<DIV>&nbsp;</DIV>
<DIV>2) This is a [from-internal-additional] section in 
extensions_additional.conf file:</DIV>
<DIV>&nbsp;</DIV>
<DIV>[from-internal-additional]<BR>include =&gt; 
from-internal-additional-custom<BR>include =&gt; ext-group<BR>include =&gt; 
app-dnd-off<BR>include =&gt; app-dnd-on<BR>include =&gt; ext-queues<BR>include 
=&gt; app-callwaiting-cwoff<BR>include =&gt; app-callwaiting-cwon<BR>include 
=&gt; ext-meetme<BR>include =&gt; app-cf-busy-off<BR>include =&gt; 
app-cf-busy-off-any<BR>include =&gt; app-cf-busy-on<BR>include =&gt; 
app-cf-off<BR>include =&gt; app-cf-off-any<BR>include =&gt; app-cf-on<BR>include 
=&gt; app-cf-unavailable-off<BR>include =&gt; app-cf-unavailable-on<BR>include 
=&gt; app-recordings<BR>include =&gt; app-calltrace<BR>include =&gt; 
app-directory<BR>include =&gt; app-echo-test<BR>include =&gt; 
app-speakextennum<BR>include =&gt; app-speakingclock<BR>include =&gt; 
ext-findmefollow<BR>include =&gt; app-gabcast<BR>include =&gt; 
app-dialvm<BR>include =&gt; app-vmmain<BR>include =&gt; 
app-userlogonoff<BR>include =&gt; app-zapbarge<BR>include =&gt; 
ext-test<BR>include =&gt; ext-local<BR>include =&gt; outbound-allroutes<BR>exten 
=&gt; h,1,Hangup</DIV>
<DIV>&nbsp;</DIV>
<DIV>; end of [from-internal-additional]</DIV>
<DIV>&nbsp;</DIV>
<DIV>3) This is all extensions_custom.conf file:</DIV>
<DIV>&nbsp;</DIV>
<DIV>#include extensions_trixbox.conf<BR>#include extensions_hud.conf</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>[from-restricted]<BR>;<BR>; These are all the applications that you 
will require<BR>; <BR>include =&gt; app-cf-busy-off<BR>include =&gt; 
app-cf-busy-off-any<BR>include =&gt; app-cf-busy-on<BR>include =&gt; 
app-cf-off<BR>include =&gt; app-cf-off-any<BR>include =&gt; app-cf-on<BR>include 
=&gt; app-cf-unavailable-off<BR>include =&gt; app-cf-unavailable-on<BR>include 
=&gt; app-calltrace<BR>include =&gt; app-callwaiting-cwoff<BR>include =&gt; 
app-callwaiting-cwon<BR>include =&gt; app-dialvm<BR>include =&gt; 
app-directory<BR>include =&gt; app-dnd-off<BR>include =&gt; 
app-dnd-on<BR>include =&gt; app-echo-test<BR>include =&gt; 
app-recordings<BR>include =&gt; app-speakextennum<BR>include =&gt; 
app-speakingclock<BR>include =&gt; app-userlogonoff<BR>include =&gt; 
app-zapbarge<BR>include =&gt; app-vmmain<BR>include =&gt; ext-group<BR>include 
=&gt; ext-fax<BR>include =&gt; ext-meetme<BR>include =&gt; 
ext-findmefollow<BR>include =&gt; ext-paging<BR>include =&gt; 
ext-queues<BR>include =&gt; ext-test<BR>include =&gt; ext-local<BR>include =&gt; 
parkedcalls<BR>;<BR>; #### OutBound Routes ########<BR>; # Below are all 
outbound routes #<BR>; 
###########################<BR>;<BR>[outbound-allroutes]<BR>include =&gt; 
outbound-allroutes-custom<BR>;include =&gt; outrt-001-Locali<BR>;include =&gt; 
outrt-002-Nazionali<BR>;include =&gt; outrt-003-Internazionali<BR>;include =&gt; 
outrt-004-Cellulari<BR>;include =&gt; outrt-005-Numerazioni speciali<BR>exten 
=&gt; foo,1,Noop(bar)<BR>exten =&gt; h,1,Hangup <BR>exten =&gt; 
s,1,Macro(hangupcall) <BR>exten =&gt; h,1,Macro(hangupcall)</DIV>
<DIV>&nbsp;</DIV>
<DIV>; end of [outbound-allroutes]</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>[from-internal-custom]</DIV>
<DIV>&nbsp;</DIV>
<DIV>include =&gt; from-internal-trixbox</DIV>
<DIV><BR>;1234,1,Playback(demo-congrats)&nbsp;&nbsp;; extensions can dial 
1234<BR>;1234,2,Hangup()<BR>;h,1,Hangup()<BR>;include =&gt; 
custom-recordme&nbsp;&nbsp;&nbsp;; extensions can also dial 5678</DIV>
<DIV>&nbsp;</DIV>
<DIV>; custom-count2four,s,1 can be used as a custom target for<BR>; a Digital 
Receptionist menu or a Call 
Group<BR>;[custom-count2four]&nbsp;&nbsp;<BR>;s,1,SayDigits(1234)<BR>;s,2,Hangup</DIV>
<DIV>&nbsp;</DIV>
<DIV>; custom-recordme,5678,1 can be used as a custom target for<BR>; a Digital 
Receptionist menu or a Call Group<BR>;[custom-recordme]<BR>;exten =&gt; 
5678,1,Wait(2)<BR>;exten =&gt; 
5678,2,Record(/tmp/asterisk-recording:gsm)<BR>;exten =&gt; 
5678,3,Wait(2)<BR>;exten =&gt; 
5678,4,Playback(/tmp/asterisk-recording)<BR>;exten =&gt; 
5678,5,Wait(2)<BR>;exten =&gt; 5678,6,Hangup </DIV>
<DIV>&nbsp;</DIV>
<DIV>
<DIV>4) This is [from-internal-trixbox]section in 
extensions_trixbox.conf&nbsp;file:</DIV></DIV>
<DIV>&nbsp;</DIV>
<DIV>[from-internal-trixbox]<BR>include =&gt; custom-speed-dial</DIV>
<DIV>&nbsp;</DIV>
<DIV>exten =&gt; _**.,1,Pickup(${EXTEN:2}) ; GXP-2000 phone press BLF to pick up 
ringing call</DIV>
<DIV>&nbsp;</DIV>
<DIV>exten =&gt; *61,1,Answer<BR>exten =&gt; *61,2,AGI(weather.agi)<BR>exten 
=&gt; *61,3,Hangup</DIV>
<DIV>&nbsp;</DIV>
<DIV>exten =&gt; *62,1,Answer <BR>exten =&gt; *62,2,AGI(wakeup.php) <BR>exten 
=&gt; *62,3,Hangup </DIV>
<DIV>&nbsp;</DIV>
<DIV>exten =&gt; 611,1,Answer<BR>exten =&gt; 611,2,Wait(1)<BR>exten =&gt; 
611,3,DigitTimeout(7)<BR>exten =&gt; 611,4,ResponseTimeout(10)<BR>exten =&gt; 
611,5,Flite("At the beep enter the three character airport code for the weather 
report you wish to retrieve.")<BR>exten =&gt; 611,6,Read(APCODE,beep,3)<BR>exten 
=&gt; 611,7,Flite("Please hold a moment while we contact the National Weather 
Service for your report.")<BR>exten =&gt; 
611,8,AGI(nv-weather.php|${APCODE})<BR>exten =&gt; 611,9,NoOp(Wave file: 
${TMPWAVE})<BR>exten =&gt; 611,10,Playback(${TMPWAVE})<BR>exten =&gt; 
611,11,Hangup</DIV>
<DIV>&nbsp;</DIV>
<DIV>; CallingCard application<BR>;add an incoimf route for the DID to Custom 
App: (un-comment next line)<BR>;custom-callingcard,s,1</DIV>
<DIV>&nbsp;</DIV>
<DIV>; un-comment the 6 lines below to work on incoming 
DIDs<BR>;[custom-callingcard]<BR>;exten =&gt; s,1,Answer<BR>;exten =&gt; 
s,2,Wait,2<BR>;exten =&gt; s,3,DeadAGI,a2billing.php<BR>;exten =&gt; 
s,4,Wait,2<BR>;exten =&gt; 
s,5,Hangup<BR><BR><BR><BR></DIV></FONT></DIV></BODY></HTML>