<br>
<div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>Hi Gareth Blades & Doug,</div>
<div> </div>
<div>Thanks so much for for the feedback. I have searched on lot of documents but couldn't able to find clear answer regarding it.</div>
<div> </div>
<div>I hope you guys replies are very much help all in aterisk community.</div>
<div> </div>
<div>
<p style="MARGIN: 0in 0in 0pt"><font face="Times New Roman" color="#333399" size="3"><span style="FONT-SIZE: 12pt; COLOR: #333399">Thanks & Regards,</span></font></p>
<p style="MARGIN: 0in 0in 0pt"><font face="Times New Roman" color="#333399" size="3"><span style="FONT-SIZE: 12pt; COLOR: #333399">Vidura Senadeera,</span></font></p>
<p style="MARGIN: 0in 0in 0pt"><font face="Times New Roman" color="#333399" size="3"><span style="FONT-SIZE: 12pt; COLOR: #333399">Network Engineer,</span></font></p>
<p style="MARGIN: 0in 0in 0pt"><font face="Times New Roman" color="#333399" size="3"><span style="FONT-SIZE: 12pt; COLOR: #333399">Debug Solutions</span></font></p>
<p style="MARGIN: 0in 0in 0pt"><font face="Times New Roman"><font color="#333399" size="3"><span style="FONT-SIZE: 12pt; COLOR: #333399">Sri Lanka</span></font><font color="#333399"> <span style="COLOR: #333399">.</span>
</font></font></p>
<p style="MARGIN: 0in 0in 0pt"><font color="#333399" size="3"><span style="FONT-SIZE: 12pt; COLOR: #333399"><font face="Times New Roman">Tel - +94114520036</font></span></font></p>
<p style="MARGIN: 0in 0in 0pt"><font face="Times New Roman"><font color="#333399" size="3"><span style="FONT-SIZE: 12pt; COLOR: #333399">Mobile</span></font><font color="#333399"><span style="COLOR: #333399"> - +94777766596
</span></font></font></p>
<p style="MARGIN: 0in 0in 0pt"><font color="#333399" size="3"><span style="FONT-SIZE: 12pt; COLOR: #333399"><font face="Times New Roman">Web - <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.debug.lk/" target="_blank">
www.debug.lk </a></font></span></font></p><br> ------------------------------<br><br>Message: 14<br>Date: Thu, 15 Mar 2007 15:39:07 +0530<br>From: "Vidura Senadeera" <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:vidurased@gmail.com" target="_blank">
vidurased@gmail.com</a>><br>Subject: [asterisk-users] busy/hangup/answer detection in PRI E1 <br> channels<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:<br> <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:afa14ef00703150309k51b4bbd8ka239ca7e2ba08fb@mail.gmail.com" target="_blank">afa14ef00703150309k51b4bbd8ka239ca7e2ba08fb@mail.gmail.com
</a>><br>Content-Type: text/plain; charset="iso-8859-1"<br><br>Hi,<br><br>Please discribe me how we define busy/hang/answer detection with PRI E1<br>channels.<br><br>Since busydetect, callprogress, busycount giving falts hangup and call drops
<br>what is the solution on PRI channels?<br><br>--<br>Thanks & Regards,<br>Vidura B. Senadeera.<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/20070315/e9cae81c/attachment-0001.htm" target="_blank">
http://lists.digium.com/pipermail/asterisk-users/attachments/20070315/e9cae81c/attachment-0001.htm</a><br><br>------------------------------<br><br>Message: 16<br>Date: Thu, 15 Mar 2007 10:35:16 +0000<br>From: Gareth Blades <
<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:list-asterisk@linguaphone.co.uk" target="_blank">list-asterisk@linguaphone.co.uk </a>><br>Subject: Re: [asterisk-users] busy/hangup/answer detection in PRI E1
<br> channels<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:<br> <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:1173954916.31406.2.camel@gblades-suse.linguaphone-intranet.co.uk" target="_blank">1173954916.31406.2.camel@gblades-suse.linguaphone-intranet.co.uk
</a>> <br>Content-Type: text/plain<br><br>You can use the hangupcause variable which us the pri cause code<br>supplied when a call is ended over a PRI line. For example this is the<br>maco we use to dial a number over PRI.
<br><br>[macro-pridial]<br>exten => s,1,GotoIf($["${ARG1:0:2}" != "00"]?noint)<br>exten => s,n,Set(DENYINT=${DB(denyinternational/${CALLERIDNUM})})<br>exten => s,n,GotoIf($[ "${DENYINT}" = "yes" ]?congestion)
<br>exten => s,n(noint),Set(BLOCKCID=${DB(blockcid/${CALLERIDNUM})})<br>exten => s,n,GotoIf($[ "${BLOCKCID}" = "yes" ]?prohib:cont)<br>exten => s,n(prohib),SetCallerPres(prohib)<br>exten => s,n(cont),Dial(ZAP/g1/${ARG1},60,Tr)
<br>exten => s,n,Set(CDR(userfield)=${HANGUPCAUSE}.${DIALSTATUS})<br>exten => s,n,GotoIf($[ "${DIALSTATUS}" = "BUSY" ]?busy)<br>exten => s,n,GotoIf($[ "${DIALSTATUS}" = "CONGESTION" ]?congestion)
<br>exten => s,n,GotoIf($[ "${HANGUPCAUSE}" = "28" ]?unrecognised)<br>exten => s,n,GotoIf($[ "${HANGUPCAUSE}" = "1" ]?discon)<br>exten => s,n,GotoIf($[ "${DIALSTATUS}" = "CHANUNAVAIL" ]?congestion)
<br>exten => s,n,Hangup<br>exten => s,n(busy),Busy<br>exten => s,n(congestion),GotoIf($[ "${HANGUPCAUSE}" = "34" ]?error)<br>exten => s,n,Congestion<br>exten => s,n(error),Answer<br>exten => s,n,SendText(${HANGUPCAUSE}: ERROR: No channels available)
<br>exten => s,n,Wait(1)<br>exten => s,n,Playback(all-outgoing-lines-unavailable)<br>exten => s,n,Wait(10)<br>exten => s,n,Hangup<br>exten => s,n(unrecognised),Answer<br>exten => s,n,SendText(${HANGUPCAUSE}: Unrecognised No.)
<br>exten => s,n,Wait(1)<br>exten => s,n,Playback(that-is-not-rec-phn-num)<br>exten => s,n,Wait(10)<br>exten => s,n,Hangup<br>exten => s,n(discon),Answer<br>exten => s,n,SendText(${HANGUPCAUSE}:Out Of Service)
<br>exten => s,n,Wait(1)<br>exten => s,n,Playback(discon-or-out-of-service)<br>exten => s,n,Wait(10)<br>exten => s,n,Hangup<br><br><br>On Thu, 2007-03-15 at 10:09, Vidura Senadeera wrote:<br>> Hi,<br>><br>
> Please discribe me how we define busy/hang/answer detection with PRI<br>> E1 channels.<br>><br>> Since busydetect, callprogress, busycount giving falts hangup and call<br>> drops what is the solution on PRI channels?
<br>><br>> --<br>> Thanks & Regards,<br>> Vidura B. Senadeera.<br>><br>> Message: 18<br>Date: Thu, 15 Mar 2007 07:06:30 -0400<br>From: Doug Lytle <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:support@drdos.info" target="_blank">
support@drdos.info</a>><br>Subject: Re: [asterisk-users] busy/hangup/answer detection in PRI E1<br> channels<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: <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:45F928B6.40302@drdos.info" target="_blank">45F928B6.40302@drdos.info</a>><br>Content-Type: text/plain; charset=ISO-8859-1; format=flowed
<br><br>Vidura Senadeera wrote:<br>> Hi,<br>><br>> Please discribe me how we define busy/hang/answer detection with PRI<br>> E1 channels.<br>><br>> Since busydetect, callprogress, busycount giving falts hangup and call
<br>> drops what is the solution on PRI channels?<br><br>PRI channels have call supervision and Asterisk will see the<br>hangup/answers just fine. The busydetect, callprogress, busycount<br>should be removed from your setup.
<br><br>Doug<br><br><br><br>--</div></blockquote></div>