[Freeswitch-users] Need Help to setup freeswitch with sangoma card

Thangappan.M thangappan143 at gmail.com
Tue Jan 19 21:55:33 PST 2010


Dear all,

         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.

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

         Why the freeswitch is referring the span name as PRI_1 ?
         Whether this has to configured in anywhere?

         In the freeswitch CLI using oz command I tried to dump the PRI_1
span id but it said te error  as "PRI_1 is not found".  When I was trying
the command 'oz dump smg_prid'  all the channel states and details shown.

        It seems that smg_prid span configured in openzap perfectly (Its my
assumption). Then Why freeswitch is referring the span name as PRI_1.

DID I MAKE ANY MISTAKE OR DID I MISS ANYTHING TO DO?

Could anyone please help me?

REFERENCE:

openzap.conf
[span wanpipe smg_prid]
name => smg_prid
trunk_type =>e1
b-channel => 1:1-15
b-channel => 1:17-31


openzap.conf.xml
<configuration name="openzap.conf" description="OpenZAP Configuration">
  <settings>
    <param name="debug" value="0"/>
    <!--<param name="hold-music" value="$${moh_uri}"/>-->
    <!--<param name="enable-analog-option" value="call-swap"/>-->
    <!--<param name="enable-analog-option" value="3-way"/>-->
  </settings>
  <boost_spans>
        <span id="smg_prid">
        <!--<param name="hold-music" value="$${moh_uri}"/>-->
        <param name="dialplan" value="XML"/>
        <param name="context" value="default"/>
         <!-- regex to stop dialing when it matches -->
        <!--<param name="dial-regex" value="5555"/>-->
        <!-- regex to stop dialing when it does not match -->
        <!--<param name="fail-dial-regex" value="^5"/>-->
        </span>
 </boost_spans>
 <analog_spans>
 </analog_spans>
</configuration>






-- 
Regards,
Thangappan.M
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100120/d5f651a3/attachment.html 


More information about the FreeSWITCH-users mailing list