Re: [asterisk-users] PRI commands missing...

2007-11-01 Thread Matthew Fredrickson
Arpit Mehta wrote:
 This happens when your pri line is down. This has happened a couple of times
 to me and the pri commands come back when the pri line is up. My guess is
 that your pri line is down.

No.  The pri commands should be there even if the span goes down.  The 
reason why the pri commands wouldn't be there is that chan_zap didn't 
load for some reason.  Try starting asterisk with the - options 
to see what chan_zap says when it tries to load.

Matthew Fredrickson

 
 Hope it helps.
 
 Arpit
 
 
 On 10/31/07, Carlos Chavez [EMAIL PROTECTED] wrote:
 I have an Asterisk server running Elastix but patched to use Unicall.
 Everything seems to be working fine and the TE220 card is up and running
 with
 port 1 configured as PRI and port 2 as MFC/R2.  We can already send and
 receive calls on port two but we cannot on port one.  That is when we
 noticed
 that there are no PRI commands available on the Asterisk CLI.  We cannot
 use
 PRI DEBUG SPAN to determine why port 1 is not receiving or sending calls.

 Why would this commands be missing?

 --
 Carlos Chavez
 Director de Tecnología
 Telecomunicaciones Abiertas de México S.A. de C.V.
 Tel: +52-55-91169161 Ext 2001


 ___
 --Bandwidth and Colocation Provided by http://www.api-digital.com--

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

 
 
 
 
 
 
 ___
 --Bandwidth and Colocation Provided by http://www.api-digital.com--
 
 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users


-- 
Matthew Fredrickson
Software/Firmware Engineer
Digium, Inc.

___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] PRI commands missing...

2007-11-01 Thread Tzafrir Cohen
On Thu, Nov 01, 2007 at 12:09:50PM -0500, Matthew Fredrickson wrote:
 Arpit Mehta wrote:
  This happens when your pri line is down. This has happened a couple of times
  to me and the pri commands come back when the pri line is up. My guess is
  that your pri line is down.
 
 No.  The pri commands should be there even if the span goes down.  The 
 reason why the pri commands wouldn't be there is that chan_zap didn't 
 load for some reason.  Try starting asterisk with the - options 
 to see what chan_zap says when it tries to load.

Actually you need much less v-s should give less noise for the case
Asterisk actually does load.

-- 
   Tzafrir Cohen   
icq#16849755  jabber:[EMAIL PROTECTED]
+972-50-7952406   mailto:[EMAIL PROTECTED]   
http://www.xorcom.com  iax:[EMAIL PROTECTED]/tzafrir

___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] PRI commands missing...

2007-10-31 Thread John covici
Well, this happened to me one time when I forgot to compile the pri
library before the asterisk!  Could you have done that?

on Wednesday 10/31/2007 Tzafrir Cohen([EMAIL PROTECTED]) wrote
  On Wed, Oct 31, 2007 at 12:06:25AM -0600, Carlos Chavez wrote:
I have an Asterisk server running Elastix but patched to use Unicall. 
   Everything seems to be working fine and the TE220 card is up and running 
   with
   port 1 configured as PRI and port 2 as MFC/R2.  We can already send and
   receive calls on port two but we cannot on port one.  That is when we 
   noticed
   that there are no PRI commands available on the Asterisk CLI.  We cannot 
   use
   PRI DEBUG SPAN to determine why port 1 is not receiving or sending calls.
   
Why would this commands be missing?  
  
  I wonder how those two should interact. The first thing chan_zap tries
  to do is to open all of its spans. Maybe it has failed there?
  
  Try playing with [trunkgroups] to explicitly tell it to only touch the
  Zaptel spans that are PRI.
  
  -- 
 Tzafrir Cohen   
  icq#16849755  jabber:[EMAIL PROTECTED]
  +972-50-7952406   mailto:[EMAIL PROTECTED]   
  http://www.xorcom.com  iax:[EMAIL PROTECTED]/tzafrir
  
  ___
  --Bandwidth and Colocation Provided by http://www.api-digital.com--
  
  asterisk-users mailing list
  To UNSUBSCRIBE or update options visit:
 http://lists.digium.com/mailman/listinfo/asterisk-users

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 [EMAIL PROTECTED]

___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] PRI commands missing...

2007-10-31 Thread Anthony Francis
This also happens if zaptel fails to load. Check your messages file.

John covici wrote:
 Well, this happened to me one time when I forgot to compile the pri
 library before the asterisk!  Could you have done that?

 on Wednesday 10/31/2007 Tzafrir Cohen([EMAIL PROTECTED]) wrote
   On Wed, Oct 31, 2007 at 12:06:25AM -0600, Carlos Chavez wrote:
 I have an Asterisk server running Elastix but patched to use 
 Unicall. 
Everything seems to be working fine and the TE220 card is up and running 
 with
port 1 configured as PRI and port 2 as MFC/R2.  We can already send and
receive calls on port two but we cannot on port one.  That is when we 
 noticed
that there are no PRI commands available on the Asterisk CLI.  We cannot 
 use
PRI DEBUG SPAN to determine why port 1 is not receiving or sending calls.

 Why would this commands be missing?  
   
   I wonder how those two should interact. The first thing chan_zap tries
   to do is to open all of its spans. Maybe it has failed there?
   
   Try playing with [trunkgroups] to explicitly tell it to only touch the
   Zaptel spans that are PRI.
   
   -- 
  Tzafrir Cohen   
   icq#16849755  jabber:[EMAIL PROTECTED]
   +972-50-7952406   mailto:[EMAIL PROTECTED]   
   http://www.xorcom.com  iax:[EMAIL PROTECTED]/tzafrir
   
   ___
   --Bandwidth and Colocation Provided by http://www.api-digital.com--
   
   asterisk-users mailing list
   To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

   

