<!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.2722" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Utilizo <FONT face="Times New Roman"
size=3>FreePBX</FONT><FONT face="Times New Roman" size=3>
2.3.0</FONT></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><STRONG>Problemas:</STRONG></FONT></DIV>
<DIV><FONT face=Arial size=2> Outbound Routes</FONT></DIV>
<DIV><FONT face=Arial size=2> Inbound Routes</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Não estou conseguindo fazer chamada "do softphone
pra fora" e nem receber chamada "de fora pro softphone"</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Vou colocar minhas configurações;</FONT></DIV>
<DIV><FONT face=Arial size=2>
<HR>
</FONT></DIV>
<DIV><FONT face=Arial size=2><STRONG>zaptel.conf</STRONG></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>loadzone = br<BR>defaultzone = br<BR># A - Primeira
porta<BR>span=1,1,0,ccs,hdb3,crc4<BR>bchan=1-15<BR>dchan=16<BR>bchan=17-31<BR>#
B - Segunda
Porta<BR>span=2,1,0,ccs,hdb3,crc4<BR>bchan=32-46<BR>dchan=47<BR>bchan=48-62<BR>
<HR>
</FONT></DIV>
<DIV><FONT face=Arial size=2><STRONG>zapata.conf</STRONG></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>;<BR>; Zapata telephony interface<BR>;<BR>;
Configuration file</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>[trunkgroups]</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial
size=2><BR>[channels]<BR>language=pt<BR>;internationalprefix =
00<BR>;nationalprefix = 0<BR>;localprefix = 243076<BR>;privateprefix =
055243076<BR>;hanguponpolarityswitch=yes</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial
size=2>switchtype=euroisdn<BR>pri_dialplan=national<BR>signalling=pri_cpe<BR>usecallerid=yes<BR>hidecallerid=no<BR>;resetinterval=never<BR>callwaiting=yes<BR>callwaitingcallerid=yes<BR>threewaycalling=yes<BR>transfer=yes<BR>cancallforward=yes<BR>callreturn=yes<BR>echocancel=yes<BR>immediate=no<BR>callprogress=no<BR>callerid=asreceiveid<BR>;usecallingpres=yes<BR>group=1<BR>callgroup=1<BR>pickupgroup=1<BR>context=from-zaptel<BR>;context=incoming</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>; onde procurar extensoes em chamadas de entrada
nesta E1<BR>;context=from-e1-A<BR>switchtype=euroisdn<BR>;signalling=pri_net ;
uma master<BR>signalling=pri_cpe ; uma slave<BR>language=pt<BR>group =
1<BR>channel => 1-15,17-31<BR>;overlapdial=yes</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>; onde procurar extensoes em chamadas de entrada
nesta E1<BR>;context=from-e1-B<BR>switchtype=euroisdn<BR>signalling=pri_net ;
uma master<BR>language=pt<BR>group = 2<BR>channel =>
32-46,48-62<BR>;overlapdial=yes</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>#include zapata_additional.conf</FONT></DIV>
<DIV><FONT face=Arial size=2>
<HR>
</FONT></DIV>
<DIV><FONT face=Arial size=2>extensions_additional.conf</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>[globals]<BR>#include
globals_custom.conf<BR>CALLFILENAME = ""<BR>DIAL_OPTIONS = tr<BR>TRUNK_OPTIONS =
t<BR>DIAL_OUT = 9<BR>FAX =<BR>FAX_RX = system<BR>FAX_RX_EMAIL = <A
href="mailto:fax@mydomain.com">fax@mydomain.com</A><BR>INCOMING =
group-all<BR>NULL = ""<BR>OPERATOR =<BR>PARKNOTIFY = SIP/200<BR>RECORDEXTEN =
""<BR>RINGTIMER = 15<BR>DIRECTORY = last<BR>AFTER_INCOMING =<BR>IN_OVERRIDE =
forcereghours<BR>REGTIME = 7:55-17:05<BR>REGDAYS = mon-fri<BR>DIRECTORY_OPTS
=<BR>DIALOUTIDS = 1/2/3/<BR>OUTDISABLE_1 = off<BR>VM_PREFIX = *<BR>TONEZONE =
br<BR>ALLOW_SIP_ANON = no<BR>FAX_RX_FROM = <A
href="mailto:freepbx@gmail.com">freepbx@gmail.com</A><BR>VM_DDTYPE =<BR>VM_GAIN
=<BR>OUTFAIL_1 =<BR>OUTKEEPCID_1 = off<BR>OUTCID_1 = Asterisk
<8500><BR>OUTDISABLE_2 = off<BR>OUTFAIL_2 =<BR>OUTKEEPCID_2 =
off<BR>OUTCID_2 = Asterisk <8500><BR>OUTCID_3 = Sede<BR>OUTMAXCHANS_3
=<BR>OUTPREFIX_3 =<BR>OUT_3 = IAX2/Sede<BR>ZAPTEL_DELAY = 0<BR>OUTMAXCHANS_2
=<BR>OUTPREFIX_2 =<BR>OUT_2 = ZAP/g2<BR>OUTMAXCHANS_1 =<BR>OUTPREFIX_1
=<BR>OUT_1 = ZAP/g1<BR>ASTETCDIR = /etc/asterisk<BR>ASTMODDIR =
/usr/lib/asterisk/modules<BR>ASTVARLIBDIR = /var/lib/asterisk<BR>ASTAGIDIR =
/var/lib/asterisk/agi-bin<BR>ASTSPOOLDIR = /var/spool/asterisk<BR>ASTRUNDIR =
/var/run/asterisk<BR>ASTLOGDIR = /var/log/asterisk<BR>CWINUSEBUSY =
true<BR>AMPMGRUSER = admin<BR>AMPMGRPASS = amp111</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>[ext-did]<BR>include => ext-did-custom<BR>exten
=> fax,1,Goto(ext-fax,in_fax,1)<BR>exten =>
8578,1,Set(__FROM_DID=8578)<BR>exten =>
8578,n,Gosub(app-blacklist-check,s,1)<BR>exten => 8578,n,GotoIf($[
"${CALLERID(name)}" != "" ] ?cidok)<BR>exten =>
8578,n,Set(CALLERID(name)=${CALLERID(num)})<BR>exten =>
8578,n(cidok),Noop(CallerID is ${CALLERID(all)})<BR>exten =>
8578,n,Ringing()<BR>exten => 8578,n,Goto(ext-group,8578,1)<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>[outbound-allroutes]<BR>include =>
outbound-allroutes-custom<BR>include => outrt-001-9_outside<BR>exten =>
foo,1,Noop(bar)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>[outrt-001-9_outside]<BR>include =>
outrt-001-9_outside-custom<BR>exten =>
_9.,1,Macro(dialout-trunk,1,${EXTEN:1},,)<BR>exten =>
_9.,n,Macro(dialout-trunk,2,${EXTEN:1},,)<BR>exten =>
_9.,n,Macro(outisbusy,)<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>[...]</FONT></DIV>
<DIV><FONT face=Arial size=2> </DIV>
<DIV>
<HR>
</DIV></FONT>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Estou mandando duas imagens da minha configuração
do trixbox.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Alguem pode verificar se esta tudo
certo;</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Obrigado</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>[]´s</DIV></FONT>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></BODY></HTML>