[Sip servlet] How to register to diffrent sip server

7 views
Skip to first unread message

Christopher Z.

unread,
Nov 13, 2009, 1:00:14 PM11/13/09
to mobicents-public
Hi,

This is my situtations:

[Phone] -----PSTN--->[PSTN to SIP GateWay]----SIP-----> [Mobicent]

This PSTN to SIP gateway sends sip headers only if my mobicent is
registered in this gateway.
I found a lot of examples how to get and handle register, but didn't
see any about how to send and handle REGISTER with other sip servers.
I would like to use SIP servlets, not Jain slee. It's possible to
do ?

Christopher Z.

Vladimir Ralev

unread,
Nov 13, 2009, 1:47:27 PM11/13/09
to mobicent...@googlegroups.com
Sure, it's possible. Just take the SipFactory and create new requests.
Usually it's enough to do
sipFactory.createRequest("REGISTER",...from..to).send();

Jean Deruelle

unread,
Nov 16, 2009, 3:38:47 PM11/16/09
to mobicent...@googlegroups.com

Christopher Z.

unread,
Nov 18, 2009, 10:28:55 AM11/18/09
to mobicents-public
Thanks for help. Everything is fine now.
Reply all
Reply to author
Forward
0 new messages