Hi Guys,<div><br></div><div>Full PRI installed in Canada with Sangoma A101DE and Asterisk 1.4.21.2, LibPRI 1.4.10.</div><div><br></div><div>Placing a call into PRI and then transfering that call out to another number. Problem is that the call rings out but the moment the other party pickups both legs of the call are disconnected give Cause code 16. </div>
<div><br></div><div>*********************************************************************************************************************</div><div>Dialplan:</div><div>[zap_bridge]</div><div>exten =&gt; s,1,answer()</div>
<div>exten =&gt; s,n,Dial(ZAP/g0/4168889999)</div><div>*********************************************************************************************************************</div><div><br></div><div><br></div><div>********************************************************************************************************************</div>
<div>CLI Output:</div><div><div>    -- Called g0/4168889999</div><div>    -- Zap/2-1 is proceeding passing it to Zap/1-1</div><div>    -- Zap/2-1 is ringing</div><div>    -- Zap/2-1 answered Zap/1-1</div><div>    -- Native bridging Zap/1-1 and Zap/2-1</div>
<div>    -- Channel 0/1, span 1 got hangup request, cause 16</div><div>    -- Hungup &#39;Zap/2-1&#39;</div><div>  == Spawn extension (zap_bridge, s, 2) exited non-zero on &#39;Zap/1-1&#39;</div><div>    -- Hungup &#39;Zap/1-1&#39;</div>
<div>*********************************************************************************************************************</div><div><br></div></div><div><br></div><div>*********************************************************************************************************************</div>
<div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "><div><div>Here is PRI debug:</div><div>Starting just before Channel two is connected until both channels are disconnected <b>(maybe FACILITY 98 is of interest?!)</b>:</div>
<div><br></div></div><div><div>&lt; Message type: CONNECT (7)</div><div>q931.c:3626 q931_receive: call 32865 on channel 2 enters state 10 (Active)</div><div>&gt; Protocol Discriminator: Q.931 (8)  len=5</div><div>&gt; Call Ref: len= 2 (reference 97/0x61) (Originator)</div>
<div>&gt; Message type: CONNECT ACKNOWLEDGE (15)</div><div>    -- Zap/2-1 answered Zap/1-1</div><div>    -- Native bridging Zap/1-1 and Zap/2-1</div><div>&gt; Protocol Discriminator: Q.931 (8)  len=27</div><div>&gt; Call Ref: len= 2 (reference 96/0x60) (Originator)</div>
<div>&gt; Message type: FACILITY (98)</div><div>&gt; [1c 14 91 a1 11 02 01 06 06 07 2a 86 48 ce 15 00 08 30 03 02 01 61]</div><div>&gt; Facility (len=22, codeset=0) [ 0x91, 0xA1, 0x11, 0x02, 0x01, 0x06, 0x06, 0x07, &#39;*&#39;, 0x86, &#39;H&#39;, 0xCE, 0x15, 0x00, 0x08, &#39;0&#39;, 0x03, 0x02, 0x01, &#39;a&#39; ]</div>
<div>PROTOCOL 11</div><div>A1 0011 (CONTEXT SPECIFIC [1])</div><div>  02 0001 06 (INTEGER: 6)</div><div>  06 0007 2A 86 48 CE 15 00 08 (OBJECTIDENTIFIER: 2a 86 48 ce 15 00 08)</div><div>  30 0003 (SEQUENCE)</div><div>    02 0001 61 (INTEGER: 97)</div>
<div>&lt; Protocol Discriminator: Q.931 (8)  len=9</div><div>&lt; Call Ref: len= 2 (reference 96/0x60) (Terminator)</div><div>&lt; Message type: DISCONNECT (69)</div><div>&lt; [08 02 80 90]</div><div>&lt; Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0)  Spare: 0  Location: User (0)</div>
<div>&lt;                  Ext: 1  Cause: Normal Clearing (16), class = Normal Event (1) ]</div><div>-- Processing IE 8 (cs0, Cause)</div><div>q931.c:3826 q931_receive: call 32864 on channel 1 enters state 12 (Disconnect Indication)</div>
<div>    -- Channel 0/1, span 1 got hangup request, cause 16</div><div>NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Active, peerstate Connect Request</div><div>q931.c:3015 q931_disconnect: call 32865 on channel 2 enters state 11 (Disconnect Request)</div>
<div>&gt; Protocol Discriminator: Q.931 (8)  len=9</div><div>&gt; Call Ref: len= 2 (reference 97/0x61) (Originator)</div><div>&gt; Message type: DISCONNECT (69)</div><div>&gt; [08 02 81 90]</div><div>&gt; Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0)  Spare: 0  Location: Private network serving the local user (1)</div>
<div>&gt;                  Ext: 1  Cause: Normal Clearing (16), class = Normal Event (1) ]</div><div><div>NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Disconnect Indication, peerstate Disconnect Request</div><div>q931.c:2967 q931_release: call 32864 on channel 1 enters state 19 (Release Request)</div>
<div>&gt; Protocol Discriminator: Q.931 (8)  len=9</div><div>&gt; Call Ref: len= 2 (reference 96/0x60) (Originator)</div><div>&gt; Message type: RELEASE (77)</div><div>&gt; [08 02 81 90]</div><div>&gt; Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0)  Spare: 0  Location: Private network serving the local user (1)</div>
<div>&gt;                  Ext: 1  Cause: Normal Clearing (16), class = Normal Event (1) ]</div><div>    -- Hungup &#39;Zap/1-1&#39;</div><div>&lt; Protocol Discriminator: Q.931 (8)  len=5</div><div>&lt; Call Ref: len= 2 (reference 96/0x60) (Terminator)</div>
<div>&lt; Message type: RELEASE COMPLETE (90)</div><div>q931.c:3766 q931_receive: call 32864 on channel 1 enters state 0 (Null)</div><div>NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Null</div><div>NEW_HANGUP DEBUG: Destroying the call, ourstate Null, peerstate Null</div>
<div>&lt; Protocol Discriminator: Q.931 (8)  len=5</div><div>&lt; Call Ref: len= 2 (reference 97/0x61) (Terminator)</div><div>&lt; Message type: RELEASE (77)</div><div>q931.c:3801 q931_receive: call 32865 on channel 2 enters state 0 (Null)</div>
<div>NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Release Request</div><div>&gt; Protocol Discriminator: Q.931 (8)  len=9</div><div>&gt; Call Ref: len= 2 (reference 97/0x61) (Originator)</div><div>&gt; Message type: RELEASE COMPLETE (90)</div>
<div>&gt; [08 02 81 90]</div><div>&gt; Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0)  Spare: 0  Location: Private network serving the local user (1)</div><div>&gt;                  Ext: 1  Cause: Normal Clearing (16), class = Normal Event (1) ]</div>
<div>NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Null</div><div>NEW_HANGUP DEBUG: Destroying the call, ourstate Null, peerstate Null</div></div></div></span></div><div>*********************************************************************************************************************</div>
<div><br></div><div>Any input and thought is appreciated on this. This is really annoying me as there are no pointers as to why LibPRI is asking to disconnect once the channel is connected.</div><div><br></div><div>Thanks,</div>
<div>Bruce</div><div><br></div>