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


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 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 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 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 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 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 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]
FG&A 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-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 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