Re: [asterisk-users] Asterisk 1.6 Dahdi on Centos 5.2

2011-06-28 Thread Richard Mudgett
 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 = ,1,Dial(DAHDI/1/7608514114)
 exten = l111,2,HangUp()

The context in chan_dahdi.conf is my-phones which differs from the my-phone 
context in extensions.conf.

Richard

--
_
-- 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] Asterisk 1.6 Dahdi on Centos 5.2

2011-06-28 Thread Warren Selby
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.c...@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 = ,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
 
 []
 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


Re: [asterisk-users] Asterisk 1.6 Dahdi on Centos 5.2

2011-06-28 Thread motty.cruz
My mistake I had fix that typo but no luck

Thanks, 
motty

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

 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 = ,1,Dial(DAHDI/1/7608514114)
 exten = l111,2,HangUp()

The context in chan_dahdi.conf is my-phones which differs from the my-phone
context in extensions.conf.

Richard

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


--
_
-- 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] Asterisk 1.6 Dahdi on Centos 5.2

2011-06-28 Thread motty.cruz
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(@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-boun...@lists.digium.com
[mailto:asterisk-users-boun...@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.c...@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 = ,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
 
 []
 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


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