Re: [asterisk-users] Do i really need Dahdi and Libpri.

2010-03-22 Thread Hans Witvliet
On Sun, 2010-03-21 at 19:00 -0400, Zeeshan Zakaria wrote:
 Good to know. I'll try that. I needed such solution for a client few
 months ago.
 
  On 2010-03-21 6:06 PM, Gordon Henderson gordon
  +aster...@drogon.net wrote:
  
  
  
  On Sun, 21 Mar 2010, Zeeshan Zakaria wrote:
  
   Virtual machine will not be able to access dahdi hard...
  
  It will depend on the virtualisation technology you use... I'm
  currently
  using LXC and can easily give a container full hardware access if
  required. Certianly no issues with dahdi_dummy...
  
  Gordon

With XEN you can do forwarding of complete pci-devices.
They become hidden from the main-system (dom-0) and exclusively
available for the client (dom-U)

Personally I've done it for crypto devices,
I've seen on several lists that others have done it for network-, VGA-,
isdn-, videocapture-boards.
So i presume dahdi-boards will pose no exception...

hw

-- 
_
-- 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] Do i really need Dahdi and Libpri.

2010-03-21 Thread Randy R
On Sun, Mar 21, 2010 at 1:30 PM, Daniel Leite de Abreu
dlab...@gmail.com wrote:
 Hy guys i am having so much hard time to setup asterisk on a virtual machine 
 that i got , i just want to know if i really need to use Dahdi and libpri on 
 a complete Digital PBX i just gonna use sip and iax.
 I will never use any kind of analog line on this machine.

No, you don't need these.

/r

-- 
_
-- 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] Do i really need Dahdi and Libpri.

2010-03-21 Thread Daniel Leite de Abreu
even if i am using iax trunking?
On 21 Mar 2010, at 10:30 AM, Randy R wrote:

 On Sun, Mar 21, 2010 at 1:30 PM, Daniel Leite de Abreu
 dlab...@gmail.com wrote:
 Hy guys i am having so much hard time to setup asterisk on a virtual machine 
 that i got , i just want to know if i really need to use Dahdi and libpri on 
 a complete Digital PBX i just gonna use sip and iax.
 I will never use any kind of analog line on this machine.
 
 No, you don't need these.
 
 /r
 
 -- 
 _
 -- 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


-- 
_
-- 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] Do i really need Dahdi and Libpri.

2010-03-21 Thread Alex Balashov
In that case, you need neither of them.

On 03/21/2010 08:30 AM, Daniel Leite de Abreu wrote:

 Hy guys i am having so much hard time to setup asterisk on a virtual machine 
 that i got , i just want to know if i really need to use Dahdi and libpri on 
 a complete Digital PBX i just gonna use sip and iax.
 I will never use any kind of analog line on this machine.

 Wait for a feed back.


 Daniel Abreu.


-- 
Alex Balashov - Principal
Evariste Systems LLC

Tel: +1 678-954-0670
Direct : +1 678-954-0671
Web: http://www.evaristesys.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] Do i really need Dahdi and Libpri.

2010-03-21 Thread Alex Balashov
Even if you're using IAX.

On 03/21/2010 08:48 AM, Daniel Leite de Abreu wrote:

 even if i am using iax trunking?
 On 21 Mar 2010, at 10:30 AM, Randy R wrote:

 On Sun, Mar 21, 2010 at 1:30 PM, Daniel Leite de Abreu
 dlab...@gmail.com  wrote:
 Hy guys i am having so much hard time to setup asterisk on a virtual 
 machine that i got , i just want to know if i really need to use Dahdi and 
 libpri on a complete Digital PBX i just gonna use sip and iax.
 I will never use any kind of analog line on this machine.

 No, you don't need these.

 /r

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




-- 
Alex Balashov - Principal
Evariste Systems LLC

Tel: +1 678-954-0670
Direct : +1 678-954-0671
Web: http://www.evaristesys.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] Do i really need Dahdi and Libpri.

2010-03-21 Thread Daniel Leite de Abreu
My worries is about timing , because i know that ztdummy give me the timing 
source , and i know that wend you install DAHDI also install ztdummy and i hear 
that for iax trunking we need ztdummy fir timing it. 

Must i use Dahdi or can i go free just on Asterisk?


Thanks


Daniel Abreu.
On 21 Mar 2010, at 10:45 AM, Alex Balashov wrote:

 Even if you're using IAX.
 
 On 03/21/2010 08:48 AM, Daniel Leite de Abreu wrote:
 
 even if i am using iax trunking?
 On 21 Mar 2010, at 10:30 AM, Randy R wrote:
 
 On Sun, Mar 21, 2010 at 1:30 PM, Daniel Leite de Abreu
 dlab...@gmail.com  wrote:
 Hy guys i am having so much hard time to setup asterisk on a virtual 
 machine that i got , i just want to know if i really need to use Dahdi and 
 libpri on a complete Digital PBX i just gonna use sip and iax.
 I will never use any kind of analog line on this machine.
 
 No, you don't need these.
 
 /r
 
 --
 _
 -- 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
 
 
 
 
 -- 
 Alex Balashov - Principal
 Evariste Systems LLC
 
 Tel: +1 678-954-0670
 Direct : +1 678-954-0671
 Web: http://www.evaristesys.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


-- 
_
-- 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] Do i really need Dahdi and Libpri.

2010-03-21 Thread Tzafrir Cohen
On Sun, Mar 21, 2010 at 12:48:27PM +, Daniel Leite de Abreu wrote:
 even if i am using iax trunking?

IAX trunking does require Asterisk to have a source of timing. Up until
1.6.0 this requires DAHDI. As of 1.6.1 there is a difefrent source of
timing. Though res_timing_pthread is considered not as good as DAHDI.