-- 
Thank you and have a wonderful day,

Anthony Francis
Rockynet VOIP
(303) 444-7052 opt 2
[EMAIL PROTECTED]


___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] PRI commands missing...

2007-10-31 Thread Carlos Chavez
On Wed, 2007-10-31 at 09:41 -0600, Anthony Francis wrote:
 This also happens if zaptel fails to load. Check your messages file.
 
 John covici wrote:
  Well, this happened to me one time when I forgot to compile the pri
  library before the asterisk!  Could you have done that?
 
Asterisk is working with the second span with Unicall and that would
not be possible unless Libpri and Zaptel are already loaded.

-- 
Telecomunicaciones Abiertas de México S.A. de C.V.
Carlos Chávez Prats
Director de Tecnología
+52-55-91169161 ext 2001


signature.asc
Description: This is a digitally signed message part
___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] PRI commands missing...

2007-10-31 Thread Tzafrir Cohen
On Wed, Oct 31, 2007 at 10:46:42AM -0600, Carlos Chavez wrote:
 On Wed, 2007-10-31 at 09:41 -0600, Anthony Francis wrote:
  This also happens if zaptel fails to load. Check your messages file.
  
  John covici wrote:
   Well, this happened to me one time when I forgot to compile the pri
   library before the asterisk!  Could you have done that?
  
   Asterisk is working with the second span with Unicall and that would
 not be possible unless Libpri and Zaptel are already loaded.

chan_unicall uses zaptel (the kernel interface) but not chan_zap.so (and
not libpri, IIRC).

-- 
   Tzafrir Cohen   
icq#16849755  jabber:[EMAIL PROTECTED]
+972-50-7952406   mailto:[EMAIL PROTECTED]   
http://www.xorcom.com  iax:[EMAIL PROTECTED]/tzafrir

___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] PRI commands missing...

2007-10-30 Thread Carlos Chavez
 I have an Asterisk server running Elastix but patched to use Unicall. 
Everything seems to be working fine and the TE220 card is up and running with
port 1 configured as PRI and port 2 as MFC/R2.  We can already send and
receive calls on port two but we cannot on port one.  That is when we noticed
that there are no PRI commands available on the Asterisk CLI.  We cannot use
PRI DEBUG SPAN to determine why port 1 is not receiving or sending calls.

 Why would this commands be missing?  

--
Carlos Chavez
Director de Tecnología
Telecomunicaciones Abiertas de México S.A. de C.V.
Tel: +52-55-91169161 Ext 2001


___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] PRI commands missing...

2007-10-30 Thread Tzafrir Cohen
On Wed, Oct 31, 2007 at 12:06:25AM -0600, Carlos Chavez wrote:
  I have an Asterisk server running Elastix but patched to use Unicall. 
 Everything seems to be working fine and the TE220 card is up and running with
 port 1 configured as PRI and port 2 as MFC/R2.  We can already send and
 receive calls on port two but we cannot on port one.  That is when we noticed
 that there are no PRI commands available on the Asterisk CLI.  We cannot use
 PRI DEBUG SPAN to determine why port 1 is not receiving or sending calls.
 
  Why would this commands be missing?  

I wonder how those two should interact. The first thing chan_zap tries
to do is to open all of its spans. Maybe it has failed there?

Try playing with [trunkgroups] to explicitly tell it to only touch the
Zaptel spans that are PRI.

-- 
   Tzafrir Cohen   
icq#16849755  jabber:[EMAIL PROTECTED]
+972-50-7952406   mailto:[EMAIL PROTECTED]   
http://www.xorcom.com  iax:[EMAIL PROTECTED]/tzafrir

___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] PRI commands missing...

2007-10-30 Thread Arpit Mehta
This happens when your pri line is down. This has happened a couple of times
to me and the pri commands come back when the pri line is up. My guess is
that your pri line is down.

Hope it helps.

Arpit


On 10/31/07, Carlos Chavez [EMAIL PROTECTED] wrote:

 I have an Asterisk server running Elastix but patched to use Unicall.
 Everything seems to be working fine and the TE220 card is up and running
 with
 port 1 configured as PRI and port 2 as MFC/R2.  We can already send and
 receive calls on port two but we cannot on port one.  That is when we
 noticed
 that there are no PRI commands available on the Asterisk CLI.  We cannot
 use
 PRI DEBUG SPAN to determine why port 1 is not receiving or sending calls.

 Why would this commands be missing?

 --
 Carlos Chavez
 Director de Tecnología
 Telecomunicaciones Abiertas de México S.A. de C.V.
 Tel: +52-55-91169161 Ext 2001


 ___
 --Bandwidth and Colocation Provided by http://www.api-digital.com--

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users




-- 
Arpit Mehta
Graduate Student
Department of Computer Science
Columbia University

Tel: 1-646-387-5998
___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] PRI commands missing...

2007-10-30 Thread Tzafrir Cohen
On Wed, Oct 31, 2007 at 02:28:19AM -0400, Arpit Mehta wrote:
 This happens when your pri line is down. This has happened a couple of times
 to me and the pri commands come back when the pri line is up. My guess is
 that your pri line is down.

Huh?

The 'pri' command is registered by chan_zap.so when built with libpri.
It does not become unavailable when no span is around.

A span is known to Asterisk even when it is down.

-- 
   Tzafrir Cohen   
icq#16849755  jabber:[EMAIL PROTECTED]
+972-50-7952406   mailto:[EMAIL PROTECTED]   
http://www.xorcom.com  iax:[EMAIL PROTECTED]/tzafrir

___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users