Re: [Asterisk-Users] How to set asterisk NOT to answer incoming lines?

2005-01-15 Thread C F
Here is the CLI out put, first my config:
immediate=no
context = incoming
channel = 2-4
context = default
channel = 1
extensions.conf
[default]
include = internaldial
[internaldial]
exten .
exten 
exten = i,1,Playback(invalid)
exten = i,2,Hangup
now when a call comes in on channel 1 it rings twice on the devices
that are connected before * and the CLI shows:
 Sent into invalid extension 's' in context 'default' on Zap/1-1
-- Executing Playback(Zap/1-1, invalid) in new stack
-- Playing 'invalid' (language 'en')
-- Executing Hangup(Zap/1-1, ) in new stack
  == Spawn extension (default, i, 2) exited non-zero on 'Zap/1-1'
-- Hungup 'Zap/1-1'
-- Hungup 'Zap/2-1'


On Fri, 14 Jan 2005 10:33:57 -0500, C F [EMAIL PROTECTED] wrote:
 OF COURSE I TRIED IT, but that was a while ago, I'm just going to
 retry for the CLI output.
 http://lists.digium.com/pipermail/asterisk-users/2004-December/080284.html
 
 
 On Fri, 14 Jan 2005 23:36:57 +1300, Matt Riddell
 [EMAIL PROTECTED] wrote:
  C F wrote:
   Well thanks for the reply, until you don't test it with the Digium
   TDM04B I don't think you *know* anything.
 
  WTF!
 
  Bad form...
 
  It works.  If *you* had *tried* the suggestions people gave you, you
  would find that out.
 
  --
  Cheers,
 
  Matt Riddell
  ___
 
  http://www.sineapps.com/news.php (Daily Asterisk News - html)
  http://www.sineapps.com/rssfeed.php (Daily Asterisk News - rss)
 

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
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] How to set asterisk NOT to answer incoming lines?

2005-01-15 Thread Kannaiyan Natesan
set the context in zaptel.conf  to
context = dontanswer
and in extensions.conf
[dontanswer]
exten = s,1,Hangup
should help.
regards,
kannaiyan
- Original Message - 
From: C F [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; Asterisk Users Mailing List - 
Non-Commercial Discussion asterisk-users@lists.digium.com
Sent: Sunday, January 16, 2005 5:01 AM
Subject: Re: [Asterisk-Users] How to set asterisk NOT to answer incoming 
lines?


Here is the CLI out put, first my config:
immediate=no
context = incoming
channel = 2-4
context = default
channel = 1
extensions.conf
[default]
include = internaldial
[internaldial]
exten .
exten 
exten = i,1,Playback(invalid)
exten = i,2,Hangup
now when a call comes in on channel 1 it rings twice on the devices
that are connected before * and the CLI shows:
Sent into invalid extension 's' in context 'default' on Zap/1-1
   -- Executing Playback(Zap/1-1, invalid) in new stack
   -- Playing 'invalid' (language 'en')
   -- Executing Hangup(Zap/1-1, ) in new stack
 == Spawn extension (default, i, 2) exited non-zero on 'Zap/1-1'
   -- Hungup 'Zap/1-1'
   -- Hungup 'Zap/2-1'
On Fri, 14 Jan 2005 10:33:57 -0500, C F [EMAIL PROTECTED] wrote:
OF COURSE I TRIED IT, but that was a while ago, I'm just going to
retry for the CLI output.
http://lists.digium.com/pipermail/asterisk-users/2004-December/080284.html
On Fri, 14 Jan 2005 23:36:57 +1300, Matt Riddell
[EMAIL PROTECTED] wrote:
 C F wrote:
  Well thanks for the reply, until you don't test it with the Digium
  TDM04B I don't think you *know* anything.

 WTF!

 Bad form...

 It works.  If *you* had *tried* the suggestions people gave you, you
 would find that out.

 --
 Cheers,

 Matt Riddell
 ___

 http://www.sineapps.com/news.php (Daily Asterisk News - html)
 http://www.sineapps.com/rssfeed.php (Daily Asterisk News - rss)

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


___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
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] How to set asterisk NOT to answer incoming lines?

