Re: [OpenSIPStack] OSBC <==> sipX Error ***Address already in use***** 2
Brought to you by:
joegenbaclor
From: voice <vo...@ne...> - 2008-12-15 16:26:42
|
Hi Joegen Is there a way for OSBC to turn off if from grabing all port:5060 and just have it grab the NIC:5060 that it has been manually set to in the Admin Param's? It seems that OSBC is grabing all the ports reguardless of of ipaddr settings in a duel NIC box. It does not matter is if set each NIC to same or different network addresses. I have tried to isolate OSBC and sipX from each other by manually seting the OSBC only to NIC1. This i believe should isloated the second NIC2 which is set to be used by sipX. OSBC and sipX both want to default to port:5060 for interal to both reasons. I have set OSBC to B2BusUpperRegister and. In this mode OSBC is passing registration and B2Bua is routing inbound calls to sipX. Why does it still want to manage all port:5060? Shouldn't manually setting NIC1 also shield NIC2 and applications using that NIC from OSBC? In sipX's config.defs defaults proxy setting is port:5060 and i have manually set MY_IP_ADDDR to ip of NIC2. This isolate the 2nd NIC1 from NIC2. OSBC still see's NIC2 and sipX and it's port:5060 settings. Could you please contact the guy who said he has OSBC and sipX running on the same box using 2 NIC's using Public addressing and ask him to publish his settings. There is something missing, a trick that is not immediately clear. OSBC is not documented and i guess the only way to get documentation is to buy Solegy but then that defeats the reason for this OpenSource. Also if both NIC's are set to public addressing then remote phones don't need to go through OSBC UpperRegistation to register the UA to sipX. And in this configuration i believe OSBC is broken. when calls are coming in from ITSP because there is no UA hy-jacking of registration, right? Your explanation below assumes that OSBC is configured to talk to an PSTN and not a ITSP (Internet SIP Trunk). ITSP:5060 and can't be ask to rewrite their gateway to listen on some other port. OSBC is setting between ITSP and sipX. Thus. ITSP:5060 <==> 5060:OSBC:5060 <==> 5060:sipX:5060 <==> 5060:UA. I have tried ITSP:5060 <==> 5060:OSBC:6060 <==> 6060:sipX:6060 <==> 6060:UA also but sipX fails even when remote phones are using sip port:6060 and something is gettign lost when making and recieving calls going thru sipX when it is NOT set port:5060. OSBC and sipX use additional progressive SIP related ports that may also overlap with OSBC which normally would not be a problem if OSBCdid not grab all ports:5060 and their direvitives like 5062, 5064 etc... OSBC should key in on NIC's and not PORTs. Is there a way to toggle OSBC off from looking beyound it's own Relm? t ----- 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 > > > > -------------------------------------------------------------------------- ---- > SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. > The future of the web can't happen without you. Join us at MIX09 to help > pave the way to the Next Web now. Learn more and register at > http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ > _______________________________________________ > opensipstack-devel mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel |