On Wed, Dec 30, 2009 at 7:11 PM, Tzafrir Cohen <[email protected]>wrote:
> On Wed, Dec 30, 2009 at 04:59:11PM +0500, Saeed Akhtar wrote: > > hi all, > > > > I have a little problem.... I'm using asterisk with opensips as opensips > > dispatches calls to asterisk. I have to use multiple asterisk servers but > > since for the time being im using 1 machine for testing i want to run > > different instances of asterisk running on 1 pc listening to different > > ports. > > Just for listening on different ports? With different dialplans? With > different logs? > no issue with dialplan. Only listening to different ports will work. i'm testing opensips' capability not asterisk's. same log and same dialplan will work. > > > Can someone please guide me how to do this? I'll be very thankful > > asterisk.conf (and the command-line option for using a custom location > for one) is your friend. > Do make sure every instance gets its own astvarrundir. Otherwise strange > things would happen when you attempt to have more than one instance > running. > i think you are referring to 'asterisk -C <configfile>' option. I copied /etc/asterisk to /etc/asterisk1 and changed astetcdir and astrundir. then i ran it and it gave me error that dundi port binding conflict so i configured different port in dundi.conf and that error resolved. But now I dont know how to make two asterisk instances to listen on different ports. I registered a sip phone with default port and it registered with the second one. Now I want to ask how to make asterisk to listen on different ports? Regards, Saeed Akhtar > > -- > Tzafrir Cohen > icq#16849755 > jabber:[email protected]<jabber%[email protected]> > +972-50-7952406 mailto:[email protected] > http://www.xorcom.com iax:[email protected]/tzafrir > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
_______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
