Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

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

[Freeswitch-users] openzap Failure opening channel error

Goto page 1, 2  Next
 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
lakindia89 at gmail.com
Guest





PostPosted: Wed Oct 07, 2009 5:44 am    Post subject: [Freeswitch-users] openzap Failure opening channel error Reply with quote

Hi,
Again I was struck in a problem, Here is the scenario.

On incomming call, I just call an event outboud socket. But what happens is, for the first 15 call, it is working fine. But from the 16th call to 30th call, it says the below error.

2009-10-07 15:07:48.201846 [WARNING] ozmod_libpri.c:761 --Failure opening channel 1:17 (ignored)
2009-10-07 15:07:55.381861 [WARNING] ozmod_libpri.c:761 --Failure opening channel 1:18 (ignored)
2009-10-07 15:07:58.569774 [WARNING] ozmod_libpri.c:761 --Failure opening channel 1:19 (ignored)
2009-10-07 15:08:01.37824 [WARNING] ozmod_libpri.c:761 --Failure opening channel 1:20 (ignored)
2009-10-07 15:08:03.129846 [WARNING] ozmod_libpri.c:761 --Failure opening channel 1:21 (ignored)
2009-10-07 15:08:04.825851 [WARNING] ozmod_libpri.c:761 --Failure opening channel 1:22 (ignored)
2009-10-07 15:08:06.289977 [WARNING] ozmod_libpri.c:761 --Failure opening channel 1:23 (ignored)
2009-10-07 15:08:07.761961 [WARNING] ozmod_libpri.c:761 --Failure opening channel 1:24 (ignored)
2009-10-07 15:08:09.737944 [WARNING] ozmod_libpri.c:761 --Failure opening channel 1:25 (ignored)
2009-10-07 15:08:11.462018 [WARNING] ozmod_libpri.c:761 --Failure opening channel 1:26 (ignored)
2009-10-07 15:08:13.566024 [WARNING] ozmod_libpri.c:761 --Failure opening channel 1:27 (ignored)
2009-10-07 15:08:15.430163 [WARNING] ozmod_libpri.c:761 --Failure opening channel 1:28 (ignored)
2009-10-07 15:08:17.446103 [WARNING] ozmod_libpri.c:761 --Failure opening channel 1:29 (ignored)
2009-10-07 15:08:19.430118 [WARNING] ozmod_libpri.c:761 --Failure opening channel 1:30 (ignored)
2009-10-07 15:08:21.358121 [WARNING] ozmod_libpri.c:761 --Failure opening channel 1:31 (ignored)


But for the next call, when it is opening channel 1:1, it is executing my dial plans.
I don't know why it failed when it is choosing 1:17-1:31. Any one has any idea.

Below are my configuration details:

