Hi,<br><br>Please Post your from-trunk context or clever than that create a context in extensions_custom.conf:<br><br>[justtotest]<br>exten=&gt;_X.,1,Answer<br>exten=&gt;_X.,2,Playback(vm-goodbye)<br>exten=&gt;_X.,3,hangup
<br><br><br><br>and in your <br><br>[VISDN1.2]<br><br>....<br>context=justtotest <br>.....<br><br>Be aware to write only in extensions_custom.conf , the other files are changed by trixbox on updates(at least this is the beavior of freepbx from &quot;hold&quot; 
asterisk@home the previous of Trixbox.<br><br><br>Please post your results.<br><br>Best regards<br><br><br><br><div><span class="gmail_quote">On 9/1/06, <b class="gmail_sendername">Andrea infoteam</b> &lt;<a href="mailto:denadaia@infoteam.it">
denadaia@infoteam.it</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>





<div 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(&quot;VISDN/visdn1.2/76.I&quot;, &quot;hangupcall&quot;) in new 
stack<br>&nbsp;&nbsp;&nbsp; -- Executing ResetCDR(&quot;VISDN/visdn1.2/76.I&quot;, &quot;w&quot;) in 
new stack<br>&nbsp;&nbsp;&nbsp; -- Executing NoCDR(&quot;VISDN/visdn1.2/76.I&quot;, &quot;&quot;) in 
new stack<br>&nbsp;&nbsp;&nbsp; -- Executing Wait(&quot;VISDN/visdn1.2/76.I&quot;, &quot;5&quot;) in 
new stack<br>&nbsp;&nbsp;&nbsp; -- Executing Hangup(&quot;VISDN/visdn1.2/76.I&quot;, &quot;&quot;) 
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(&quot;At the beep enter the three character airport code for the weather 
report you wish to retrieve.&quot;)<br>exten =&gt; 611,6,Read(APCODE,beep,3)<br>exten 
=&gt; 611,7,Flite(&quot;Please hold a moment while we contact the National Weather 
Service for your report.&quot;)<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="border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;"></blockquote></div><div><span class="e" id="q_10d686e6043c9d0a_1">
  <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">----- Original Message ----- </div>
  <div style="background: rgb(228, 228, 228) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">
<b>From:</b> 
  <a title="marco.mouta@gmail.com" href="mailto:marco.mouta@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Marco 
  Mouta</a> </div>
  <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>To:</b> <a title="asterisk-users@lists.digium.com" href="mailto:asterisk-users@lists.digium.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
Asterisk Users Mailing List - 
  Non-Commercial Discussion</a> </div>
  <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Sent:</b> Thursday, August 31, 2006 6:07 
  PM</div>
  <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><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" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> 
  marco.mouta@gmail.com</a>&gt; wrote:</span>
  <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
    <div>Hi Please Post you Asterisk CLi when incoming is arriving. </div>
    <div><span><br><br><br>
    <div><span class="gmail_quote">On 8/31/06, <b class="gmail_sendername">Patrick</b> &lt;<a href="mailto:asterisk-list@puzzled.xs4all.nl" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> 
    asterisk-list@puzzled.xs4all.nl </a>&gt; wrote:</span>
    <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">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 href="http://Easynews.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Easynews.com 
      </a>--<br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update 
      options visit:<br>&nbsp;&nbsp; <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">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><br>Marco Mouta </span></div></blockquote></div><br><br clear="all"><br>-- <br>Com os melhores cumprimentos,<br><br>Marco Mouta 
  </span></div><div><p>
  </p><hr></div><div><span class="q">

  <p></p>_______________________________________________<br>--Bandwidth and 
  Colocation provided by <a href="http://Easynews.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Easynews.com</a> --<br><br>asterisk-users mailing 
  list<br>To UNSUBSCRIBE or update options visit:<br>&nbsp;&nbsp; 
  <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
  </span></div><div><p>
  </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><p></p><p></p></div>

</div><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; <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><br><br></blockquote></div><br><br clear="all"><br>-- <br>Com os melhores cumprimentos,<br><br>Marco Mouta