<!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 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="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> <<A href="mailto:marco.mouta@gmail.com">
marco.mouta@gmail.com</A>> 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> <<A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:asterisk-list@puzzled.xs4all.nl" target=_blank>
asterisk-list@puzzled.xs4all.nl </A>> 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>> 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
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></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>
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>