Re: [OpenSIPStack] Error ***Address already in use***** 2
Brought to you by:
joegenbaclor
From: <jo...@op...> - 2008-12-10 23:40:45
|
If OpenSBC instances now listen on different ports, your culprit is definitely another application which has already grabbed port 5060 prior to OpenSBC. If you are running sipX in port 5060 then it is sipX. You need to bind sipX to other ports or you may bind it to a different IP address other than 69.x.x.50. Here is the rule. NO TWO listeners, be it from two distinct applications, could share a common port/ip binding. The only time this may happen is if the applications are using different transports. For example, two listeners can share a common port if one is using TCP and the other is using UDP. This is why a SIP UA can listen on 5060 for both UDP and TCP simultaneously. HTH - (H)ope (T)hat (H)elps. :-) Joegen voice wrote: > Hi HTH > > Thanks for observations. > > I set in sipX Gateway/DialPlan too listen on :5080 > > i set OSBC to listen on :5060 in osbc NIC1 pointing to OSBC ipaddr == > 69.x.x.50 > i set OSBC to listen on :5080 in osbc NIC2 pointing to sipX ipaddr == > 69.x.x.100 > also in the B2BUA and UpperRegistration settings. > > Both nics share the same public network 69.x.x./24. Do you mean they should > not share but run on different networks like 40.x.x.x and 69.x.x.x? > > NIC2 shows NO more **ERROR** now running on port:5080 > > but > > NIC1 still shows Error ***Address already in use***** > > You know the guy who said he got OSBC and sipX on one box to work should > have run into the same problem. If you are listening please pipe up. > > I set B2BUA to pass To and From 5060 to 5080 vis versa. > I set Upper Registration from sip:* to :5080 > > How does OSBC sense sipX use of Ports? maybe i can un-sense it? kidding.... > > r > ----- Original Message ----- > From: "OpenSIPStack Forum" <ope...@op...> > To: <ope...@li...> > Sent: Wednesday, December 10, 2008 10:47 AM > Subject: Re: [OpenSIPStack] Error ***Address already in use***** 2 > > > >> Hi Robert, >> >> >> By default, OSBC will listen to pot 5060 of all IP addresses configured >> > on the box . If SIPX (or any opther application) is listening on port > 5060 as well, then OSBC will detect it and give the error you have > encountered. To avoid this, just configure OSBC to listen on a specific > port and IP address. You can do this in the General Parameters > > Interface Address section. For example, you can set it to listen to sip : > 10.0.0.1 : 5060 which will cause it to use that IP address and port only. > >> As a general rule, if you are going to run SIPX and OSBC on the same box, >> > it simplifies things to have two IP address (each plumbed to a separate NIC) > and to force each application to listen only on its allocated IP address. > >> HTH >> >> >> >> -------------------------------------------------------------------------- >> > ---- > |