Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
    Bookmark Topic Watch Topic
  • New Topic

Sending an INVITE to my VoIP account by a SIP Servlet

Namitha karupaiya
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
  • Report post to moderator
I tried to make an outbound call to an ordinary landline number through my VoIP account by a SIP Servlet, but never been successful.

I tried something similar to the following:

javax.servlet.sip.SipFactory factory=(javax.servlet.sip.SipFactory) this.getServletContext().getAttribute(javax.servlet.sip.SipServlet.SIP_FACTORY);

javax.servlet.sip.SipApplicationSession appSession =factory.createApplicationSession();

to = ��

javax.servlet.sip.SipServletRequest invite = factory.createRequest(appSession, "INVITE", from, to);

invite.pushRoute(URI of;


I use Weblogic SIP server. I configured sip.xml, and everything else is correct to my knowledge.

I always get the error message something similar to �Cannot resolve path to�

(Note: When I use SJPhone softphone with my VoIP account details, it simply rings to a landline)

Is the way I incorporating my_voip_outbound_proxy_server correct?

Any help from anyone is greatly appreciated.

Thank you very much.
    Bookmark Topic Watch Topic
  • New Topic