Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] OpenZap and Sangoma A500 BRI card


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
sergey.kirillov at gma...
Guest





PostPosted: Fri Mar 06, 2009 8:09 am    Post subject: [Freeswitch-users] OpenZap and Sangoma A500 BRI card Reply with quote

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@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@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
Back to top
sergey.kirillov at gma...
Guest





PostPosted: Mon Mar 09, 2009 1:54 pm    Post subject: [Freeswitch-users] OpenZap and Sangoma A500 BRI card Reply with quote

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@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@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
Back to top
msc at freeswitch.org
Guest





PostPosted: Mon Mar 09, 2009 2:29 pm    Post subject: [Freeswitch-users] OpenZap and Sangoma A500 BRI card Reply with quote

Quote:
[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
Back to top
anthony.minessale at g...
Guest





PostPosted: Mon Mar 09, 2009 2:33 pm    Post subject: [Freeswitch-users] OpenZap and Sangoma A500 BRI card Reply with quote

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.kirillov@gmail.com (sergey.kirillov@gmail.com)> wrote:
Quote:
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@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@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 (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_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400
Back to top
sergey.kirillov at gma...
Guest





PostPosted: Tue Mar 10, 2009 3:01 am    Post subject: [Freeswitch-users] OpenZap and Sangoma A500 BRI card Reply with quote

Is there a development version that I can check now?

On Mon, Mar 9, 2009, Anthony Minessale<Anthony Minessale> wrote:
Quote:
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
Back to top
sergey.kirillov at gma...
Guest





PostPosted: Tue Mar 10, 2009 3:03 am    Post subject: [Freeswitch-users] OpenZap and Sangoma A500 BRI card Reply with quote

Quote:

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
Back to top
anthony.minessale at g...
Guest





PostPosted: Tue Mar 10, 2009 8:30 am    Post subject: [Freeswitch-users] OpenZap and Sangoma A500 BRI card Reply with quote

As I have already stated, it will be added to SVN as soon as it's complete.


On Tue, Mar 10, 2009 at 2:48 AM, Sergey Kirillov <sergey.kirillov@gmail.com (sergey.kirillov@gmail.com)> wrote:
Quote:
>
Quote:
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 (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_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services