As of 1.6.2 you have res_timing_timerfd, which is as good as DAHDI
(or better) but requires kernel = 2.6.27 IIRC.

-- 
   Tzafrir Cohen
icq#16849755  jabber:tzafrir.co...@xorcom.com
+972-50-7952406   mailto:tzafrir.co...@xorcom.com
http://www.xorcom.com  iax:gu...@local.xorcom.com/tzafrir

-- 
_
-- 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] Do i really need Dahdi and Libpri.

2010-03-21 Thread Gordon Henderson
On Sun, 21 Mar 2010, Daniel Leite de Abreu wrote:

 Hy guys i am having so much hard time to setup asterisk on a virtual 
 machine that i got , i just want to know if i really need to use Dahdi 
 and libpri on a complete Digital PBX i just gonna use sip and iax. I 
 will never use any kind of analog line on this machine.

You'll never need libpri unless you have hardware that needs that sort of 
support.

As for DHADI or Zaptel - You'll need a timing source such as dahdi_dummy 
or ztdummy if you are using MeetMe or IAX Trunks and don't have any timing 
hardware.

Gordon

-- 
_
-- 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] Do i really need Dahdi and Libpri.

2010-03-21 Thread Tzafrir Cohen
On Sun, Mar 21, 2010 at 12:30:01PM +, Daniel Leite de Abreu wrote:
 Hy guys i am having so much hard time to setup asterisk on a virtual machine 
 that i got , i just want to know if i really need to use Dahdi and libpri on 
 a complete Digital PBX i just gonna use sip and iax.
 I will never use any kind of analog line on this machine.

You don't need libpri.

DAHDI may be useful as a timing source and as a mixing source for
meetme. Alternatives for those also depend on your kernel version and
version of Asterisk.

-- 
   Tzafrir Cohen
icq#16849755  jabber:tzafrir.co...@xorcom.com
+972-50-7952406   mailto:tzafrir.co...@xorcom.com
http://www.xorcom.com  iax:gu...@local.xorcom.com/tzafrir

-- 
_
-- 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] Do i really need Dahdi and Libpri.

2010-03-21 Thread Zeeshan Zakaria
Virtual machine will not be able to access dahdi hardware anyways (don't
know about KVMs though) but for conferencing you do need it, disabling all
the other hardware info in its config and enabling ztdummy only. Libpri you
can ignore. Config I am refering to in 1.4 versions was
/etc/sysconfig/zaptel, don't know about 1.6.

On 2010-03-21 6:58 AM, Tzafrir Cohen tzafrir.co...@xorcom.com wrote:

On Sun, Mar 21, 2010 at 12:48:27PM +, Daniel Leite de Abreu wrote:
 even if i am using iax trun...
IAX trunking does require Asterisk to have a source of timing. Up until
1.6.0 this requires DAHDI. As of 1.6.1 there is a difefrent source of
timing. Though res_timing_pthread is considered not as good as DAHDI.

As of 1.6.2 you have res_timing_timerfd, which is as good as DAHDI
(or better) but requires kernel = 2.6.27 IIRC.


-- 
Tzafrir Cohen
icq#16849755 jabber:tzafrir.co...@xorcom.comjabber%3atzafrir.co...@xorcom.com
+972-50-...

-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a...
-- 
_
-- 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] Do i really need Dahdi and Libpri.

2010-03-21 Thread Alex Balashov
On 03/21/2010 09:01 AM, Daniel Leite de Abreu wrote:

 My worries is about timing , because i know that ztdummy give me the timing
 source , and i know that wend you install DAHDI also install ztdummy and i
 hear that for iax trunking we need ztdummy fir timing it.

 Must i use Dahdi or can i go free just on Asterisk?

No, you don't need DAHDI timing unless you're using conferencing or any 
other feature that requires it.  IAX in itself does not.

-- 
Alex Balashov - Principal
Evariste Systems LLC

Tel: +1 678-954-0670
Direct : +1 678-954-0671
Web: http://www.evaristesys.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] Do i really need Dahdi and Libpri.

2010-03-21 Thread Tzafrir Cohen
On Sun, Mar 21, 2010 at 07:37:02AM -0400, Zeeshan Zakaria wrote:
 Virtual machine will not be able to access dahdi hardware anyways (don't
 know about KVMs though) 

IIRC that was sorted out at around 2.2.0 .

Anyway, 2.2.1 works great here in kvm.

-- 
   Tzafrir Cohen
icq#16849755  jabber:tzafrir.co...@xorcom.com
+972-50-7952406   mailto:tzafrir.co...@xorcom.com
http://www.xorcom.com  iax:gu...@local.xorcom.com/tzafrir

-- 
_
-- 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] Do i really need Dahdi and Libpri.

2010-03-21 Thread Gordon Henderson
On Sun, 21 Mar 2010, Zeeshan Zakaria wrote:

 Virtual machine will not be able to access dahdi hardware anyways (don't
 know about KVMs though)

It will depend on the virtualisation technology you use... I'm currently 
using LXC and can easily give a container full hardware access if 
required. Certianly no issues with dahdi_dummy...

Gordon

-- 
_
-- 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] Do i really need Dahdi and Libpri.

2010-03-21 Thread Zeeshan Zakaria
Good to know. I'll try that. I needed such solution for a client few months
ago.

On 2010-03-21 6:06 PM, Gordon Henderson
gordon+aster...@drogon.netgordon%2baster...@drogon.net
wrote:

On Sun, 21 Mar 2010, Zeeshan Zakaria wrote:

 Virtual machine will not be able to access dahdi hard...
It will depend on the virtualisation technology you use... I'm currently
using LXC and can easily give a container full hardware access if
required. Certianly no issues with dahdi_dummy...

Gordon

--
_

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

New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.aste...
-- 
_
-- 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