[asterisk-users] Asterisk 1.6 Dahdi on Centos 5.2

motty.cruz motty.cruz at gmail.com
Tue Jun 28 13:00:43 CDT 2011


Thanks Warren, 
I have gone ahead and correct my typo. Also, I created 's' extension as you
suggested. 

exten => s,1,Wait(1)
exten => s,2,Answer()
exten => s,3,NoOp(${CALLERID})
exten => s,n,NoOp(${CALLERIDNUM})
exten => s,n,NoOp(${CALLERIDNAME})
exten => s,n,Wait(4)
exten => s,n,Playback(tt-easels)
exten => s,n,Voicemail(1111 at vm-test)
exten => s,n,Wait(2)
exten => s,n,Playback(vm-goodbye)
exten => s,n,Wait(2)
exten => s,n,HangUp()

I actually followed this e.i 
http://www.asteriskguru.com/tutorials/wildcard_tdm400p.html

because I have the same Digium card tdm4oop four modules although I'm only
using one. 

Thanks, in advance. 
-motty

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Warren Selby
Sent: Tuesday, June 28, 2011 10:42 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Asterisk 1.6 Dahdi on Centos 5.2

A couple things - 

First, in extensions.con your context is [my-phone], but you're using
my-phones in your dahdi and sip.conf files. 

Second, you need an 's' extension somewhere in your receiving context in
order for asterisk to answer the incoming analog call. 

Third, I think you've got some issues with your Dial statements, but I'm on
my phone right now and can't really diagnose them. I'll take a look later
when I'm back at a desk, if no one else has commented by then. 

Thanks,
--Warren Selby, dCAP

On Jun 28, 2011, at 12:30 PM, "motty.cruz" <motty.cruz at gmail.com> wrote:

> Hello, I have Asterisk 1.6 running on Centos, Also I have one analog
> telephone line coming on 
> Wildcard TDM400P REV E/F Board 5
> 
> I can't get asterisk to dectect call coming from analog line. 
> Here is my /etc/dahdi/system.conf
> fxsks=1
> 
> # global data
> loadzone = us
> defaultzone = us
> 
> 
> /etc/asterisk/chan_dahdi.conf
> [channels]
> language=en
> context=my-phones
> switchtype=national
> signalling=fxs_ks
> channel => 1
> 
> 
> /etc/asterisk/extensions.conf
> [globals]
> CONSOLE=DAHDI/1
> TRUNK=DAHDI/4
> TRUNKMSD=1
> 
> [my-phone]
> exten => 2000,1,Dial(DAHDI/1/116)
> exten => 2000,2,cONGESTION
> 
> exten => 2001,1,Dial(DAHDI/1/7608514114) ; analog phoneline
> exten => 2001,2,HangUp()
> 
> exten => 1001,1,Dial(DAHDI/1/7608514114)
> exten => 1001,2,HangUp()
> 
> exten => 1111,1,Dial(DAHDI/1/7608514114)
> exten => l111,2,HangUp()
> 
> 
> /etc/asterisk/sip.conf
> [general]
> port = 5060
> context = others
> 
> [2000]
> type=friend
> context=my-phones
> secret=1234
> host=dynamic
> 
> [2001]
> type=friend
> context=my-phones
> secret=1234
> host=dynamic
> 
> 
> [1001]
> type=friend
> context=my-phones
> secret=1234
> 
> [1111]
> type=friend
> context=my-phones
> secret=1234
> 
> 
> [phonesys]
> type=friend
> username=user1
> secret=1234
> host=dynamic
> context=my-phones
> 
> 
> Any suggestions are welcome. 
> 
> Thanks, 
> motty
> 
> 
> --
> _____________________________________________________________________
> -- 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
-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1388 / Virus Database: 1516/3731 - Release Date: 06/28/11




More information about the asterisk-users mailing list