Hop in #freetdm on <a href="http://irc.freenode.net">irc.freenode.net</a> tomorrow and moy can probably help you with some debugging steps.<div>-MC<br><br><div class="gmail_quote">On Mon, Nov 22, 2010 at 2:32 PM, Stephen Wilde <span dir="ltr">&lt;<a href="mailto:wstephen80@gmail.com">wstephen80@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Yes, span 1 to 8 and span 10 to 22 are working, the E1 23 and 24 are not connected.<div><br></div><div>I have 6 A108 installed but I have started (with wanrouter) and configured only span 1 to 24.</div>
<div><br></div><font color="#888888"><div>
Stephen</div></font><div><div></div><div class="h5"><div><br><br><div class="gmail_quote">On Mon, Nov 22, 2010 at 11:13 PM, Michael Collins <span dir="ltr">&lt;<a href="mailto:msc@freeswitch.org" target="_blank">msc@freeswitch.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
So, just to be clear, spans 1-8 and 10-24 are all working? It&#39;s only span 9? I&#39;m assuming you have 3 A108&#39;s here...<div><br></div><div>-MC<br><br><div class="gmail_quote"><div><div></div><div>On Mon, Nov 22, 2010 at 6:29 AM, Stephen Wilde <span dir="ltr">&lt;<a href="mailto:wstephen80@gmail.com" target="_blank">wstephen80@gmail.com</a>&gt;</span> wrote:<br>


</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div><div>Hi,</div><div>I have Freeswitch git head revision, configured with FreeTDM module and Sangoma ISDN library with A108 board.</div>


<div><br></div><div>The problem I have is that there is one trunk (FreeTDM/9:) where all calls fail with a cause 111. Nothing changes if I restart Freeswitch or I do a wanrouter restart.</div>
<div><br></div><div>All other trunks work fine.</div><div><br></div><div><span style="font-family:arial, sans-serif;font-size:13px;border-collapse:collapse"><div>The freetdm.conf is: <a href="http://pastebin.com/XWbUBwhp" style="color:rgb(64, 100, 128)" target="_blank">http://pastebin.com/XWbUBwhp</a></div>



<div><br></div><div>The freetdm.conf.xml is: <a href="http://pastebin.com/XVJpPSL6" style="color:rgb(64, 100, 128)" target="_blank">http://pastebin.com/XVJpPSL6</a></div></span></div><div><br></div><div>The wanpipe9.conf: <a href="http://pastebin.freeswitch.org/14589" target="_blank">http://pastebin.freeswitch.org/14589</a></div>



<div><br></div><div>Tracing the Q931 with wanpipemon what I see is only Q921  RR messages in the two directions, so the SETUP message is not sent to the other end!</div><div><br></div><div>In the Freeswitch log I see:</div>



<div><br></div><div><br></div><div>2010-11-21 23:17:14.320500 [DEBUG] mod_freetdm.c:1334 Connect outbound channel FreeTDM/9:1/393494255737</div><div>2010-11-21 23:17:14.320500 [NOTICE] switch_channel.c:784 New Channel FreeTDM/9:1/393494255737 [cd6c2968-40ee-41c6-bbe5-d7c7c8222c40]</div>



<div>2010-11-21 23:17:14.320500 [DEBUG] mod_freetdm.c:1348 (FreeTDM/9:1/393494255737) State Change CS_NEW -&gt; CS_INIT</div><div>2010-11-21 23:17:14.320500 [DEBUG] switch_core_session.c:1064 Send signal FreeTDM/9:1/393494255737 [BREAK]</div>



<div>2010-11-21 23:17:14.320500 [DEBUG] ftmod_sangoma_isdn.c:692 [s9c1][9:1] Changed state from DOWN to DIALING</div><div>2010-11-21 23:17:14.320500 [DEBUG] ftmod_sangoma_isdn.c:471 [s9c1][9:1] processing state change to DIALING</div>



<div>2010-11-21 23:17:14.320500 [INFO] ftmod_sangoma_isdn_stack_out.c:142 [s9c1][9:1] Outgoing call: Called No:[393494255737] Calling No:[0872868784]</div><div>2010-11-21 23:17:14.320500 [INFO] ftmod_sangoma_isdn_stack_out.c:149 [s9c1][9:1] Sending SETUP (suId:1 suInstId:24 spInstId:0 dchan:9 ces:0)</div>



