Re: [Asterisk-Users] Quadbri bristuff: can * respond only to 1 MSN and leave 1 number to other ISDN phones ?

2005-04-24 Thread Michiel van Baak
On 20:47, Sat 23 Apr 05, Stefan Gofferje wrote:
 Besides chan_capi does not understand Busy() and Congestion(), that 
 probably is a matter of how fast the faxmodem picks up the call and to 
 what value your timeout is set.
 However, I think, I have another strategy regarding security... I have 
 separate contexts for incoming calls, and each outgoing line... I also 
 have separate contexts for phones, one for fully trusted and one for 
 remote clients.
 
snip
 [default]
 exten = s,1,Hangup
 
 I also have
 
 exten = i,1,Goto(playrejectmessageandhangup,s,1)
 exten =ti,1,Goto(playrejectmessageandhangup,s,1)
 
 at the end of each incoming context, so it's rather unlikely that 
 somebody ever even enters the default context...
 
/snip

Sounds like a setup better then mine.
The wait always looked evil to me ;)
Maybe I should set the faxmachine to pickup right away
instead of ringing twice before picking up.
The fax also has a phone in it, that's prolly why it is set
to ring twice now. I took over admin here, so not my call to
start with.
Thanks for the clear setup information :)
-- 
Michiel van Baak
http://lunteren.vanbaak.info
[EMAIL PROTECTED]
GnuPG key: http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x7E0B9A2D

Two of the most famous products of Berkeley are LSD and BSD. I don't think 
that this is a coincidence.

___
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] Quadbri bristuff: can * respond only to 1 MSN and leave 1 number to other ISDN phones ?

2005-04-23 Thread Michiel van Baak
 I have eight MSN at home. Six are handled by Asterisk. The two remaining 
 are handled by an external ISDN modem which is connected to my HylaFax 
 on another machine. Asterisk and ISDN modem are plugged into the same 
 NT1. That works fine for me...

Works for me too.
We have an old fax machine sitting on the same NT1 as
asterisk. In asterisk I ignored the MNS by setting the line
exten = my_fax_msn,1,wait(30)
-- 
Michiel van Baak
http://lunteren.vanbaak.info
[EMAIL PROTECTED]
GnuPG key: http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x7E0B9A2D

Two of the most famous products of Berkeley are LSD and BSD. I don't think 
that this is a coincidence.

___
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] Quadbri bristuff: can * respond only to 1 MSN and leave 1 number to other ISDN phones ?

2005-04-23 Thread Michiel van Baak
 
 Works for me too.
 We have an old fax machine sitting on the same NT1 as
 asterisk. In asterisk I ignored the MNS by setting the line
 exten = my_fax_msn,1,wait(30)
  
 
 Doesn't it work without the wait() in .nl? I just didn't mention the fax 
 MSNs in my incoming context...
 

I tried, but my default context only has a line:
exten = s,1,Congestion
I did that to prevent usage from outside, since my asterisk
box is open for outside sip phones. My folks connect to it
etc. So without the wait, the incoming call will search for
an exten= line in the incoming context, won't find one so
falls back to default,s,1
That way faxes wont arrive on my fax machine cause asterisk
is playing the congestion tone.
-- 
Michiel van Baak
http://lunteren.vanbaak.info
[EMAIL PROTECTED]
GnuPG key: http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x7E0B9A2D

Two of the most famous products of Berkeley are LSD and BSD. I don't think 
that this is a coincidence.

___
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] Quadbri bristuff: can * respond only to 1 MSN and leave 1 number to other ISDN phones ?

2005-04-22 Thread Brancaleoni Matteo
Hi,
 I have problem with Quadbri and bristuffed Asterisk - I guess this is only 
 configuration trick. I'd like Asterisk to respond only to 1 number on BRI 
 interface and do nothing on other. Right now, even if I leave out that 
 number in incoming context, Asterisk takes out and rejects call as number is 
 non existant. I'd like that Asterisk wouldn't respond, so other ISDN phone 

I think a ugly trick is to do:

exten = MSN_TO_BE_FREE,1,Wait(100)

Matteo

___
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] Quadbri bristuff: can * respond only to 1 MSN and leave 1 number to other ISDN phones ?

2005-04-22 Thread Robert Rozman
Hi,
I have problem with Quadbri and bristuffed Asterisk - I guess this is only 
configuration trick. I'd like Asterisk to respond only to 1 number on BRI 
interface and do nothing on other. Right now, even if I leave out that 
number in incoming context, Asterisk takes out and rejects call as number is 
non existant. I'd like that Asterisk wouldn't respond, so other ISDN phone 
can answer it

I did this with chan_capi, where you can determin incoming MSNs on which 
Asterisk responds, but wonder how to do that with Zap channels

Thanks in advance,
regards,
Rob.
___
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