Re: [Freeswitch-users] OpenZap and Sangoma A500 BRI card

2009-03-10 Thread Sergey Kirillov

 I'm no BRI expert but it looks to me like your wanpipe is set up for
 E1/EuroISDN. Where did you get this setup information?
 -MC

It is autoconfigured by wancfg

___
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


Re: [Freeswitch-users] OpenZap and Sangoma A500 BRI card

2009-03-10 Thread Sergey Kirillov

Is there a development version that I can check now?

On Mon, Mar 9, 2009, Anthony MinessaleAnthony Minessale  wrote:
 it's not released yet,

 please wait for the announcement that it has been completed sometime in the
 next week or 2.


___
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


[Freeswitch-users] OpenZap and Sangoma A500 BRI card

2009-03-09 Thread Sergey Kirillov
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[1...@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:1...@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



___
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


Re: [Freeswitch-users] OpenZap and Sangoma A500 BRI card

2009-03-09 Thread Michael Collins
 [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


I'm no BRI expert but it looks to me like your wanpipe is set up for
E1/EuroISDN. Where did you get this setup information?
-MC

___
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


Re: [Freeswitch-users] OpenZap and Sangoma A500 BRI card

2009-03-09 Thread Anthony Minessale
it's not released yet,

please wait for the announcement that it has been completed sometime in the
next week or 2.


On Mon, Mar 9, 2009 at 1:41 PM, Sergey Kirillov
sergey.kiril...@gmail.comwrote:

 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[1...@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:1...@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



 ___
 Freeswitch-users mailing list
 Freeswitch-users@lists.freeswitch.org
 http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
 UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
 http://www.freeswitch.org




-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_miness...@hotmail.com msn%3aanthony_miness...@hotmail.com
GTALK/JABBER/PAYPAL:anthony.miness...@gmail.compaypal%3aanthony.miness...@gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:8...@conference.freeswitch.org sip%3a...@conference.freeswitch.org