Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception when callee hangs up outbound call #94

Open
atsakiridis opened this issue Mar 23, 2017 · 0 comments
Open

Exception when callee hangs up outbound call #94

atsakiridis opened this issue Mar 23, 2017 · 0 comments
Assignees
Labels

Comments

@atsakiridis
Copy link
Collaborator

@ghjansen commented on Tue Mar 21 2017

When alice calls to an RCML application that dials to bob, the call is correctly stablished, but when bob hangs up, the following exception occurs preventing to send the BYE message:

2017-21-03 10:40:49.489 PrivateJainSipCallConnector:close(): catched exception:TypeError: Cannot read property 'createRequest' of null 

Stack trace: 
    at commonLog (https://54.90.157.242/olympus/resources/js/mobicents-libs/WebRTComm.js:4886:10)
    at Object.console.error (https://54.90.157.242/olympus/resources/js/mobicents-libs/WebRTComm.js:4959:4)
    at PrivateJainSipCallConnector.close (https://54.90.157.242/olympus/resources/js/mobicents-libs/WebRTComm.js:534:12)
    at WebRTCommCall.hangup (https://54.90.157.242/olympus/resources/js/mobicents-libs/WebRTComm.js:2236:20)
    at Arguments.<anonymous> (https://54.90.157.242/olympus/resources/js/mobicents-libs/WebRTComm.js:2403:10)
    at successCallbackWrapper (https://54.90.157.242/olympus/resources/js/adapter/adapter.js:291:18)

Environment

  • latest Restcomm
  • latest Olympus 2.0
  • patched version of JSR 309 connector
  • XMS

Scenario

1 - alice calls RCML application
2 - VoiceInterpreter creates an outbound call to bob
3 - bob accepts the call and the call is correctly stablished
4 - bob hangs up the call
The error happens on 4 leaving alice with the call connected

RCML application:

<Response>
    <Say>This application is a test for issue 19 41. Calling bob now.</Say>
    <Dial action="controller?target=start.step2.actionhandler">
        <Client>bob</Client>
    </Dial>
</Response>
<Response>
    <Say>Call executed with success.</Say>
</Response>

Console log from Chrome/Olympus: 54.90.157.242-1490103657235.txt
Restcomm log: restcomm-log.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant