Re: [Asterisk-Users] IAX2 trunking - timing - ztdummy??

2004-11-16 Thread Patrick
On Mon, 2004-11-15 at 21:03 +0100, Hkan Kllberg wrote:
[snip]
 I don't know how to configure zaptel ( /etc/zaptel.conf )

I don't think you need to do anything with zaptel.conf when you are
using ztdummy. Someone on irc mentioned that ztdummy's timing is off by
about 3%. So if you are serious about your timing why don't you get a
X100P to make sure you have the proper timing.

[snip]
 Btw, I am using Asterisk 1.0.2, Zaptel 1.0.0, SuSE 9.2 ( kernel 2.6.8 )
[snip]

Afaik it is preferred to always install zaptel, libpri, asterisk and
asterisk-addons from the same release. You are using asterisk 1.0.2 with
zaptel 1.0.0. Get the latest stable branch with:
cvs co -r v1-0 zaptel libpri asterisk asterisk-addons asterisk-sounds
Install them and see if that solves anything.

Regards,
Patrick

___
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


Re: [Asterisk-Users] IAX2 trunking - timing - ztdummy??

2004-11-16 Thread Håkan Källberg
On Tue, Nov 16, 2004 at 01:56:07PM +0100, Patrick wrote:
 I don't think you need to do anything with zaptel.conf when you are
 using ztdummy. Someone on irc mentioned that ztdummy's timing is off by
 about 3%. So if you are serious about your timing why don't you get a
 X100P to make sure you have the proper timing.

Well, if it works... Compared to the crt package??

 [snip]
  Btw, I am using Asterisk 1.0.2, Zaptel 1.0.0, SuSE 9.2 ( kernel 2.6.8 )
 [snip]
 
 Afaik it is preferred to always install zaptel, libpri, asterisk and
 asterisk-addons from the same release. You are using asterisk 1.0.2 with
 zaptel 1.0.0. 

Well, what I found as tar.gzed releases

   Get the latest stable branch with:
 cvs co -r v1-0 zaptel libpri asterisk asterisk-addons asterisk-sounds
 Install them and see if that solves anything.

I will try! As I read the download page on asterisk.org I now
discovered the following:

Installation should be in the order: zaptel, libpri, Asterisk

This might be my problem! As I build my own packages I like to
see things as independent installations, as long as they come on
the right places.

I will try to build them all, make a fake installation ( in
the right order ) and build a package out of that. Or do you
thing that I need to have the zaptel installed before I even
build Asterisk??

Thanks very much for your thoughts and help!!

Regards:Håkan


pgpXm01IMuCCy.pgp
Description: PGP signature
___
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

Re: [Asterisk-Users] IAX2 trunking - timing - ztdummy??

2004-11-16 Thread Patrick
On Tue, 2004-11-16 at 14:39 +0100, Hkan Kllberg wrote:
[snip]
 Well, if it works... Compared to the crt package??

Yes it does work. I use ztdummy myself on my hardly loaded home * box
because I am too lazy to plug my X100P back in :) The 3% off will have a
negative impact when you start to get a serious amount of meetme's or
try to iax2-trunk a lot of calls to another * box. So at low load it
will not be noticeable but at higher load it will have an impact (so I
was told). What do you mean with crt package?

[snip]
 
 I will try to build them all, make a fake installation ( in
 the right order ) and build a package out of that. Or do you
 thing that I need to have the zaptel installed before I even
 build Asterisk??

Yes, the build (make  install) order is:
1) zaptel
2) libpri
3) asterisk
4) asterisk-addons
5) asterisk-sounds

 Thanks very much for your thoughts and help!!
 
 Regards:  Hkan

You're welcome.

Regards,
Patrick

___
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


Re: [Asterisk-Users] IAX2 trunking - timing - ztdummy??

2004-11-16 Thread Håkan Källberg
On Tue, Nov 16, 2004 at 03:22:04PM +0100, Patrick wrote:
 On Tue, 2004-11-16 at 14:39 +0100, Håkan Källberg wrote:
 [snip]
  Well, if it works... Compared to the crt package??
 
 Yes it does work. I use ztdummy myself on my hardly loaded home * box
 because I am too lazy to plug my X100P back in :) The 3% off will have a
 negative impact when you start to get a serious amount of meetme's or
 try to iax2-trunk a lot of calls to another * box. So at low load it
 will not be noticeable but at higher load it will have an impact (so I
 was told). What do you mean with crt package?

Ohh, sorry, rtc ( real time clock ) I mean...

Do I need the X100P in both ends in the case of trunking? Only
one side complains.

 Yes, the build (make  install) order is:
 1) zaptel
 2) libpri
 3) asterisk
 4) asterisk-addons
 5) asterisk-sounds

Yes, I see now, the Makefile in asterisk looks for an zaptel
installation.

Regards:Håkan


pgpD7erf3ry3n.pgp
Description: PGP signature
___
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

Re: [Asterisk-Users] IAX2 trunking - timing - ztdummy??

2004-11-16 Thread Patrick
On Tue, 2004-11-16 at 15:45 +0100, Hkan Kllberg wrote:
 Ohh, sorry, rtc ( real time clock ) I mean...

I don't think zaprtc is more accurate than ztdummy. Iirc it has to do
with the fact that ztdummy doesn't generate the exact same amount of
interrupts as the Digium cards do. The difference in interrupts
generated causes ztdummy (and prolly zaprtc) to be off by a small
margin.

 Do I need the X100P in both ends in the case of trunking? Only
 one side complains.

I didn't know for sure so asked on irc and the answer is yes you need a
timing source (X100P or ztdummy etc.) on both ends.

Regards,
Patrick


___
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] IAX2 trunking - timing - ztdummy??

2004-11-15 Thread Håkan Källberg
Hello!

Perhaps someone can spread i little bit light on this:

I want to trunk two Asterisk systems with each other. System A,
behind a NAT-Firewall and System B with a real IP address.

aix.conf on B:

[mytrunk]
host=dynamic
username=mytrunk
auth=md5
secret=yyy
trunk=yes

iax.conf on A:

register = mytrunk:[EMAIL PROTECTED]

When I make a reload an B I get the following:

Nov 15 16:32:32 WARNING[-1244329040]: chan_iax2.c:6427
build_peer: Unable to support trunking on peer 'mytrunk'
without zaptel timing

I have downloaded the zaptel package, compiled it ( including
ztdummy, which may be what I need ) and installed it. The kernel
modules load:

ztdummy 3492  0 
zaptel228996  1 ztdummy
crc_ccitt   2176  1 zaptel

I don't know how to configure zaptel ( /etc/zaptel.conf )
to get this to work.  I have no hardware, I only want timing
for the IAX2 trunk ( and later on for Conference calls ). I
have also read about the rtc package but have not tried it.

I may have overseen very basic things... Please enlighten me!

Regards:Håkan


pgpQHZNKq9tFm.pgp
Description: PGP signature
___
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

Re: [Asterisk-Users] IAX2 trunking - timing - ztdummy??

2004-11-15 Thread Bob Knight
Håkan Källberg wrote:
Hello!
Perhaps someone can spread i little bit light on this:
I want to trunk two Asterisk systems with each other. System A,
behind a NAT-Firewall and System B with a real IP address.
aix.conf on B:
[mytrunk]
host=dynamic
username=mytrunk
auth=md5
secret=yyy
trunk=yes
iax.conf on A:
register = mytrunk:[EMAIL PROTECTED]
When I make a reload an B I get the following:
Nov 15 16:32:32 WARNING[-1244329040]: chan_iax2.c:6427
build_peer: Unable to support trunking on peer 'mytrunk'
without zaptel timing
I have downloaded the zaptel package, compiled it ( including
ztdummy, which may be what I need ) and installed it. The kernel
modules load:
ztdummy 3492  0 
zaptel228996  1 ztdummy
crc_ccitt   2176  1 zaptel

I don't know how to configure zaptel ( /etc/zaptel.conf )
to get this to work.  I have no hardware, I only want timing
for the IAX2 trunk ( and later on for Conference calls ). I
have also read about the rtc package but have not tried it.
I may have overseen very basic things... Please enlighten me!
Regards:		Håkan
Try running zttest.
Once zttest is working you should be OK.
--
Bob Knight
[-w] the work option
[EMAIL PROTECTED]
925-449-9163
___
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


Re: [Asterisk-Users] IAX2 trunking - timing - ztdummy??

2004-11-15 Thread Håkan Källberg
On Mon, Nov 15, 2004 at 10:02:43AM -0800, Bob Knight wrote:
 Håkan Källberg wrote:
 I want to trunk two Asterisk systems with each other. System A,
 behind a NAT-Firewall and System B with a real IP address.
 
 aix.conf on B:
 
 [mytrunk]
 host=dynamic
 username=mytrunk
 auth=md5
 secret=yyy
 trunk=yes
 
 iax.conf on A:
 
 register = mytrunk:[EMAIL PROTECTED]
 
 When I make a reload an B I get the following:
 
 Nov 15 16:32:32 WARNING[-1244329040]: chan_iax2.c:6427
 build_peer: Unable to support trunking on peer 'mytrunk'
 without zaptel timing
 
 I have downloaded the zaptel package, compiled it ( including
 ztdummy, which may be what I need ) and installed it. The kernel
 modules load:
 
 ztdummy 3492  0 
 zaptel228996  1 ztdummy
 crc_ccitt   2176  1 zaptel
 
 I don't know how to configure zaptel ( /etc/zaptel.conf )
 to get this to work.  I have no hardware, I only want timing
 for the IAX2 trunk ( and later on for Conference calls ). I
 have also read about the rtc package but have not tried it.
 
 Try running zttest.
 Once zttest is working you should be OK.

# ztest
... 99.975586% 99.975586% 
--- Results after 246 passes ---
Best: 100.00 -- Worst: 99.951172

I supose it is working.(?)

Directly after this I do:

# asterisk -c

WARNING[-1211064192]: chan_iax2.c:6609 build_user: Unable to
support trunking on user 'mytrunk' without zaptel timing


Wat givs???

Btw, I am using Asterisk 1.0.2, Zaptel 1.0.0, SuSE 9.2 ( kernel 2.6.8 )
A Pentium with lots of GHz and plenty Mbytes RAM, on the
server side, lesser hardware but same software on the
clientside.

I see nothing obvios to configure in /etc/zaptel.conf(?)

Regards:Håkan


pgpsFf9j0ig2D.pgp
Description: PGP signature
___
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