openzap.conf
[span zt PRI_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="7"/>
        </settings>
        <libpri_spans>
                <span name="PRI_1">
                        <param name="node" value="cpe"/>
                        <param name="switch" value="euroisdn"/>
                        <param name="dialplan" value="XML"/>
                        <param name="context" value="default"/>
                </span>
        </libpri_spans>
</configuration>

zaptel.conf

span=1,1,0,ccs,hdb3
bchan=1-15,17-31
dchan=16

loadzone        = us
defaultzone     = us

oz list

span: 1 (PRI_1)
type: isdn
chan_count: 47
dialplan: XML
context: default
dial_regex:
fail_dial_regex:
hold_music:
analog_options none
Back to top
Russell.Mosemann at cu...
Guest





PostPosted: Wed Oct 07, 2009 7:13 am    Post subject: [Freeswitch-users] openzap Failure opening channel error Reply with quote

lakshmanan ganapathy <lakindia89@gmail.com> said:

Quote:
On incomming call, I just call an event outboud socket. But what
happens is,
Quote:
for the first 15 call, it is working fine. But from the 16th call to 30th
call, it says the below error.

What is displayed with

ztcfg -vv

What is displayed with

cat /proc/zaptel/1

--
Russell Mosemann



________________________________________________________
Concordia University, Nebraska
See http://www.cune.edu/ for the latest news and events!


_______________________________________________
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
lakindia89 at gmail.com
Guest





PostPosted: Wed Oct 07, 2009 7:22 am    Post subject: [Freeswitch-users] openzap Failure opening channel error Reply with quote

[debian :~]# ztcfg -vvv
Zaptel Version: 1.4.11
Echo Canceller: MG2
Configuration
======================

SPAN 1: CCS/HDB3 Build-out: 0 db (CSU)/0-133 feet (DSX-1)

Channel map:

Channel 01: Clear channel (Default) (Slaves: 01)
Channel 02: Clear channel (Default) (Slaves: 02)
Channel 03: Clear channel (Default) (Slaves: 03)
Channel 04: Clear channel (Default) (Slaves: 04)
Channel 05: Clear channel (Default) (Slaves: 05)
Channel 06: Clear channel (Default) (Slaves: 06)
Channel 07: Clear channel (Default) (Slaves: 07)
Channel 08: Clear channel (Default) (Slaves: 0Cool
Channel 09: Clear channel (Default) (Slaves: 09)
Channel 10: Clear channel (Default) (Slaves: 10)
Channel 11: Clear channel (Default) (Slaves: 11)
Channel 12: Clear channel (Default) (Slaves: 12)
Channel 13: Clear channel (Default) (Slaves: 13)
Channel 14: Clear channel (Default) (Slaves: 14)
Channel 15: Clear channel (Default) (Slaves: 15)
Channel 16: D-channel (Default) (Slaves: 16)
Channel 17: Clear channel (Default) (Slaves: 17)
Channel 18: Clear channel (Default) (Slaves: 1Cool
Channel 19: Clear channel (Default) (Slaves: 19)
Channel 20: Clear channel (Default) (Slaves: 20)
Channel 21: Clear channel (Default) (Slaves: 21)
Channel 22: Clear channel (Default) (Slaves: 22)
Channel 23: Clear channel (Default) (Slaves: 23)
Channel 24: Clear channel (Default) (Slaves: 24)
Channel 25: Clear channel (Default) (Slaves: 25)
Channel 26: Clear channel (Default) (Slaves: 26)
Channel 27: Clear channel (Default) (Slaves: 27)
Channel 28: Clear channel (Default) (Slaves: 2Cool
Channel 29: Clear channel (Default) (Slaves: 29)
Channel 30: Clear channel (Default) (Slaves: 30)
Channel 31: Clear channel (Default) (Slaves: 31)

31 channels to configure.

[debian :~]# cat /proc/zaptel/1
+ cat /proc/zaptel/1
Span 1: TE2/0/1 "T2XXP (PCI) Card 0 Span 1" (MASTER) HDB3/CCS ClockSource
        Timing slips: 1

        1 TE2/0/1/1 Clear
        2 TE2/0/1/2 Clear
        3 TE2/0/1/3 Clear
        4 TE2/0/1/4 Clear
        5 TE2/0/1/5 Clear
        6 TE2/0/1/6 Clear
        7 TE2/0/1/7 Clear
        8 TE2/0/1/8 Clear
        9 TE2/0/1/9 Clear
        10 TE2/0/1/10 Clear
        11 TE2/0/1/11 Clear
        12 TE2/0/1/12 Clear
        13 TE2/0/1/13 Clear
        14 TE2/0/1/14 Clear
        15 TE2/0/1/15 Clear
        16 TE2/0/1/16 HDLCFCS
        17 TE2/0/1/17 Clear
        18 TE2/0/1/18 Clear
        19 TE2/0/1/19 Clear
        20 TE2/0/1/20 Clear
        21 TE2/0/1/21 Clear
        22 TE2/0/1/22 Clear
        23 TE2/0/1/23 Clear
        24 TE2/0/1/24 Clear
        25 TE2/0/1/25 Clear
        26 TE2/0/1/26 Clear
        27 TE2/0/1/27 Clear
        28 TE2/0/1/28 Clear
        29 TE2/0/1/29 Clear
        30 TE2/0/1/30 Clear
        31 TE2/0/1/31 Clear


On Wed, Oct 7, 2009 at 5:29 PM, <Russell.Mosemann@cune.org (Russell.Mosemann@cune.org)> wrote:
Quote:
lakshmanan ganapathy <lakindia89@gmail.com (lakindia89@gmail.com)> said:

Quote:
On incomming call, I just call an event outboud socket. But what
happens is,
Quote:
for the first 15 call, it is working fine. But from the 16th call to 30th
call, it says the below error.


What is displayed with

 ztcfg -vv

What is displayed with

 cat /proc/zaptel/1

--
Russell Mosemann



________________________________________________________
Concordia University, Nebraska
See http://www.cune.edu/ for the latest news and events!


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





PostPosted: Wed Oct 07, 2009 11:04 am    Post subject: [Freeswitch-users] openzap Failure opening channel error Reply with quote

On Wed, Oct 7, 2009 at 3:34 AM, lakshmanan ganapathy <lakindia89@gmail.com (lakindia89@gmail.com)> wrote:
Quote:
Hi,
Again I was struck in a problem, Here is the scenario.

On incomming call, I just call an event outboud socket. But what happens is, for the first 15 call, it is working fine. But from the 16th call to 30th call, it says the below error.

2009-10-07 15:07:48.201846 [WARNING] ozmod_libpri.c:761 --Failure opening channel 1:17 (ignored)
2009-10-07 15:07:55.381861 [WARNING] ozmod_libpri.c:761 --Failure opening channel 1:18 (ignored)
2009-10-07 15:07:58.569774 [WARNING] ozmod_libpri.c:761 --Failure opening channel 1:19 (ignored)
2009-10-07 15:08:01.37824 [WARNING] ozmod_libpri.c:761 --Failure opening channel 1:20 (ignored)
2009-10-07 15:08:03.129846 [WARNING] ozmod_libpri.c:761 --Failure opening channel 1:21 (ignored)
2009-10-07 15:08:04.825851 [WARNING] ozmod_libpri.c:761 --Failure opening channel 1:22 (ignored)
2009-10-07 15:08:06.289977 [WARNING] ozmod_libpri.c:761 --Failure opening channel 1:23 (ignored)
2009-10-07 15:08:07.761961 [WARNING] ozmod_libpri.c:761 --Failure opening channel 1:24 (ignored)
2009-10-07 15:08:09.737944 [WARNING] ozmod_libpri.c:761 --Failure opening channel 1:25 (ignored)
2009-10-07 15:08:11.462018 [WARNING] ozmod_libpri.c:761 --Failure opening channel 1:26 (ignored)
2009-10-07 15:08:13.566024 [WARNING] ozmod_libpri.c:761 --Failure opening channel 1:27 (ignored)
2009-10-07 15:08:15.430163 [WARNING] ozmod_libpri.c:761 --Failure opening channel 1:28 (ignored)
2009-10-07 15:08:17.446103 [WARNING] ozmod_libpri.c:761 --Failure opening channel 1:29 (ignored)
2009-10-07 15:08:19.430118 [WARNING] ozmod_libpri.c:761 --Failure opening channel 1:30 (ignored)
2009-10-07 15:08:21.358121 [WARNING] ozmod_libpri.c:761 --Failure opening channel 1:31 (ignored)


But for the next call, when it is opening channel 1:1, it is executing my dial plans.
I don't know why it failed when it is choosing 1:17-1:31. Any one has any idea.

Below are my configuration details:

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

Just a hunch, but could you try this in openzap.conf:
b-channel => 1:1-15,17-31
d-channel => 1:16

I want to see what happens. I don't have an E1 setup to test with right now otherwise I'd do it myself. Please report back. Thanks,
MC
 

Quote:

openzap.conf.xml
<configuration name="openzap.conf" description="OpenZAP Configuration">
        <settings>
                <param name="debug" value="7"/>
        </settings>
        <libpri_spans>
                <span name="PRI_1">
                        <param name="node" value="cpe"/>
                        <param name="switch" value="euroisdn"/>
                        <param name="dialplan" value="XML"/>
                        <param name="context" value="default"/>
                </span>
        </libpri_spans>
</configuration>

zaptel.conf

span=1,1,0,ccs,hdb3
bchan=1-15,17-31
dchan=16

loadzone        = us
defaultzone     = us

oz list

span: 1 (PRI_1)
type: isdn
chan_count: 47
dialplan: XML
context: default
dial_regex:
fail_dial_regex:
hold_music:
analog_options none


_______________________________________________
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

Back to top
lakindia89 at gmail.com
Guest





PostPosted: Thu Oct 08, 2009 4:56 am    Post subject: [Freeswitch-users] openzap Failure opening channel error Reply with quote

Hi I tried with the following openzap.conf
[span zt PRI_1]
trunk_type => e1
b-channel => 1:1-15,17-31
d-channel => 1:16
 
openzap.conf.xml
<configuration name="openzap.conf" description="OpenZAP Configuration">
        <settings>
                <param name="debug" value="7"/>
        </settings>
        <libpri_spans>
                <span name="PRI_1">
                        <param name="node" value="cpe"/>
                        <param name="switch" value="euroisdn"/>
                        <param name="dialplan" value="XML"/>
                        <param name="context" value="default"/>
                </span>
        </libpri_spans>
</configuration>

But as soon as I start the freeswitch I got the following error

2009-10-08 15:08:35.496270 [DEBUG] ozmod_libpri.c:885 Event Failure! 1
2009-10-08 15:08:37.601135 [DEBUG] ozmod_libpri.c:817 EVENT [ONHOOK][1][1:1] STATE [DOWN]
2009-10-08 15:08:37.701176 [DEBUG] ozmod_libpri.c:885 Event Failure! 1
2009-10-08 15:08:39.802004 [DEBUG] ozmod_libpri.c:817 EVENT [DTMF][0][1:1] STATE [DOWN]
2009-10-08 15:08:39.902034 [DEBUG] ozmod_libpri.c:885 Event Failure! 1
2009-10-08 15:08:42.010983 [DEBUG] ozmod_libpri.c:885 Event Failure! 1
2009-10-08 15:08:44.115874 [DEBUG] ozmod_libpri.c:817 EVENT [ONHOOK][1][1:1] STATE [DOWN]
2009-10-08 15:08:44.215915 [DEBUG] ozmod_libpri.c:885 Event Failure! 1
2009-10-08 15:08:46.312748 [DEBUG] ozmod_libpri.c:885 Event Failure! 1
2009-10-08 15:08:48.417552 [DEBUG] ozmod_libpri.c:817 EVENT [DTMF][0][1:1] STATE [DOWN]
2009-10-08 15:08:48.517587 [DEBUG] ozmod_libpri.c:885 Event Failure! 1
2009-10-08 15:08:50.626485 [DEBUG] ozmod_libpri.c:885 Event Failure! 1
2009-10-08 15:08:52.735325 [DEBUG] ozmod_libpri.c:817 EVENT [ONHOOK][1][1:1] STATE [DOWN]
2009-10-08 15:08:52.835357 [DEBUG] ozmod_libpri.c:885 Event Failure! 1
2009-10-08 15:08:54.944190 [DEBUG] ozmod_libpri.c:885 Event Failure! 1
2009-10-08 15:08:57.049109 [DEBUG] ozmod_libpri.c:817 EVENT [DTMF][0][1:1] STATE [DOWN]
2009-10-08 15:08:57.149148 [DEBUG] ozmod_libpri.c:885 Event Failure! 1
2009-10-08 15:08:59.253979 [DEBUG] ozmod_libpri.c:885 Event Failure! 1

I also got the below error in the middle

2009-10-08 15:09:48.992613 [CRIT] lpwrap_pri.c:154 span 1 D-WRITE FAIL! []
2009-10-08 15:09:48.992613 [ERR] ozmod_libpri.c:88 Short write: -1/5 (Invalid or incomplete multibyte or wide character)

Please help.

On Wed, Oct 7, 2009 at 9:19 PM, Michael Collins <msc@freeswitch.org (msc@freeswitch.org)> wrote:
Quote:



On Wed, Oct 7, 2009 at 3:34 AM, lakshmanan ganapathy <lakindia89@gmail.com (lakindia89@gmail.com)> wrote:
Quote:
Hi,
Again I was struck in a problem, Here is the scenario.

On incomming call, I just call an event outboud socket. But what happens is, for the first 15 call, it is working fine. But from the 16th call to 30th call, it says the below error.

2009-10-07 15:07:48.201846 [WARNING] ozmod_libpri.c:761 --Failure opening channel 1:17 (ignored)
2009-10-07 15:07:55.381861 [WARNING] ozmod_libpri.c:761 --Failure opening channel 1:18 (ignored)
2009-10-07 15:07:58.569774 [WARNING] ozmod_libpri.c:761 --Failure opening channel 1:19 (ignored)
2009-10-07 15:08:01.37824 [WARNING] ozmod_libpri.c:761 --Failure opening channel 1:20 (ignored)
2009-10-07 15:08:03.129846 [WARNING] ozmod_libpri.c:761 --Failure opening channel 1:21 (ignored)
2009-10-07 15:08:04.825851 [WARNING] ozmod_libpri.c:761 --Failure opening channel 1:22 (ignored)
2009-10-07 15:08:06.289977 [WARNING] ozmod_libpri.c:761 --Failure opening channel 1:23 (ignored)
2009-10-07 15:08:07.761961 [WARNING] ozmod_libpri.c:761 --Failure opening channel 1:24 (ignored)
2009-10-07 15:08:09.737944 [WARNING] ozmod_libpri.c:761 --Failure opening channel 1:25 (ignored)
2009-10-07 15:08:11.462018 [WARNING] ozmod_libpri.c:761 --Failure opening channel 1:26 (ignored)
2009-10-07 15:08:13.566024 [WARNING] ozmod_libpri.c:761 --Failure opening channel 1:27 (ignored)
2009-10-07 15:08:15.430163 [WARNING] ozmod_libpri.c:761 --Failure opening channel 1:28 (ignored)
2009-10-07 15:08:17.446103 [WARNING] ozmod_libpri.c:761 --Failure opening channel 1:29 (ignored)
2009-10-07 15:08:19.430118 [WARNING] ozmod_libpri.c:761 --Failure opening channel 1:30 (ignored)
2009-10-07 15:08:21.358121 [WARNING] ozmod_libpri.c:761 --Failure opening channel 1:31 (ignored)


But for the next call, when it is opening channel 1:1, it is executing my dial plans.
I don't know why it failed when it is choosing 1:17-1:31. Any one has any idea.

Below are my configuration details:

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



Just a hunch, but could you try this in openzap.conf:
b-channel => 1:1-15,17-31
d-channel => 1:16

I want to see what happens. I don't have an E1 setup to test with right now otherwise I'd do it myself. Please report back. Thanks,
MC
 

Quote:


openzap.conf.xml
<configuration name="openzap.conf" description="OpenZAP Configuration">
        <settings>
                <param name="debug" value="7"/>
        </settings>
        <libpri_spans>
                <span name="PRI_1">
                        <param name="node" value="cpe"/>
                        <param name="switch" value="euroisdn"/>
                        <param name="dialplan" value="XML"/>
                        <param name="context" value="default"/>
                </span>
        </libpri_spans>
</configuration>

zaptel.conf

span=1,1,0,ccs,hdb3
bchan=1-15,17-31
dchan=16

loadzone        = us
defaultzone     = us

oz list

span: 1 (PRI_1)
type: isdn
chan_count: 47
dialplan: XML
context: default
dial_regex:
fail_dial_regex:
hold_music:
analog_options none




_______________________________________________
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





_______________________________________________
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

Back to top
moises.silva at gmail.com
Guest





PostPosted: Thu Oct 08, 2009 10:17 am    Post subject: [Freeswitch-users] openzap Failure opening channel error Reply with quote

On Thu, Oct 8, 2009 at 5:41 AM, lakshmanan ganapathy <lakindia89@gmail.com (lakindia89@gmail.com)> wrote:
Quote:
Hi I tried with the following openzap.conf
[span zt PRI_1]
trunk_type => e1
b-channel => 1:1-15,17-31
d-channel => 1:16


This does not look like a healthy config to me. You are using <span>:<channels> notation in zaptel spans, zaptel channels increment across spans, read point number 5 of this web page http://wiki.freeswitch.org/wiki/OpenZAP_OpenR2 , this is for another type of signaling, but the span/channel numbering concepts are the same.



--
Moises Silva
Software Developer
Sangoma Technologies Inc. | 50 McIntosh Drive, Suite 120, Markham ON L3R 9T3 Canada
t. 1 905 474 1990 x 128 | e. moy@sangoma.com (moy@sangoma.com)
Back to top
msc at freeswitch.org
Guest





PostPosted: Thu Oct 08, 2009 12:02 pm    Post subject: [Freeswitch-users] openzap Failure opening channel error Reply with quote

On Thu, Oct 8, 2009 at 8:02 AM, Moises Silva <moises.silva@gmail.com (moises.silva@gmail.com)> wrote:
Quote:
On Thu, Oct 8, 2009 at 5:41 AM, lakshmanan ganapathy <lakindia89@gmail.com (lakindia89@gmail.com)> wrote:
Quote:
Hi I tried with the following openzap.conf
[span zt PRI_1]
trunk_type => e1
b-channel => 1:1-15,17-31
d-channel => 1:16



This does not look like a healthy config to me. You are using <span>:<channels> notation in zaptel spans, zaptel channels increment across spans, read point number 5 of this web page http://wiki.freeswitch.org/wiki/OpenZAP_OpenR2 , this is for another type of signaling, but the span/channel numbering concepts are the same.




Moy,

As usual you are right on the money. I'm so used to doing Sangoma configs that I forget about the zaptel syntax. I recommend this config:

[span zt PRI_1]
trunk_type => e1
b-channel => 1-15
d-channel => 16
b-channel => 17-31


Give that a try and report back if you have issues.
-MC

Quote:


--
Moises Silva
Software Developer
Sangoma Technologies Inc. | 50 McIntosh Drive, Suite 120, Markham ON L3R 9T3 Canada
t. 1 905 474 1990 x 128 | e. moy@sangoma.com (moy@sangoma.com)

_______________________________________________
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

Back to top
lakindia89 at gmail.com
Guest





PostPosted: Fri Oct 09, 2009 6:17 am    Post subject: [Freeswitch-users] openzap Failure opening channel error Reply with quote

Thanks all u guys. It got worked when I replaced with the following configuration and the incoming has no problem with that.
[span zt PRI_1]
trunk_type => e1
b-channel => 1-15
d-channel => 16
b-channel => 17-31

But still I'm facing problem with the outgoing call. It says INVALID_IE_CONTENTS.
What might be the issue? Even I tried the following dialplan to call by using bridge.
<extension name="outgoing-fxo">
                  <condition field="destination_number" expression="^(\d{10})$">
                          <action application="answer"/>
                          <action application="bridge" data="openzap/1/1/${dialed_ext}"/>
                  </condition>
          </extension>
But it prints the same error.
What might be the issue?


On Thu, Oct 8, 2009 at 10:24 PM, Michael Collins <msc@freeswitch.org (msc@freeswitch.org)> wrote:
Quote:


On Thu, Oct 8, 2009 at 8:02 AM, Moises Silva <moises.silva@gmail.com (moises.silva@gmail.com)> wrote:
Quote:
On Thu, Oct 8, 2009 at 5:41 AM, lakshmanan ganapathy <lakindia89@gmail.com (lakindia89@gmail.com)> wrote:
Quote:
Hi I tried with the following openzap.conf
[span zt PRI_1]
trunk_type => e1
b-channel => 1:1-15,17-31
d-channel => 1:16



This does not look like a healthy config to me. You are using <span>:<channels> notation in zaptel spans, zaptel channels increment across spans, read point number 5 of this web page http://wiki.freeswitch.org/wiki/OpenZAP_OpenR2 , this is for another type of signaling, but the span/channel numbering concepts are the same.





Moy,

As usual you are right on the money. I'm so used to doing Sangoma configs that I forget about the zaptel syntax. I recommend this config:

[span zt PRI_1]
trunk_type => e1

b-channel => 1-15
d-channel => 16
b-channel => 17-31


Give that a try and report back if you have issues.
-MC

Quote:


--
Moises Silva
Software Developer
Sangoma Technologies Inc. | 50 McIntosh Drive, Suite 120, Markham ON L3R 9T3 Canada
t. 1 905 474 1990 x 128 | e. moy@sangoma.com (moy@sangoma.com)


_______________________________________________
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





_______________________________________________
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

Back to top
Russell.Mosemann at cu...
Guest





PostPosted: Fri Oct 09, 2009 7:44 am    Post subject: [Freeswitch-users] openzap Failure opening channel error Reply with quote

lakshmanan ganapathy <lakindia89@gmail.com> said:

Quote:
But still I'm facing problem with the outgoing call. It says
INVALID_IE_CONTENTS.
What might be the issue? Even I tried the following dialplan to call by
using bridge.
<extension name="outgoing-fxo">
<condition field="destination_number"
expression="^(\d{10})$">
<action application="answer"/>
<action application="bridge"
data="openzap/1/1/${dialed_ext}"/>

Does "answer" need to be called here? I haven't used an fxo. So, I don't
know. What value does $dialed_ext have? If you want to use the number
matched in the condition, then it should be

openzap/1/1/$1

--
Russell Mosemann



________________________________________________________
Concordia University, Nebraska
See http://www.cune.edu/ for the latest news and events!


_______________________________________________
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
lakindia89 at gmail.com
Guest





PostPosted: Sat Oct 10, 2009 8:55 am    Post subject: [Freeswitch-users] openzap Failure opening channel error Reply with quote

Hi,
I've tried with the following dialplan(After making the changes that are recommended). But still I got INVALID_IE_CONTENTS error.

Another thing is, if I use prispan configuration, I'm able to make outgoing calls.
But if I use the libpri span configuration I'm not able to make outgoing calls, which says INVALID_IE_CONTENTS.

I've been struck with this problem for the past 1 week.
Any solution to this???


On Fri, Oct 9, 2009 at 6:06 PM, <Russell.Mosemann@cune.org (Russell.Mosemann@cune.org)> wrote:
Quote:
lakshmanan ganapathy <lakindia89@gmail.com (lakindia89@gmail.com)> said:

Quote:
But still I'm facing problem with the outgoing call. It says
INVALID_IE_CONTENTS.
What might be the issue? Even I tried the following dialplan to call by
using bridge.
<extension name="outgoing-fxo">
                  <condition field="destination_number"
expression="^(\d{10})$">
                          <action application="answer"/>
                          <action application="bridge"
data="openzap/1/1/${dialed_ext}"/>


Does "answer" need to be called here? I haven't used an fxo. So, I don't
know. What value does $dialed_ext have? If you want to use the number
matched in the condition, then it should be

openzap/1/1/$1

--
Russell Mosemann



________________________________________________________
Concordia University, Nebraska
See http://www.cune.edu/ for the latest news and events!


_______________________________________________


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


Back to top
msc at freeswitch.org
Guest





PostPosted: Sat Oct 10, 2009 12:21 pm    Post subject: [Freeswitch-users] openzap Failure opening channel error Reply with quote

Okay, please go to pastebin.freeswitch.org and paste your openzap.conf.xml file. Also, paste the ENTIRE debug log from a call from start to finish. Telling us that you see INVALID_IE_CONTENTS doesn't help if we don't know what the information element contains. Finally, turn on PRI debugging and make another test call and pastebin that debug log as well. The debug will show details about the communications between your machine and the carrier. Instructions for turning on debugging for libpri are found in the OpenZAP wiki page in the same place where the libpri instructions are located.

Put the pastebin number in this email thread and then we'll go have a look.

Thanks,
MC

On Sat, Oct 10, 2009 at 6:47 AM, lakshmanan ganapathy <lakindia89@gmail.com (lakindia89@gmail.com)> wrote:
Quote:
Hi,
I've tried with the following dialplan(After making the changes that are recommended). But still I got INVALID_IE_CONTENTS error.

Another thing is, if I use prispan configuration, I'm able to make outgoing calls.
But if I use the libpri span configuration I'm not able to make outgoing calls, which says INVALID_IE_CONTENTS.

I've been struck with this problem for the past 1 week.
Any solution to this???



On Fri, Oct 9, 2009 at 6:06 PM, <Russell.Mosemann@cune.org (Russell.Mosemann@cune.org)> wrote:
Quote:
lakshmanan ganapathy <lakindia89@gmail.com (lakindia89@gmail.com)> said:

Quote:
But still I'm facing problem with the outgoing call. It says
INVALID_IE_CONTENTS.
What might be the issue? Even I tried the following dialplan to call by
using bridge.
<extension name="outgoing-fxo">
                  <condition field="destination_number"
expression="^(\d{10})$">
                          <action application="answer"/>
                          <action application="bridge"
data="openzap/1/1/${dialed_ext}"/>


Does "answer" need to be called here? I haven't used an fxo. So, I don't
know. What value does $dialed_ext have? If you want to use the number
matched in the condition, then it should be

openzap/1/1/$1

--
Russell Mosemann



________________________________________________________
Concordia University, Nebraska
See http://www.cune.edu/ for the latest news and events!


_______________________________________________


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







_______________________________________________
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

Back to top
lakindia89 at gmail.com
Guest





PostPosted: Mon Oct 12, 2009 7:09 am    Post subject: [Freeswitch-users] openzap Failure opening channel error Reply with quote

Ya ok. Here is the required stuff
Configuration: (PRI span)
<configuration name="openzap.conf" description="OpenZAP Configuration">
<settings>
<param name="debug" value="7"/>
</settings>
<pri_spans>
<span id="1" name="PRI_1">
<param name="q921loglevel" value="alert"/>
<param name="q931loglevel" value="alert"/>
<param name="mode" value="user"/>
<param name="dialect" value="q931"/>
<param name="dialplan" value="XML"/>
<param name="context" value="default"/>
</span>
</pri_spans>
</configuration>

Log while starting freeswitch:
http://pastebin.freeswitch.org/10646

Log when making a call:
http://pastebin.freeswitch.org/10647


Configuration: (LIBPRI SPAN)
<configuration name="openzap.conf" description="OpenZAP Configuration">
<settings>
<param name="debug" value="7"/>
</settings>
<libpri_spans>
<span name="PRI_1">
<param name="node" value="cpe"/>
<param name="switch" value="euroisdn"/>
<param name="dialplan" value="XML"/>
<param name="context" value="default"/>
</span>
</libpri_spans>
</configuration>

Log while starting freeswitch:
http://pastebin.freeswitch.org/10648

Log while making a call:
http://pastebin.freeswitch.org/10649



On Sat, Oct 10, 2009 at 10:39 PM, Michael Collins <msc@freeswitch.org (msc@freeswitch.org)> wrote:
Quote:
Okay, please go to pastebin.freeswitch.org and paste your openzap.conf.xml file. Also, paste the ENTIRE debug log from a call from start to finish. Telling us that you see INVALID_IE_CONTENTS doesn't help if we don't know what the information element contains. Finally, turn on PRI debugging and make another test call and pastebin that debug log as well. The debug will show details about the communications between your machine and the carrier. Instructions for turning on debugging for libpri are found in the OpenZAP wiki page in the same place where the libpri instructions are located.

Put the pastebin number in this email thread and then we'll go have a look.

Thanks,
MC


On Sat, Oct 10, 2009 at 6:47 AM, lakshmanan ganapathy <lakindia89@gmail.com (lakindia89@gmail.com)> wrote:
Quote:
Hi,
I've tried with the following dialplan(After making the changes that are recommended). But still I got INVALID_IE_CONTENTS error.

Another thing is, if I use prispan configuration, I'm able to make outgoing calls.
But if I use the libpri span configuration I'm not able to make outgoing calls, which says INVALID_IE_CONTENTS.

I've been struck with this problem for the past 1 week.
Any solution to this???



On Fri, Oct 9, 2009 at 6:06 PM, <Russell.Mosemann@cune.org (Russell.Mosemann@cune.org)> wrote:
Quote:
lakshmanan ganapathy <lakindia89@gmail.com (lakindia89@gmail.com)> said:

Quote:
But still I'm facing problem with the outgoing call. It says
INVALID_IE_CONTENTS.
What might be the issue? Even I tried the following dialplan to call by
using bridge.
<extension name="outgoing-fxo">
                  <condition field="destination_number"
expression="^(\d{10})$">
                          <action application="answer"/>
                          <action application="bridge"
data="openzap/1/1/${dialed_ext}"/>


Does "answer" need to be called here? I haven't used an fxo. So, I don't
know. What value does $dialed_ext have? If you want to use the number
matched in the condition, then it should be

openzap/1/1/$1

--
Russell Mosemann



________________________________________________________
Concordia University, Nebraska
See http://www.cune.edu/ for the latest news and events!


_______________________________________________


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







_______________________________________________
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







_______________________________________________
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

Back to top
msc at freeswitch.org
Guest





PostPosted: Mon Oct 12, 2009 2:00 pm    Post subject: [Freeswitch-users] openzap Failure opening channel error Reply with quote

Lak,

Okay I will need a little bit of time to dig into the IE's and what they contain. In the meantime can you tell me who the carrier is? I'd like to find out if they have some specific requirements. The fact that it doesn't work with libpri surprises me because that would mean that Asterisk systems would probably not work with this carrier as well.

BTW, thanks for the very complete pastebin entries. Smile
-MC
Back to top
lakindia89 at gmail.com
Guest





PostPosted: Tue Oct 13, 2009 9:08 am    Post subject: [Freeswitch-users] openzap Failure opening channel error Reply with quote

We are using Reliance as the Carrier.
I think, with this same Reliance carrier, in my office, they are able to make outgoing calls through asterisk+libpri.

On Tue, Oct 13, 2009 at 12:19 AM, Michael Collins <msc@freeswitch.org (msc@freeswitch.org)> wrote:
Quote:
Lak,

Okay I will need a little bit of time to dig into the IE's and what they contain. In the meantime can you tell me who the carrier is? I'd like to find out if they have some specific requirements. The fact that it doesn't work with libpri surprises me because that would mean that Asterisk systems would probably not work with this carrier as well.

BTW, thanks for the very complete pastebin entries. Smile
-MC


_______________________________________________
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

Back to top
msc at freeswitch.org
Guest





PostPosted: Tue Oct 13, 2009 11:00 am    Post subject: [Freeswitch-users] openzap Failure opening channel error Reply with quote

On Oct 13, 2009, at 6:45 AM, lakshmanan ganapathy <lakindia89@gmail.com (lakindia89@gmail.com)> wrote:



Quote:
We are using Reliance as the Carrier.
I think, with this same Reliance carrier, in my office, they are able to make outgoing calls through asterisk+libpri.


If that's the case I would be very interested in seeing a pri debug from a working call on an asterisk box. It might give us a clue as to what is not working. -MC
Quote:


On Tue, Oct 13, 2009 at 12:19 AM, Michael Collins <[url=mailto:msc@freeswitch.org]msc@freeswitch.org (msc@freeswitch.org)[/url]> wrote:
Quote:
Lak,

Okay I will need a little bit of time to dig into the IE's and what they contain. In the meantime can you tell me who the carrier is? I'd like to find out if they have some specific requirements. The fact that it doesn't work with libpri surprises me because that would mean that Asterisk systems would probably not work with this carrier as well.

BTW, thanks for the very complete pastebin entries. Smile
-MC



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
Goto page 1, 2  Next
Page 1 of 2

 
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