<div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><br>
<div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi,</blockquote>
<div>&nbsp;</div>
<div>&nbsp;I checked by changing to from-zaptel, but no luck yet. Pls guide me on this.</div>
<div>&nbsp;</div>
<div>Regards,</div>
<div>vudura senadeera</div>
<div><span class="e" id="q_1103c8c6cd9507a4_1">
<div>&nbsp;</div><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">------------------------------<br><br>Message: 9<br>Date: Fri, 19 Jan 2007 16:47:18 -0000<br>From: &quot;Robert Jenkins&quot; &lt; 
<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:raj@jrw.co.uk" target="_blank">raj@jrw.co.uk</a>&gt;<br>Subject: RE: [asterisk-users] Integrating asterisk with Toshiba<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Astrata DK380<br>To: &quot;&#39;Asterisk Users Mailing List - Non-Commercial Discussion&#39;&quot; 
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:asterisk-users@lists.digium.com" target="_blank">asterisk-users@lists.digium.com</a>&gt;<br>Message-ID: &lt;005701c73be9$7c907850$2800a8c0@office
&gt;<br>Content-Type: text/plain; charset=&quot;us-ascii&quot; <br><br>Hi,<br><br>your zapata.con has &#39;context=from-pstn&#39;<br><br>Try changing this to &#39;context=from-zaptel&#39;<br><br>Robert Jenkins.<br><br><br>
<br>_____<br><br>From: <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a><br>[mailto:<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">
asterisk-users-bounces@lists.digium.com</a>] On Behalf Of Vidura<br>Senadeera<br>Sent: 19 January 2007 15:19<br>To: <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:asterisk-users@lists.digium.com" target="_blank">
asterisk-users@lists.digium.com</a><br>Cc: <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:support@digium.com" target="_blank">support@digium.com</a><br>Subject: [asterisk-users] Integrating asterisk with Toshiba Astrata DK380 
<br><br><br><br>Deat all,<br><br>I am in middle of integrate Asterisk with Toshiba astrata legacy pbx.<br><br>Following is my setup<br><br>Asterisk &lt;-&gt; Digium TE110P &lt;-&gt; E1 card in toshiba pbx &lt;-&gt; Toshiba PBX 
<br><br>A =============================================&gt; B<br>C &lt;============================================ D<br><br>Asterisk PBX and strata PBX connected using back to back E1 cross cable.<br>Physicall connectivity is OK. The digium TE110p 
<br>LED state green. zttool also OK.<br><br>Toshiba stata configured to make outbound call via E1 link with pressing 9<br>and then the out side number.<br><br>I was able to make call from soft phone to analog extension at toshiba pbx. 
<br>A==&gt; B way as shown above. But when trying to dial from<br>Toshiba PBX analog extension to asterisk extension, by pressing 9 the call<br>rejected.<br><br>In the asterisk command prompt I&#39;m having following error message. 
<br><br>-- Extension &#39;&#39; in context &#39;from-pstn&#39; from &#39;&#39; does not exist.&nbsp;&nbsp;Rejecting<br>call on channel 0/31, span 1<br><br>Is there any wrong in my setup. dial plan??, additional configuration if i<br>
required to put please guide me.<br><br>I will be greately appreciated your feedback on this regard.<br><br>configuration details<br><br>/etc/zaptel.conf<br># Span 1: WCT1/0 &quot;Digium Wildcard TE110P T1/E1 Card 0&quot; 
<br><br>span=1,1,0,ccs,hdb3,crc4<br>bchan=1-15,17-31<br>dchan=16<br><br>/etc/asterisk/zapata.conf<br><br>signalling=pri_net ; pri_cpe = PRI slave ; pri_net = PRI master<br>switchtype=euroisdn<br>;switchtype=national<br>echocancel=yes ; You can set this to 32, 64, or 128, tweak to your needs. 
<br>echocancelwhenbridged=yes<br>echotraining=400 ; Asterisk trains to the beginning of the call, number is<br>in milliseconds<br>callerid=asreceived<br>overlapdial=no<br>pridialplan=unknown<br>immediate=no<br>;rxwink=300 
<br>callprogress=no<br>loadzone=au<br>context=from-pstn ; Points to the default context of your extensions.conf<br>group=2<br>channel=&gt;1-15<br>channel=&gt;17-31 ;PRI/E1 link<br><br><br>[trunkgroups]<br>trunkgroup=&gt;2,16 
<br>spanmap=1,2,1<br><br><br><br>/etc/asterisk/extension.conf<br><br>[from-zaptel]<br>exten =&gt; _X.,1,Set(DID=${EXTEN})<br>exten =&gt; _X.,n,Goto(s,1)<br>exten =&gt; s,1,NoOp(Entering from-zaptel with DID == ${DID})<br>
; If ($did == &quot;&quot;) { $did = &quot;s&quot;; }<br>exten =&gt; s,n,Set(DID=${IF($[&quot;${DID}&quot;= &quot;&quot;]?s:${DID})})<br>exten =&gt; s,n,NoOp(DID is now ${DID})<br>exten =&gt; s,n,GotoIf($[&quot;${CHANNEL:0:3}&quot;=&quot;Zap&quot;]?zapok:notzap) 
<br>exten =&gt; s,n(notzap),Goto(ext-did,${DID},1)<br>; If there&#39;s no ext-did,s,1, that means there&#39;s not a no did/no cid route.<br>Hangup.<br>exten =&gt; s,n,Macro(hangup)<br>exten =&gt; s,n(zapok),NoOp(Is a Zaptel Channel) 
<br>exten =&gt; s,n,Set(CHAN=${CHANNEL:4})<br>exten =&gt; s,n,Set(CHAN=${CUT(CHAN,-,1)})<br>exten =&gt; s,n,Macro(from-zaptel-${CHAN},${DID},1)<br>; If nothing there, then treat it as a DID<br>exten =&gt; s,n,NoOp(Returned from Macro from-zaptel-${CHAN}) 
<br>exten =&gt; s,n,Goto(ext-did,${DID},1)<br><br><br><br><br>--<br>Thanks &amp; Regards,<br>Vidura B. Senadeera.<br><br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.digium.com/pipermail/asterisk-users/attachments/20070119/0dd5e0be/attachment-0001.htm" target="_blank">
http://lists.digium.com/pipermail/asterisk-users/attachments/20070119/0dd5e0be/attachment-0001.htm</a><br><br>------------------------------<br><br>Message: 10<br>Date: Fri, 19 Jan 2007 11:46:57 -0500<br>From: &quot;Chris Earle \(CBL\)&quot; &lt; 
<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:cearle@cbltech.ca" target="_blank">cearle@cbltech.ca</a>&gt;<br>Subject: [asterisk-users] Disconnect Supervision UK / BT solution?<br>To: &lt;<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:asterisk-users@lists.digium.com" target="_blank">
asterisk-users@lists.digium.com </a>&gt;<br>Message-ID: &lt;013b01c73be9$6ec87c40$6b01a8c0@Chrisdev&gt;<br>Content-Type: text/plain;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; charset=&quot;iso-8859-1&quot;<br><br>Hi all<br><br>I&#39;m using sangoma a200 cards in the UK and have the ongoing, often noted 
<br>problem of disconnect supervision with BT POTS lines.<br><br>Just noticed this post on<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.voip-info.org/wiki/view/UK+Asterisk+Details" target="_blank">
http://www.voip-info.org/wiki/view/UK+Asterisk+Details</a><br>stating that potentially someone&#39;s got a solution :<br><br>&quot;TDM400P &amp;amp; Not Detecting Hangups:<br><br>Got a TDM400P installed and having problems with Asterisk not detecting
<br>hangups? Using BT? If so, contact BT and ask what the &quot;Disconnect Clear <br>Time&quot; setting is for your phone line. Odds are it&#39;s probably 100. Increasing<br>it to 800 fixed the issue for me.<br><br>&quot;Disconnect Clear Time&quot; is BT&#39;s name for CPC. &quot;
<br><br><br>Does anyone have any thoughts/confirmation about this finally being a viable <br>solution?&nbsp;&nbsp;This disconnect supervision problem has plagued TDM and Sangoma<br>cards for a long time!<br><br>Comments appreciated before I get on the phone with BT
<br><br><br>--<br>Chris Earle<br>System Solutions Specialist <br><br></blockquote></span></div></div></blockquote></div>