Re: [asterisk-users] Zaptel problem with pots lines

2008-07-15 Thread Giorgio Incantalupo
Hi Enrico,
have you tried with busydetect=yes? It (sometimes) worked for me with 
Asterisk 1.2.


Giorgio


Enrico Maistro wrote:
 Hi,

 I'm trying to get up and running a TDM400 with a standard italian pots 
 line but i'm having
  problems at getting asterisk to detect when the line get answered on 
 outgoing calls.

 I'm using asterisk 1.6 beta 9 with zaptel 1.4.11.

 I tried with and without answeronpolarityswitch=yes but it didn't change 
 anything at all.

 With callprogress=yes answer get never detected.
 With callprogress=no line get answered as soon as it start ringing, 
 regardless if someone
 really answer the call.


 Zaptel channels use fxs_ks signalling .

 Loading wctdm module with debug=1 result in:

 kernel: Freshmaker version: 73
 kernel: Freshmaker passed register test
 kernel: ProSLIC on module 0, product 3, version 15
 kernel: VoiceDAA System: 04
 kernel: ISO-Cap is now up, line side: 03 rev 06
 kernel: setting FXO tx gain for card=0 to 0
 kernel: setting FXO rx gain for card=0 to 0
 kernel: DEBUG fxotxgain:0.0 fxorxgain:0.0
 kernel: Module 0: Installed -- AUTO FXO (FCC mode)
 kernel: ProSLIC on module 1, product 0, version 0
 kernel: VoiceDAA System: 04
 kernel: ISO-Cap is now up, line side: 03 rev 06
 kernel: setting FXO tx gain for card=1 to 0
 kernel: setting FXO rx gain for card=1 to 0
 kernel: DEBUG fxotxgain:0.0 fxorxgain:0.0
 kernel: Module 1: Installed -- AUTO FXO (FCC mode)
 kernel: ProSLIC on module 2, product 0, version 0
 kernel: Module 2: Not installed
 kernel: ProSLIC on module 3, product 0, version 0
 kernel: Module 3: Not installed
 kernel: Found a Wildcard TDM: Wildcard TDM400P REV I (2 modules)
 kernel: 4294908325 Polarity reversed (0 - -1)
 kernel: 4294908326 Polarity reversed (0 - 1)
 kernel: BATTERY on 1/1 (-)!
 kernel: NO BATTERY on 1/2!

 Any suggestion?
 Am i trying to do something that simply can't be done?

 Thanks,
 Enrico Maistro


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

 AstriCon 2008 - September 22 - 25 Phoenix, Arizona
 Register Now: http://www.astricon.net

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

   


-- 

_
Giorgio Incantalupo, mailto:[EMAIL PROTECTED]
FGA srl - http://www.fgasoftware.com -
[EMAIL PROTECTED] - The Agile PBX http://www.voiceatwork.eu
Tel: 02997663.14, Fax: 0291390172  


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

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

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


Re: [asterisk-users] Zaptel problem with pots lines

2008-07-15 Thread Marco Signorini
Hi Enrico.
In Italy the polarity reversal is never used.
I'm using the TDM400 with an FXO port in Italy with the config reported
below and is working properly in any situations:

--- zaptel.conf ---
fxsks=1
loadzone=it
defaultzone=it

--- zapata.conf ---
[channels]
language=en
context=from-tdm-fxo
signalling=fxs_ks
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
busydetect=yes
busycount=6
usecallerid=yes
callerid=asreceived
echocancel=yes
echocancelwhenbridged=no
relaxdtmf=yes
rxgain=3.0
txgain=0.0
amaflags=billing
group=1
callgroup=1
pickupgroup=1
jbenable=yes
faxdetect=no

channel = 1


I'm using zaptel-1.4.6 and asterisk-1.4.20.1.

I hope this could help you.

Best regards,
Marco Signorini.




Enrico Maistro wrote:
 Hi,

 I'm trying to get up and running a TDM400 with a standard italian pots 
 line but i'm having
  problems at getting asterisk to detect when the line get answered on 
 outgoing calls.

 I'm using asterisk 1.6 beta 9 with zaptel 1.4.11.

 I tried with and without answeronpolarityswitch=yes but it didn't change 
 anything at all.

 With callprogress=yes answer get never detected.
 With callprogress=no line get answered as soon as it start ringing, 
 regardless if someone
 really answer the call.


 Zaptel channels use fxs_ks signalling .

 Loading wctdm module with debug=1 result in:

 kernel: Freshmaker version: 73
 kernel: Freshmaker passed register test
 kernel: ProSLIC on module 0, product 3, version 15
 kernel: VoiceDAA System: 04
 kernel: ISO-Cap is now up, line side: 03 rev 06
 kernel: setting FXO tx gain for card=0 to 0
 kernel: setting FXO rx gain for card=0 to 0
 kernel: DEBUG fxotxgain:0.0 fxorxgain:0.0
 kernel: Module 0: Installed -- AUTO FXO (FCC mode)
 kernel: ProSLIC on module 1, product 0, version 0
 kernel: VoiceDAA System: 04
 kernel: ISO-Cap is now up, line side: 03 rev 06
 kernel: setting FXO tx gain for card=1 to 0
 kernel: setting FXO rx gain for card=1 to 0
 kernel: DEBUG fxotxgain:0.0 fxorxgain:0.0
 kernel: Module 1: Installed -- AUTO FXO (FCC mode)
 kernel: ProSLIC on module 2, product 0, version 0
 kernel: Module 2: Not installed
 kernel: ProSLIC on module 3, product 0, version 0
 kernel: Module 3: Not installed
 kernel: Found a Wildcard TDM: Wildcard TDM400P REV I (2 modules)
 kernel: 4294908325 Polarity reversed (0 - -1)
 kernel: 4294908326 Polarity reversed (0 - 1)
 kernel: BATTERY on 1/1 (-)!
 kernel: NO BATTERY on 1/2!

 Any suggestion?
 Am i trying to do something that simply can't be done?

 Thanks,
 Enrico Maistro


 ___
   


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

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

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


Re: [asterisk-users] Zaptel problem with pots lines

2008-07-15 Thread Enrico Maistro
Hi Noah,

 Hi Enrico -
 
 I'm trying to get up and running a TDM400 with a standard italian pots
 line but i'm having
  problems at getting asterisk to detect when the line get answered on
 outgoing calls.

 I'm using asterisk 1.6 beta 9 with zaptel 1.4.11.

 Zaptel channels use fxs_ks signalling .
 
 I must admit I know nothing about Italian phone lines, but maybe you
 could try other signalling methods?  Maybe ground start or loop start
 would work.
 
 
 - Noah

Unfortunatly i already tried both loop start and ground start without 
any luck... after googling around for a while it seems clear that the 
right signalling to use here in Italy is ks.

Enrico


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

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

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


Re: [asterisk-users] Zaptel problem with pots lines

2008-07-15 Thread Enrico Maistro
Hi Giorgio,

Giorgio Incantalupo wrote:
 Hi Enrico,
 have you tried with busydetect=yes? It (sometimes) worked for me with 
 Asterisk 1.2.
 
 
 Giorgio

I'm already using busydetect=yes to detect hangup and busy conditions 
with good results, but it doesn't seem to be of any help on detecting 
answer conditions.

Enrico


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

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

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


Re: [asterisk-users] Zaptel problem with pots lines

2008-07-15 Thread Enrico Maistro
Hi Marco,

Marco Signorini wrote:
 Hi Enrico.
 In Italy the polarity reversal is never used.

Good to know... at least i can stop messing with it.

 I'm using the TDM400 with an FXO port in Italy with the config reported
 below and is working properly in any situations:
 
 --- zaptel.conf ---
 fxsks=1
 loadzone=it
 defaultzone=it

My zaptel.conf is exactly the same.

 --- zapata.conf ---
 [channels]
 language=en
 context=from-tdm-fxo
 signalling=fxs_ks
 threewaycalling=yes
 transfer=yes
 canpark=yes
 cancallforward=yes
 callreturn=yes
 busydetect=yes
 busycount=6
 usecallerid=yes
 callerid=asreceived
 echocancel=yes
 echocancelwhenbridged=no
 relaxdtmf=yes
 rxgain=3.0
 txgain=0.0
 amaflags=billing
 group=1
 callgroup=1
 pickupgroup=1
 jbenable=yes
 faxdetect=no
 
 channel = 1

