marwanAmeen / openjsip

Automatically exported from code.google.com/p/openjsip
Apache License 2.0
1 stars 0 forks source link

registered endpoints question #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

Is there a way to get a view of the current registrations?  Such as a 
connection to the RMI registry?

Is there a way a SIP client can send a SIP request to the registrar to get a 
list of the current registrations?

Thanks,

Paul

Original issue reported on code.google.com by panti...@gmail.com on 4 Nov 2011 at 3:43

GoogleCodeExporter commented 9 years ago
>a view of the current registrations ? 
If you are talking about displaying a list of currently registered SIP 
subscribers then no. But you can extend execCmd() method of Registrar to 
respond with such a list.

>Is there a way a SIP client can send a SIP request to the registrar ?
There is nothing in RFC 3261 about that.
I think you want to see the presence status of other subscribers on your phone.
This can be achieved via SIP Extensions, none of which is implemented currently 
in this project. 
Take a look at this standard: http://www.packetizer.com/rfc/rfc3856/
If you can implement such an extension, you can plug it into OpenJSIP Proxy as 
a plugin, like it's done with Registrar.

Original comment by ykrapiva@gmail.com on 4 Nov 2011 at 7:16

GoogleCodeExporter commented 9 years ago
Can you show/point me to an example of code of how to invoke execCmd?  it looks 
like we need to use a openjsip.remote.RemoteServiceInterface.  Thanks.

Original comment by panti...@gmail.com on 4 Nov 2011 at 2:49

GoogleCodeExporter commented 9 years ago
nm, i think i found it.

Original comment by panti...@gmail.com on 4 Nov 2011 at 2:51

GoogleCodeExporter commented 9 years ago
See CmdClient class, and bin/cmdclient.bat script, which acts as a invoker.
See also some examples in readme.txt, line 197

Original comment by ykrapiva@gmail.com on 4 Nov 2011 at 2:56

GoogleCodeExporter commented 9 years ago

Original comment by ykrapiva@gmail.com on 28 Aug 2013 at 6:37