<div>2010-11-21 23:17:14.321526 [INFO] ftmod_sangoma_isdn_stack_rcv.c:248 [s9c1][9:1] Received RELEASE/RELEASE COMPLETE (suId:1 suInstId:24 spInstId:2157)</div><div>2010-11-21 23:17:14.321526 [DEBUG] ftmod_sangoma_isdn_stack_hndl.c:511 [s9c1][9:1] Processing RELEASE/RELEASE COMPLETE (suId:1 suInstId:24 spInstId:2157)</div>



<div>2010-11-21 23:17:14.321526 [DEBUG] ftmod_sangoma_isdn_stack_hndl.c:552 [s9c1][9:1] cause:111</div><div>2010-11-21 23:17:14.321526 [DEBUG] ftmod_sangoma_isdn_stack_hndl.c:559 [s9c1][9:1] Changed state from DIALING to TERMINATING</div>



<div>2010-11-21 23:17:14.321526 [DEBUG] ftmod_sangoma_isdn.c:471 [s9c1][9:1] processing state change to TERMINATING</div><div>2010-11-21 23:17:14.321526 [DEBUG] ftdm_io.c:4838 [s9c1][9:1] Scheduling safety hangup timer</div>



<div>2010-11-21 23:17:14.321526 [DEBUG] mod_freetdm.c:2049 got clear channel sig [STOP]</div><div>2010-11-21 23:17:14.321526 [DEBUG] switch_channel.c:2455 (FreeTDM/9:1/393494255737) Callstate Change DOWN -&gt; HANGUP</div>



<div>2010-11-21 23:17:14.321526 [NOTICE] mod_freetdm.c:2074 Hangup FreeTDM/9:1/393494255737 [CS_INIT] [PROTOCOL_ERROR]</div><div>2010-11-21 23:17:14.321526 [DEBUG] switch_ivr_originate.c:3439 Originate Resulted in Error Cause: 111 [PROTOCOL_ERROR]</div>



<div>2010-11-21 23:17:14.321526 [DEBUG] switch_core_state_machine.c:320 (FreeTDM/9:1/393494255737) Running State Change CS_HANGUP</div><div>2010-11-21 23:17:14.321526 [DEBUG] switch_channel.c:2471 Send signal FreeTDM/9:1/393494255737 [KILL]</div>



<div>2010-11-21 23:17:14.321526 [DEBUG] switch_core_session.c:1064 Send signal FreeTDM/9:1/393494255737 [BREAK]</div><div>2010-11-21 23:17:14.322566 [DEBUG] switch_core_state_machine.c:557 (FreeTDM/9:1/393494255737) State HANGUP</div>



<div>2010-11-21 23:17:14.322566 [DEBUG] mod_freetdm.c:515 [s9c1][9:1] Changed state from TERMINATING to HANGUP</div><div>2010-11-21 23:17:14.322566 [DEBUG] ftmod_sangoma_isdn.c:471 [s9c1][9:1] processing state change to HANGUP</div>



<div>2010-11-21 23:17:14.322566 [DEBUG] ftmod_sangoma_isdn.c:564 [s9c1][9:1] Acknowledging remote abort</div><div>2010-11-21 23:17:14.322566 [DEBUG] ftmod_sangoma_isdn.c:600 [s9c1][9:1] Changed state from HANGUP to HANGUP_COMPLETE</div>



<div>2010-11-21 23:17:14.322566 [DEBUG] ftmod_sangoma_isdn.c:471 [s9c1][9:1] processing state change to HANGUP_COMPLETE</div><div>2010-11-21 23:17:14.322566 [DEBUG] ftmod_sangoma_isdn.c:608 [s9c1][9:1] Changed state from HANGUP_COMPLETE to DOWN</div>



<div>2010-11-21 23:17:14.322566 [DEBUG] ftmod_sangoma_isdn.c:471 [s9c1][9:1] processing state change to DOWN</div><div>2010-11-21 23:17:14.322566 [DEBUG] ftmod_sangoma_isdn_support.c:46 [s9c1][9:1] Clearing call data (suId:1 suInstId:24 spInstId:0)</div>



<div>2010-11-21 23:17:14.322566 [DEBUG] ftdm_io.c:2385 channel done 9:1</div><div><br></div><div>What can I do do put trunk 9 in working state?</div><div><br></div><font color="#888888"><div>Stephen</div>
</font><br></div></div>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>