<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> </div>
<div> I checked by changing to from-zaptel, but no luck yet. Pls guide me on this.</div>
<div> </div>
<div>Regards,</div>
<div>vudura senadeera</div>
<div><span class="e" id="q_1103c8c6cd9507a4_1">
<div> </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: "Robert Jenkins" <
<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:raj@jrw.co.uk" target="_blank">raj@jrw.co.uk</a>><br>Subject: RE: [asterisk-users] Integrating asterisk with Toshiba<br> Astrata DK380<br>To: "'Asterisk Users Mailing List - Non-Commercial Discussion'"
<br> <<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>Message-ID: <005701c73be9$7c907850$2800a8c0@office
><br>Content-Type: text/plain; charset="us-ascii" <br><br>Hi,<br><br>your zapata.con has 'context=from-pstn'<br><br>Try changing this to 'context=from-zaptel'<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 <-> Digium TE110P <-> E1 card in toshiba pbx <-> Toshiba PBX
<br><br>A =============================================> B<br>C <============================================ 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==> 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'm having following error message.
<br><br>-- Extension '' in context 'from-pstn' from '' does not exist. 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 "Digium Wildcard TE110P T1/E1 Card 0"
<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=>1-15<br>channel=>17-31 ;PRI/E1 link<br><br><br>[trunkgroups]<br>trunkgroup=>2,16
<br>spanmap=1,2,1<br><br><br><br>/etc/asterisk/extension.conf<br><br>[from-zaptel]<br>exten => _X.,1,Set(DID=${EXTEN})<br>exten => _X.,n,Goto(s,1)<br>exten => s,1,NoOp(Entering from-zaptel with DID == ${DID})<br>
; If ($did == "") { $did = "s"; }<br>exten => s,n,Set(DID=${IF($["${DID}"= ""]?s:${DID})})<br>exten => s,n,NoOp(DID is now ${DID})<br>exten => s,n,GotoIf($["${CHANNEL:0:3}"="Zap"]?zapok:notzap)
<br>exten => s,n(notzap),Goto(ext-did,${DID},1)<br>; If there's no ext-did,s,1, that means there's not a no did/no cid route.<br>Hangup.<br>exten => s,n,Macro(hangup)<br>exten => s,n(zapok),NoOp(Is a Zaptel Channel)
<br>exten => s,n,Set(CHAN=${CHANNEL:4})<br>exten => s,n,Set(CHAN=${CUT(CHAN,-,1)})<br>exten => s,n,Macro(from-zaptel-${CHAN},${DID},1)<br>; If nothing there, then treat it as a DID<br>exten => s,n,NoOp(Returned from Macro from-zaptel-${CHAN})
<br>exten => s,n,Goto(ext-did,${DID},1)<br><br><br><br><br>--<br>Thanks & 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: "Chris Earle \(CBL\)" <
<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:cearle@cbltech.ca" target="_blank">cearle@cbltech.ca</a>><br>Subject: [asterisk-users] Disconnect Supervision UK / BT solution?<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>Message-ID: <013b01c73be9$6ec87c40$6b01a8c0@Chrisdev><br>Content-Type: text/plain; charset="iso-8859-1"<br><br>Hi all<br><br>I'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's got a solution :<br><br>"TDM400P &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 "Disconnect Clear <br>Time" setting is for your phone line. Odds are it's probably 100. Increasing<br>it to 800 fixed the issue for me.<br><br>"Disconnect Clear Time" is BT's name for CPC. "
<br><br><br>Does anyone have any thoughts/confirmation about this finally being a viable <br>solution? 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>