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

Reply via email to