Re: [Freeswitch-users] oz debug says error

2009-10-07 Thread lakshmanan

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
 lakindi...@gmail.comwrote:
 
 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.mosem...@cune.org wrote:

 lakshmanan lakindi...@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.


___
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


Re: [Freeswitch-users] oz debug says error

2009-10-06 Thread Michael Collins
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
lakindi...@gmail.comwrote:

 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.mosem...@cune.org wrote:

 lakshmanan lakindi...@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


Re: [Freeswitch-users] oz debug says error

2009-10-05 Thread Russell Mosemann
 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_.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


Re: [Freeswitch-users] oz debug says error

2009-10-05 Thread lakshmanan

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


Re: [Freeswitch-users] oz debug says error

2009-10-05 Thread Russell.Mosemann
lakshmanan lakindi...@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


Re: [Freeswitch-users] oz debug says error

2009-10-05 Thread lakshmanan

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 lakindi...@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.


___
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


Re: [Freeswitch-users] oz debug says error

2009-10-05 Thread lakshmanan ganapathy
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.mosem...@cune.org wrote:

 lakshmanan lakindi...@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