Re: [asterisk-users] Beggining asterisk

2011-09-06 Thread Leif Madsen

On 04/09/11 02:51 PM, Tamer Higazi wrote:

the 3rd edition is available, but that book covers every thing to run
the asterisk PBX.


You can read the 3rd edition online at 
http://ofps.oreilly.com/titles/9780596517342/


HTH!
Leif.

--
Leif Madsen
http://www.oreilly.com/catalog/asterisk

--
_
-- 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] Beggining asterisk

2011-09-06 Thread Esteban Cacavelos
2011/9/6 Leif Madsen leif.mad...@asteriskdocs.org

 On 04/09/11 02:51 PM, Tamer Higazi wrote:

 the 3rd edition is available, but that book covers every thing to run
 the asterisk PBX.


 You can read the 3rd edition online at http://ofps.oreilly.com/**
 titles/9780596517342/ http://ofps.oreilly.com/titles/9780596517342/

 HTH!
 Leif.

 --
 Leif Madsen
 http://www.oreilly.com/**catalog/asteriskhttp://www.oreilly.com/catalog/asterisk


 --
 __**__**_
 -- 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-**usershttp://lists.digium.com/mailman/listinfo/asterisk-users



Thanks for all the responses !. I will try with ubuntu bundleded packages
first.

I will post my results.



Esteban
-- 
Esteban L. Cacavelos de Amoriza
Cel: 0981 220 429
--
_
-- 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] Beggining asterisk

2011-09-06 Thread Esteban Cacavelos
2011/9/6 Esteban Cacavelos estebancacave...@gmail.com



 2011/9/6 Leif Madsen leif.mad...@asteriskdocs.org

 On 04/09/11 02:51 PM, Tamer Higazi wrote:

 the 3rd edition is available, but that book covers every thing to run
 the asterisk PBX.


 You can read the 3rd edition online at http://ofps.oreilly.com/**
 titles/9780596517342/ http://ofps.oreilly.com/titles/9780596517342/

 HTH!
 Leif.

 --
 Leif Madsen
 http://www.oreilly.com/**catalog/asteriskhttp://www.oreilly.com/catalog/asterisk


 --
 __**__**_
 -- 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-**usershttp://lists.digium.com/mailman/listinfo/asterisk-users



 Thanks for all the responses !. I will try with ubuntu bundleded packages
 first.

 I will post my results.



 Esteban
 --
 Esteban L. Cacavelos de Amoriza
 Cel: 0981 220 429



finally i decided to install from source because the documentation suggest
that.

I've installed successfully asterisk+dahdi+libpri. I tested a basic SIP
configuration and there were no problems.

Now i have problems with pstn termination and origination. I have one fxo
module from witch i want to make and receive calls. Can I do that ?. I'll
post my configuration files.

I want to make calls from my android phone (where i have a SIP client) and
recieve calls from my analog line through my androi.

My country code is 595, city code 21, number , xxx xxx


chan_dahdi.conf

[channels]

;
; To apply other options to these channels, put them before channel.
;
signalling=fxs_ks  ; in Asterisk, FXO channels use FXS signaling
 ; (and yes, FXS channels use FXO signaling)
context=from-pstn
channel = 1   ; apply all the previously defined settings to this
channel


extensions.conf
[LocalSets]

exten = 100,1,Dial(SIP/android-esteban) ; Replace 0001 with your
device name

exten = 101,1,Dial(SIP/recepcion) ; Replace 0002 with your device
name


exten = 200,1,Answer()
same = n,Playback(hello-world)
same = n,Hangup()

; TERMINATION
[from-voip-network]
exten = _X.,1,Verbose(2, Call from VoIP network to ${EXTEN})
   same = n,Dial(DAHDI/g0/${EXTEN})

ORIGINATION
[from-pstn]
; This is the context that would be listed in the config file
; for the circuit (i.e. chan_dahdi.conf)

exten = _X.,1,Dial(SIP/android-esteban)

[number-mapping]
; This context is not strictly required, but will make it easier
; to keep track of your DIDs in a single location in your dialplan.
; From here you can pass the call to another part of the dialplan
; where the actual dialplan work will take place.

exten = 59521xx,1,Dial(SIP/android-esteban)

exten = i,1,Verbose(2,Incoming call to invalid number)




Dahdi system.conf

# Autogenerated by /usr/sbin/dahdi_genconf on Tue Sep  6 14:40:03 2011
# If you edit this file and execute /usr/sbin/dahdi_genconf again,
# your manual changes will be LOST.
# Dahdi Configuration File
#
# This file is parsed by the Dahdi Configurator, dahdi_cfg
#
# Span 1: WCTDM/4 Wildcard TDM400P REV I Board 5 (MASTER)
fxsks=1
echocanceller=mg2,1
# channel 2, WCTDM/4/1, no module.
# channel 3, WCTDM/4/2, no module.
# channel 4, WCTDM/4/3, no module.

# Global data

loadzone= us
defaultzone = us



Thanks in advance !

-- 
Esteban L. Cacavelos de Amoriza
Cel: 0981 220 429
--
_
-- 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] Beggining asterisk

