<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40"
xmlns:ns1="http://schemas.microsoft.com/office/2004/12/omml">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--a:link
        {mso-style-priority:99;}
span.MSOHYPERLINK
        {mso-style-priority:99;}
a:visited
        {mso-style-priority:99;}
span.MSOHYPERLINKFOLLOWED
        {mso-style-priority:99;}

 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:Arial;
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:Calibri;
        color:#1F497D;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:Arial;
        color:navy;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>I figured it out – the busy tone was being
generated by the local end.  It seems that upon receiving a hangup, freepbx tries
the next trunk.  In this case there isn’t any other trunk, so I get “all
circuits are busy now”.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>For anyone interested, the site B
playback()/busy() condition has been submitted as bug# 7706 - <a
href="http://issues.freepbx.org/browse/FREEPBX-7706">http://issues.freepbx.org/browse/FREEPBX-7706</a><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>The site A truck failover retry on
hangupcause’s that shouldn’t be retried has been submitted as bug# 7705 - <a
href="http://issues.freepbx.org/browse/FREEPBX-7705">http://issues.freepbx.org/browse/FREEPBX-7705</a><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<div>

<div>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:navy'>-Justin</span></font> <o:p></o:p></p>

</div>

</div>

<div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] <b><span style='font-weight:
bold'>On Behalf Of </span></b>Justin Killen<br>
<b><span style='font-weight:bold'>Sent:</span></b> Wednesday, July 09, 2014
11:00 AM<br>
<b><span style='font-weight:bold'>To:</span></b> <st1:PersonName w:st="on">Asterisk
 Users Mailing List - Non-Commercial Discussion</st1:PersonName><br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [asterisk-users] PRI