2005-01-15 Thread Matt Riddell
C F wrote:
Here is the CLI out put, first my config:
immediate=no
context = incoming
channel = 2-4
context = default
channel = 1
extensions.conf
[default]
include = internaldial
Remove the include line...people already told you that playback might 
answer the line (this includes playback(invalid)).

--
Cheers,
Matt Riddell
___
http://www.sineapps.com/news.php (Daily Asterisk News - html)
http://www.sineapps.com/rssfeed.php (Daily Asterisk News - rss)
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
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] How to set asterisk NOT to answer incoming lines?

2005-01-15 Thread C F
Thanks this finaly worked.


On Sun, 16 Jan 2005 18:49:45 +1300, Matt Riddell
[EMAIL PROTECTED] wrote:
 C F wrote:
  Here is the CLI out put, first my config:
  immediate=no
  context = incoming
  channel = 2-4
  context = default
  channel = 1
  extensions.conf
  [default]
  include = internaldial
 
 Remove the include line...people already told you that playback might
 answer the line (this includes playback(invalid)).
 
 --
 Cheers,
 
 Matt Riddell
 ___
 
 http://www.sineapps.com/news.php (Daily Asterisk News - html)
 http://www.sineapps.com/rssfeed.php (Daily Asterisk News - rss)

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
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] How to set asterisk NOT to answer incoming lines?

2005-01-15 Thread C F
Thanks, I'm sorry I didn't realize that someone mentioned this before,
however in the wiki it is stated that without an answer nothing will
playback:
http://www.voip-info.org/wiki-Asterisk+tips+answer-before-playback



On Sun, 16 Jan 2005 18:49:45 +1300, Matt Riddell
[EMAIL PROTECTED] wrote:
 C F wrote:
  Here is the CLI out put, first my config:
  immediate=no
  context = incoming
  channel = 2-4
  context = default
  channel = 1
  extensions.conf
  [default]
  include = internaldial
 
 Remove the include line...people already told you that playback might
 answer the line (this includes playback(invalid)).
 
 --
 Cheers,
 
 Matt Riddell
 ___
 
 http://www.sineapps.com/news.php (Daily Asterisk News - html)
 http://www.sineapps.com/rssfeed.php (Daily Asterisk News - rss)

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
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] How to set asterisk NOT to answer incoming lines?

2005-01-14 Thread Matt Riddell
C F wrote:
Well thanks for the reply, until you don't test it with the Digium
TDM04B I don't think you *know* anything.
WTF!
Bad form...
It works.  If *you* had *tried* the suggestions people gave you, you 
would find that out.

--
Cheers,
Matt Riddell
___
http://www.sineapps.com/news.php (Daily Asterisk News - html)
http://www.sineapps.com/rssfeed.php (Daily Asterisk News - rss)
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


RE: Re: [Asterisk-Users] How to set asterisk NOT to answer incoming lines?

2005-01-14 Thread Michiel van Baak
What I did, and what worked is setting the context in zapata.conf to from-ata
In the extensions.conf I have defined the extensions I want to route with 
asterisk, and I left our fax nr out.
When a fax comes in * simply tells me it is ignoring the call because  there is 
no extension for the call.
[from-ata]
exten = ${LINE1},1,Dial(SIP/10,20,Ttr)
exten = ${LINE1},2,Dial(SIP/10SIP/11SIP/12,20,Ttr)
exten = ${LINE2},1,Dial(SIP/13,20,Ttr)
exten = ${LINE4},1,Goto,default|s|1
Works like a charm.
Met vriendelijke groet,
Michiel van Baak
Terrazur

