Re: [Asterisk-Users] Two asterisks on one machine

2006-03-09 Thread Tzafrir Cohen
On Mon, Mar 06, 2006 at 03:45:49PM +0530, [EMAIL PROTECTED] wrote:
> Hello friends,
>Can I run two asterisks running simultaneously on the same machine? 
> I want one to run v1.0.2 for h323 ( which is an old and running 
> production system ) and one for sip implementation. I wonder how it 
> can be done since they will want access to the same ports and ip addresses. 
>Does anyone know to do this or has done this before?
>Please share your experiences please.

You can tweak the installation to be in a totally separate environment.
Can be tricky, but will work if you're careful enough.

What you can't easily share is the ports they listen on. If one copy
listens on SIP and bound to UDP port 5060 on 0.0.0.0, another instance
can bind to that port.

You can try to have one version serve as a proxy to another,or similar
setting. But this is bad.

___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [Asterisk-Users] Two asterisks on one machine

2006-03-06 Thread Martin Joseph


On Mar 6, 2006, at 6:46 AM, <[EMAIL PROTECTED]> wrote:


Hi friend,
  I am running asterisk in production and it is being used by many 
people using h323. I cannot afford to change all their configurations. 
Also, the newer asterisk dosenot support inband for h323 properly. 
Thats why I want two asterisks one for backward compatibility and one 
for sip which I want to implement.



Getting a second development box for SIP sounds more sensible to me.  
After all, don't you want to leave the production box alone?



___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [Asterisk-Users] Two asterisks on one machine

2006-03-06 Thread vivek
Hi friend,
  I am running asterisk in production and it is being used by many people using 
h323. I cannot afford to change all their configurations. Also, the newer 
asterisk dosenot support inband for h323 properly. Thats why I want two 
asterisks one for backward compatibility and one for sip which I want to 
implement.




With warm regards.

Vivek J. Joshi.

[EMAIL PROTECTED]
Trikon electronics Pvt. Ltd.

--New opinions often appear first as jokes and fancies, then as blasphemies and 
treason, then as questions open to discussion, and finally as established 
truths.



Joseph Tanner wrote:
> You could run a virtual machine.  I'd try xen, uml, and vmware in that
> order (vmware would be the easiest/quickest to setup, but is more of a
> resource-hog than xen or uml).  Assign a separate ip to the virtual
> server, setup asterisk, and you're all set.
> 
> BTW, just curious but why can't you run one asterisk install with both
> h323 and sip?  It'd simplify things and use less resources than
> running a virtual server, assuming it works for you.
> 
> Another idea, if one's solely for h323 and the other's solely for sip
> (neither will be running both), then you could compile asterisk twice,
> using different directories for each install.  I don't think this
> would work if both needed to use the same ports.  I'm guessing you
> want to bridge the h323 asterisk to the sip asterisk?  If not, but you
> do want to use sip on both, perhaps you can use port 5060 on one and
> 5061 for the other.  Couldn't bridge them, but both could talk to the
> outside world (that is, maybe they could, I haven't tried this and do
> not know what's involved).  Running one in a virtual server is
> probably going to be the easiest way to get two asterisk processes to
> coexist on the same physical server.
> 
> Joseph Tanner
> 
> On 3/6/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > Hello friends,
> >Can I run two asterisks running simultaneously on the same machine? I 
> > want one to run v1.0.2 for h323 ( which is an old and running production 
> > system ) and one for sip implementation. I wonder how it can be done since 
> > they will want access to the same ports and ip addresses.
> >Does anyone know to do this or has done this before?
> >Please share your experiences please.
> >
> >
> >
> >
> >
> > With warm regards.
> >
> > Vivek J. Joshi.
> >
> > [EMAIL PROTECTED]
> > Trikon electronics Pvt. Ltd.
> >
> > --New opinions often appear first as jokes and fancies, then as blasphemies 
> > and treason, then as questions open to discussion, and finally as 
> > established truths.
> >
> >
> >
> >
> >
> > ___
> > --Bandwidth and Colocation provided by Easynews.com --
> >
> > Asterisk-Users mailing list
> > To UNSUBSCRIBE or update options visit:
> >http://lists.digium.com/mailman/listinfo/asterisk-users
> >
> >
> >


___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [Asterisk-Users] Two asterisks on one machine

2006-03-06 Thread Joseph Tanner
You could run a virtual machine.  I'd try xen, uml, and vmware in that
order (vmware would be the easiest/quickest to setup, but is more of a
resource-hog than xen or uml).  Assign a separate ip to the virtual
server, setup asterisk, and you're all set.

BTW, just curious but why can't you run one asterisk install with both
h323 and sip?  It'd simplify things and use less resources than
running a virtual server, assuming it works for you.

Another idea, if one's solely for h323 and the other's solely for sip
(neither will be running both), then you could compile asterisk twice,
using different directories for each install.  I don't think this
would work if both needed to use the same ports.  I'm guessing you
want to bridge the h323 asterisk to the sip asterisk?  If not, but you
do want to use sip on both, perhaps you can use port 5060 on one and
5061 for the other.  Couldn't bridge them, but both could talk to the
outside world (that is, maybe they could, I haven't tried this and do
not know what's involved).  Running one in a virtual server is
probably going to be the easiest way to get two asterisk processes to
coexist on the same physical server.

Joseph Tanner

On 3/6/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Hello friends,
>Can I run two asterisks running simultaneously on the same machine? I want 
> one to run v1.0.2 for h323 ( which is an old and running production system ) 
> and one for sip implementation. I wonder how it can be done since they will 
> want access to the same ports and ip addresses.
>Does anyone know to do this or has done this before?
>Please share your experiences please.
>
>
>
>
>
> With warm regards.
>
> Vivek J. Joshi.
>
> [EMAIL PROTECTED]
> Trikon electronics Pvt. Ltd.
>
> --New opinions often appear first as jokes and fancies, then as blasphemies 
> and treason, then as questions open to discussion, and finally as established 
> truths.
>
>
>
>
>
> ___
> --Bandwidth and Colocation provided by Easynews.com --
>
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
>http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
>
___
--Bandwidth and Colocation provided by Easynews.com --

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


[Asterisk-Users] Two asterisks on one machine

2006-03-06 Thread vivek
Hello friends,
   Can I run two asterisks running simultaneously on the same machine? I want 
one to run v1.0.2 for h323 ( which is an old and running production system ) 
and one for sip implementation. I wonder how it can be done since they will 
want access to the same ports and ip addresses. 
   Does anyone know to do this or has done this before?
   Please share your experiences please.





With warm regards.

Vivek J. Joshi.

[EMAIL PROTECTED]
Trikon electronics Pvt. Ltd.

--New opinions often appear first as jokes and fancies, then as blasphemies and 
treason, then as questions open to discussion, and finally as established 
truths.



___
--Bandwidth and Colocation provided by Easynews.com --

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