<!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.2800.1479" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>i am having problem configuring Asterisk to Dial to
pstn<BR>i have installed bristuff for my hfc supported card and configured
Zaptel and zapata.conf and Extension.conf and sip.conf according </FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>sip clients can talk to each other but i cant make
to pstn</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>BRI card configured in TE mode . </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>please comment whats wrong in it </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>################</FONT></DIV>
<DIV><FONT face=Arial size=2>here is zaptel.conf :</FONT></DIV>
<DIV><FONT face=Arial size=2>##################</FONT></DIV>
<DIV><FONT face=Arial
size=2>loadzone=nz<BR>defaultzone=nz<BR>span=1,1,3,ccs,ami<BR>bchan=1-2<BR>dchan=3</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>here is zapata.conf</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>switchtype = euroisdn<BR>signalling =
bri_net_ptmp<BR>pridialplan=local<BR>echocancel=yes<BR>immediate=yes<BR>group =
1<BR>context=pstn-call<BR>channel => 1-2</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>##############</FONT></DIV>
<DIV><FONT face=Arial size=2>extenions.conf</FONT></DIV>
<DIV><FONT face=Arial size=2>##############</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>[general]<BR>
static=yes<BR>
writeprotect=yes<BR>[globals]<BR>PHONE1=SIP/2203<BR>PHONE2=SIP/2204</FONT></DIV>
<DIV><FONT face=Arial size=2><BR> ; When we want to make an outgoing call,
what line(s) can we use?<BR>OUTGOING => Zap/1&Zap/2</FONT></DIV>
<DIV><FONT face=Arial size=2><BR>[pstn-call]<BR>exten =>
_9XXXXXXX,1,Dial(Zap/1/${EXTEN:1})<BR>exten =>
_9XXXXXXX,2,Congestion<BR>;<BR>[intern]<BR>include => pstn-call<BR>exten
=> 1000,1,Goto(default,s,1)<BR>exten =>
2203,1,Dial(${PHONE1},30,t)<BR>exten => 2203,2,Playback(invalid)<BR>exten
=>
2203,3,Hangup<BR>
<BR>exten => 2204,1,Dial(${PHONE2},30,Ttm)<BR>exten =>
2204,2,Playback(invalid)<BR>exten => 2204,3,Hangup</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> </DIV>
<DIV><BR>###############<BR>sip.conf #######<BR>##############</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>[general]<BR>;disallow=gsm<BR>;allow=ulaw<BR>port =
5060
; Port to bind to<BR>bindaddr =
0.0.0.0
; Address to bind to<BR>context =
intern
; Default for incoming calls<BR>callerid=No
CallID<BR>
<BR>[2203]<BR>type=friend<BR>username=2203<BR>secret=*****<BR>host=dynamic<BR>mailbox=2203<BR>context=intern<BR>canreinvite=yes<BR>dtmfmode=rfc2833<BR>
<BR>
<BR>[2204]<BR>type=friend<BR>username=2204<BR>secret=*******<BR>mailbox=2203<BR>host=dynamic<BR>context=intern<BR>canreinvite=yes<BR>dtmfmode=rfc2833</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2><BR></FONT> </DIV></BODY></HTML>