- Originele Bericht -
Van: Eric Wieling aka ManxPower
Aan: C F , Asterisk Users Mailing List - Non-Commercial Discussion 
Datum: Friday, 14 January 2005, 05:05 
Onderwerp: Re: [Asterisk-Users] How to set asterisk NOT to answer incoming lines?

C F wrote:
 I know that according to the docs you are right. Im just asking you
 for a favor, if you have a digium TDM04B test this, and tell me the
 result. When I tested it, it didnt work.
I let the call ring for 60 seconds. It was never answered.
fs-1*CLI
-- Starting simple switch on Zap/1-1
-- Executing NoOp(Zap/1-1, 5042325606) in new stack
-- Timeout on Zap/1-1
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
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] How to set asterisk NOT to answer incoming lines?

2005-01-14 Thread C F
OF COURSE I TRIED IT, but that was a while ago, I'm just going to
retry for the CLI output.
http://lists.digium.com/pipermail/asterisk-users/2004-December/080284.html



On Fri, 14 Jan 2005 23:36:57 +1300, Matt Riddell
[EMAIL PROTECTED] wrote:
 C F wrote:
  Well thanks for the reply, until you don't test it with the Digium
  TDM04B I don't think you *know* anything.
 
 WTF!
 
 Bad form...
 
 It works.  If *you* had *tried* the suggestions people gave you, you
 would find that out.
 
 --
 Cheers,
 
 Matt Riddell
 ___
 
 http://www.sineapps.com/news.php (Daily Asterisk News - html)
 http://www.sineapps.com/rssfeed.php (Daily Asterisk News - rss)

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
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] How to set asterisk NOT to answer incoming lines?

2005-01-13 Thread Kelly Griffin
Depending on what you have the context of this setup for in your
zapata.conf, don't have the following statement in that section of your
extensions.conf.

exten = s,1,Answer

or

whatever the CID of this FXO port is as in

exten = 4792739992,1,Answer

---
Kelly D Griffin
Network Engineer
Tantella Wireless
http://tantella.com
866.815.0717 Voice
479.464.8998 Fax


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tim Lewis
Sent: Thursday, January 13, 2005 9:32 AM
To: asterisk-users@lists.digium.com
Subject: [Asterisk-Users] How to set asterisk NOT to answer incoming lines?

How do I set asterisk not to answer incoming PSTN POTS calls? I want to
be able to use the line for outgoing calls only. 


-Thanks

Tim

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



___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
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] How to set asterisk NOT to answer incoming lines?

2005-01-13 Thread Andrew Kohlsmith
On January 13, 2005 10:31 am, Tim Lewis wrote:
 How do I set asterisk not to answer incoming PSTN POTS calls? I want to
 be able to use the line for outgoing calls only.

Put it in a context that lacks an Answer().

-A.
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
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] How to set asterisk NOT to answer incoming lines?

2005-01-13 Thread Patrick Lidstone (Personal e-mail)

Kelly Griffin [EMAIL PROTECTED] wrote: 

 Depending on what you have the context of this setup for in your
 zapata.conf, don't have the following statement in that 
 section of your
 extensions.conf.
 
 exten = s,1,Answer
 
 or
 
 whatever the CID of this FXO port is as in
 
 exten = 4792739992,1,Answer

In reply to Tim Lewis:

 How do I set asterisk not to answer incoming PSTN POTS calls? 
 I want to
 be able to use the line for outgoing calls only. 


I don't think Kelly's response is correct, at least for TDM FXO boards.
I could not find a way of preventing the FXO board grabbing the line
when it rang, and subsequent enquiries on this list at the time
suggested that it wasn't actually possible - which is a pity, as it
means it is impossible to piggy back Asterisk on a POTS line with other
auto-answering equipment (e.g. data collection terminals).

Patrick

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
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] How to set asterisk NOT to answer incoming lines?

2005-01-13 Thread C F
Kelly, when I tried this it didn't work for me. What ever I tried *
picked up. I know in theory this works, but have you tried it?