My zapata.conf differs in:
language = it instead of en
rxgain = 0.0 instead of 3.0
jbenable = no instead of yes

Unfortunatly even with your exact same configuration nothing change.

 I'm using zaptel-1.4.6 and asterisk-1.4.20.1.

I'll give a try with zaptel-1.4.6...

 I hope this could help you.
 
 Best regards,
 Marco Signorini.

Regards,
Enrico Maistro


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

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

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


Re: [asterisk-users] Zaptel problem with pots lines

2008-07-15 Thread Marco Signorini
Hi Enrico.

I'm quite sure that the differences you have in the zapata.conf doesn't
have any effect on the problem.
If I'm not wrong:
language=it tells asterisk to use the italian sounds (if available)
for any calls related to this zap channel;
rxgain = 0.0 is related only to perceived audio gain
jbenable = no is forcing the jitter buffer off for this zap channel.

Let us know if you have problems with zaptel-1.4.6. I can assure that
with this version and this configuration more than one installation with
TDM400P I'm responsible for is working fine (since 1.4.6 came out).

Could be that the problem is related to Asterisk 1.6? Unfortunately I
never had the possibility to try this new version.

Best regards,
Marco Signorini.



Enrico Maistro wrote:
 My zapata.conf differs in:
 language = it instead of en
 rxgain = 0.0 instead of 3.0
 jbenable = no instead of yes

 Unfortunatly even with your exact same configuration nothing change.

   
 I'm using zaptel-1.4.6 and asterisk-1.4.20.1.
 

 I'll give a try with zaptel-1.4.6...
   

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

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

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

Re: [asterisk-users] Zaptel problem with pots lines

2008-07-15 Thread Tzafrir Cohen
On Mon, Jul 14, 2008 at 08:56:40PM +0200, Enrico Maistro wrote:
 Hi,
 
 I'm trying to get up and running a TDM400 with a standard italian pots 
 line but i'm having
  problems at getting asterisk to detect when the line get answered on 
 outgoing calls.

AFAIK chan_zap can only detect answer if it is provided through a
polarity reversal.

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

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

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


Re: [asterisk-users] Zaptel problem with pots lines

2008-07-15 Thread Marco Signorini
Hi Tzafrir,
you're right. I think I've completely misunderstood the problem.

If the problem is that asterisk is not able to write in the CDR the
proper line answer status, I can confirm that even my installations
behave the same.
Sorry Enrico for my fault and thank you to Tzafrir for the correction.

Best regards,
Marco Signorini.




Tzafrir Cohen wrote:
 On Mon, Jul 14, 2008 at 08:56:40PM +0200, Enrico Maistro wrote:
   
 Hi,

 I'm trying to get up and running a TDM400 with a standard italian pots 
 line but i'm having
  problems at getting asterisk to detect when the line get answered on 
 outgoing calls.
 

 AFAIK chan_zap can only detect answer if it is provided through a
 polarity reversal.

   


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

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

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


[asterisk-users] Zaptel problem with pots lines

2008-07-14 Thread Enrico Maistro
Hi,

I'm trying to get up and running a TDM400 with a standard italian pots 
line but i'm having
 problems at getting asterisk to detect when the line get answered on 
outgoing calls.

I'm using asterisk 1.6 beta 9 with zaptel 1.4.11.

I tried with and without answeronpolarityswitch=yes but it didn't change 
anything at all.

With callprogress=yes answer get never detected.
With callprogress=no line get answered as soon as it start ringing, 
regardless if someone
really answer the call.


Zaptel channels use fxs_ks signalling .

Loading wctdm module with debug=1 result in:

kernel: Freshmaker version: 73
kernel: Freshmaker passed register test
kernel: ProSLIC on module 0, product 3, version 15
kernel: VoiceDAA System: 04
kernel: ISO-Cap is now up, line side: 03 rev 06
kernel: setting FXO tx gain for card=0 to 0
kernel: setting FXO rx gain for card=0 to 0
kernel: DEBUG fxotxgain:0.0 fxorxgain:0.0
kernel: Module 0: Installed -- AUTO FXO (FCC mode)
kernel: ProSLIC on module 1, product 0, version 0
kernel: VoiceDAA System: 04
kernel: ISO-Cap is now up, line side: 03 rev 06
kernel: setting FXO tx gain for card=1 to 0
kernel: setting FXO rx gain for card=1 to 0
kernel: DEBUG fxotxgain:0.0 fxorxgain:0.0
kernel: Module 1: Installed -- AUTO FXO (FCC mode)
kernel: ProSLIC on module 2, product 0, version 0
kernel: Module 2: Not installed
kernel: ProSLIC on module 3, product 0, version 0
kernel: Module 3: Not installed
kernel: Found a Wildcard TDM: Wildcard TDM400P REV I (2 modules)
kernel: 4294908325 Polarity reversed (0 - -1)
kernel: 4294908326 Polarity reversed (0 - 1)
kernel: BATTERY on 1/1 (-)!
kernel: NO BATTERY on 1/2!

Any suggestion?
Am i trying to do something that simply can't be done?

Thanks,
Enrico Maistro


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

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

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


Re: [asterisk-users] Zaptel problem with pots lines

2008-07-14 Thread Noah Miller
Hi Enrico -

 I'm trying to get up and running a TDM400 with a standard italian pots
 line but i'm having
  problems at getting asterisk to detect when the line get answered on
 outgoing calls.

 I'm using asterisk 1.6 beta 9 with zaptel 1.4.11.

 Zaptel channels use fxs_ks signalling .

I must admit I know nothing about Italian phone lines, but maybe you
could try other signalling methods?  Maybe ground start or loop start
would work.


- Noah

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

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

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


[asterisk-users] ZAPTEL problem

2007-05-28 Thread ram

Hi

I have 100XP Digium clone card

Installed in my pc

and compiled zaptel and asterisk again after installing the card

but after i  rebooted

i can load zaptel and wcfxo modprobe with out any problem

but when i intiated ztcfg -

i get the following error


Zaptel Configuration
==


1 channels configured.
ZT_CHANCONFIG failed on channel 1: No such device or address (6)



-

dmesg errors

Zapata Telephony Interface Unloaded
Zapata Telephony Interface Registered on major 196
Zaptel Version: SVN-branch-1.2-r1725 Echo Canceller: KB1
Failed to initailize DAA, giving up...
wcfxo: probe of :00:10.0 failed with error -5

--

lspci

00:0c.1 SCSI storage controller: Adaptec AIC-7896U2/7897U2
00:10.0 Communication controller: Motorola Unknown device 5608



any suggestions

ram
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] ZAPTEL problem

2007-05-28 Thread Tzafrir Cohen
On Mon, May 28, 2007 at 02:22:34PM +0530, ram wrote:
 Hi
 
 I have 100XP Digium clone card
 
 Installed in my pc
 
 and compiled zaptel and asterisk again after installing the card
 
 but after i  rebooted
 
 i can load zaptel and wcfxo modprobe with out any problem
 
 but when i intiated ztcfg -
 
 i get the following error
 
 
 Zaptel Configuration
 ==
 
 
 1 channels configured.
 ZT_CHANCONFIG failed on channel 1: No such device or address (6)

No device to talk to. Why?

 
 
 
 -
 
 dmesg errors
 
 Zapata Telephony Interface Unloaded
 Zapata Telephony Interface Registered on major 196
 Zaptel Version: SVN-branch-1.2-r1725 Echo Canceller: KB1
 Failed to initailize DAA, giving up...
 wcfxo: probe of :00:10.0 failed with error -5

The problem is here. Defective card? PCI-level problems?

An example of PCI-level issues is the following magic that worked
for me with several cards with some computers (at least with some 
specific kernels) - adding the boot parameter 'pci=noacpi' to the kernel 
command-line.

 
 --
 
 lspci
 
 00:0c.1 SCSI storage controller: Adaptec AIC-7896U2/7897U2
 00:10.0 Communication controller: Motorola Unknown device 5608

I assume that the second line is the X100P card.

-- 
   Tzafrir Cohen   
icq#16849755jabber:[EMAIL PROTECTED]
+972-50-7952406   mailto:[EMAIL PROTECTED]   
http://www.xorcom.com  iax:[EMAIL PROTECTED]/tzafrir
___
--Bandwidth and Colocation provided by Easynews.com --

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


