wendys
2004-Jun-22 15:09 UTC
[Asterisk-Users] Asterisk answering only one (dialed-) Number on a PTMP (German "Mehrgeräteanschluss")?
Hi, please excuse my poor englisch. Is it possible to connect a (privat Test-Asterisk) to my privat ISDN and allow him to only answer one dialed number? We have 3 up to 10 Numbers on each (Euro-)ISDN (2 b-chanels), it cant't be done by the last Digits cause the numbers are completely different. For Example: I have 3 Numbers (641717, 928752....) Is it possible to tell Asterisk (in Extensions.conf?) to Answer 641717 an ignore incomming calls on 928752? I need this solution to work with Asterisk without disconnecting my Girlfriend from the rest of the world. ;-) I realy tried to find an answer in your archive, Asterisk-Manual, "hitchhiker guide to Asterisk" and in Google but I'm affraid that I didn't know the right "searchstring". Marco W. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040622/c33a4caf/attachment.htm
Tim Robinson
2004-Jun-23 00:44 UTC
[Asterisk-Users] Re: [Asterisk-Users] Asterisk answering only one (dialed-) Number on a PTMP (German "Mehrgeräteanschluss")?
Hi Marco Asterisk will do exactly what you want, as long as your line is point to multipoint. I did my initial experimentation with Asterisk exactly as you describe. You just need to specifiy in your extensions.conf which MSN numbers you want asterisk to respond to. It will ignore all others. Best and cheapest option would be to try a zaphfc card for 20 euros or so.(Billion, Asustek, etc) Make sure it is on its own IRQ or you will have real problems. Use bri-stuff-0.0.2 from www.junghanns.net. When you have played a bit, you can use a second card in NT mode to connect to your other ISDN equipment, and you can use * as the main switch. Magic! And by the way, your English is much better than my German! Good luck! Rgds Tim wendys wrote:> Hi, > > please excuse my poor englisch. > Is it possible to connect a (privat Test-Asterisk) to my privat ISDN > and allow him to only answer one dialed number? > We have 3 up to 10 Numbers on each (Euro-)ISDN (2 b-chanels), it > cant't be done by the last Digits cause the numbers are completely > different. > For Example: > I have 3 Numbers (641717, 928752....) > Is it possible to tell Asterisk (in Extensions.conf?) to Answer 641717 > an ignore incomming calls on 928752? > I need this solution to work with Asterisk without disconnecting my > Girlfriend from the rest of the world. > ;-) > > I realy tried to find an answer in your archive, > Asterisk-Manual, "hitchhiker guide to Asterisk" and in Google but I'm > affraid that I didn't know the right "searchstring". > > Marco W. > >
jo
2004-Jun-23 01:17 UTC
[Asterisk-Users] Re: [Asterisk-Users] Asterisk answering only one (dialed-) Number on a PTMP (German "Mehrgeräteanschluss")?
Hi Marco, wendys wrote:> Hi, > > please excuse my poor englisch. > Is it possible to connect a (privat Test-Asterisk) to my privat ISDN > and allow him to only answer one dialed number? > We have 3 up to 10 Numbers on each (Euro-)ISDN (2 b-chanels), it > cant't be done by the last Digits cause the numbers are completely > different. > For Example: > I have 3 Numbers (641717, 928752....) > Is it possible to tell Asterisk (in Extensions.conf?) to Answer 641717 > an ignore incomming calls on 928752? > I need this solution to work with Asterisk without disconnecting my > Girlfriend from the rest of the world. > ;-) >I did this with an AVM Fritz Card and capi_chan from http://www.junghanns.net/asterisk/ You can define incoming and outgoing MSNs in capi.conf so you won't get in conflict with you other MSNs There is some documentation on it in at voip-info.org (seems to be currently down) jo
Philipp von Klitzing
2004-Jun-23 03:22 UTC
[Asterisk-Users] Re: [Asterisk-Users] Asterisk answering only one (dialed-) Number on a PT MP (German "Mehrgeräteanschluss")?
Hi!> I have 3 Numbers (641717, 928752....) > Is it possible to tellAsterisk (in Extensions.conf?) toAnswer 641717 an > ignore incomming calls on 928752?Sure. However you might want to tell us what ISDN hardware and, more importantly, which Asterisk channel you are using: isdn4linux or chan_capi? Anyway, if you look into the respective configuration files for i4l and chan_capi you will find a setting "incomingmsn=" that will fit your needs. Apart from that you *could* also instruct the ISDN card to listen on all MSNs (incomingmsn=*), but in extensions.conf you then only do an Answer() for the extension that you want to answer. Of course that needs a carefully drafted dialplan where you don't have e.g. an 's' extension in your incoming ISDN context that would still answer the call... Cheers, Philipp