On Thu, 13 Jan 2005 09:56:31 -0600, Kelly Griffin
[EMAIL PROTECTED] wrote:
 Depending on what you have the context of this setup for in your
 zapata.conf, don't have the following statement in that section of your
 extensions.conf.
 
 exten = s,1,Answer
 
 or
 
 whatever the CID of this FXO port is as in
 
 exten = 4792739992,1,Answer
 
 ---
 Kelly D Griffin
 Network Engineer
 Tantella Wireless
 http://tantella.com
 866.815.0717 Voice
 479.464.8998 Fax
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Tim Lewis
 Sent: Thursday, January 13, 2005 9:32 AM
 To: asterisk-users@lists.digium.com
 Subject: [Asterisk-Users] How to set asterisk NOT to answer incoming lines?
 
 How do I set asterisk not to answer incoming PSTN POTS calls? I want to
 be able to use the line for outgoing calls only.
 
 -Thanks
 
 Tim
 
 ___
 Asterisk-Users mailing list
 Asterisk-Users@lists.digium.com
 http://lists.digium.com/mailman/listinfo/asterisk-users
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
 
 ___
 Asterisk-Users mailing list
 Asterisk-Users@lists.digium.com
 http://lists.digium.com/mailman/listinfo/asterisk-users
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
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] How to set asterisk NOT to answer incoming lines?

2005-01-13 Thread Andrew Kohlsmith
On January 13, 2005 11:08 am, Patrick Lidstone (Personal e-mail) wrote:
 I don't think Kelly's response is correct, at least for TDM FXO boards.
 I could not find a way of preventing the FXO board grabbing the line
 when it rang, and subsequent enquiries on this list at the time
 suggested that it wasn't actually possible - which is a pity, as it
 means it is impossible to piggy back Asterisk on a POTS line with other
 auto-answering equipment (e.g. data collection terminals).

Untrue.

If the context that the FXO port is dumped in to lacks an extension that would 
answer a ringing line, it won't answer.  

Create an extension like thus:

[noanswer]

(that's it, nothing in it) -- now point zapata.conf to it:

context=noanswer
channel = 1  (or whatever channel it happens to be)

reload asterisk, that is it.

-A.
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
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] How to set asterisk NOT to answer incoming lines?

2005-01-13 Thread Eric Wieling aka ManxPower
C F wrote:
Kelly, when I tried this it didn't work for me. What ever I tried *
picked up. I know in theory this works, but have you tried it?
Asterisk will NOT answer the line unless it's told to by using something 
like immediate=yes, Answer, Playback, Background, etc.  I suspect you 
have immediate=yes in /etc/asterisk/zapata.conf.

--Eric
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
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] How to set asterisk NOT to answer incoming lines?

2005-01-13 Thread Steven Critchfield
On Thu, 2005-01-13 at 16:08 +, Patrick Lidstone (Personal e-mail)
wrote:

 I don't think Kelly's response is correct, at least for TDM FXO boards.
 I could not find a way of preventing the FXO board grabbing the line
 when it rang, and subsequent enquiries on this list at the time
 suggested that it wasn't actually possible - which is a pity, as it
 means it is impossible to piggy back Asterisk on a POTS line with other
 auto-answering equipment (e.g. data collection terminals).

It isn't normal to put a PBX on a line shared with other equipment. It
is normal to route the other equipment through the PBX. 

-- 
Steven Critchfield [EMAIL PROTECTED]

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
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] How to set asterisk NOT to answer incoming lines?

2005-01-13 Thread Kelly Griffin
From zapata.conf

context=inbound-analog
signalling=fxs_ks
channel = 1

from extensions.conf

[inbound-analog]

;Let fax answer this line
;Only use for outbound calls

---
Kelly D Griffin
Network Engineer
Tantella Wireless
http://tantella.com
479.273.9992 Voice
479.464.8998 Fax


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of C F
Sent: Thursday, January 13, 2005 10:13 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] How to set asterisk NOT to answer incoming
lines?

