Yest, most definitely.
Start with a fresh config of OpenSBC (just delete your OpenSBC_data/opensbc.ini) and follow these steps.
1. Set General Parameters/SBC-Application-Mode to "B2BUpperReg Mode" then restart OpenSBC after you click Update
2. Add [ sip:*@ims.domain.com ] sip:10.0.0.3 in Outbound-Proxies/Outbound-Proxies settings. (This will force all requests bound for ims.domain.com to traverse your proxy)
3. Put a check on B2BUA-Routes/Route-By-Request-URI
That's it. If your invite looks as follows, it will reach the IMS network. This assumes that OpenSBC is treated as if its a normal OB proxy by the calling UA. You can't treat it as if it's a GW or this scheme won't work.
INVITE sip:us...@im... SIP/2.0
To: <us...@im...>;tag=123
Route: <10.0.0.2;lr>
HTH,
Joegen
> {quote:title=baolovebao wrote:}{quote}
>
> Hi all,
>
> I have a use case that require the OSBC as a proxy between the UA and the other IMS network. The diagram is like below:
>
> UA <--------->OSBC<------------------>Outbound Proxy<-------------->IMS network.(ims.domain.com)
>
> 10.0.0.1 10.0.0.2 10.0.0.3 anything else
>
> As I think the PROXY mode can meet this use case, but unlucky it didn't.
>
> some configurations:
>
> UA: Server: ims.domain.com
>
> outbound proxy: 10.0.0.2
>
> OSBC: Proxy Mode
>
> Proxy-Relay-Routes: [sip:*@ims.domain.com:*]sip:ims.domain.com:5060, 10.0.0.3:5060
>
> Internal-DNS-Mapping : [sip:ims.domain.com]sip:10.0.0.3
>
> but after the UA send the REGISTER to the OSBC, it doesn't relay it to the 10.0.0.3.
>
> Anything can be done more? Or any advices and proposal? Thanks in advance!
>
> {quote:title=baolovebao wrote:}{quote}
>
> Hi all,
>
> I have a use case that require the OSBC as a proxy between the UA and the other IMS network. The diagram is like below:
>
> UA <--------->OSBC<------------------>Outbound Proxy<-------------->IMS network.(ims.domain.com)
>
> 10.0.0.1 10.0.0.2 10.0.0.3 anything else
>
> As I think the PROXY mode can meet this use case, but unlucky it didn't.
>
> some configurations:
>
> UA: Server: ims.domain.com
>
> outbound proxy: 10.0.0.2
>
> OSBC: Proxy Mode
>
> Proxy-Relay-Routes: [sip:*@ims.domain.com:*]sip:ims.domain.com:5060, 10.0.0.3:5060
>
> Internal-DNS-Mapping : [sip:ims.domain.com]sip:10.0.0.3
>
>
> but after the UA send the REGISTER to the OSBC, it doesn't relay it to the 10.0.0.3.
>
>
> Anything can be done more? Or any advices and proposal? Thanks in advance!
>
>
|