Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

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

[Freeswitch-users] oz debug says error


 
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: Mon Oct 05, 2009 2:30 am    Post subject: [Freeswitch-users] oz debug says error Reply with quote

Hi all,
I've compiled the freeswitch with libpri support. But when I execute

oz libpri debug 1 all, I got the following error.

API CALL [oz(libpri debug 1 all )] output:
src/ozmod/ozmod_libpri/ozmod_libpri.c: -ERR invalid span.


Here is my openzap configurations.

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="9"/>
</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>

I feel something I've missed in configurations. Please tell me how to get rid of that error.
Back to top
Russell.Mosemann at cu...
Guest





PostPosted: Mon Oct 05, 2009 5:40 am    Post subject: [Freeswitch-users] oz debug says error Reply with quote

Quote:
On Behalf Of lakshmanan ganapathy
...
Quote:
I've compiled the freeswitch with libpri support. But when I execute
oz libpri debug 1 all, I got the following error.

API CALL [oz(libpri debug 1 all )] output:
src/ozmod/ozmod_libpri/ozmod_libpri.c: -ERR invalid span.

If you would start freeswitch from the command line or look at freeswitch/log/freeswitch.log, you will see during startup that libpri does not find a span (note the ozmod lines). That's because the configuration below is not for libpri.

Quote:
openzap.conf.xml
...
Quote:
<pri_spans>

You need to use a libpri span configuration.

http://wiki.freeswitch.org/wiki/Openzap.conf.xml_Examples#Using_with_PRI_.28libpri_compatibility_stack.29

--
Russell Moseman


_______________________________________________
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: Mon Oct 05, 2009 7:28 am    Post subject: [Freeswitch-users] oz debug says error Reply with quote

Thanks for pointing that.
I also tried that.
But in that case, I'm not able to make a call through openzap.

When I say
originate openzap/1/A/number number

It reported the following error
2009-10-05 17:45:47.733495 [ERR] ozmod_libpri.c:88 Can't destroy call 0!
API CALL [originate(openzap/1/1/9952248266 9952248266)] output:
-ERR INVALID_IE_CONTENTS

I also gone and looked up the hangup_cause page for the reason. But I was
unable to understand that.
Can u please tell why it is reporting this error?



Russell.Mosemann wrote:
Quote:

Quote:
On Behalf Of lakshmanan ganapathy
...
Quote:
I've compiled the freeswitch with libpri support. But when I execute
oz libpri debug 1 all, I got the following error.

API CALL [oz(libpri debug 1 all )] output:
src/ozmod/ozmod_libpri/ozmod_libpri.c: -ERR invalid span.

If you would start freeswitch from the command line or look at
freeswitch/log/freeswitch.log, you will see during startup that libpri
does not find a span (note the ozmod lines). That's because the
configuration below is not for libpri.

Quote:
openzap.conf.xml
...
Quote:
<pri_spans>

You need to use a libpri span configuration.

http://wiki.freeswitch.org/wiki/Openzap.conf.xml_Examples#Using_with_PRI_.28libpri_compatibility_stack.29

--
Russell Moseman


_______________________________________________
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



--
View this message in context: http://www.nabble.com/oz-debug-says-error-tp25746215p25749736.html
Sent from the Freeswitch-users mailing list archive at Nabble.com.


_______________________________________________
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
Russell.Mosemann at cu...
Guest





PostPosted: Mon Oct 05, 2009 7:59 am    Post subject: [Freeswitch-users] oz debug says error Reply with quote

lakshmanan <lakindia89@gmail.com> said:
Quote:
Thanks for pointing that.
I also tried that.
But in that case, I'm not able to make a call through openzap.

What is in openzap.conf.xml? If you start fs_cli and enter "oz list",
what does it show? Copy the ozmod lines from freeswitch.log to
pastebin.freeswitch.org and post the link here so that we can see what
openzap does when freeswitch starts.

--
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: Mon Oct 05, 2009 11:00 pm    Post subject: [Freeswitch-users] oz debug says error Reply with quote

Openzap.conf.xml

<configuration name="openzap.conf" description="OpenZAP Configuration">
<settings>

</settings>
<libpri_spans>






</libpri_spans>
</configuration>

Output of oz list in fs_cli

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

freeswitch.log

http://pastebin.freeswitch.org/10604


Russell.Mosemann wrote:
Quote:

lakshmanan <lakindia89@gmail.com> said:
Quote:
Thanks for pointing that.
I also tried that.
But in that case, I'm not able to make a call through openzap.

What is in openzap.conf.xml? If you start fs_cli and enter "oz list",
what does it show? Copy the ozmod lines from freeswitch.log to
pastebin.freeswitch.org and post the link here so that we can see what
openzap does when freeswitch starts.

--
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



--
View this message in context: http://www.nabble.com/oz-debug-says-error-tp25746215p25762469.html
Sent from the Freeswitch-users mailing list archive at Nabble.com.


_______________________________________________
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: Mon Oct 05, 2009 11:14 pm    Post subject: [Freeswitch-users] oz debug says error Reply with 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>

Output of oz list in fs_cli

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


freeswitch.log

http://pastebin.freeswitch.org/10604





On Mon, Oct 5, 2009 at 6:18 PM, <Russell.Mosemann@cune.org (Russell.Mosemann@cune.org)> wrote:
Quote:
lakshmanan <lakindia89@gmail.com (lakindia89@gmail.com)> said:
Quote:
Thanks for pointing that.
I also tried that.
But in that case, I'm not able to make a call through openzap.


What is in openzap.conf.xml? If you start fs_cli and enter "oz list",
what does it show? Copy the ozmod lines from freeswitch.log to
pastebin.freeswitch.org and post the link here so that we can see what
openzap does when freeswitch starts.

--
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: Tue Oct 06, 2009 12:39 pm    Post subject: [Freeswitch-users] oz debug says error Reply with quote

Pastebin your openzap.conf file. Also, is this Sangoma or zaptel-based hardware? If it's Sangoma, pastebin your wanpipe1.conf file. If zaptel, please paste your zaptel.conf file.

-MC

On Mon, Oct 5, 2009 at 9:06 PM, lakshmanan ganapathy <lakindia89@gmail.com (lakindia89@gmail.com)> wrote:
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>

Output of oz list in fs_cli

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


freeswitch.log

http://pastebin.freeswitch.org/10604







On Mon, Oct 5, 2009 at 6:18 PM, <Russell.Mosemann@cune.org (Russell.Mosemann@cune.org)> wrote:
Quote:
lakshmanan <lakindia89@gmail.com (lakindia89@gmail.com)> said:
Quote:
Thanks for pointing that.
I also tried that.
But in that case, I'm not able to make a call through openzap.


What is in openzap.conf.xml? If you start fs_cli and enter "oz list",
what does it show? Copy the ozmod lines from freeswitch.log to
pastebin.freeswitch.org and post the link here so that we can see what
openzap does when freeswitch starts.

--
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: Wed Oct 07, 2009 5:14 am    Post subject: [Freeswitch-users] oz debug says error Reply with quote

Here are the details

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

Zaptel.conf

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

loadzone = us
defaultzone = us



mercutioviz wrote:
Quote:

Pastebin your openzap.conf file. Also, is this Sangoma or zaptel-based
hardware? If it's Sangoma, pastebin your wanpipe1.conf file. If zaptel,
please paste your zaptel.conf file.

-MC

On Mon, Oct 5, 2009 at 9:06 PM, lakshmanan ganapathy
<lakindia89@gmail.com>wrote:

Quote:
Openzap.conf.xml
<configuration name="openzap.conf" description="OpenZAP Configuration">
<settings>

</settings>
<libpri_spans>






</libpri_spans>
</configuration>

Output of oz list in fs_cli

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


freeswitch.log

http://pastebin.freeswitch.org/10604





On Mon, Oct 5, 2009 at 6:18 PM, <Russell.Mosemann@cune.org> wrote:

Quote:
lakshmanan <lakindia89@gmail.com> said:
Quote:
Thanks for pointing that.
I also tried that.
But in that case, I'm not able to make a call through openzap.

What is in openzap.conf.xml? If you start fs_cli and enter "oz list",
what does it show? Copy the ozmod lines from freeswitch.log to
pastebin.freeswitch.org and post the link here so that we can see what
openzap does when freeswitch starts.

--
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



_______________________________________________
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 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



--
View this message in context: http://www.nabble.com/oz-debug-says-error-tp25746215p25783750.html
Sent from the Freeswitch-users mailing list archive at Nabble.com.


_______________________________________________
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
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