Kelly, when I tried this it didn't work for me. What ever I tried *
picked up. I know in theory this works, but have you tried it?



___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
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] How to set asterisk NOT to answer incoming lines?

2005-01-13 Thread Wilson Pickett
 How do I set asterisk not to answer incoming PSTN POTS calls? I want to
 be able to use the line for outgoing calls only.
In the conext calls come in on, send them to a do-nothing extension

[incoming-PSTN]
exten = Goto(do-nothing,s,1) 

[do-nothing]
exten = s,1,AbsoluteTimeout(0)
exten = s,2,NoOp(doing nothing: call came if with flag set to noanswer)
exten = s,3,Wait(70)
exten = t,1,Hangup

The reason for the extra context is so you can easily change the GoTo
to some test stuff someday. Otherwise, just use do-nothing as incoming
context.

I know this works because we used it in our business when the regular
phones were connected
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
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] How to set asterisk NOT to answer incoming lines?

2005-01-13 Thread C F
I know that according to the docs you are right. I'm just asking you
for a favor, if you have a digium TDM04B test this, and tell me the
result. When I tested it, it didn't work.


On Thu, 13 Jan 2005 10:58:12 -0500, Andrew Kohlsmith
[EMAIL PROTECTED] wrote:
 On January 13, 2005 10:31 am, Tim Lewis wrote:
  How do I set asterisk not to answer incoming PSTN POTS calls? I want to
  be able to use the line for outgoing calls only.
 
 Put it in a context that lacks an Answer().
 
 -A.
 ___
 Asterisk-Users mailing list
 Asterisk-Users@lists.digium.com
 http://lists.digium.com/mailman/listinfo/asterisk-users
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
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] How to set asterisk NOT to answer incoming lines?

2005-01-13 Thread C F
Have you tried this?
I know that according to the docs you are right. I'm just asking you
for a favor, if you have a digium TDM04B test this, and tell me the
result.


On Thu, 13 Jan 2005 11:25:49 -0500, Andrew Kohlsmith
[EMAIL PROTECTED] wrote:
 On January 13, 2005 11:08 am, Patrick Lidstone (Personal e-mail) wrote:
  I don't think Kelly's response is correct, at least for TDM FXO boards.
  I could not find a way of preventing the FXO board grabbing the line
  when it rang, and subsequent enquiries on this list at the time
  suggested that it wasn't actually possible - which is a pity, as it
  means it is impossible to piggy back Asterisk on a POTS line with other
  auto-answering equipment (e.g. data collection terminals).
 
 Untrue.
 
 If the context that the FXO port is dumped in to lacks an extension that would
 answer a ringing line, it won't answer.
 
 Create an extension like thus:
 
 [noanswer]
 
 (that's it, nothing in it) -- now point zapata.conf to it:
 
 context=noanswer
 channel = 1  (or whatever channel it happens to be)
 
 reload asterisk, that is it.
 
 -A.
 ___
 Asterisk-Users mailing list
 Asterisk-Users@lists.digium.com
 http://lists.digium.com/mailman/listinfo/asterisk-users
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
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] How to set asterisk NOT to answer incoming lines?

2005-01-13 Thread C F
The definition of normal in the case of PBX implementations is up to
the customer.


On Thu, 13 Jan 2005 10:44:51 -0600, Steven Critchfield
[EMAIL PROTECTED] wrote:
 On Thu, 2005-01-13 at 16:08 +, Patrick Lidstone (Personal e-mail)
 wrote:
 
  I don't think Kelly's response is correct, at least for TDM FXO boards.
  I could not find a way of preventing the FXO board grabbing the line
  when it rang, and subsequent enquiries on this list at the time
  suggested that it wasn't actually possible - which is a pity, as it
  means it is impossible to piggy back Asterisk on a POTS line with other
  auto-answering equipment (e.g. data collection terminals).
 
 It isn't normal to put a PBX on a line shared with other equipment. It
 is normal to route the other equipment through the PBX.
 
 --
 Steven Critchfield [EMAIL PROTECTED]
 
 ___
 Asterisk-Users mailing list
 Asterisk-Users@lists.digium.com
 http://lists.digium.com/mailman/listinfo/asterisk-users
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
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] How to set asterisk NOT to answer incoming lines?

