Re: [OpenSIPStack] B2BUA
Brought to you by:
joegenbaclor
From: Joegen E. B. <jo...@pl...> - 2006-07-18 06:11:09
|
Hi Ingmar, Thanks for taking interest in OpenB2BUA and for the previous bug reports you have given off list . First thing... If you are not already, please use CVS head for OpenB2BUA because this application is under constant development to make sure you get the latest bug fixes. I am giving my best effort to see to it that CVS compiles well in linux and in windows. the rest are inline.... Joegen E. Baclor wrote: > > Ingmar Schraub wrote: >> Hi Joegen, >> >> I am currently trying the B2BUA application, but I run into >> difficulties. >> >> scenario: >> >> xlite -> b2bua -> asterisk (192.168.1.5) >> >> xlite shall register via b2bua with asterisk. >> >> I created a route [sip:*@schraub.de:*] 192.168.1.5:5060 The above route is syntactically correct. Routing in OpenB2BUA is done via wildcard matching. The above wildcard might filter out URI's that doesn't include a port since ":" is definitely not part of the comparison string. I would rewrite it like this [*@schraub.de*] sip:192.168.1.5:5060 >> >> >> Since I did not know where to place that route, I put it in Upper >> Registration Routes, B2BUA Routes and Relay Routes. >> OpenB2BUA can go in two modes. 1. Relay - In relay mode OpenB2BUA would be act a stateful SIP proxy. Relay will be automatically done for SIP Requests that doesn't resolve to any of the local interfaces bound to OpenB2BUA. So in the previous sample if schraub.de is not an FQDN or a DNS SRV record pointing to OpenB2BUA, then it will be a relay. 2. For Routes that resolve locally, OpenB2BUA will go in back to back mode and use the B2BUA routes. >> Question a.) where is the right place? And what's the meaning of those >> three route-possibilities? 1. B2BUA Routes - If the To URI contains a host resolving to OpenB2BUA, the applcaiot will use either the local registration database ( priority ) or the static routes. 2. If calls are to a remote domain, OpenB2BUA will use Relay Routes. If there is not wildcard match in Relay Routes, it would use DNS resolution. 3. For REGISTER requests for remote domains, OpenB2BUA will first check Upper Registrar routes. * If route is available, OpenB2BUA will "hijack" the contact address of the REGISTER upon receipt of a 200 Ok. Please take note that this has not been tested yet in OpenB2BUA. Although this functionality has already been tested using OpenSBC which is a Relay Proxy only applicaition. ** If route is not available in Upper registration, OpenB2BUA will assume relay logic. >> >> >> Question b.) the route above gets never triggered. b2bua tries always to >> lookup the A record for schraub.de. It finds my external IP address of >> my firewall and of course that's wrong. I want all SIP traffic routed to >> my Asterisk box. Therefore I specified the route. Double check the To URI. If it doesnt include :5060, remove the ":" from the wild card string. >> >> So what's wrong? My concept? My configuration? >> >> thanks a lot and best regards, >> >> Ingmar >> >> >> > > |