[Freeswitch-users] OpenZap and Sangoma A500 BRI card

Sergey Kirillov sergey.kirillov at gmail.com
Fri Mar 6 05:03:08 PST 2009


Hi everybody,

I'm trying to use Sangoma A500 BRI card with OpenZap, but it does not work.

Can somebody help to to configure it?

Problem log (Incoming call):
2009-03-06 14:58:14 [WARNING] ozmod_wanpipe.c:953 wanpipe_next_event() 
Unhandled event 2
2009-03-06 14:58:14 [WARNING] ozmod_wanpipe.c:953 wanpipe_next_event() 
Unhandled event 2
2009-03-06 14:58:14 [WARNING] ozmod_wanpipe.c:953 wanpipe_next_event() 
Unhandled event 2
2009-03-06 14:58:14 [NOTICE] switch_channel.c:567 
switch_channel_set_name() New Channel OpenZAP/1:1/2360012 
[7473c92a-0a4e-11de-9dc3-c56d4d411902]
2009-03-06 14:58:14 [INFO] mod_dialplan_xml.c:233 dialplan_hunt() 
Processing 80503820933->2360012 in context default
2009-03-06 14:58:14 [NOTICE] switch_ivr.c:1343 
switch_ivr_session_transfer() Transfer OpenZAP/1:1/2360012 to 
XML[1000 at default]
2009-03-06 14:58:14 [INFO] mod_dialplan_xml.c:233 dialplan_hunt() 
Processing 80503820933->1000 in context default
2009-03-06 14:58:14 [INFO] switch_ivr_async.c:1730 
switch_ivr_bind_dtmf_meta_session() Bound B-Leg: 1 execute_extension::dx 
XML features
2009-03-06 14:58:14 [INFO] switch_ivr_async.c:1730 
switch_ivr_bind_dtmf_meta_session() Bound B-Leg: 2 
record_session::/opt/freeswitch/recordings/80503820933.2009-03-06-14-58-14.wav
2009-03-06 14:58:14 [INFO] switch_ivr_async.c:1730 
switch_ivr_bind_dtmf_meta_session() Bound B-Leg: 3 execute_extension::cf 
XML features
2009-03-06 14:58:14 [NOTICE] switch_channel.c:567 
switch_channel_set_name() New Channel 
sofia/internal/sip:1000 at 192.168.122.1:5061;transport=udp 
[748a2ba2-0a4e-11de-9dc3-c56d4d411902]
2009-03-06 14:58:14 [ERR] Span:0 Q.921() Received UA frame in invalid state
2009-03-06 14:58:14 [ERR] Span:0 Q.921() Received UA frame in invalid state
2009-03-06 14:58:14 [NOTICE] switch_ivr_originate.c:1588 
switch_ivr_originate() Pre-Answer OpenZAP/1:1/2360012!
2009-03-06 14:58:14 [ERR] Span:0 Q.921() Received UA frame in invalid state
2009-03-06 14:58:14 [CRIT] ozmod_isdn.c:964 zap_isdn_931_34() Received 
unhandled message 125 (0x7d)
2009-03-06 14:58:15 [CRIT] ozmod_isdn.c:964 zap_isdn_931_34() Received 
unhandled message 125 (0x7d)
2009-03-06 14:58:26 [NOTICE] Span:0 Q.921() I frame in invalid state ignored



Here are my config files

--- openzap.conf --
[span wanpipe BRI_1]
name => BRI_1
trunk_type => bri
b-channel => 1:1-2
d-channel => 1:3


--- 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>
<pri_spans>
<span name="BRI_1">
<!-- Log Levels: none, alert, crit, err, warning, notice, info, debug -->
<param name="q921loglevel" value="info"/>
<param name="q931loglevel" value="info"/>
<param name="mode" value="user"/>
<param name="dialect" value="q931"/>
<param name="dialplan" value="XML"/>
<param name="context" value="default"/>
</span>
</pri_spans>
</configuration>


--- wanpipe1.conf ---
[devices]
wanpipe1 = WAN_AFT_TE1, Comment

[interfaces]
wp1aft1 = wanpipe1, auto, API, Comment
wp1aft2 = wanpipe1, auto, API, Comment

[wanpipe1]
CARD_TYPE         = AFT
S514CPU           = A
CommPort          = PRI
AUTO_PCISLOT      = NO
PCISLOT           = 4
PCIBUS            = 5
FE_MEDIA          = E1
FE_LCODE          = HDB3
FE_FRAME          = CRC4
FE_LINE           = 1
TE_CLOCK          = NORMAL
TE_REF_CLOCK      = 0
TE_HIGHIMPEDANCE  = NO
TE_RX_SLEVEL      = 120
LBO               = 120OH
TE_SIG_MODE       = CCS
FE_TXTRISTATE     = NO
MTU               = 1500
UDPPORT           = 9000
TTL               = 255
IGNORE_FRONT_END  = NO
TDMV_HW_DTMF      = NO

[wp1aft1]
HDLC_STREAMING  = NO
ACTIVE_CH       = 1-15.17-31
IDLE_FLAG       = 0x7E
MTU             = 240
MRU             = 240
DATA_MUX        = NO
TDMV_HWEC       = NO

[wp1aft2]
HDLC_STREAMING  = YES
ACTIVE_CH       = 16
MTU             = 1500
MRU             = 1500
DATA_MUX        = NO
TDMV_HWEC       = NO






More information about the FreeSWITCH-users mailing list