2005-01-13 Thread C F
but did you test this, and it worked for you? if you had a device
connected to that pots in front of * it would keep ringing?



On Thu, 13 Jan 2005 19:18:32 +0100, Wilson Pickett
[EMAIL PROTECTED] wrote:
  How do I set asterisk not to answer incoming PSTN POTS calls? I want to
  be able to use the line for outgoing calls only.
 In the conext calls come in on, send them to a do-nothing extension
 
 [incoming-PSTN]
 exten = Goto(do-nothing,s,1)
 
 [do-nothing]
 exten = s,1,AbsoluteTimeout(0)
 exten = s,2,NoOp(doing nothing: call came if with flag set to noanswer)
 exten = s,3,Wait(70)
 exten = t,1,Hangup
 
 The reason for the extra context is so you can easily change the GoTo
 to some test stuff someday. Otherwise, just use do-nothing as incoming
 context.
 
 I know this works because we used it in our business when the regular
 phones were connected
 ___
 Asterisk-Users mailing list
 Asterisk-Users@lists.digium.com
 http://lists.digium.com/mailman/listinfo/asterisk-users
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
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] How to set asterisk NOT to answer incoming lines?

2005-01-13 Thread Andrew Kohlsmith
On January 13, 2005 09:08 pm, C F wrote:
 Have you tried this?
 I know that according to the docs you are right. I'm just asking you
 for a favor, if you have a digium TDM04B test this, and tell me the
 result.

No I have no POTS lines, but I *know* it worked with my Adit600 channel bank 
when I did this because it's exactly what I wanted it to do.

do a zap show channel xxx xxx being the FXO channel you do not want to pick 
up... note the context it will drop into, and then say show dialplan xxx 
where xxx is the context noted above.  If there's an s extension there, it'll 
get executed on ring.

-A.
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
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] How to set asterisk NOT to answer incoming lines?

2005-01-13 Thread Adam Goryachev
On Thu, 2005-01-13 at 21:17 -0500, Andrew Kohlsmith wrote:
 On January 13, 2005 09:08 pm, C F wrote:
  Have you tried this?
  I know that according to the docs you are right. I'm just asking you
  for a favor, if you have a digium TDM04B test this, and tell me the
  result.
 
 No I have no POTS lines, but I *know* it worked with my Adit600 channel bank 
 when I did this because it's exactly what I wanted it to do.
 
 do a zap show channel xxx xxx being the FXO channel you do not want to pick 
 up... note the context it will drop into, and then say show dialplan xxx 
 where xxx is the context noted above.  If there's an s extension there, it'll 
 get executed on ring.
 

I think asterisk may also look for the context 'default'.

Basically, show us the output on the cli:
asterisk -vr
set verbose 20
then call your FXO and show us what happens.

Regards,
Adam


___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
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] How to set asterisk NOT to answer incoming lines?

2005-01-13 Thread C F
Well thanks for the reply, until you don't test it with the Digium
TDM04B I don't think you *know* anything.


On Thu, 13 Jan 2005 21:17:40 -0500, Andrew Kohlsmith
[EMAIL PROTECTED] wrote:
 On January 13, 2005 09:08 pm, C F wrote:
  Have you tried this?
  I know that according to the docs you are right. I'm just asking you
  for a favor, if you have a digium TDM04B test this, and tell me the
  result.
 
 No I have no POTS lines, but I *know* it worked with my Adit600 channel bank
 when I did this because it's exactly what I wanted it to do.
 
 do a zap show channel xxx xxx being the FXO channel you do not want to pick
 up... note the context it will drop into, and then say show dialplan xxx
 where xxx is the context noted above.  If there's an s extension there, it'll
 get executed on ring.
 
 -A.
 ___
 Asterisk-Users mailing list
 Asterisk-Users@lists.digium.com
 http://lists.digium.com/mailman/listinfo/asterisk-users
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
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] How to set asterisk NOT to answer incoming lines?

