i m trying to run a test sample application using composer 8.1 with gvp 8.1.6.
i am able to create a sample vxml project and successfully generate code.
however when i run the callflow, it gives error message “Could not start the debug target,Failed to initialize SIP”.
any reasons why this error is due to?
FYI, I can place a direct call from my sip phone to the GVP sample application both directly on sip server port and rm port.
I once had the same issue. I cannot remember how I solved it though. I think I inserted ‘localhost’ instead of the IP address and somehow resolved. You may find more information in the Composer Help at the section “Debugging a Callflow”
Yes I do have debug enabled on mcp.
Are you saying mention localhost instead of the IP Address of the SIP Phone in Debug config on composer?
Can you check your configuration and see if anythig uselful info that I may be missing.
You have to configure your ext SIP phone (IP address, port and number). As was mentioned, all is described in documentation, help and some hints are on Genesys web/wiki.
I have configured the ext sip phone along with the IP Address, Port and Number.
However the logs do not show any hits either on MCP/RM/SIP Server nor on the composer logs.
Attaching some of the debug logs, see if I am really missing anything.
I am using the default debug configuration and I can see that the Application URL is not complete in the logs.
org.eclipse.core.runtime.CoreException: Could not start the debug target
at com.genesyslab.composer.debug.launch.AbstractComposerLaunchDelegate.abort(Unknown Source)
at com.genesyslab.rtdclient.core.launch.RTDLaunchDelegate.launch(Unknown Source)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:853)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:696)
at com.genesyslab.composer.debug.launch.AbstractComposerLaunchShortcut$1.run(Unknown Source)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: com.genesyslab.sip.tpcc.SipTPCCException: Failed to initialize SIP
at com.genesyslab.sip.tpcc.TPCController.handleError(Unknown Source)
at com.genesyslab.sip.tpcc.TPCController.initiateCall(Unknown Source)
at com.genesyslab.rtdclient.core.launch.RTDCallLauncher.launchCall(Unknown Source)
… 6 more
Caused by: javax.sip.SipException: class java.net.ConnectException Connection refused: connect null Problem connecting /10.8.76.235 5090 /10.8.76.235 for message INVITE sip:null@10.8.76.235:5090 SIP/2.0
Call-ID: fe1762df453d88a3f3775b836e721329@10.8.76.235
CSeq: 1 INVITE
From: “Debugger” sip:debugger@10.8.76.235:50600;tag=7vW5jsel6X1W
To: sip:null@10.8.76.235:5090
Via: SIP/2.0/TCP 10.8.76.235:50600;branch=z9hG4bK-353230-5b2601e126767df6d0cdf5bc848fbce5
Max-Forwards: 70
Contact: “Debugger” sip:debugger@10.8.76.235:50600
Call-Info: sip:debugger@10.8.76.235;appearance-index=1;answer-after=0
Content-Length: 0
at gov.nist.javax.sip.stack.SIPClientTransaction.sendRequest(SIPClientTransaction.java:1066)
at com.genesyslab.sip.tpcc.TPCController.inviteA(Unknown Source)
… 8 more
Caused by: java.net.SocketException: class java.net.ConnectException Connection refused: connect null Problem connecting /10.8.76.235 5090 /10.8.76.235 for message INVITE sip:null@10.8.76.235:5090 SIP/2.0
Call-ID: fe1762df453d88a3f3775b836e721329@10.8.76.235
CSeq: 1 INVITE
From: “Debugger” sip:debugger@10.8.76.235:50600;tag=7vW5jsel6X1W
To: sip:null@10.8.76.235:5090
Via: SIP/2.0/TCP 10.8.76.235:50600;branch=z9hG4bK-353230-5b2601e126767df6d0cdf5bc848fbce5
Max-Forwards: 70
Contact: “Debugger” sip:debugger@10.8.76.235:50600
Call-Info: sip:debugger@10.8.76.235;appearance-index=1;answer-after=0
Content-Length: 0
at gov.nist.javax.sip.stack.IOHandler.sendBytes(IOHandler.java:319)
at gov.nist.javax.sip.stack.TCPMessageChannel.sendMessage(TCPMessageChannel.java:524)
at gov.nist.javax.sip.stack.MessageChannel.sendMessage(MessageChannel.java:281)
at gov.nist.javax.sip.stack.SIPTransaction.sendMessage(SIPTransaction.java:884)
at gov.nist.javax.sip.stack.SIPClientTransaction.sendMessage(SIPClientTransaction.java:490)
at gov.nist.javax.sip.stack.SIPClientTransaction.sendRequest(SIPClientTransaction.java:1058)
… 9 more
Define the target DN and Sip Server IP address and port in Sip phone settings and then the MCP IP address and port in Application settings of the Debugger configuration. I believe this should get it working. - Let us know if this solved your problem