[OpenSIPS-Users] B2BUA tests
Anca Vamanu
anca at opensips.org
Wed Oct 28 09:48:52 CET 2009
Hi Jeff,
I have completed the documentation on
http://www.opensips.org/Resources/B2buaTutorial#toc12 with some schema.
What happens in topology hiding is that the B2BUA starts a new dialog
with the other party, so it will first send an INVITE message. Now, if
you call b2b_init before you do lookup location and the target address
is has in the domain part the domain of your sip proxy, then the INVITE
will get back to the server and back in the script. For this case I was
saying that you should not require authentication for it.
And no, the B2BUA component does not have any type of authentication of
its own, it only knows to put itself in the middle of the call and
establish two dialogs, with each party.
Regards,
Anca
Jeff Pyle wrote:
> Anca,
>
> Does the B2BUA module have some type of authentication on its own? Is it
> looping back to the top of the script and trying to authenticate itself, and
> that's where your suggestion comes from? Or something else?
>
> It appears I don't have a good understanding of the message flow through
> Opensips in a B2BUA'd session. At b2b_init time, does something return to
> the top of route[0] and start over? As such should I run b2b_init as close
> to the top of route[0] as possible?
>
> If you could help me understand what happens to the message flow in a
> non-B2BUA session versus one that has B2BUA, perhaps I'll be able to my mind
> around this.
>
>
> Thanks,
> Jeff
>
>
>
> On 10/27/09 12:48 PM, "Anca Vamanu" <anca at opensips.org> wrote:
>
>
>> Hi Jeff,
>>
>>
>> To get pass the problems with authentication I suggest you put a check
>> in your configuration file:
>>
>> if(src_ip== proxy_ip && src_port== proxy_port)
>> dont_ask_authetification;
>>
>> Just to let it pass without challenging it and go to the part where the
>> Invite is forwarded to the end user.
>>
>> Regards,
>> Anca
>>
>>
More information about the Users
mailing list