[asterisk-users] How to configure NT/ptmp with Dahdi and BRI ?

2013-03-03 Thread Olivier
Hi,

In my lab, I'm testing BRI spans in NT/ptmp mode.
My setup is:
asterisk 11.2.1
libpri 1.4.14
dahdi 2.6.1
wctdm24xxp (HA8 hybrid with B400M)

SIP phone  Asterisk with HA8  Patton SN4638  Asterisk
 SIP phone

The single BRI line I'm testing remains down:
CLI pri show spans
PRI span 1/0: In Alarm, Up, Active

I'm quite certain this doesn't come from cabling as this setup worked OK in
TE/ptmp mode (ie Patton gateway acting as network and asterisk as terminal).

[  212.102644] wctdm24xxp :0a:01.0: Found a Hybrid card: HA8- (4
BRI spans, 0 analog channels)
[  212.226050] wctdm24xxp :0a:01.0: xhfc: Configuring port 0 span 1 in
NT mode with termination resistance ENABLED

CLI pri show span 1
Primary D-channel: 3
Status: In Alarm, Up, Active
Switchtype: EuroISDN
Type: BRI Network PTMP
Remote type: Unknown node type
Overlap Dial: 0
Logical Channel Mapping: 0
Timer and counter settings:
  N200: 3
  N202: 3
  K: 1
  T200: 1000
  T201: 1000
  T202: 1
  T203: 1
  T303: 4000
  T305: 3
  T308: 4000
  T309: 6000
  T312: 6000
  T313: 4000
  T316: -1
  N316: 2
  T-HOLD: 4000
  T-RETRIEVE: 4000
  T-RESPONSE: 4000
  T-STATUS: 4000
  T-ACTIVATE: 1
  T-DEACTIVATE: 4000
  T-INTERROGATE: 4000
  T-RETENTION: 3
  T-CCBS1: 4000
  T-CCBS2: 270
  T-CCBS3: 2
  T-CCBS4: 5000
  T-CCBS5: 360
  T-CCBS6: 360
  T-CCNR2: 1080
  T-CCNR5: 1170
  T-CCNR6: 1170
Q931 RX: 0
Q931 TX: 0
Q921 RX: 0
Q921 TX: 2
Q921 Outstanding: 0 (TEI=127)
Total active-calls:0 global:0
CC records:
Overlap Recv: No


As I was suspicious this came from the fact I previously used the same box
in TE/ptmp, I re-ran my installation script from the start but I'm still
getting the same result : the line is in Alarm.

Any hint ?
Did I miss something ?

Regards
--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

[asterisk-users] asterisk 11 - No pri set debug off

2013-03-03 Thread Olivier
hello,

In a machine I've got :
CLI pri set debug off
No such command 'pri set debug off' (type 'core show help pri set' for
other possible commands)

CLI core show help pri
pri intense debug span no description available
   pri service disable channel Remove a channel from service
pri service enable channel Return a channel to service
pri set debug {on|off|hex|inte Enables PRI debugging on a span
pri set debug file Sends PRI debug output to the specified file
 pri show channels Displays PRI channel information
pri show debug Displays current PRI debug settings
pri show spans Displays PRI span information
 pri show span Displays PRI span information
  pri show version Displays libpri version

My setup is :
asterisk 11.2.1
libpri 1.4.14
dahdi 2.6.1

So inline CLI tells pri set debug off exists but I can't run it.

Did I miss something ?

Regards
--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

[asterisk-users] How to configure NT/ptmp with Dahdi and BRI ? (Olivier)

2013-03-03 Thread Mc GRATH Ricardo
Hi Olivier

It seems wrong configuration, because according to your mail Asterisk it will 
be acting as terminal mode (ie Patton gateway acting as network and asterisk as 
terminal).
But Asterisk message is indicated Asterisk a s a NT mode  [  212.226050] 
wctdm24xxp :0a:01.0: xhfc: Configuring port 0 span 1 in
NT mode with termination resistance ENABLED.
It could help by checking parameters on dahdi-channels if signalling = 
bri_cpe_ptmp # The signalling for TE mode
Best regards

Mc GRATH Ricardo
E-Mail mcgra...@mail2web.com
--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] asterisk 11 - No pri set debug off

2013-03-03 Thread Johann Steinwendtner

On 2013-03-03 18:41, Olivier wrote:

hello,

In a machine I've got :
CLI pri set debug off
No such command 'pri set debug off' (type 'core show help pri set' for other 
possible commands)

CLI core show help pri
 pri intense debug span no description available
pri service disable channel Remove a channel from service
 pri service enable channel Return a channel to service
pri set debug {on|off|hex|inte Enables PRI debugging on a span
 pri set debug file Sends PRI debug output to the specified file
  pri show channels Displays PRI channel information
 pri show debug Displays current PRI debug settings
 pri show spans Displays PRI span information
  pri show span Displays PRI span information
   pri show version Displays libpri version

My setup is :
asterisk 11.2.1
libpri 1.4.14
dahdi 2.6.1

So inline CLI tells pri set debug off exists but I can't run it.

Did I miss something ?


I think you have missed the span.
pri set debug off span x


Regards

Hans


--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

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


Re: [asterisk-users] How to configure NT/ptmp with Dahdi and BRI ? (Olivier)

2013-03-03 Thread Olivier
2013/3/3 Mc GRATH Ricardo mcgra...@mail2web.com

 Hi Olivier

 It seems wrong configuration, because according to your mail Asterisk it
 will be acting as terminal mode (ie Patton gateway acting as network and
 asterisk as terminal).
 But Asterisk message is indicated Asterisk a s a NT mode  [  212.226050]
 wctdm24xxp :0a:01.0: xhfc: Configuring port 0 span 1 in
 NT mode with termination resistance ENABLED.
 It could help by checking parameters on dahdi-channels if signalling =
 bri_cpe_ptmp # The signalling for TE mode
 Best regards

 Mc GRATH Ricardo
 E-Mail mcgra...@mail2web.com
 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

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



Maybe my previous post was not clear on that but I made two different
experiments :
A- one (successful) with Asterisk acting as terminal (TE/ptmp) and Patton
as network
B- one (unsuccessful) with Asterisk acting as network (NT/ptmp) and Patton
as terminal

Now I'm focusing on the latter case.

My /etc/dahdi/system.conf contains:
span=1,0,0,ccs,ami,nt,term

(I also tried with DISABLED termination without success)

My /etc/asterisk/dahdi-channels.conf contains:
signalling = bri_net_ptmp

... but still :
CLI pri show spans
PRI span 1/0: In Alarm, Up, Active
--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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