2005-01-13 Thread Andrew Kohlsmith
On January 13, 2005 09:08 pm, C F wrote:
 Have you tried this?
 I know that according to the docs you are right. I'm just asking you
 for a favor, if you have a digium TDM04B test this, and tell me the
 result.

I think you misread my reply.

1. I do not have POTS, so I do not have a TDM404P.
2. It works with a T100P+FXO Channel Bank, so if it is broken it's in the 
wctdm driver.
3. You didn't respond with the output from zap show channel xxx nor show 
diaplan xxx, so I assume you aren't serious about getting this problem 
solved, especially since
4. you seem to have completely ignored all points of the message you replied 
to.

-A.
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
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] How to set asterisk NOT to answer incoming lines?

2005-01-13 Thread Andrew Kohlsmith
On January 13, 2005 09:52 pm, C F wrote:
 Well thanks for the reply, until you don't test it with the Digium
 TDM04B I don't think you *know* anything.

Hey -- you're the one having the problem, not me.  I'm the person who *was* 
attempting to help you.  Your behaviour has caused me to reconsider.

-A.
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
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] How to set asterisk NOT to answer incoming lines?

2005-01-13 Thread Rich Adamson
Okay, just to prove the point I just tested this using a TDM04b.
I used a zapata.conf definition with 'context=test' that is not
defined in extensions.conf, and the line rings forever. The CLI
indicates the call is recognized, but it is not answered. With
an analog phone bridged onto the same pstn line, it rings (also
forever).

Rich


 Well thanks for the reply, until you don't test it with the Digium
 TDM04B I don't think you *know* anything.
 
 
 On Thu, 13 Jan 2005 21:17:40 -0500, Andrew Kohlsmith
 [EMAIL PROTECTED] wrote:
  On January 13, 2005 09:08 pm, C F wrote:
   Have you tried this?
   I know that according to the docs you are right. I'm just asking you
   for a favor, if you have a digium TDM04B test this, and tell me the
   result.
  
  No I have no POTS lines, but I *know* it worked with my Adit600 channel bank
  when I did this because it's exactly what I wanted it to do.
  
  do a zap show channel xxx xxx being the FXO channel you do not want to 
  pick
  up... note the context it will drop into, and then say show dialplan xxx
  where xxx is the context noted above.  If there's an s extension there, 
  it'll
  get executed on ring.
  
  -A.
  ___
  Asterisk-Users mailing list
  Asterisk-Users@lists.digium.com
  http://lists.digium.com/mailman/listinfo/asterisk-users
  To UNSUBSCRIBE or update options visit:
 http://lists.digium.com/mailman/listinfo/asterisk-users
 
 ___
 Asterisk-Users mailing list
 Asterisk-Users@lists.digium.com
 http://lists.digium.com/mailman/listinfo/asterisk-users
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

---End of Original Message-


___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
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] How to set asterisk NOT to answer incoming lines?

2005-01-13 Thread Lyle Giese
I have a small * install for my home office.  I have three pots lines into
the house.  One line incoming is the house phone.  One line incoming is the
business line.  The third line is connected to the fax machine(which is NOT
used much.  One fax a day is a busy fax day).  I programmed * to use the fax
line as the first outgoing line.  So I don't want * to answer the fax line,
but it is always answered on the first ring by the fax machine.

I put the zap channel for the fax line in the context outonly and put this
in extensions.conf.  Works fine here.


[outonly]
exten = s,1,Wait,20 ; setup for fax line to stop ringing
exten = s,2,Hangup


Lyle

