Brice Muangkhot
2005-May-10 05:50 UTC
[Asterisk-Users] Interconnecting two lans using Asterisk over a PSTN
Hello, I am a newbie in Asterisk IP PBX but I am very impressed by its functionalities. I have read that It can work over IP network and across the PSTN. I am not very sure how it works over the PSTN.. In case if people have not yet the Internet or SDL access, I would like just to know if it is possible to interconnect two IP LANs using the traditionnal analog Network and Asterisk PBX? In such I would like to send voice and data in the same media and all my IP applications should work, it is like the PPP IP link over PSTN I would like to have. If one have an Internet/SDL access is it possible to have a dual access, in such if one network fails, I can switch automatically to another? Here below the network architecture I imagine. (IP LAN1)-ASTERISK-(Digium FXO card)<-->(PSTN)<-->(Digium FXO Card)-ASTERISK-(IP LAN 2) Thank you so much for your help. Brice
Josiah Bryan
2005-May-10 06:00 UTC
[Asterisk-Users] Interconnecting two lans using Asterisk over a PSTN
On Tuesday 10 May 2005 8:50 am, Brice Muangkhot wrote:> Hello, > > I am a newbie in Asterisk IP PBX but I am very impressed by its > functionalities. > I have read that It can work over IP network and across the PSTN. > I am not very sure how it works over the PSTN.. > In case if people have not yet the Internet or SDL access, I would like > just to know if it is possible to interconnect two IP LANs using the > traditionnal analog Network and Asterisk PBX? In such I would like to send > voice and data in the same media and all my IP applications should work, it > is like the PPP IP link over PSTN I would like to have. > > If one have an Internet/SDL access is it possible to have a dual access, in > such if one network fails, I can switch automatically to another? > Here below the network architecture I imagine. > > (IP LAN1)-ASTERISK-(Digium FXO card)<-->(PSTN)<-->(Digium FXO > Card)-ASTERISK-(IP LAN 2) >I'm not sure _exactly_ what you mean...but wouldn't it be simpler just to use two modems to tie each lan together - maybe even have the modems in the Asterisk box and then use standard linux stuff to do the routing of the packets - no asterisk _needs_ to be involved - the packets could be iax trunks or whatever, but the actual bridging of the the lans doesn't need asterisk, just two modems and a NIC in the server on either end. Something like this: (IP LAN1)<->LINUX+MODEM<---->(PSTN)<---->LINUX+MODEM<->(IP LAN2) And on LAN1 or LAN2 could be an Asterisk server, or a web server, or whatever - the linux servers with the modems just do standard routing... At least, i think thats what your asking.. -josiah -- Josiah Bryan IT Coordinator Productive Concepts, Inc. jbryan@productiveconcepts.com (765) 964-6009, ext. 224
Jean-Michel Hiver
2005-May-10 06:16 UTC
[Asterisk-Users] Interconnecting two lans using Asterisk over a PSTN
>If one have an Internet/SDL access is it possible to have a dual access, in >such if one network fails, I can switch automatically to another? >Here below the network architecture I imagine. > >(IP LAN1)-ASTERISK-(Digium FXO card)<-->(PSTN)<-->(Digium FXO >Card)-ASTERISK-(IP LAN 2) > >I don't understand what you mean when you say "if one network fails, I can switch automatically to another". - If you have to separate IP networks which are separately connected to the internet, and you want them to behave as if it was ONE lan, you can use something like OpenVPN or PopTop to securely bridge the two networks as if it was one big LAN. - If you want to, you can set up each of your asterisk box to go though the other asterisk box in the event where the PSTN network of one of the offices is bust. This would require the IP connection to stay up though, which is unlikely if you have DSL (where as a rule of thumb, when your PSTN is bust your DSL is too) Cheers, Jean-Michel. -- Ykoz Un Max - La VoIP en pr?-pay?! Essayez gratuitement - 5 cr?dits offerts. ---> http://ykoz.net/voip/max <---
Jay Milk
2005-May-10 06:37 UTC
[Asterisk-Users] Interconnecting two lans using Asterisk over a PSTN
No, asterisk is a software pbx, not an IP router.> -----Original Message----- > From: Brice Muangkhot [mailto:bmuangkhot@yahoo.fr] > Sent: Tuesday, May 10, 2005 7:51 AM > To: asterisk-users@lists.digium.com > Subject: [Asterisk-Users] Interconnecting two lans using > Asterisk over a PSTN > > > Hello, > > I am a newbie in Asterisk IP PBX but I am very impressed by > its functionalities. I have read that It can work over IP > network and across the PSTN. I am not very sure how it works > over the PSTN.. In case if people have not yet the Internet > or SDL access, I would like just to know if it is possible to > interconnect two IP LANs using the traditionnal analog > Network and Asterisk PBX? In such I would like to send voice > and data in the same media and all my IP applications should > work, it is like the PPP IP link over PSTN I would like to have. > > If one have an Internet/SDL access is it possible to have a > dual access, in such if one network fails, I can switch > automatically to another? Here below the network architecture > I imagine. > > (IP LAN1)-ASTERISK-(Digium FXO card)<-->(PSTN)<-->(Digium FXO > Card)-ASTERISK-(IP LAN 2) > > Thank you so much for your help.