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.
On Behalf Of lakshmanan ganapathy ... 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.
openzap.conf.xml ... <pri_spans>
You need to use a libpri span configuration. http://wiki.freeswitch.org/wiki/Openzap.conf.xml_Examples#Using_with_PRI_.28... -- Russell Moseman
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:
On Behalf Of lakshmanan ganapathy ... 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.
openzap.conf.xml ... <pri_spans>
You need to use a libpri span configuration.
http://wiki.freeswitch.org/wiki/Openzap.conf.xml_Examples#Using_with_PRI_.28...
-- 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.
lakshmanan <lakindia89@gmail.com> said:
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!
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:
lakshmanan <lakindia89@gmail.com> said:
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.
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> wrote:
lakshmanan <lakindia89@gmail.com> said:
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
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:
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> wrote:
lakshmanan <lakindia89@gmail.com> said:
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
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:
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:
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:
lakshmanan <lakindia89@gmail.com> said:
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.
participants (5)
-
lakshmanan
-
lakshmanan ganapathy
-
Michael Collins
-
Russell Mosemann
-
Russell.Mosemann@cune.org