[asterisk-users] ZAPTEL PROBLEM

2007-04-30 Thread Diego Quintana Cruz

Hi all,
I am using a TDM400P card with 2 FXS and 2 FXO modules. Everything
seems nice, but i'm not able to make calls nor to receive any. When I
try to make a call, I keep receiven the all circuits are busy now
message, and when I receive calls, asterisk doesn't seems to care
(don't get anything on the CLI)

I'm using Asterisk 1.2.17 and Zaptel 1.2.16 from Xorcom's repository

voip:~# asterisk -rx 'zap show status'
Description  Alarms IRQbpviol CRC4
Wildcard TDM400P REV I Board 1   OK 0  0  0

voip:~# asterisk -rx 'zap show channels'
  Chan Extension  Context Language   MusicOnHold
pseudofrom-internal   es
 1from-internal   es
 2from-internal   es
 3from-pstn   es
 4from-pstn   es

I thought it could be an IRQ problem, but everything seems fine

voip:~# cat /proc/interrupts
  CPU0
 0:  118621819  XT-PIC  timer
 1:811  XT-PIC  i8042
 2:  0  XT-PIC  cascade
 5:  0  XT-PIC  uhci_hcd:usb3, via82cxxx
 6:  5  XT-PIC  floppy
 7:  0  XT-PIC  parport0
 8:  1  XT-PIC  rtc
 9:  0  XT-PIC  acpi
10:2879759  XT-PIC  uhci_hcd:usb2, eth0
11:3048189  XT-PIC  uhci_hcd:usb1, eth1
12:  474378440  XT-PIC  ehci_hcd:usb4, wctdm
14:1074418  XT-PIC  ide0
15:4239765  XT-PIC  ide1
NMI:  0
LOC:  0
ERR:  0
MIS:  0

Hope you can help me with my problem.
--
Diego Quintana a.k.a. RouterMaN
Ingeniero de las Telecomunicaciones
Linux Registered User #382615 - http://counter.li.org/
SIP # 1-747-633-6676 Ext. 1011
FWD # 764839 Ext. 1011
http://routerman.blogsome.com
http://gst.telecom.pucp.edu.pe
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] ZAPTEL PROBLEM

2007-04-30 Thread Tzafrir Cohen
On Mon, Apr 30, 2007 at 12:25:07PM -0500, Diego Quintana Cruz wrote:
 Hi all,
 I am using a TDM400P card with 2 FXS and 2 FXO modules. Everything
 seems nice, but i'm not able to make calls nor to receive any. When I
 try to make a call, I keep receiven the all circuits are busy now
 message, and when I receive calls, asterisk doesn't seems to care
 (don't get anything on the CLI)

set verbose 3?

Call from where? To where?

Do you see the relevant channel as offhook in 'zap show channel N' ?

Sanity check:

  asterisk -rx 'show channels'

(hmm... asterisk -n -rx 'show channels'hangs for you as well?)

 
 I'm using Asterisk 1.2.17 and Zaptel 1.2.16 from Xorcom's repository

asterisk-classic or asterisk-bristuff?

 
 voip:~# asterisk -rx 'zap show status'
 Description  Alarms IRQbpviol 
 CRC4
 Wildcard TDM400P REV I Board 1   OK 0  0  0
 
 voip:~# asterisk -rx 'zap show channels'
   Chan Extension  Context Language   MusicOnHold
 pseudofrom-internal   es
  1from-internal   es
  2from-internal   es
  3from-pstn   es
  4from-pstn   es
 
 I thought it could be an IRQ problem, but everything seems fine
 
 voip:~# cat /proc/interrupts
   CPU0
  0:  118621819  XT-PIC  timer
  1:811  XT-PIC  i8042
  2:  0  XT-PIC  cascade
  5:  0  XT-PIC  uhci_hcd:usb3, via82cxxx
  6:  5  XT-PIC  floppy
  7:  0  XT-PIC  parport0
  8:  1  XT-PIC  rtc
  9:  0  XT-PIC  acpi
 10:2879759  XT-PIC  uhci_hcd:usb2, eth0
 11:3048189  XT-PIC  uhci_hcd:usb1, eth1
 12:  474378440  XT-PIC  ehci_hcd:usb4, wctdm

ehci_hcd:usb4 does normally take all the USB interrupts. However this
issue is probably not related to missed interrupts , if there are any.

 14:1074418  XT-PIC  ide0
 15:4239765  XT-PIC  ide1
 NMI:  0
 LOC:  0
 ERR:  0
 MIS:  0

-- 
   Tzafrir Cohen   
icq#16849755jabber:[EMAIL PROTECTED]
+972-50-7952406   mailto:[EMAIL PROTECTED]   
http://www.xorcom.com  iax:[EMAIL PROTECTED]/tzafrir
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] ZAPTEL PROBLEM

2007-04-30 Thread Diego Quintana Cruz

2007/4/30, Tzafrir Cohen [EMAIL PROTECTED]:

On Mon, Apr 30, 2007 at 12:25:07PM -0500, Diego Quintana Cruz wrote:
 Hi all,
 I am using a TDM400P card with 2 FXS and 2 FXO modules. Everything
 seems nice, but i'm not able to make calls nor to receive any. When I
 try to make a call, I keep receiven the all circuits are busy now
 message, and when I receive calls, asterisk doesn't seems to care
 (don't get anything on the CLI)

set verbose 3?

Call from where? To where?



From PSTN to Asterisk and viceversa

Do you see the relevant channel as offhook in 'zap show channel N' ?


I'm not able to to see the channel anymore.

voip*CLI zap show channel 3
Unable to find given channel 3

I found that this error happens every time i receive an inbound call:
Apr 30 15:08:39 NOTICE[6003] chan_zap.c: Got ZT_EVENT_REMOVED.
Destroying channel 3




Sanity check:

  asterisk -rx 'show channels'


voip*CLI show channels
Channel  Location State   Application(Data)
0 active channels
0 active calls


voip*CLI zap show channels
  Chan Extension  Context Language   MusicOnHold
pseudofrom-internal   es
 1from-internal   es
 2from-internal   es
 4from-zaptel es




(hmm... asterisk -n -rx 'show channels'hangs for you as well?)


 I'm using Asterisk 1.2.17 and Zaptel 1.2.16 from Xorcom's repository

asterisk-classic or asterisk-bristuff?

asterisk-classic




 voip:~# asterisk -rx 'zap show status'
 Description  Alarms IRQbpviol
 CRC4
 Wildcard TDM400P REV I Board 1   OK 0  0  0

 voip:~# asterisk -rx 'zap show channels'
   Chan Extension  Context Language   MusicOnHold
 pseudofrom-internal   es
  1from-internal   es
  2from-internal   es
  3from-pstn   es
  4from-pstn   es

 I thought it could be an IRQ problem, but everything seems fine

 voip:~# cat /proc/interrupts
   CPU0
  0:  118621819  XT-PIC  timer
  1:811  XT-PIC  i8042
  2:  0  XT-PIC  cascade
  5:  0  XT-PIC  uhci_hcd:usb3, via82cxxx
  6:  5  XT-PIC  floppy
  7:  0  XT-PIC  parport0
  8:  1  XT-PIC  rtc
  9:  0  XT-PIC  acpi
 10:2879759  XT-PIC  uhci_hcd:usb2, eth0
 11:3048189  XT-PIC  uhci_hcd:usb1, eth1
 12:  474378440  XT-PIC  ehci_hcd:usb4, wctdm

ehci_hcd:usb4 does normally take all the USB interrupts. However this
issue is probably not related to missed interrupts , if there are any.

 14:1074418  XT-PIC  ide0
 15:4239765  XT-PIC  ide1
 NMI:  0
 LOC:  0
 ERR:  0
 MIS:  0



Any help would be appreciated

--
Diego Quintana a.k.a. RouterMaN
Ingeniero de las Telecomunicaciones
Linux Registered User #382615 - http://counter.li.org/
SIP # 1-747-633-6676 Ext. 1011
FWD # 764839 Ext. 1011
http://routerman.blogsome.com
http://gst.telecom.pucp.edu.pe
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] ZAPTEL PROBLEM

