<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:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"Microsoft Sans Serif";
        panose-1:2 11 6 4 2 2 2 2 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
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>Hi,<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>My first post to the list. I&#8217;m a bit of a newb to
FreeSwitch (and linux) so apologies if some of my terminology isn&#8217;t quite
correct.<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>Recently had a 9 channel ISDN30 (euro &#8211; q931)
installed by BT (UK). We&#8217;ve hooked it up to our FreeSwitch setup with a
Sangoma A101 card. Light on the card is green and wanrouter is installed and up
in TDM_API mode, with the connection status showing as connected. &nbsp;Configured
Openzap for 9 b and 1 d channel as described in Freeswitch Wiki. Then created a
diaplan to fire off any calls preceded by 9 to the next available openzap channel.
<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>The problem I have is when I initiate an external call
(using 9xxxxxxx) from an extension I can see Freeswitch allocating the call to
the next available channel but then the just sits there and times out after 1
minute. With the cause stated as ORIGINATOR_CANCEL (guessing this is the time out)<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>Here are the confs / dialplan as I have them:<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Microsoft Sans Serif","sans-serif"'>[span wanpipe]<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Microsoft Sans Serif","sans-serif"'>name =&gt; OpenZAP<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Microsoft Sans Serif","sans-serif"'>number =&gt; 1<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Microsoft Sans Serif","sans-serif"'>trunk_type =&gt; e1<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Microsoft Sans Serif","sans-serif"'>b-channel =&gt; 1:1-9<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Microsoft Sans Serif","sans-serif"'>d-channel =&gt; 1:16<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Microsoft Sans Serif","sans-serif"'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Microsoft Sans Serif","sans-serif"'>&lt;configuration
name=&quot;openzap.conf&quot; description=&quot;OpenZAP Configuration&quot;&gt;<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Microsoft Sans Serif","sans-serif"'>&nbsp; &lt;settings&gt;<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Microsoft Sans Serif","sans-serif"'>&nbsp;&nbsp;&nbsp; &lt;param
name=&quot;debug&quot; value=&quot;0&quot;/&gt;<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Microsoft Sans Serif","sans-serif"'>&nbsp;&nbsp;&nbsp;
&lt;!--&lt;param name=&quot;hold-music&quot;
value=&quot;$${moh_uri}&quot;/&gt;--&gt;<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Microsoft Sans Serif","sans-serif"'>&nbsp;&nbsp;&nbsp;
&lt;!--&lt;param name=&quot;enable-analog-option&quot;
value=&quot;call-swap&quot;/&gt;--&gt;<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Microsoft Sans Serif","sans-serif"'>&nbsp;&nbsp;&nbsp;
&lt;!--&lt;param name=&quot;enable-analog-option&quot;
value=&quot;3-way&quot;/&gt;--&gt;<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Microsoft Sans Serif","sans-serif"'>&nbsp; &lt;/settings&gt;<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Microsoft Sans Serif","sans-serif"'>&nbsp;&nbsp; &lt;pri_spans&gt;<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Microsoft Sans Serif","sans-serif"'>&nbsp;&nbsp;&nbsp;&nbsp;
&lt;span id=&quot;1&quot;&gt;<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Microsoft Sans Serif","sans-serif"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;param name=&quot;mode&quot; value=&quot;user&quot;/&gt;<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Microsoft Sans Serif","sans-serif"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;param name=&quot;dialect&quot; value=&quot;q931&quot;/&gt;<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Microsoft Sans Serif","sans-serif"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;param name=&quot;dialplan&quot; value=&quot;XML&quot;/&gt;<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Microsoft Sans Serif","sans-serif"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;param name=&quot;context&quot; value=&quot;default&quot;/&gt;<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Microsoft Sans Serif","sans-serif"'>&nbsp;&nbsp;&nbsp;&nbsp;
&lt;/span&gt;<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Microsoft Sans Serif","sans-serif"'>&nbsp;&nbsp;
&lt;/pri_spans&gt;<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Microsoft Sans Serif","sans-serif"'>&lt;/configuration&gt;<o:p></o:p></span></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Microsoft Sans Serif","sans-serif"'>&lt;include&gt;<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Microsoft Sans Serif","sans-serif"'>&lt;extension
name=&quot;outgoing-pri&quot;&gt;<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Microsoft Sans Serif","sans-serif"'>&lt;condition
field=&quot;destination_number&quot; expression=&quot;^9(\d{7,15})$&quot;&gt;<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Microsoft Sans Serif","sans-serif"'>&lt;action
application=&quot;bridge&quot; data=&quot;openzap/1/a/$1&quot;/&gt;<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Microsoft Sans Serif","sans-serif"'>&lt;/condition&gt;<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Microsoft Sans Serif","sans-serif"'>&lt;/extension&gt;<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Microsoft Sans Serif","sans-serif"'>&lt;/include&gt;<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Microsoft Sans Serif","sans-serif"'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal>Do the config files look ok? Is there anything else I should
be configuring? Is there anything else I can use to debug or get information on
the PRI status?<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>Thanks in advance.<o:p></o:p></p>

<p class=MsoNormal>Mark.<o:p></o:p></p>

</div>

<!--[object_id=#rnid-typetalk.org.uk#]--><FONT face=Tahoma>
<P align=left><FONT size=2><FONT color=#0000ff><FONT size=3><FONT color=#008000><FONT face=Webdings>P</FONT> Save paper - don't print this email unless you need to.</FONT></FONT></FONT></FONT><FONT size=2><FONT color=#0000ff> 
<HR>
</FONT></FONT><FONT color=#0000ff size=2>NOTICE from RNID Typetalk</FONT>
<P></P>
<P align=left></FONT><FONT face=Tahoma size=2><FONT color=#0000ff>This communication contains information which is confidential and may also be privileged. It is for the exclusive use of the addressee. </FONT></FONT></P>
<P align=left><FONT face=Tahoma size=2><FONT color=#0000ff>If you are not the addressee, please note that any distribution, dissemination, copying or use of this communication or the information in it is prohibited. If you have received this message in error, please notify the sender immediately at the above e-mail address and delete the information from your computer system. <BR>Please note that neither RNID nor the sender accepts any responsibility for viruses and it is your responsibility to scan the email and attachments (if any).<BR></P>
<HR>
<BR>
<P></P></FONT></FONT></body>

</html>