[Freeswitch-users] Sangoma 108 and libpri problems - only distortion sound

Peter P GMX Prometheus001 at gmx.net
Wed Jul 8 08:50:36 PDT 2009


Hello,

I installed a Sangoma A108 with openzap and libpri. Signalling (E1)
works sometimes (inbound and outbound calls are connected) but not always.
Sound is just distortion but connection is stable.

2 questions:
1) What is the best way to go with Sangoma? OpenZAP with libpri or
without libpri? (I remember there are some timer problems in openzap
when not using libpri but this might have changed) However Sangoma
recommends OpenZAP on their wiki.
2) What might cause the distortion? I crosschecked the config files and
had a look at the interrupts (<2k/sec). Seems to be ok. ACPI and APIC is
turned on.

Freeswitch starts successfully with all the channels enabled. "oz dump"
shows D-Channel up.
"oz libpri debug 1 all" shows debugging messages with no special warnings.


Best regards
Peter

Some confs for 1 Channel:

Wanpipe1.conf
[devices]
wanpipe1 = WAN_AFT_TE1, Comment

[interfaces]
w1g1 = wanpipe1, , TDM_VOICE_API, Comment

[wanpipe1]
CARD_TYPE       = AFT
S514CPU         = A
CommPort        = PRI
AUTO_PCISLOT    = NO
PCISLOT         = 4
PCIBUS          = 11
FE_MEDIA        = E1
FE_LCODE        = HDB3
FE_FRAME        = CRC4
FE_LINE         = 1
TE_CLOCK        = NORMAL
TE_REF_CLOCK    = 0
TE_SIG_MODE     = CCS
TE_HIGHIMPEDANCE        = NO
LBO             = 120OH
FE_TXTRISTATE   = NO
MTU             = 1500
UDPPORT         = 9000
TTL             = 255
IGNORE_FRONT_END = NO
TDMV_SPAN       = 1
TDMV_DCHAN      = 16
TDMV_HW_DTMF    = YES
TDMV_HW_FAX_DETECT = YES
[w1g1]
ACTIVE_CH       = ALL
TDMV_HWEC       = YES
MTU             = 80

openzap.conf
[span wanpipe PRI_1]
name => OpenZAP
number => 1
trunk_type => e1
b-channel => 1:1-15
d-channel => 1:16
b-channel => 1:17-31

openzap.conf.xml
<configuration name="openzap.conf" description="OpenZAP Configuration">
  <settings>
    <param name="debug" value="1"/>
    <param name="hold-music" value="$${moh_uri}"/>
    <!--<param name="enable-analog-option" value="call-swap"/>-->
    <!--<param name="enable-analog-option" value="3-way"/>-->
  </settings>
   <libpri_spans>
     <span id="1" name="PRI_1">
       <param name="node" value="cpe"/>
       <param name="switch" value="euroisdn"/>
       <param name="dialplan" value="XML"/>
       <param name="context" value="default"/>
       <param name="q921loglevel" value="debug"/>
       <param name="q931loglevel" value="debug"/>
       <param name="dialect" value="q931"/>
       <param name="l1" value="alaw"/>
     </span>
   </libpri_spans>
</configuration>







More information about the FreeSWITCH-users mailing list