2007-04-30 Thread Tzafrir Cohen
On Mon, Apr 30, 2007 at 12:25:07PM -0500, Diego Quintana Cruz wrote:
 Hi all,
 I am using a TDM400P card with 2 FXS and 2 FXO modules. Everything
 seems nice, but i'm not able to make calls nor to receive any. When I
 try to make a call, I keep receiven the all circuits are busy now
 message, and when I receive calls, asterisk doesn't seems to care
 (don't get anything on the CLI)
 
 I'm using Asterisk 1.2.17 and Zaptel 1.2.16 from Xorcom's repository
 
 voip:~# asterisk -rx 'zap show status'
 Description  Alarms IRQbpviol 
 CRC4
 Wildcard TDM400P REV I Board 1   OK 0  0  0
 
 voip:~# asterisk -rx 'zap show channels'
   Chan Extension  Context Language   MusicOnHold
 pseudofrom-internal   es
  1from-internal   es
  2from-internal   es
  3from-pstn   es
  4from-pstn   es

After some further digging:

it turns out that when there' a problem, the output of the above command
is actually:
 
 voip:~# asterisk -rx 'zap show channels'
   Chan Extension  Context Language   MusicOnHold
 pseudofrom-internal   es
  1from-internal   es
  2from-internal   es
  4from-pstn   es

that is: channel 3 has been destroyed.

The logs show:

Apr 30 14:50:53 DEBUG[6003] chan_zap.c: Message status for 401 changed from -1 
to 0 on 1
Apr 30 14:51:00 NOTICE[6003] chan_zap.c: Got ZT_EVENT_REMOVED. Destroying 
channel 3
Apr 30 14:51:16 DEBUG[6004] chan_sip.c: Stopping retransmission on [snipped by 
Tzafrir]

This seems to happen when you disconnect an incoming FXO call.



ZT_EVENT_REMOVED is defined to be 20 . That package includes a patch
that has been applied to trunk in rev 58321.

Anybody encountered this in Asterisk/trunk with a wctdm card with an FXO
module?

-- 
   Tzafrir Cohen   
icq#16849755jabber:[EMAIL PROTECTED]
+972-50-7952406   mailto:[EMAIL PROTECTED]   
http://www.xorcom.com  iax:[EMAIL PROTECTED]/tzafrir
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] ZAPTEL PROBLEM

2007-04-30 Thread Tzafrir Cohen
On Mon, Apr 30, 2007 at 11:37:22PM +0300, Tzafrir Cohen wrote:

 The logs show:
 
 Apr 30 14:50:53 DEBUG[6003] chan_zap.c: Message status for 401 changed from 
 -1 to 0 on 1
 Apr 30 14:51:00 NOTICE[6003] chan_zap.c: Got ZT_EVENT_REMOVED. Destroying 
 channel 3
 Apr 30 14:51:16 DEBUG[6004] chan_sip.c: Stopping retransmission on [snipped 
 by Tzafrir]
 
 This seems to happen when you disconnect an incoming FXO call.
 
 
 
 ZT_EVENT_REMOVED is defined to be 20 . That package includes a patch
 that has been applied to trunk in rev 58321.

oops.

With one minor difference: the patch that went into trunk included an
extra break that prevented polarity reversal events from falling through
to the ZT_EVENT_REMOVED .

In short: not a problem with trunk, only with my package. I'll upload fixed 
packages shortly.

-- 
   Tzafrir Cohen   
icq#16849755jabber:[EMAIL PROTECTED]
+972-50-7952406   mailto:[EMAIL PROTECTED]   
http://www.xorcom.com  iax:[EMAIL PROTECTED]/tzafrir
___
--Bandwidth and Colocation provided by Easynews.com --

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


RE: [asterisk-users] Zaptel problem after upgrading to 1.2.16

2007-03-10 Thread Mark Davies
Never mind - I seem to have fixed this.  I had unloaded zaptel and wctdm
when recompiling everything, so asterisk apparently didn't compile those
modules because I assume it didn't think I had the hardware installed.

 

 

All working!

 

 

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Drew
Gibson
Sent: Saturday, 10 March 2007 12:04 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Zaptel problem after upgrading to 1.2.16

 

Mark Davies wrote: 

Hi guys,

 

I'm hoping I've made a silly mistake here, but I've been staring at the
screen for the past few hours and I can't work it out.

 

I upgraded to 1.2.16 recently, and am having problems with zaptel.

 

The card is detected, I get a reasonable output from ztcfg -vv, and
zttool shows the installed module (TDM400) with one FXS module.

 

But when I start asterisk, I get an error saying that my IAX connection
won't work in trunked mode because there's no timing interface.  Zaptel
doesn't show up in the output of show channeltypes.

 

Should there be a problem with using the trunk version of zaptel, but
1.2.16 of asterisk?

 

Are there any places that I can specifically load/enable the zaptel
module?

Is there a chan_zap.so in /usr/lib/asterisk/modules?
Are you upgrading over an existing install of Asterisk, or did you
remove the old ver first?

I had trouble building Asterisk 1.2.15 with the 1.4 zaptel driver.
Asterisk did not find the zaptel src and wouldn't build chan_zap.so.

regards,

Drew




-- 
Drew Gibson
 
Systems Administrator
OANDA Corporation
www.oanda.com
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Zaptel problem after upgrading to 1.2.16

2007-03-09 Thread Tzafrir Cohen
On Fri, Mar 09, 2007 at 04:13:04PM +0900, Mark Davies wrote:
 Hi guys,
 
  
 
 I'm hoping I've made a silly mistake here, but I've been staring at the
 screen for the past few hours and I can't work it out.
 
  
 
 I upgraded to 1.2.16 recently, and am having problems with zaptel.
 
  
 
 The card is detected, I get a reasonable output from ztcfg -vv, and
 zttool shows the installed module (TDM400) with one FXS module.
 

Can you use those modules from Asterisk? Do you get a dialtone on the
phone?

  
 
 But when I start asterisk, I get an error saying that my IAX connection
 won't work in trunked mode because there's no timing interface.  Zaptel
 doesn't show up in the output of show channeltypes.

Is there any?

Is chan_zap.so loaded ? Do you even have
/usr/lib/asterisk/modules/chan_zap.so ?

If yes: do you have a valid timing source:

try zttest .

 
  
 
 Should there be a problem with using the trunk version of zaptel, but
 1.2.16 of asterisk?
 

Did the same configuration work with other versions of Asterisk 1.2?
What version of Zaptel do you have?

  
 
 Are there any places that I can specifically load/enable the zaptel
 module?
 

Do you have automatic modules loading enabled in modules.conf?

-- 
   Tzafrir Cohen   
icq#16849755jabber:[EMAIL PROTECTED]
+972-50-7952406   mailto:[EMAIL PROTECTED]   
http://www.xorcom.com  iax:[EMAIL PROTECTED]/tzafrir
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Zaptel problem after upgrading to 1.2.16

2007-03-09 Thread Drew Gibson

Mark Davies wrote:


Hi guys,

 

I'm hoping I've made a silly mistake here, but I've been staring at 
the screen for the past few hours and I can't work it out.


 


I upgraded to 1.2.16 recently, and am having problems with zaptel.

 

The card is detected, I get a reasonable output from ztcfg -vv, and 
zttool shows the installed module (TDM400) with one FXS module.


 

But when I start asterisk, I get an error saying that my IAX 
connection won't work in trunked mode because there's no timing 
interface.  Zaptel doesn't show up in the output of show channeltypes.


 

Should there be a problem with using the trunk version of zaptel, but 
1.2.16 of asterisk?


 

Are there any places that I can specifically load/enable the zaptel 
module?



Is there a chan_zap.so in /usr/lib/asterisk/modules?
Are you upgrading over an existing install of Asterisk, or did you 
remove the old ver first?


I had trouble building Asterisk 1.2.15 with the 1.4 zaptel driver. 
Asterisk did not find the zaptel src and wouldn't build chan_zap.so.


regards,

Drew

--
Drew Gibson

Systems Administrator
OANDA Corporation
www.oanda.com

___
--Bandwidth and Colocation provided by Easynews.com --

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


RE: [asterisk-users] Zaptel problem after upgrading to 1.2.16

2007-03-09 Thread Mark Davies
Ah!

 