2011-09-04 Thread A J Stiles
On Saturday 03 September 2011, Esteban Cacavelos wrote:
 Hi all, i am beggining on asterisk and i would like to run my asterisk on
 Ubuntu server 10.04 + asterisk 1.8.6.0 + dahdi
 
 I have one tdm400p card with one fxo module for testing. I have connected
 the pstn line to the fxo port.
 
 I was looking for documentation and i found the official book, but it
 doesn't explain anything about Dahdi.
 
 
 Can anyone guide me to achieve a succesfull installation ?.

If you had the card already installed when you built DAHDI, then it should 
already have generated you a plausible configuration file.

I have a TDM410P with two FXO and two FXS interfaces.  I've attached my 
/etc/asterisk/chan_dahdi.conf and /etc/dahdi/system.conf to give you a 
starting point.  You will have to remove or comment lines that don't apply to 
your installation, and maybe change the country and the method of getting 
caller ID.

You dial out using something like this in your dialplan:

exten = _X.,1,Dial(DAHDI/g1/${EXTEN})
exten = _X.,2,Hangup()

This will send any number of 5 digits or more via the PSTN.

Incoming calls will arrive in the context you specified in chan_dahdi.conf, at 
the s extension  (here, from-pstn).


-- 
AJS

Answers come *after* questions.
[global]
language=en
usecallerid=yes
cidsignalling=v23 ; Added for UK CLI detection
cidstart=polarity ; Added for UK CLI detection

[channels]

cidsignalling=v23
cidstart=polarity
callerid = asreceived
progzone=uk
tonezone=4

; Span 1: WCTDM/0 Wildcard TDM410P Board 1 (MASTER) 
;;; line=1 WCTDM/0/0 FXSKS  (SWEC: MG2)
signalling=fxs_ks
callerid=asreceived
group=1
context=from-pstn
channel = 1

;;; line=2 WCTDM/0/1 FXSKS  (SWEC: MG2)
signalling=fxs_ks
callerid=asreceived
group=1
context=from-pstn
channel = 2

;;; line=3 WCTDM/0/2 FXOKS  (SWEC: MG2)
signalling=fxo_ks
callerid=Channel 3 4003
mailbox=4003
group=5
context=from-internal
channel = 3

;;; line=4 WCTDM/0/3 FXOKS  (SWEC: MG2)
signalling=fxo_ks
callerid=Channel 4 4004
mailbox=4004
group=5
context=from-internal
channel = 4


# Span 1: WCTDM/0 Wildcard TDM410P Board 1 (MASTER) 
fxsks=1
echocanceller=mg2,1
fxsks=2
echocanceller=mg2,2
fxoks=3
echocanceller=mg2,3
fxoks=4
echocanceller=mg2,4

# Global data

loadzone= uk
defaultzone = uk
--
_
-- 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] Beggining asterisk

2011-09-04 Thread Tamer Higazi
I advise you taking Gentoo Linux. There is a great asterisk repisetory.
Also support patvhes for NON digium hardware.

Resources:
http://oreilly.com/openbook/

there you find on the right the free book Asterisk: The Future of telephony

the 3rd edition is available, but that book covers every thing to run
the asterisk PBX.


Tamer


Am 03.09.2011 14:00, schrieb Daniel Tryba:
 On Sat, Sep 03, 2011 at 01:41:39AM -0400, Esteban Cacavelos wrote:
 Hi all, i am beggining on asterisk and i would like to run my asterisk on
 Ubuntu server 10.04 + asterisk 1.8.6.0 + dahdi
 [snip]
 I was looking for documentation and i found the official book, but it
 doesn't explain anything about Dahdi.
 
 Replace zap(tel) with dahdi.
 
 But I suggest starting with the Ubuntu bundeled packages
 (asterisk/dahdi/libpri).
 


--
_
-- 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] Beggining asterisk

2011-09-03 Thread Daniel Tryba
On Sat, Sep 03, 2011 at 01:41:39AM -0400, Esteban Cacavelos wrote:
 Hi all, i am beggining on asterisk and i would like to run my asterisk on
 Ubuntu server 10.04 + asterisk 1.8.6.0 + dahdi
[snip]
 I was looking for documentation and i found the official book, but it
 doesn't explain anything about Dahdi.

Replace zap(tel) with dahdi.

But I suggest starting with the Ubuntu bundeled packages
(asterisk/dahdi/libpri).

-- 

   Daniel Tryba

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

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


[asterisk-users] Beggining asterisk

2011-09-02 Thread Esteban Cacavelos
Hi all, i am beggining on asterisk and i would like to run my asterisk on
Ubuntu server 10.04 + asterisk 1.8.6.0 + dahdi

I have one tdm400p card with one fxo module for testing. I have connected
the pstn line to the fxo port.

I was looking for documentation and i found the official book, but it
doesn't explain anything about Dahdi.


Can anyone guide me to achieve a succesfull installation ?.



Best Regards,



-- 
Esteban L. Cacavelos de Amoriza
Cel: 0981 220 429
--
_
-- 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