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

Thangappan.M thangappan143 at gmail.com
Tue Jan 19 23:13:37 PST 2010


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.

Now the another problem is raised here.
When I was using oz list command , the details of the smg_prid shown. When I
was using 'oz dump smg_prid' command it shows all the channels' details. But
all the channels' states are DOWN. why? How can I make it the states to UP?

When I was making the call , the number is busy message was get. The call
was not  at all landed to the freeswitch.

Dial plan Example:
-------------------------------
 <extension name="PRI_Testing">
        <condition field="destination_number" expression="^39114600$">
                <action application="playback"
data="ivr-welcome_to_freeswitch"/>
        </condition>
  </extension>

Please help me...........

*Output Reference:*
http://pastebin.org/79074

On Wed, Jan 20, 2010 at 11:25 AM, Thangappan.M <thangappan143 at gmail.com>wrote:

> 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
>



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


More information about the FreeSWITCH-users mailing list