congestion instead of busy</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>I tried changing the dialplan to use
Hangup(17) instead of Playback/Busy.  Now instead of ringing for 20
seconds and then getting the “all circuits are busy now”, I get “all circuits
are busy now” immediately.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>New snippet from site A:<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=DE
style='font-size:10.0pt;font-family:Arial;color:navy'>…<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=DE
style='font-size:10.0pt;font-family:Arial;color:navy'>[2014-07-09 10:53:43]
VERBOSE[23020][C-0000db0d] app_dial.c:     -- Called
DAHDI/g5/5551212<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>[2014-07-09 10:53:43]
VERBOSE[23020][C-0000db0d] app_dial.c:     --
DAHDI/i7/5551212-413b is proceeding passing it to SIP/260-0000a35c<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>[2014-07-09 10:53:44]
VERBOSE[23020][C-0000db0d] app_dial.c:     --
DAHDI/i7/5551212-413b is ringing<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>[2014-07-09 10:53:44]
VERBOSE[23020][C-0000db0d] app_dial.c:     --
DAHDI/i7/5551212-413b is making progress passing it to SIP/260-0000a35c<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>[2014-07-09 10:53:51]
VERBOSE[23020][C-0000db0d] app_dial.c:     --
DAHDI/i7/5551212-413b answered SIP/260-0000a35c<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>[2014-07-09 10:53:58]
VERBOSE[23020][C-0000db0d] res_musiconhold.c:     -- Started
music on hold, class 'default', on DAHDI/i7/5551212-413b<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>[2014-07-09 10:55:06]
VERBOSE[23020][C-0000db0d] res_musiconhold.c:     --
Stopped music on hold on DAHDI/i7/5551212-413b<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>[2014-07-09 10:55:07]
VERBOSE[23020][C-0000db0d] pbx.c:     -- Executing
[h@macro-dialout-trunk:1] Macro("SIP/260-0000a35c",
"hangupcall,") in new stack<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>[2014-07-09 10:55:07]
VERBOSE[23020][C-0000db0d] pbx.c:     -- Executing
[s@macro-hangupcall:1] GotoIf("SIP/260-0000a35c",
"1?theend") in new stack<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>[2014-07-09 10:55:07] VERBOSE[23020][C-0000db0d]
pbx.c:     -- Goto (macro-hangupcall,s,3)<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>[2014-07-09 10:55:07]
VERBOSE[23020][C-0000db0d] pbx.c:     -- Executing
[s@macro-hangupcall:3] ExecIf("SIP/260-0000a35c",
"0?Set(CDR(recordingfile)=)") in new stack<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>[2014-07-09 10:55:07] VERBOSE[23020][C-0000db0d]
pbx.c:     -- Executing [s@macro-hangupcall:4]
Hangup("SIP/260-0000a35c", "") in new stack<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>[2014-07-09 10:55:07]
VERBOSE[23020][C-0000db0d] app_macro.c:   == Spawn extension
(macro-hangupcall, s, 4) exited non-zero on 'SIP/260-0000a35c' in macro
'hangupcall'<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>[2014-07-09 10:55:07]
VERBOSE[23020][C-0000db0d] pbx.c:   == Spawn extension
(macro-dialout-trunk, h, 1) exited non-zero on 'SIP/260-0000a35c'<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>[2014-07-09 10:55:07]
VERBOSE[23020][C-0000db0d] chan_dahdi.c:     -- Hungup
'DAHDI/i7/5551212-413b'<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>[2014-07-09 10:55:07]
VERBOSE[23020][C-0000db0d] app_macro.c:   == Spawn extension
(macro-dialout-trunk, s, 22) exited non-zero on 'SIP/260-0000a35c' in macro
'dialout-trunk'<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>[2014-07-09 10:55:07]
VERBOSE[23020][C-0000db0d] pbx.c:   == Spawn extension
(from-internal, 5551212, 5) exited non-zero on 'SIP/260-0000a35c'<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>…<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>New snippet from site B:<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>…<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>[2014-07-09 10:47:03]
VERBOSE[7133][C-00000c69] pbx.c:     -- Goto
(macro-exten-vm,s-BUSY,1)<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>[2014-07-09 10:47:03]
VERBOSE[7133][C-00000c69] pbx.c:     -- Executing
[s-BUSY@macro-exten-vm:1] GotoIf("DAHDI/i8/9519999999-603",
"0?exit,1") in new stack<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>[2014-07-09 10:47:03]
VERBOSE[7133][C-00000c69] pbx.c:     -- Executing
[s-BUSY@macro-exten-vm:2] Hangup("DAHDI/i8/9519999999-603",
"17") in new stack<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>[2014-07-09 10:47:03]
VERBOSE[7133][C-00000c69] app_macro.c:   == Spawn extension
(macro-exten-vm, s-BUSY, 2) exited non-zero on 'DAHDI/i8/9519999999-603' in
macro 'exten-vm'<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>[2014-07-09 10:47:03]
VERBOSE[7133][C-00000c69] pbx.c:   == Spawn extension (from-did-direct,
803, 2) exited non-zero on 'DAHDI/i8/9519999999-603'<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>[2014-07-09 10:47:03]
VERBOSE[7133][C-00000c69] pbx.c:     -- Executing
[h@from-did-direct:1] Macro("DAHDI/i8/9519999999-603",
"hangupcall,") in new stack<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>[2014-07-09 10:47:03] VERBOSE[7133][C-00000c69]
pbx.c:     -- Executing [s@macro-hangupcall:1]
GotoIf("DAHDI/i8/9519999999-603", "1?theend") in new stack<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>[2014-07-09 10:47:03]
VERBOSE[7133][C-00000c69] pbx.c:     -- Goto
(macro-hangupcall,s,3)<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>[2014-07-09 10:47:03]
VERBOSE[7133][C-00000c69] pbx.c:     -- Executing
[s@macro-hangupcall:3] ExecIf("DAHDI/i8/9519999999-603",
"0?Set(CDR(recordingfile)=)") in new stack<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>[2014-07-09 10:47:03]
VERBOSE[7133][C-00000c69] pbx.c:     -- Executing
[s@macro-hangupcall:4] Hangup("DAHDI/i8/9519999999-603",
"") in new stack<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>[2014-07-09 10:47:03]
VERBOSE[7133][C-00000c69] app_macro.c:   == Spawn extension
(macro-hangupcall, s, 4) exited non-zero on 'DAHDI/i8/9519999999-603' in macro
'hangupcall'<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>[2014-07-09 10:47:03]
VERBOSE[7133][C-00000c69] pbx.c:   == Spawn extension
(from-did-direct, h, 1) exited non-zero on 'DAHDI/i8/9519999999-603'<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=DE
style='font-size:10.0pt;font-family:Arial;color:navy'>[2014-07-09 10:47:03]
VERBOSE[7133][C-00000c69] chan_dahdi.c:     -- Hungup
'DAHDI/i8/9519999999-603'<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=DE
style='font-size:10.0pt;font-family:Arial;color:navy'>...<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=DE
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=DE
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>It seems that now the PRI cause isn’t
getting set at all.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<div>

