[Freeswitch-users] Openzap rxgain and txgain not working well

sdemers@q4innovation.com q4innovation at gmail.com
Wed Sep 22 09:03:21 PDT 2010


Hi everyone,

I notice that the rxgain and txgain in the openzap.conf is not working for
the first span (span 1)

Is it an issue?
Here is the result of my investigation.

Configuration:

Latest Freeswitch (September 9, 2010)
WANPIPE Release: 3.5.15 without smg_pri
Sangoma A108 with Echo cancellation enabled.

Wanpipe and libpri.


In the following openzap.conf, the telus2 got the gains but not telus1
The logs indicate that both got the configuration correctly... But the
recording session demonstrate that they don't...

[span wanpipe telus1]
trunk_type => T1
b-channel => 1:1-23
d-channel => 1:24
rxgain => 11.0
txgain => 7.0

[span wanpipe telus2]
trunk_type => T1
b-channel => 2:1-23
d-channel => 2:24
rxgain => 11.0
txgain => 7.0

WORKAROUND:

Then I maid a dummy span at the top of these two configs...
Yes the dummy span doesn't exists, in fact there is no T1 connected to it.
 I got some opening error, but I got the gains on both span now...

ex:

[span wanpipe dummy]
trunk_type => T1
b-channel => 3:1-23
d-channel => 3:24
rxgain => 11.0
txgain => 7.0

[span wanpipe telus1]
trunk_type => T1
b-channel => 1:1-23
d-channel => 1:24
rxgain => 11.0
txgain => 7.0

[span wanpipe telus2]
trunk_type => T1
b-channel => 2:1-23
d-channel => 2:24
rxgain => 11.0
txgain => 7.0

-------------------------------

Openzap.xml.conf Libpri configuration

   <libpri_spans>
     <span name="telus1">
        <param name="q921loglevel" value="alert"/>
        <param name="q931loglevel" value="alert"/>
        <param name="node" value="user"/>
        <param name="switch" value="ni2"/>
        <param name="dialplan" value="XML"/>
        <param name="context" value="public"/>
     </span>
     <span name="telus2">
        <param name="q921loglevel" value="alert"/>
        <param name="q931loglevel" value="alert"/>
        <param name="node" value="user"/>
        <param name="switch" value="ni2"/>
        <param name="dialplan" value="XML"/>
        <param name="context" value="public"/>
    </span>
   </libpri_spans>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100922/8b3ce735/attachment.html 


More information about the FreeSWITCH-users mailing list