- Original Message - 
From: C F [EMAIL PROTECTED]
To: Wilson Pickett [EMAIL PROTECTED]; Asterisk Users Mailing
List - Non-Commercial Discussion asterisk-users@lists.digium.com
Sent: Thursday, January 13, 2005 8:11 PM
Subject: Re: [Asterisk-Users] How to set asterisk NOT to answer incoming
lines?


 but did you test this, and it worked for you? if you had a device
 connected to that pots in front of * it would keep ringing?



 On Thu, 13 Jan 2005 19:18:32 +0100, Wilson Pickett
 [EMAIL PROTECTED] wrote:
   How do I set asterisk not to answer incoming PSTN POTS calls? I want
to
   be able to use the line for outgoing calls only.
  In the conext calls come in on, send them to a do-nothing extension
 
  [incoming-PSTN]
  exten = Goto(do-nothing,s,1)
 
  [do-nothing]
  exten = s,1,AbsoluteTimeout(0)
  exten = s,2,NoOp(doing nothing: call came if with flag set to
noanswer)
  exten = s,3,Wait(70)
  exten = t,1,Hangup
 
  The reason for the extra context is so you can easily change the GoTo
  to some test stuff someday. Otherwise, just use do-nothing as incoming
  context.
 
  I know this works because we used it in our business when the regular
  phones were connected
  ___
  Asterisk-Users mailing list
  Asterisk-Users@lists.digium.com
  http://lists.digium.com/mailman/listinfo/asterisk-users
  To UNSUBSCRIBE or update options visit:
 http://lists.digium.com/mailman/listinfo/asterisk-users
 
 ___
 Asterisk-Users mailing list
 Asterisk-Users@lists.digium.com
 http://lists.digium.com/mailman/listinfo/asterisk-users
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users


___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
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] How to set asterisk NOT to answer incoming lines?

2005-01-13 Thread Eric Wieling aka ManxPower
C F wrote:
I know that according to the docs you are right. I'm just asking you
for a favor, if you have a digium TDM04B test this, and tell me the
result. When I tested it, it didn't work.
I let the call ring for 60 seconds. It was never answered.
fs-1*CLI
-- Starting simple switch on 'Zap/1-1'
-- Executing NoOp(Zap/1-1, 5042325606) in new stack
-- Timeout on Zap/1-1
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
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] How to set asterisk NOT to answer incoming lines?

2005-01-13 Thread Steven Critchfield
On Thu, 2005-01-13 at 21:09 -0500, C F wrote:
 The definition of normal in the case of PBX implementations is up to
 the customer.

You sure are acting like a 'tard lately. 

No a customer does not define normal, the market defines normal. A
customer defines an implementation. That implementation is either normal
or an exception/deviation of normal.  

 On Thu, 13 Jan 2005 10:44:51 -0600, Steven Critchfield
 [EMAIL PROTECTED] wrote:
  On Thu, 2005-01-13 at 16:08 +, Patrick Lidstone (Personal e-mail)
  wrote:
  
   I don't think Kelly's response is correct, at least for TDM FXO boards.
   I could not find a way of preventing the FXO board grabbing the line
   when it rang, and subsequent enquiries on this list at the time
   suggested that it wasn't actually possible - which is a pity, as it
   means it is impossible to piggy back Asterisk on a POTS line with other
   auto-answering equipment (e.g. data collection terminals).
  
  It isn't normal to put a PBX on a line shared with other equipment. It
  is normal to route the other equipment through the PBX.
  
  --
  Steven Critchfield [EMAIL PROTECTED]
  
  ___
  Asterisk-Users mailing list
  Asterisk-Users@lists.digium.com
  http://lists.digium.com/mailman/listinfo/asterisk-users
  To UNSUBSCRIBE or update options visit:
 http://lists.digium.com/mailman/listinfo/asterisk-users
 
 ___
 Asterisk-Users mailing list
 Asterisk-Users@lists.digium.com
 http://lists.digium.com/mailman/listinfo/asterisk-users
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
-- 
Steven Critchfield [EMAIL PROTECTED]

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