On Wed, Oct 7, 2009 at 3:34 AM, lakshmanan ganapathy <lakindia89@gmail.com> wrote:
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
 

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
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org