Run my first Cipango application

95 views
Skip to first unread message

Meherprasad cholker

unread,
Nov 3, 2012, 3:30:31 PM11/3/12
to cipang...@googlegroups.com
I am trying to run first cipango sample application i.e cipango-example-sipapp.I think i can make call using this application.Please tell me further how can i proceed to make call using android client ? can i also run it in browser ?

I have attached an image below.You can see i 'm able to run the app successfully.How can i register and make calls further.Please assist me.

To which url i need to hit with what parameters .?

FYI: i have renamed  cipango-example-sipapp   to my-sip-dial.




David Soulayrol

unread,
Nov 5, 2012, 12:04:02 PM11/5/12
to cipang...@googlegroups.com
Hello.

On 2012.11.03 12:30:31 -0700, Meherprasad cholker wrote:

> I am trying to run first cipango sample application i.e
> cipango-example-sipapp.I think i can make call using this
> application.Please tell me further how can i proceed to make call
> using android client ? can i also run it in browser ?

I don't understand exactly what is your aim, so let me describe what you
could do next; if I miss your goal, please provide more information.

The cipango-example-sipapp WAR contains a SIP Proxy Registrar with a web
interface to check the registrations and to establish calls. It is aimed
at testing Cipango, proving its sessions mechanism. It is not intended
to be used in production environments. It will run fine as is in a
private network, but would need more work and/or configuration elsewhere
due to network boundaries or other integration problems.

That being said, to use it, you can first check your android device is
connected on the same network, using wifi, and then register to your
server (on 192.168.0.102, from your screen-shot) with the user-name you
wish. You can check the registration is OK using the following
interface:

http://localhost:8080/my-sip-dial/oam

If you have another device on the same network, proceed to its
registration too. Then you can make a call from one device to the other.
Or you can use the following interface to place the call from the
server:

http://localhost:8080/my-sip-dial/call


Regards,
--
David Soulayrol

Meherprasad cholker

unread,
Nov 8, 2012, 2:17:18 PM11/8/12
to cipang...@googlegroups.com
Thanks for Quick reply  David . .

I'm just trying to register and make call.I have my pc and mobile both connected to internet.
How can i register a user in my browser ? and in my mobile ? 
I mean how the URL looks like to register a user ?(what are required params ?)
I'm able to see servlet outputs.but without any data,As i have no registered users.


my question may be silly as i'm a mobile app developer.but i want to explore about sip.I know  servlet coding.
Please assist me to go futher

David Soulayrol

unread,
Nov 12, 2012, 5:43:33 AM11/12/12
to cipang...@googlegroups.com
Hello,

On 2012.11.08 11:17:18 -0800, Meherprasad cholker wrote:

> I'm just trying to register and make call.I have my pc and mobile both
> connected to internet. How can i register a user in my browser ? and
> in my mobile ?

You can find some advices to configure your mobile or softphone on the
following page:

http://confluence.cipango.org/display/DOC/cipango-example-sipapp

Be careful that you misunderstood one point: the web interface provided
by the servlet only allows you to observe the registrations, not to add
them. This example servlet behaves like a normal SIP Registrar server,
and also allows you to create calls via the web interface.

Also note that you will probably come across NAT problems, for the
signalisation itself or for the media transport when you will try to
establish a call.

> my question may be silly as i'm a mobile app developer.but i want to
> explore about sip. I know servlet coding. Please assist me to go
> futher

You seem to miss some basic knowledge about SIP. You should start with
reading the RFC 3261 (SIP: Session Initiation Protocol) or some book
which introduces it in a more gently way. You will also find on the
Internet many descriptions for basic call flows which will help, like
the RFC 3665 (Session Initiation Protocol (SIP) Basic Call Flow
Examples).

For SIP servlet development, download the JSR 289 specification and
javadoc files to understand what differs between HTTP servlets and SIP
servlets.

From now on, please try to report one specific problem per mail when you
post here, so that we can help you efficiently.

Regards,
--
David Soulayrol

Meherprasad cholker

unread,
Nov 12, 2012, 9:40:23 AM11/12/12
to cipang...@googlegroups.com
Thanks for your support. I am glad :)
Reply all
Reply to author
Forward
0 new messages