JSLEE Discussions
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
B2BUA
Forum Index » JAIN SLEE Discussions
Author Message
stefanbuder


Joined: 17/12/2008 20:37:49
Messages: 6
Offline

Dear all,

I have successfully deployed the onboard B2BUA example.
But I have not found any documentation about how to use it.
I have looked at the source code and find it hard to understand.
Also, I have not found any documentation on the OpenCloud website about this.
Could someone please help me?

Thank you
Stefan
bsd

[Avatar]

Joined: 22/03/2008 00:37:15
Messages: 355
Location: Cambridge, UK
Offline

Hi Stefan,

What kind documentation are you looking for?

Please have a look at the Sample SIP Applications chapter for information related with the SIP examples. Also, the SIP resource adaptor bundles a rich set of documentation.

Bruno



Bruno Duarte
Technical Consultant
OpenCloud
[Email] [WWW]
stefanbuder


Joined: 17/12/2008 20:37:49
Messages: 6
Offline

Hi Bruno,

I am looking for documentation of the b2bua example which is part of the sip examples in rhino sdk 2.0. I only found one reference in the sample sip applications chapter to b2bua.
I am a newbie regarding sip and b2bua, so I don't know how to start with this.
How can I test/use the example?

Stefan
bsd

[Avatar]

Joined: 22/03/2008 00:37:15
Messages: 355
Location: Cambridge, UK
Offline

Hi Stefan,

From the RFC 3261:
Back-to-Back User Agent: A back-to-back user agent (B2BUA) is a
logical entity that receives a request and processes it as a
user agent server (UAS). In order to determine how the request
should be answered, it acts as a user agent client (UAC) and
generates requests. Unlike a proxy server, it maintains dialog
state and must participate in all requests sent on the dialogs
it has established. Since it is a concatenation of a UAC and
UAS, no explicit definitions are needed for its behavior.


You can test the B2BUA as you'd test a SIP proxy service. You can use two SIP softphones or SIPp for example.

Bruno


Bruno Duarte
Technical Consultant
OpenCloud
[Email] [WWW]
stefanbuder


Joined: 17/12/2008 20:37:49
Messages: 6
Offline

Do I have to change some settings?
I tried it with sjphone 1.6 as I have tested the sip proxy, but it didn't work.

Stefan
bsd

[Avatar]

Joined: 22/03/2008 00:37:15
Messages: 355
Location: Cambridge, UK
Offline

Please describe us in detail all the steps and the error so we can help you.

Bruno

Bruno Duarte
Technical Consultant
OpenCloud
[Email] [WWW]
stefanbuder


Joined: 17/12/2008 20:37:49
Messages: 6
Offline

I have installed the standard sip example with an update of the tracelevel and have set the domain to xxx.local.
I was able to connect to different clients and to make calls using sjphone version 1.60.
Afterwards I deployed the b2bua example and the build was successfull.
Now i connected with the clients again and they registered successfully.
But when i tried to call i got the error message:"Server Internal Error - Call rejected: 500 Server Internal Error".
The Rhino Application Server showed differend warnings with java exceptions.

Here is one of them n(only the first lines of this one)
2008-12-17 14:19:02.215 Warning [trace.B2BUA_2_0.B2BUA] <jr-4> [B2BUA/B2BUA]
failed to send CANCEL
javax.sip.SipException: no active INVITE client transaction to cancel
at com.opencloud.slee.resources.sip.ra.DialogController.dialogSendCancel
(DialogController.java:770)


Thank you for your efforts
Stefan
bsd

[Avatar]

Joined: 22/03/2008 00:37:15
Messages: 355
Location: Cambridge, UK
Offline

Can you please provide the complete Rhino log?!

Bruno

Bruno Duarte
Technical Consultant
OpenCloud
[Email] [WWW]
stefanbuder


Joined: 17/12/2008 20:37:49
Messages: 6
Offline

hi,

I have attached the rhino log.
thank you for your help.

Stefan
 Filename rhino.log [Disk] Download
 Description Rhino Log
 Filesize 159 Kbytes
 Downloaded:  12 time(s)

stefanbuder


Joined: 17/12/2008 20:37:49
Messages: 6
Offline

hi bruno,

I have successfully deployed the b2bua example in rhino sdk 1.45.
Calling another client in the same domain is now possible.
How can I use the b2bua service to call someone@xxx.com how has the sipURI abc@yyy.com?

Kind Regards
Stefan

P.S.: Which client is the best one to test these things in windows?
ben


Joined: 27/02/2008 13:51:28
Messages: 144
Location: NZ
Offline

Hi Stefan, the B2BUA included with Rhino 2 is slightly simpler than the one included with Rhino 1.4.5. It currently does not support looking up registrations as the older B2BUA did, so it cannot translate public SIP addresses into contact addresses for user agents. This will be fixed in an update.

Cheers
Ben

Ben Evans, Software Engineer, OpenCloud
[WWW]
keerthi


Joined: 25/04/2009 21:42:12
Messages: 1
Offline

How we can download Examples from the site?
if any bady has example of B2BUA samples..
Please send me to keerthivarmansrinivasan@gmail.com
bsd

[Avatar]

Joined: 22/03/2008 00:37:15
Messages: 355
Location: Cambridge, UK
Offline

The Downloads section of the DevPortal allows you to download the SIP examples and the Rhino SDK (which also includes those examples).

Bruno Duarte
Technical Consultant
OpenCloud
[Email] [WWW]
 
Forum Index » JAIN SLEE Discussions
Go to:   
Powered by JForum 2.1.8 © JForum Team