<div>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:navy'>-Justin</span></font> <o:p></o:p></p>

</div>

</div>

<div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] <b><span style='font-weight:
bold'>On Behalf Of </span></b>Eric Wieling<br>
<b><span style='font-weight:bold'>Sent:</span></b> Wednesday, July 09, 2014
10:35 AM<br>
<b><span style='font-weight:bold'>To:</span></b> <st1:PersonName w:st="on">Asterisk
 Users Mailing List - Non-Commercial Discussion</st1:PersonName><br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [asterisk-users] PRI
congestion instead of busy</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span
style='font-size:11.0pt;font-family:Calibri;color:#1F497D'>If you use Playtones
you should put an Answer and a Wait(1) before the Playtones<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span
style='font-size:11.0pt;font-family:Calibri;color:#1F497D'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span
style='font-size:11.0pt;font-family:Calibri;color:#1F497D'>I recommend using
the Hangup app instead.   Busy would be Hangup(17).<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span
style='font-size:11.0pt;font-family:Calibri;color:#1F497D'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span
style='font-size:11.0pt;font-family:Calibri;color:#1F497D'><o:p> </o:p></span></font></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com]
<b><span style='font-weight:bold'>On Behalf Of </span></b>Justin Killen<br>
<b><span style='font-weight:bold'>Sent:</span></b> Wednesday, July 09, 2014
2:24 PM<br>
<b><span style='font-weight:bold'>To:</span></b> <st1:PersonName w:st="on">Asterisk
 Users Mailing List - Non-Commercial Discussion</st1:PersonName><br>
<b><span style='font-weight:bold'>Subject:</span></b> [asterisk-users] PRI
congestion instead of busy<o:p></o:p></span></font></p>

