I found the error in it. The file name is used as openzap.conf.xml ( smg_prid is specified here) and another file name as openzap.conf.wiki.xml ( PRI_1 span is specified here ). FreeSWITCH referred the PRI_1 span from openzap.conf.wiki.xml  file.<br>
<br>Now the another problem is raised here.<br>When I was using oz list command , the details of the smg_prid shown. When I was using &#39;oz dump smg_prid&#39; command it shows all the channels&#39; details. But all the channels&#39; states are DOWN. why? How can I make it the states to UP?<br>
<br>When I was making the call , the number is busy message was get. The call was not  at all landed to the freeswitch.<br><br>Dial plan Example:<br>-------------------------------<br> &lt;extension name=&quot;PRI_Testing&quot;&gt;<br>
        &lt;condition field=&quot;destination_number&quot; expression=&quot;^39114600$&quot;&gt;<br>                &lt;action application=&quot;playback&quot; data=&quot;ivr-welcome_to_freeswitch&quot;/&gt;<br>        &lt;/condition&gt;<br>
  &lt;/extension&gt;<br><br>Please help me...........<br><br><b>Output Reference:</b><br><a href="http://pastebin.org/79074">http://pastebin.org/79074</a><br><br><div class="gmail_quote">On Wed, Jan 20, 2010 at 11:25 AM, Thangappan.M <span dir="ltr">&lt;<a href="mailto:thangappan143@gmail.com">thangappan143@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Dear all,<br><br>         I have successfully configured wanpipe with freeswitch. When I was the running wancfg_fs script the following files openzap.conf , autoload_confg/openzap.conf.xml , /etc/wanpipe/wanpipe1.xml, smg_pri.conf are created.<br>

<br>         I started the wanrouter command then executed the freeswitch.<br>         When I was executing freeswitch mod_openzap.c said the error as  &quot;Error  for finding the span id. name:PRI_1&quot;.<br>         But in the openzap.conf and openzap.conf.xml files the span name is smg_prid.<br>

 <br>         Why the freeswitch is referring the span name as PRI_1 ?  <br>         Whether this has to configured in anywhere? <br><br>         In the freeswitch CLI using oz command I tried to dump the PRI_1 span id but it said te error  as &quot;PRI_1 is not found&quot;.  When I was trying the command &#39;oz dump smg_prid&#39;  all the channel states and details shown.<br>

 <br>        It seems that smg_prid span configured in openzap perfectly (Its my assumption). Then Why freeswitch is referring the span name as PRI_1. <br><br>DID I MAKE ANY MISTAKE OR DID I MISS ANYTHING TO DO?<br><br>Could anyone please help me?<br>

<br>REFERENCE:<br><br>openzap.conf <br>[span wanpipe smg_prid]<br>name =&gt; smg_prid<br>trunk_type =&gt;e1<br>b-channel =&gt; 1:1-15<br>b-channel =&gt; 1:17-31<br><br><br>openzap.conf.xml <br>&lt;configuration name=&quot;openzap.conf&quot; description=&quot;OpenZAP Configuration&quot;&gt;<br>

  &lt;settings&gt;<br>    &lt;param name=&quot;debug&quot; value=&quot;0&quot;/&gt;<br>    &lt;!--&lt;param name=&quot;hold-music&quot; value=&quot;$${moh_uri}&quot;/&gt;--&gt;<br>    &lt;!--&lt;param name=&quot;enable-analog-option&quot; value=&quot;call-swap&quot;/&gt;--&gt;<br>

    &lt;!--&lt;param name=&quot;enable-analog-option&quot; value=&quot;3-way&quot;/&gt;--&gt;<br>  &lt;/settings&gt;<br>  &lt;boost_spans&gt;<br>        &lt;span id=&quot;smg_prid&quot;&gt;<br>        &lt;!--&lt;param name=&quot;hold-music&quot; value=&quot;$${moh_uri}&quot;/&gt;--&gt;<br>

        &lt;param name=&quot;dialplan&quot; value=&quot;XML&quot;/&gt;<br>        &lt;param name=&quot;context&quot; value=&quot;default&quot;/&gt;<br>         &lt;!-- regex to stop dialing when it matches --&gt;<br>        &lt;!--&lt;param name=&quot;dial-regex&quot; value=&quot;5555&quot;/&gt;--&gt;<br>

        &lt;!-- regex to stop dialing when it does not match --&gt;<br>        &lt;!--&lt;param name=&quot;fail-dial-regex&quot; value=&quot;^5&quot;/&gt;--&gt;<br>        &lt;/span&gt;<br> &lt;/boost_spans&gt;<br> &lt;analog_spans&gt;<br>

 &lt;/analog_spans&gt;<br>&lt;/configuration&gt;<br><br><br><br>          <br><br clear="all"><br>-- <br>Regards,<br><font color="#888888">Thangappan.M<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Regards,<br>Thangappan.M<br>