<!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>
<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></DIV></DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=marco.mouta@gmail.com href="mailto:marco.mouta@gmail.com">Marco 
  Mouta</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A 
  title=asterisk-users@lists.digium.com 
  href="mailto:asterisk-users@lists.digium.com">Asterisk Users Mailing List - 
  Non-Commercial Discussion</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, August 31, 2006 6:07 
  PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [asterisk-users] help 
  me!!Problem on incoming calls</DIV>
  <DIV><BR></DIV>forgot to mention, it may help if you post your 
  extensions.conf<BR><BR>As you are using from-internal context for this 
  calls,and you are using trixbox, have look in extensions_additional.conf and 
  all extension_*.conf to find out your [from-internal] context. <BR><BR>By the 
  way I wouldn't use the from-internal context for incoming calls from PSTN 
  line...<BR><BR><BR>
  <DIV><SPAN class=gmail_quote>On 8/31/06, <B class=gmail_sendername>Marco 
  Mouta</B> &lt;<A href="mailto:marco.mouta@gmail.com"> 
  marco.mouta@gmail.com</A>&gt; wrote:</SPAN>
  <BLOCKQUOTE class=gmail_quote 
  style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
    <DIV>Hi Please Post you Asterisk CLi when incoming is arriving. </DIV>
    <DIV><SPAN class=e id=q_10d64f8fad715535_1><BR><BR><BR>
    <DIV><SPAN class=gmail_quote>On 8/31/06, <B 
    class=gmail_sendername>Patrick</B> &lt;<A 
    onclick="return top.js.OpenExtLink(window,event,this)" 
    href="mailto:asterisk-list@puzzled.xs4all.nl" target=_blank> 
    asterisk-list@puzzled.xs4all.nl </A>&gt; wrote:</SPAN>
    <BLOCKQUOTE class=gmail_quote 
    style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">On 
      Thu, 2006-08-31 at 17:27 +0200, Andrea infoteam wrote:<BR>&gt; Hi, 
      <BR>&gt;<BR>&gt; Please Help me!!!<BR>&gt;<BR>&gt; I've installed 
      TrixBox&nbsp;&nbsp;and VISDN (snapshot 20060802) on a PC with an<BR>&gt; 
      HFC-4s card. Outbound Calls work fine, and inbound calls from<BR>&gt; 
      Cellphones<BR>&gt; work fine too. <BR>&gt;<BR>&gt; I have a problem with 
      incoming calls beginning with 0 (national and<BR>&gt; international 
      calls-I stay in Italy)<BR>&gt;<BR>&gt; Thanks in advance for 
      answers<BR>&gt; Andrea De Nadai<BR>&gt;<BR>Wouldn't it be a better idea to 
      ask on the vISDN mailing list and/or the <BR>Trixbox forum? You are after 
      all using their 
      software...<BR><BR>Regards,<BR>Patrick<BR><BR><BR>_______________________________________________<BR>--Bandwidth 
      and Colocation provided by <A 
      onclick="return top.js.OpenExtLink(window,event,this)" 
      href="http://Easynews.com" target=_blank>Easynews.com 
      </A>--<BR><BR>asterisk-users mailing list<BR>To UNSUBSCRIBE or update 
      options visit:<BR>&nbsp;&nbsp; <A 
      onclick="return top.js.OpenExtLink(window,event,this)" 
      href="http://lists.digium.com/mailman/listinfo/asterisk-users" 
      target=_blank>http://lists.digium.com/mailman/listinfo/asterisk-users</A><BR></BLOCKQUOTE></DIV><BR><BR 
    clear=all><BR></SPAN></DIV>
    <DIV>-- <BR>Com os melhores cumprimentos,<BR></DIV>
    <DIV><SPAN class=sg><BR>Marco Mouta </SPAN></DIV></BLOCKQUOTE></DIV><BR><BR 
  clear=all><BR>-- <BR>Com os melhores cumprimentos,<BR><BR>Marco Mouta 
  <P>
  <HR>

  <P></P>_______________________________________________<BR>--Bandwidth and 
  Colocation provided by Easynews.com --<BR><BR>asterisk-users mailing 
  list<BR>To UNSUBSCRIBE or update options visit:<BR>&nbsp;&nbsp; 
  http://lists.digium.com/mailman/listinfo/asterisk-users<BR>
  <P>
  <HR>

  <P></P>No virus found in this incoming message.<BR>Checked by AVG Free 
  Edition.<BR>Version: 7.1.405 / Virus Database: 268.11.7/434 - Release Date: 
  30/08/2006<BR></BLOCKQUOTE></BODY></HTML>