</div>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I have two servers, each connected to the PTSN via
PRI.  When I call from site A (951-999-9999) to site B (555-1212) and the
phone at site B is on the phone, I hear the normal ring tone for about 20
seconds, then the message "all circuits are busy now.  please try
your call again latter" followed by the congestion tone.  Instead, I
want this to busy ring and then hang up without any message.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Here is a snippet from site A:<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=DE style='font-size:10.0pt;
font-family:Arial'>…<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=DE style='font-size:10.0pt;
font-family:Arial'>[2014-07-09 09:56:16] VERBOSE[21606][C-0000dab7]
app_dial.c:     -- Called DAHDI/g5/5551212<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>[2014-07-09 09:56:17] VERBOSE[21606][C-0000dab7]
app_dial.c:     -- DAHDI/i7/5551212-411b is proceeding
passing it to SIP/260-0000a2f1<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>[2014-07-09 09:56:17] VERBOSE[21606][C-0000dab7]
app_dial.c:     -- DAHDI/i7/5551212-411b is ringing<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>[2014-07-09 09:56:17] VERBOSE[21606][C-0000dab7] app_dial.c:    
-- DAHDI/i7/5551212-411b is making progress passing it to SIP/260-0000a2f1<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>[2014-07-09 09:56:18] VERBOSE[21606][C-0000dab7]
app_dial.c:     -- SIP/260-0000a2f1 requested media update
control 26, passing it to DAHDI/i7/5551212-411b<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>[2014-07-09 09:56:37] VERBOSE[2286][C-0000dab7]
sig_pri.c:     -- Span 7: Channel 0/3 got hangup request,
cause 16<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>…<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>And from site B:<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>...<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>[2014-07-09 09:56:17] VERBOSE[3775][C-00000bb1]
pbx.c:     -- Executing [s@macro-exten-vm:22]
GotoIf("DAHDI/i8/9519999999-59f", "1?s-BUSY,1") in new
stack<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>[2014-07-09 09:56:17] VERBOSE[3775][C-00000bb1]
pbx.c:     -- Goto (macro-exten-vm,s-BUSY,1)<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>[2014-07-09 09:56:17] VERBOSE[3775][C-00000bb1]
pbx.c:     -- Executing [s-BUSY@macro-exten-vm:1]
GotoIf("DAHDI/i8/9519999999-59f", "0?exit,1") in new stack<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>[2014-07-09 09:56:17] VERBOSE[3775][C-00000bb1]
pbx.c:     -- Executing [s-BUSY@macro-exten-vm:2]
PlayTones("DAHDI/i8/9519999999-59f", "busy") in new stack<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>[2014-07-09 09:56:17] VERBOSE[3775][C-00000bb1]
pbx.c:     -- Executing [s-BUSY@macro-exten-vm:3]
Busy("DAHDI/i8/9519999999-59f", "20") in new stack<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>[2014-07-09 09:56:37] VERBOSE[3775][C-00000bb1]
app_macro.c:   == Spawn extension (macro-exten-vm, s-BUSY, 3) exited
non-zero on 'DAHDI/i8/9519999999-59f' in macro 'exten-vm'<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>[2014-07-09 09:56:37] VERBOSE[3775][C-00000bb1]
pbx.c:   == Spawn extension (from-did-direct, 803, 2) exited non-zero
on 'DAHDI/i8/9519999999-59f'<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>[2014-07-09 09:56:37] VERBOSE[3775][C-00000bb1]
pbx.c:     -- Executing [h@from-did-direct:1]
Macro("DAHDI/i8/9519999999-59f", "hangupcall,") in new
stack<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>[2014-07-09 09:56:37] VERBOSE[3775][C-00000bb1]
pbx.c:     -- Executing [s@macro-hangupcall:1]
GotoIf("DAHDI/i8/9519999999-59f", "1?theend") in new stack<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>[2014-07-09 09:56:37] VERBOSE[3775][C-00000bb1] pbx.c:    
-- Goto (macro-hangupcall,s,3)<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>[2014-07-09 09:56:37] VERBOSE[3775][C-00000bb1]
pbx.c:     -- Executing [s@macro-hangupcall:3]
ExecIf("DAHDI/i8/9519999999-59f",
"0?Set(CDR(recordingfile)=)") in new stack<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>[2014-07-09 09:56:37] VERBOSE[3775][C-00000bb1] pbx.c:    
-- Executing [s@macro-hangupcall:4] Hangup("DAHDI/i8/9519999999-59f",
"") in new stack<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>...<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>My hunch is that the PRI cause is never set, so site A gets
the generic cause 16 (normal call clearing) instead of 17 (user busy).  I
suspect this is causing site A to get the "all circuits are busy now"
message instead of a busy signal.  I thought calling Busy() would cause
the PRI cause to get set when used on a channel that is PRI?  Should this
be manually set instead?<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Site B details:<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Asterisk version 11.10.2<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Libpri version: 1.4.12<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>DAHDI version: 2.9.0.1<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Freepbx version: 2.11.0.37, distro version 5.211.65-14<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>

<div>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=3 face="Times New Roman"><span style='font-size:12.0pt'>-Justin <o:p></o:p></span></font></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>

</div>

</div>

</div>

</body>

</html>