No, there isn't a chan_zap.so in /usr/lib/asterisk/modules.  I installed
over a previous version, however I did delete the contents of
/usr/lib/asterisk/modules before compiling and installing zaptel, libpri
and asterisk.

 

What is the best way to get chan_zap.so in there?  Shouldn't that get
installed when I do a make install of zaptel?

 

 

Cheers,

 

Mark.

 

 

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Drew
Gibson
Sent: Saturday, 10 March 2007 12:04 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Zaptel problem after upgrading to 1.2.16

 

Mark Davies wrote: 

Hi guys,

 

I'm hoping I've made a silly mistake here, but I've been staring at the
screen for the past few hours and I can't work it out.

 

I upgraded to 1.2.16 recently, and am having problems with zaptel.

 

The card is detected, I get a reasonable output from ztcfg -vv, and
zttool shows the installed module (TDM400) with one FXS module.

 

But when I start asterisk, I get an error saying that my IAX connection
won't work in trunked mode because there's no timing interface.  Zaptel
doesn't show up in the output of show channeltypes.

 

Should there be a problem with using the trunk version of zaptel, but
1.2.16 of asterisk?

 

Are there any places that I can specifically load/enable the zaptel
module?

Is there a chan_zap.so in /usr/lib/asterisk/modules?
Are you upgrading over an existing install of Asterisk, or did you
remove the old ver first?

I had trouble building Asterisk 1.2.15 with the 1.4 zaptel driver.
Asterisk did not find the zaptel src and wouldn't build chan_zap.so.

regards,

Drew




-- 
Drew Gibson
 
Systems Administrator
OANDA Corporation
www.oanda.com
___
--Bandwidth and Colocation provided by Easynews.com --

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


[asterisk-users] Zaptel problem after upgrading to 1.2.16

2007-03-08 Thread Mark Davies
Hi guys,

 

I'm hoping I've made a silly mistake here, but I've been staring at the
screen for the past few hours and I can't work it out.

 

I upgraded to 1.2.16 recently, and am having problems with zaptel.

 

The card is detected, I get a reasonable output from ztcfg -vv, and
zttool shows the installed module (TDM400) with one FXS module.

 

But when I start asterisk, I get an error saying that my IAX connection
won't work in trunked mode because there's no timing interface.  Zaptel
doesn't show up in the output of show channeltypes.

 

Should there be a problem with using the trunk version of zaptel, but
1.2.16 of asterisk?

 

Are there any places that I can specifically load/enable the zaptel
module?

 

 

Any help much appreciated before I go insane...  J

 

 

Regards,

 

Mark.

___
--Bandwidth and Colocation provided by Easynews.com --

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


[asterisk-users] Zaptel Problem - Unable to create channel of type 'Zap'

2006-07-19 Thread Lincoln Zuljewic Silva




