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=>_X.,1,Answer<br>exten=>_X.,2,Playback(vm-goodbye)<br>exten=>_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 "hold"
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> <<a href="mailto:denadaia@infoteam.it">
denadaia@infoteam.it</a>> 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 Marco,</font></div>
<div><font face="Arial" size="2"></font> </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> </div>
<div> -- Executing Macro("VISDN/visdn1.2/76.I", "hangupcall") in new
stack<br> -- Executing ResetCDR("VISDN/visdn1.2/76.I", "w") in
new stack<br> -- Executing NoCDR("VISDN/visdn1.2/76.I", "") in
new stack<br> -- Executing Wait("VISDN/visdn1.2/76.I", "5") in
new stack<br> -- Executing Hangup("VISDN/visdn1.2/76.I", "")
in new stack</div>
<div> </div></div>
<div><font face="Arial" size="2">1) this is [from-internal] and [from-pstn] section
of my extensions.conf:</font></div>
<div> </div>
<div>[from-internal]<br>; applications are now mostly all found in
from-internal-additional in _custom.conf<br>include => parkedcalls<br>include
=> from-internal-custom<br>;allow phones to dial other extensions<br>include
=> ext-fax<br>include => 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 =>
from-internal-additional<br>exten => s,1,Macro(hangupcall)<br>exten =>
h,1,Macro(hangupcall)</div>
<div> </div>
<div>[from-pstn]<br>include =>
from-pstn-custom
; create this context in extensions_custom.conf to include
customizations<br>include => ext-findmefollow ; MODIFICATOIN (PL)
for findmefollow if enabled, should be bofore ext-local<br>include =>
ext-did-direct ; MODIFICATOIN (PL) put before ext-did to take
precedence<br>include => ext-did<br>exten =>
fax,1,Goto(ext-fax,in_fax,1)</div>
<div> </div>
<div>2) This is a [from-internal-additional] section in
extensions_additional.conf file:</div>
<div> </div>
<div>[from-internal-additional]<br>include =>
from-internal-additional-custom<br>include => ext-group<br>include =>
app-dnd-off<br>include => app-dnd-on<br>include => ext-queues<br>include
=> app-callwaiting-cwoff<br>include => app-callwaiting-cwon<br>include
=> ext-meetme<br>include => app-cf-busy-off<br>include =>
app-cf-busy-off-any<br>include => app-cf-busy-on<br>include =>
app-cf-off<br>include => app-cf-off-any<br>include => app-cf-on<br>include
=> app-cf-unavailable-off<br>include => app-cf-unavailable-on<br>include
=> app-recordings<br>include => app-calltrace<br>include =>
app-directory<br>include => app-echo-test<br>include =>
app-speakextennum<br>include => app-speakingclock<br>include =>
ext-findmefollow<br>include => app-gabcast<br>include =>
app-dialvm<br>include => app-vmmain<br>include =>
app-userlogonoff<br>include => app-zapbarge<br>include =>
ext-test<br>include => ext-local<br>include => outbound-allroutes<br>exten
=> h,1,Hangup</div>
<div> </div>
<div>; end of [from-internal-additional]</div>
<div> </div>
<div>3) This is all extensions_custom.conf file:</div>
<div> </div>
<div>#include extensions_trixbox.conf<br>#include extensions_hud.conf</div>
<div> </div>
<div><br>[from-restricted]<br>;<br>; These are all the applications that you
will require<br>; <br>include => app-cf-busy-off<br>include =>
app-cf-busy-off-any<br>include => app-cf-busy-on<br>include =>
app-cf-off<br>include => app-cf-off-any<br>include => app-cf-on<br>include
=> app-cf-unavailable-off<br>include => app-cf-unavailable-on<br>include
=> app-calltrace<br>include => app-callwaiting-cwoff<br>include =>
app-callwaiting-cwon<br>include => app-dialvm<br>include =>
app-directory<br>include => app-dnd-off<br>include =>
app-dnd-on<br>include => app-echo-test<br>include =>
app-recordings<br>include => app-speakextennum<br>include =>
app-speakingclock<br>include => app-userlogonoff<br>include =>
app-zapbarge<br>include => app-vmmain<br>include => ext-group<br>include
=> ext-fax<br>include => ext-meetme<br>include =>
ext-findmefollow<br>include => ext-paging<br>include =>
ext-queues<br>include => ext-test<br>include => ext-local<br>include =>
parkedcalls<br>;<br>; #### OutBound Routes ########<br>; # Below are all
outbound routes #<br>;
###########################<br>;<br>[outbound-allroutes]<br>include =>
outbound-allroutes-custom<br>;include => outrt-001-Locali<br>;include =>
outrt-002-Nazionali<br>;include => outrt-003-Internazionali<br>;include =>
outrt-004-Cellulari<br>;include => outrt-005-Numerazioni speciali<br>exten
=> foo,1,Noop(bar)<br>exten => h,1,Hangup <br>exten =>
s,1,Macro(hangupcall) <br>exten => h,1,Macro(hangupcall)</div>
<div> </div>
<div>; end of [outbound-allroutes]</div>
<div> </div>
<div> </div>
<div> </div>
<div><br>[from-internal-custom]</div>
<div> </div>
<div>include => from-internal-trixbox</div>
<div><br>;1234,1,Playback(demo-congrats) ; extensions can dial
1234<br>;1234,2,Hangup()<br>;h,1,Hangup()<br>;include =>
custom-recordme ; extensions can also dial 5678</div>
<div> </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] <br>;s,1,SayDigits(1234)<br>;s,2,Hangup</div>
<div> </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 =>
5678,1,Wait(2)<br>;exten =>
5678,2,Record(/tmp/asterisk-recording:gsm)<br>;exten =>
5678,3,Wait(2)<br>;exten =>
5678,4,Playback(/tmp/asterisk-recording)<br>;exten =>
5678,5,Wait(2)<br>;exten => 5678,6,Hangup </div>
<div> </div>
<div>
<div>4) This is [from-internal-trixbox]section in
extensions_trixbox.conf file:</div></div>
<div> </div>
<div>[from-internal-trixbox]<br>include => custom-speed-dial</div>
<div> </div>
<div>exten => _**.,1,Pickup(${EXTEN:2}) ; GXP-2000 phone press BLF to pick up
ringing call</div>
<div> </div>
<div>exten => *61,1,Answer<br>exten => *61,2,AGI(weather.agi)<br>exten
=> *61,3,Hangup</div>
<div> </div>
<div>exten => *62,1,Answer <br>exten => *62,2,AGI(wakeup.php) <br>exten
=> *62,3,Hangup </div>
<div> </div>
<div>exten => 611,1,Answer<br>exten => 611,2,Wait(1)<br>exten =>
611,3,DigitTimeout(7)<br>exten => 611,4,ResponseTimeout(10)<br>exten =>
611,5,Flite("At the beep enter the three character airport code for the weather
report you wish to retrieve.")<br>exten => 611,6,Read(APCODE,beep,3)<br>exten
=> 611,7,Flite("Please hold a moment while we contact the National Weather
Service for your report.")<br>exten =>
611,8,AGI(nv-weather.php|${APCODE})<br>exten => 611,9,NoOp(Wave file:
${TMPWAVE})<br>exten => 611,10,Playback(${TMPWAVE})<br>exten =>
611,11,Hangup</div>
<div> </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> </div>
<div>; un-comment the 6 lines below to work on incoming
DIDs<br>;[custom-callingcard]<br>;exten => s,1,Answer<br>;exten =>
s,2,Wait,2<br>;exten => s,3,DeadAGI,a2billing.php<br>;exten =>
s,4,Wait,2<br>;exten => 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> <<a href="mailto:marco.mouta@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
marco.mouta@gmail.com</a>> 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> <<a href="mailto:asterisk-list@puzzled.xs4all.nl" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
asterisk-list@puzzled.xs4all.nl </a>> 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>> Hi,
<br>><br>> Please Help me!!!<br>><br>> I've installed
TrixBox and VISDN (snapshot 20060802) on a PC with an<br>>
HFC-4s card. Outbound Calls work fine, and inbound calls from<br>>
Cellphones<br>> work fine too. <br>><br>> I have a problem with
incoming calls beginning with 0 (national and<br>> international
calls-I stay in Italy)<br>><br>> Thanks in advance for
answers<br>> Andrea De Nadai<br>><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> <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>
<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> <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