Hello all. I have a Digitum TE110P board configured and working (I
think that it's working). When I configure in extensions.conf to a
extension route to that board I get "Unable to create channel of type
'Zap'" on log.

Here are some configuration:

lspci -vv
:01:07.0 Network controller: Tiger Jet Network Inc. Tiger3XX
Modem/ISDN interface
 Subsystem: Unknown device 795e:0001
 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR+ FastB2B-
 Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium
TAbort- TAbort- MAbort- SERR- PERR-
 Latency: 64 (250ns min, 32000ns max)
 Interrupt: pin A routed to IRQ 11
 Region 0: I/O ports at c800 [size=256]
 Region 1: Memory at fc5ff000 (32-bit, non-prefetchable)
[size=4K]
 Capabilities: [40] Power Management version 2
 Flags: PMEClk- DSI+ D1- D2+ AuxCurrent=0mA
PME(D0+,D1-,D2+,D3hot+,D3cold-)
 Status: D0 PME-Enable- DSel=0 DScale=0 PME-

ztcfg -vv
Zaptel Configuration
==

SPAN 1: CAS/HDB3 Build-out: 0 db (CSU)/0-133 feet (DSX-1)

Channel map:

Channel 01: Individual Clear channel (Default) (Slaves: 01)
Channel 02: Individual Clear channel (Default) (Slaves: 02)
Channel 03: Individual Clear channel (Default) (Slaves: 03)
Channel 04: Individual Clear channel (Default) (Slaves: 04)
Channel 05: Individual Clear channel (Default) (Slaves: 05)
Channel 06: Individual Clear channel (Default) (Slaves: 06)
Channel 07: Individual Clear channel (Default) (Slaves: 07)
Channel 08: Individual Clear channel (Default) (Slaves: 08)
Channel 09: Individual Clear channel (Default) (Slaves: 09)
Channel 10: Individual Clear channel (Default) (Slaves: 10)
Channel 11: Individual Clear channel (Default) (Slaves: 11)
Channel 12: Individual Clear channel (Default) (Slaves: 12)
Channel 13: Individual Clear channel (Default) (Slaves: 13)
Channel 14: Individual Clear channel (Default) (Slaves: 14)
Channel 15: Individual Clear channel (Default) (Slaves: 15)
Channel 16: D-channel (Default) (Slaves: 16)
Channel 17: Individual Clear channel (Default) (Slaves: 17)
Channel 18: Individual Clear channel (Default) (Slaves: 18)
Channel 19: Individual Clear channel (Default) (Slaves: 19)
Channel 20: Individual Clear channel (Default) (Slaves: 20)
Channel 21: Individual Clear channel (Default) (Slaves: 21)
Channel 22: Individual Clear channel (Default) (Slaves: 22)
Channel 23: Individual Clear channel (Default) (Slaves: 23)
Channel 24: Individual Clear channel (Default) (Slaves: 24)
Channel 25: Individual Clear channel (Default) (Slaves: 25)
Channel 26: Individual Clear channel (Default) (Slaves: 26)
Channel 27: Individual Clear channel (Default) (Slaves: 27)
Channel 28: Individual Clear channel (Default) (Slaves: 28)
Channel 29: Individual Clear channel (Default) (Slaves: 29)
Channel 30: Individual Clear channel (Default) (Slaves: 30)
Channel 31: Individual Clear channel (Default) (Slaves: 31)

31 channels configured.

My zaptel.cfg
span=1,0,0,cas,hdb3
loadzone=us
defaultzone=us
bchan=1-15,17-31
dchan=16

My zapata.conf
[channels]
context=customer
signalling=pri_cpe
channel = 1

My extensions.conf
exten = 4502,1,Dial(Zap/1/4502)

show channels in Asterisk CLI:
 Channel (Context Extension Pri ) State Appl.
Data
0 active channel(s)

zap show channels in Asterisk CLI:
 Chan Extension Context Language MusicOnHold
pseudo customer
 1 customer

zap show channel 1 in Asterisk CLI:
hannel: 1
File Descriptor: 10
Span: 1
Extension:
Dialing: no
Context: corsidian
Caller ID string:
Destroy: 0
InAlarm: 0
Signalling Type: PRI Signalling
Owner: None
Real: None
Callwait: None
Threeway: None
Confno: -1
Propagated Conference: -1
Real in conference: 0
DSP: no
Relax DTMF: no
Dialing/CallwaitCAS: 0/0
Default law: alaw
Fax Handled: no
Pulse phone: no
Echo Cancellation: 0 taps unless TDM bridged, currently OFF
PRI Flags:
PRI Logical Span: Implicit
Actual Hookstate: Onhook

When I dial 4502 in the softphone I get "Unable to create channel
of type 'Zap'".
Could anybody give to me a little help ?

Thanks a lot !
Lincoln



___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Zaptel Problem - Unable to create channel of type 'Zap'

2006-07-19 Thread Moises Silva

Are you sure the other end is configured properly?
What does zttool says?
Have you turned on all the asterisk debug messages to look further?

Regards

On 7/19/06, Lincoln Zuljewic Silva [EMAIL PROTECTED] wrote:


 Hello all. I have a Digitum TE110P board configured and working (I think
that it's working). When I configure in extensions.conf to a extension route
to that board I get Unable to create channel of type 'Zap' on log.

 Here are some configuration:

 lspci -vv
 :01:07.0 Network controller: Tiger Jet Network Inc. Tiger3XX Modem/ISDN
interface
 Subsystem: Unknown device 795e:0001
 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR+ FastB2B-
 Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium TAbort-
TAbort- MAbort- SERR- PERR-
 Latency: 64 (250ns min, 32000ns max)
 Interrupt: pin A routed to IRQ 11
 Region 0: I/O ports at c800 [size=256]
 Region 1: Memory at fc5ff000 (32-bit, non-prefetchable) [size=4K]
 Capabilities: [40] Power Management version 2
 Flags: PMEClk- DSI+ D1- D2+ AuxCurrent=0mA
PME(D0+,D1-,D2+,D3hot+,D3cold-)
 Status: D0 PME-Enable- DSel=0 DScale=0 PME-

 ztcfg -vv
 Zaptel Configuration
 ==

 SPAN 1: CAS/HDB3 Build-out: 0 db (CSU)/0-133 feet (DSX-1)

 Channel map:

 Channel 01: Individual Clear channel (Default) (Slaves: 01)
 Channel 02: Individual Clear channel (Default) (Slaves: 02)
 Channel 03: Individual Clear channel (Default) (Slaves: 03)
 Channel 04: Individual Clear channel (Default) (Slaves: 04)
 Channel 05: Individual Clear channel (Default) (Slaves: 05)
 Channel 06: Individual Clear channel (Default) (Slaves: 06)
 Channel 07: Individual Clear channel (Default) (Slaves: 07)
 Channel 08: Individual Clear channel (Default) (Slaves: 08)
 Channel 09: Individual Clear channel (Default) (Slaves: 09)
 Channel 10: Individual Clear channel (Default) (Slaves: 10)
 Channel 11: Individual Clear channel (Default) (Slaves: 11)
 Channel 12: Individual Clear channel (Default) (Slaves: 12)
 Channel 13: Individual Clear channel (Default) (Slaves: 13)
 Channel 14: Individual Clear channel (Default) (Slaves: 14)
 Channel 15: Individual Clear channel (Default) (Slaves: 15)
 Channel 16: D-channel (Default) (Slaves: 16)
 Channel 17: Individual Clear channel (Default) (Slaves: 17)
 Channel 18: Individual Clear channel (Default) (Slaves: 18)
 Channel 19: Individual Clear channel (Default) (Slaves: 19)
 Channel 20: Individual Clear channel (Default) (Slaves: 20)
 Channel 21: Individual Clear channel (Default) (Slaves: 21)
 Channel 22: Individual Clear channel (Default) (Slaves: 22)
 Channel 23: Individual Clear channel (Default) (Slaves: 23)
 Channel 24: Individual Clear channel (Default) (Slaves: 24)
 Channel 25: Individual Clear channel (Default) (Slaves: 25)
 Channel 26: Individual Clear channel (Default) (Slaves: 26)
 Channel 27: Individual Clear channel (Default) (Slaves: 27)
 Channel 28: Individual Clear channel (Default) (Slaves: 28)
 Channel 29: Individual Clear channel (Default) (Slaves: 29)
 Channel 30: Individual Clear channel (Default) (Slaves: 30)
 Channel 31: Individual Clear channel (Default) (Slaves: 31)

 31 channels configured.

 My zaptel.cfg
 span=1,0,0,cas,hdb3
 loadzone=us
 defaultzone=us
 bchan=1-15,17-31
 dchan=16

 My zapata.conf
 [channels]
 context=customer
 signalling=pri_cpe
 channel = 1

 My extensions.conf
 exten = 4502,1,Dial(Zap/1/4502)

 show channels in Asterisk CLI:
 Channel  (ContextExtensionPri )   State Appl. Data
 0 active channel(s)

 zap show channels in Asterisk CLI:
Chan Extension  Context Language   MusicOnHold
  pseudocustomer
   1customer

 zap show channel 1 in Asterisk CLI:
 hannel: 1
 File Descriptor: 10
 Span: 1
 Extension:
 Dialing: no
 Context: corsidian
 Caller ID string:
 Destroy: 0
 InAlarm: 0
 Signalling Type: PRI Signalling
 Owner: None
 Real: None
 Callwait: None
 Threeway: None
 Confno: -1
 Propagated Conference: -1
 Real in conference: 0
 DSP: no
 Relax DTMF: no
 Dialing/CallwaitCAS: 0/0
 Default law: alaw
 Fax Handled: no
 Pulse phone: no
 Echo Cancellation: 0 taps unless TDM bridged, currently OFF
 PRI Flags:
 PRI Logical Span: Implicit
 Actual Hookstate: Onhook

 When I dial 4502 in the softphone I get Unable to create channel of type
'Zap'.
 Could anybody give to me a little help ?

 Thanks a lot !
 Lincoln


___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:

http://lists.digium.com/mailman/listinfo/asterisk-users






--
Su nombre es GNU/Linux, no solamente Linux, mas info en http://www.gnu.org;
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  

Re: [asterisk-users] Zaptel Problem - Unable to create channel of type 'Zap'

2006-07-19 Thread Lincoln Zuljewic Silva




Hello Moises. I enabled debug mode in asterisk. When I dial, I get:

Jul 19 14:24:38 DEBUG[4463]: build_route: Contact hop:
sip:192.168.0.6:5060
Jul 19 14:24:38 VERBOSE[4463]: -- Executing
Dial("SIP/192.168.0.6-08137090", "Zap/1/4502") in new stack
Jul 19 14:24:38 NOTICE[4463]: Unable to create channel of type 'Zap'
Jul 19 14:24:38 VERBOSE[4463]: == Everyone is busy/congested at this
time
Jul 19 14:24:38 DEBUG[4463]: Exiting with DIALSTATUS=CHANUNAVAIL.

zttool say:
OK Digium Wildcard TE110P T1/E1 Card 0

Current Alarms: No alarms. 
Sync Source: Internally clocked
IRQ Misses: 14
Bipolar Viol: 0
Tx/Rx Levels: 0/ 0 
Total/Conf/Act: 31/ 31/ 0
112333
1234567890123456789012345789012

I thing that the other end it's ok because I can close the ISDN Link
between the two machines.

Thanks
Lincoln

Moises Silva wrote:
Are you sure the other end is configured properly?
  
What does "zttool" says?
  
Have you turned on all the asterisk debug messages to look further?
  
  
Regards
  
  
On 7/19/06, Lincoln Zuljewic Silva [EMAIL PROTECTED] wrote:
  
  
Hello all. I have a Digitum TE110P board configured and working (I
think

that it's working). When I configure in extensions.conf to a extension
route

to that board I get "Unable to create channel of type 'Zap'" on log.


Here are some configuration:


lspci -vv

:01:07.0 Network controller: Tiger Jet Network Inc. Tiger3XX
Modem/ISDN

interface

 Subsystem: Unknown device 795e:0001

 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr-

Stepping- SERR+ FastB2B-

 Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium
TAbort-

TAbort- MAbort- SERR- PERR-

 Latency: 64 (250ns min, 32000ns max)

 Interrupt: pin A routed to IRQ 11

 Region 0: I/O ports at c800 [size=256]

 Region 1: Memory at fc5ff000 (32-bit, non-prefetchable)
[size=4K]

 Capabilities: [40] Power Management version 2

 Flags: PMEClk- DSI+ D1- D2+ AuxCurrent=0mA

PME(D0+,D1-,D2+,D3hot+,D3cold-)

 Status: D0 PME-Enable- DSel=0 DScale=0 PME-


ztcfg -vv

Zaptel Configuration

==


SPAN 1: CAS/HDB3 Build-out: 0 db (CSU)/0-133 feet (DSX-1)


Channel map:


Channel 01: Individual Clear channel (Default) (Slaves: 01)

Channel 02: Individual Clear channel (Default) (Slaves: 02)

Channel 03: Individual Clear channel (Default) (Slaves: 03)

Channel 04: Individual Clear channel (Default) (Slaves: 04)

Channel 05: Individual Clear channel (Default) (Slaves: 05)

Channel 06: Individual Clear channel (Default) (Slaves: 06)

Channel 07: Individual Clear channel (Default) (Slaves: 07)

Channel 08: Individual Clear channel (Default) (Slaves: 08)

Channel 09: Individual Clear channel (Default) (Slaves: 09)

Channel 10: Individual Clear channel (Default) (Slaves: 10)

Channel 11: Individual Clear channel (Default) (Slaves: 11)

Channel 12: Individual Clear channel (Default) (Slaves: 12)

Channel 13: Individual Clear channel (Default) (Slaves: 13)

Channel 14: Individual Clear channel (Default) (Slaves: 14)

Channel 15: Individual Clear channel (Default) (Slaves: 15)

Channel 16: D-channel (Default) (Slaves: 16)

Channel 17: Individual Clear channel (Default) (Slaves: 17)

Channel 18: Individual Clear channel (Default) (Slaves: 18)

Channel 19: Individual Clear channel (Default) (Slaves: 19)

Channel 20: Individual Clear channel (Default) (Slaves: 20)

Channel 21: Individual Clear channel (Default) (Slaves: 21)

Channel 22: Individual Clear channel (Default) (Slaves: 22)

Channel 23: Individual Clear channel (Default) (Slaves: 23)

Channel 24: Individual Clear channel (Default) (Slaves: 24)

Channel 25: Individual Clear channel (Default) (Slaves: 25)

Channel 26: Individual Clear channel (Default) (Slaves: 26)

Channel 27: Individual Clear channel (Default) (Slaves: 27)

Channel 28: Individual Clear channel (Default) (Slaves: 28)

Channel 29: Individual Clear channel (Default) (Slaves: 29)

Channel 30: Individual Clear channel (Default) (Slaves: 30)

Channel 31: Individual Clear channel (Default) (Slaves: 31)


31 channels configured.


My zaptel.cfg

span=1,0,0,cas,hdb3

loadzone=us

defaultzone=us

bchan=1-15,17-31

dchan=16


My zapata.conf

[channels]

context=customer

signalling=pri_cpe

channel = 1


My extensions.conf

exten = 4502,1,Dial(Zap/1/4502)


show channels in Asterisk CLI:

 Channel (Context Extension Pri ) State Appl.
Data

0 active channel(s)


zap show channels in Asterisk CLI:

 Chan Extension Context Language MusicOnHold

 pseudo customer

 1 customer


zap show channel 1 in Asterisk CLI:

hannel: 1

File Descriptor: 10

Span: 1

Extension:

Dialing: no

Context: 

Re: [asterisk-users] Zaptel Problem - Unable to create channel of type 'Zap'

2006-07-19 Thread Moises Silva

Im not a PRI guru, just configured once one of our asterisk servers in
loop using PRI for testing purposes (we were getting problems with
MFCR2). But for my experience i can tell you that OK in zttool (no
alarms) does not means that everything should work. Only the physical
link is ok, but the call protocol may be having problems. I know you
have a card with only one port, but a very good test would be make a
crossover cable and make a loop in your box, configuring 2 spans, one
of them as pri_cpe and the other as pri_net to see if you can make
calls that way.

Regards

On 7/19/06, Lincoln Zuljewic Silva [EMAIL PROTECTED] wrote:


 Hello Moises. I enabled debug mode in asterisk. When I dial, I get:

 Jul 19 14:24:38 DEBUG[4463]: build_route: Contact hop:
sip:192.168.0.6:5060
 Jul 19 14:24:38 VERBOSE[4463]: -- Executing
Dial(SIP/192.168.0.6-08137090, Zap/1/4502) in new stack
 Jul 19 14:24:38 NOTICE[4463]: Unable to create channel of type 'Zap'
 Jul 19 14:24:38 VERBOSE[4463]:   == Everyone is busy/congested at this time
 Jul 19 14:24:38 DEBUG[4463]: Exiting with DIALSTATUS=CHANUNAVAIL.

 zttool say:
 OK  Digium Wildcard TE110P T1/E1 Card 0

 Current Alarms: No alarms.
  Sync Source:Internally clocked
 IRQ Misses:  14
 Bipolar Viol: 0
 Tx/Rx Levels: 0/  0
 Total/Conf/Act:  31/ 31/  0
 112333
 1234567890123456789012345789012

 I thing that the other end it's ok because I can close the ISDN Link
between the two machines.

 Thanks
 Lincoln

 Moises Silva wrote:
Are you sure the other end is configured properly?
 What does zttool says?
 Have you turned on all the asterisk debug messages to look further?

 Regards

 On 7/19/06, Lincoln Zuljewic Silva [EMAIL PROTECTED] wrote:


  Hello all. I have a Digitum TE110P board configured and working (I think
 that it's working). When I configure in extensions.conf to a extension
route
 to that board I get Unable to create channel of type 'Zap' on log.

  Here are some configuration:

  lspci -vv
  :01:07.0 Network controller: Tiger Jet Network Inc. Tiger3XX
Modem/ISDN
 interface
  Subsystem: Unknown device 795e:0001
  Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr-
 Stepping- SERR+ FastB2B-
  Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium TAbort-
 TAbort- MAbort- SERR- PERR-
  Latency: 64 (250ns min, 32000ns max)
  Interrupt: pin A routed to IRQ 11
  Region 0: I/O ports at c800 [size=256]
  Region 1: Memory at fc5ff000 (32-bit, non-prefetchable) [size=4K]
  Capabilities: [40] Power Management version 2
  Flags: PMEClk- DSI+ D1- D2+ AuxCurrent=0mA
 PME(D0+,D1-,D2+,D3hot+,D3cold-)
  Status: D0 PME-Enable- DSel=0 DScale=0 PME-

  ztcfg -vv
  Zaptel Configuration
  ==

  SPAN 1: CAS/HDB3 Build-out: 0 db (CSU)/0-133 feet (DSX-1)

  Channel map:

  Channel 01: Individual Clear channel (Default) (Slaves: 01)
  Channel 02: Individual Clear channel (Default) (Slaves: 02)
  Channel 03: Individual Clear channel (Default) (Slaves: 03)
  Channel 04: Individual Clear channel (Default) (Slaves: 04)
  Channel 05: Individual Clear channel (Default) (Slaves: 05)
  Channel 06: Individual Clear channel (Default) (Slaves: 06)
  Channel 07: Individual Clear channel (Default) (Slaves: 07)
  Channel 08: Individual Clear channel (Default) (Slaves: 08)
  Channel 09: Individual Clear channel (Default) (Slaves: 09)
  Channel 10: Individual Clear channel (Default) (Slaves: 10)
  Channel 11: Individual Clear channel (Default) (Slaves: 11)
  Channel 12: Individual Clear channel (Default) (Slaves: 12)
  Channel 13: Individual Clear channel (Default) (Slaves: 13)
  Channel 14: Individual Clear channel (Default) (Slaves: 14)
  Channel 15: Individual Clear channel (Default) (Slaves: 15)
  Channel 16: D-channel (Default) (Slaves: 16)
  Channel 17: Individual Clear channel (Default) (Slaves: 17)
  Channel 18: Individual Clear channel (Default) (Slaves: 18)
  Channel 19: Individual Clear channel (Default) (Slaves: 19)
  Channel 20: Individual Clear channel (Default) (Slaves: 20)
  Channel 21: Individual Clear channel (Default) (Slaves: 21)
  Channel 22: Individual Clear channel (Default) (Slaves: 22)
  Channel 23: Individual Clear channel (Default) (Slaves: 23)
  Channel 24: Individual Clear channel (Default) (Slaves: 24)
  Channel 25: Individual Clear channel (Default) (Slaves: 25)
  Channel 26: Individual Clear channel (Default) (Slaves: 26)
  Channel 27: Individual Clear channel (Default) (Slaves: 27)
  Channel 28: Individual Clear channel (Default) (Slaves: 28)
  Channel 29: Individual Clear channel (Default) (Slaves: 29)
  Channel 30: Individual Clear channel (Default) (Slaves: 30)
  Channel 31: Individual Clear channel (Default) (Slaves: 31)

  31 channels configured.

  My zaptel.cfg
  span=1,0,0,cas,hdb3
  loadzone=us
  defaultzone=us
  bchan=1-15,17-31
  dchan=16

  My 

[Asterisk-Users] Zaptel problem on 4 Processor Opteron SMP system

2006-02-15 Thread Chris Teesdale




Hi All, 

I've just put together a system comprising of the following; 

Hardware 
2 x AMD Opteron 270 Processors (Dual Core) 
Tyan K8WE Mobo 
2GB Kingston PC3200 Registered RAM 
2 x WD Raptor 1rpm 74Gb 
Digium TE210p 

Software 
Mandriva 2006 Public Release (Kernel 2.6.12-12mdksmp) 
Asterisk 1.2.4 
Zaptel 1.2.3 

Problem 
Zaptel compiles and installs to the right place after modifiing /usr/src/linux2.6.12-12/Makefile EXTRAVERSION it then installs to /lib/modules/2.6.12-12mdksmp/misc/. 
When I run modprobe zaptel I get FATAL: Error inserting zaptel (/lib/modules/2.6.12-12mdksmp/misc/zaptel.ko): Invalid module format 

uname -a reveals; 
[EMAIL PROTECTED] zaptel-1.2.3]# uname -a 
Linux asteriskpbx 2.6.12-12mdksmp #1 SMP Fri Sep 9 17:20:34 CEST 2005 x86_64 Dual Core AMD Opteron(tm) Processor 270 unknown GNU/Linux 

Both the kernel package and the kernel source package are exactly the same version 2.6.12-12mdksmp and 2.6.12-12mdk respectively.






Regards 

Chris Teesdale
I.T. / I.P Telephony Development
Philips
Tel : 01325 384394 ex 246
fax : 01325 383876
Email : [EMAIL PROTECTED]
Web : http://www.philips.org.uk




IMPORTANT: 
This email and any attachments may be confidential and/or privileged. Everything is intended for use of the addressee only. If you are not the 
named addressee you must not disseminate, distribute or copy this email. If you receive this email in error please notify the sender by replying 
to this email or by telephoning (+44)(0)870 609 1554 then delete this message from your system. Philips Collection Services Ltd. ("Philips") 
routinely monitors the content of email sent and received on its network, to ensure compliance with its policies and procedures. Although 
Philips have taken reasonable precautions to ensure no viruses are present in this email or any files attached to it, it cannot accept 
any responsibility for any loss or damage arising from the use of this email or its attachments and advises you to carry out appropriate 
virus checks. Philips are not responsible for any changes made to the message after it has been sent nor any files attached to it after 
it was sent. Emails that contain encrypted material, program files, are obscene, inflammatory, criminal, offensive, in breach of copyright, 
contain a virus or threat to computer systems, appear to be a threat to the company or in breach of company policy may be intercepted and/or deleted. 
Philips does not accept any liability for any statements made which are clearly the sender's own and not made on behalf of Philips.


___
--Bandwidth and Colocation provided by Easynews.com --

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


RE: [Asterisk-Users] Zaptel problem on 4 Processor Opteron SMP system

2006-02-15 Thread Tertius Smit



You can try to run "make" in the linux source-folder. I had 
the same problem Running FedCore 4 on a Dual Xeon Server and running make fixed 
the error



From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of Chris 
TeesdaleSent: 15 February 2006 12:19To: 
asterisk-users@lists.digium.comSubject: [Asterisk-Users] Zaptel 
problem on 4 Processor Opteron SMP system
Hi All, I've just put together a system comprising of the 
following; Hardware 2 x AMD Opteron 270 Processors (Dual Core) 
Tyan K8WE Mobo 2GB Kingston PC3200 Registered RAM 2 x WD Raptor 
1rpm 74Gb Digium TE210p Software Mandriva 2006 Public 
Release (Kernel 2.6.12-12mdksmp) Asterisk 1.2.4 Zaptel 1.2.3 
Problem Zaptel compiles and installs to the right place after 
modifiing /usr/src/linux2.6.12-12/Makefile "EXTRAVERSION" it then installs to 
"/lib/modules/2.6.12-12mdksmp/misc/". When I run "modprobe zaptel" I get 
"FATAL: Error inserting zaptel (/lib/modules/2.6.12-12mdksmp/misc/zaptel.ko): 
Invalid module format" uname -a reveals; "[EMAIL PROTECTED] 
zaptel-1.2.3]# uname -a Linux asteriskpbx 2.6.12-12mdksmp #1 SMP Fri Sep 9 
17:20:34 CEST 2005 x86_64 Dual Core AMD Opteron(tm) Processor 270 unknown 
GNU/Linux" Both the kernel package and the kernel source package are 
exactly the same version "2.6.12-12mdksmp and 2.6.12-12mdk" 
respectively.

  
  
Regards Chris TeesdaleI.T. / I.P Telephony 
  DevelopmentPhilipsTel : 01325 
  384394 ex 246fax : 01325 383876Email : [EMAIL PROTECTED]Web : http://www.philips.org.uk 
  


IMPORTANT: This email and any attachments may be confidential and/or 
privileged. Everything is intended for use of the addressee only. If you are not 
the named addressee you must not disseminate, distribute or copy this email. If 
you receive this email in error please notify the sender by replying to this 
email or by telephoning (+44)(0)870 609 1554 then delete this message from your 
system. Philips Collection Services Ltd. ("Philips") routinely monitors the 
content of email sent and received on its network, to ensure compliance with its 
policies and procedures. Although Philips have taken reasonable precautions to 
ensure no viruses are present in this email or any files attached to it, it 
cannot accept any responsibility for any loss or damage arising from the use of 
this email or its attachments and advises you to carry out appropriate virus 
checks. Philips are not responsible for any changes made to the message after it 
has been sent nor any files attached to it after it was sent. Emails that 
contain encrypted material, program files, are obscene, inflammatory, criminal, 
offensive, in breach of copyright, contain a virus or threat to computer 
systems, appear to be a threat to the company or in breach of company policy may 
be intercepted and/or deleted. Philips does not accept any liability for any 
statements made which are clearly the sender's own and not made on behalf of 
Philips.



___
--Bandwidth and Colocation provided by Easynews.com --

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


[Asterisk-Users] zaptel problem

2005-10-18 Thread Calin Serbanescu
Hello people,

i have a question concerning a quad-pri card (tor2 is the module for
this card)

i want the span to be completely shut down when alarms occur on it; i
want the span to be shut down immediately to avoid compromising the
whole box if one E1 line goes crazy and to be activated only by the
administrator of the box...

is there any posibility to do this? please note that i'm not a
programmer and i don't know how to do this in C/C++


thank you,
Calin S.

___
--Bandwidth and Colocation sponsored by Easynews.com --

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


[Asterisk-Users] Zaptel problem on BSD

2005-06-14 Thread Mark Willis
I have some lines outside the USA that I can't get to for up-close 
testing. The issue is that when I make an outbound call on these lines, 
I don't get answer indication until 20 seconds into the call. Asterisk 
always thinks the line is answered, even if it's still ringing or busy. 
On incoming calls the opposite is true, Asterisk doesn't know the line 
has been hung up by the caller.


This is with the latest zaptel BSD drivers on a TDM400P with 4 FXO's. 
Asterisk is HEAD from April. The lines are configured for Loopstart 
(I've tried kewlstart too, same result). There don't seem to be any 
polarity changes on the line for answer or disconnect.


Anyone seen this before? I'd be happy if I could just have the lines 
think they are answered when dialling is complete.


Mark

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


[Asterisk-Users] Zaptel Problem after Upgrade

2004-08-20 Thread Kurt Bauer
Hi,
after upgrading to latest CVS (20.08) I have a problem with the connection 
to PSTN:
When I try to make a call from PSTN to * I hear the number not available' 
sound and the following warnings on * console:
Aug 20 12:09:55 WARNING[180235]: chan_zap.c:6762 zt_pri_error: PRI: !!  
Unknown IE 1329 (len = 3)
Aug 20 12:09:55 WARNING[180235]: chan_zap.c:6762 zt_pri_error: PRI: !!  
Unknown IE 1330 (len = 3)

The other way round still works although I also get a warning:
Aug 20 12:10:39 WARNING[180235]: chan_zap.c:6762 zt_pri_error: PRI: !!  
Unknown IE 1330 (len = 3)

I changed no config files, so that couldn't be the problem, or has anything 
changed since April (that was the CVS version with which it worked just 
fine).

Thanks,
best regards,
Kurt
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] zaptel - problem solved

2004-01-21 Thread Dinesh








Hello again,



My mistake, due to not having the usb loaded in the kernel.
Recompiled it and asterisk installed.



Sorry for the lame postings.



Dinesh.










[Asterisk-Users] zaptel - problem solved

2004-01-21 Thread Dinesh








Hello again,



My mistake, due to not having the usb loaded in the kernel.
Recompiled it and asterisk installed.



Sorry for the lame postings.



Dinesh.