Hi,
I am sending the following request to my web call server:
{"callId":"Xq2tlLcX89tTjaji","callee":"peachbooth.sip.twilio.com","rtmpUrl":"rtmp://dev.peachbooth.com:1935/live","rtmpStream":"stream1","hasAudio":"false","hasVideo":"false","connection":{"sipLogin":"chirpyadmin","sipPassword":"Peachb00th123","sipAuthenticationName":"chirpyadmin","sipDomain":"peachbooth.sip.twilio.com","sipPort":"5060","sipRegisterRequired":"false","appKey":"peachbooth"}} I am getting the following response:
{"timestamp":1488896347212,"status":500,"error":"Internal Server Error","exception":"com.flashphoner.server.manager.controller.exception.InternalErrorException","message":null,"path":"/RESTCall/call"}
The server logs say:
..../server_logs/flashphoner.log:
09:19:07,139 INFO NodeApi - RMI TCP Connection(1441)-127.0.0.1 call: CallConnection{call=Call{callId='Xq2tlLcX89tTjaji', parentCallId='null', incoming=null, status='null', sipStatus=null, caller='null', callee='peachbooth.sip.twilio.com', hasVideo=false, sdp='null', visibleName='null', inviteParameters=null, mediaProvider='null', sipMessageRaw='null', isMsrp=false, target='null', holdForTransfer=false} connection=Connection{sipRegisterRequired=false, sipLogin='chirpyadmin', sipAuthenticationName='chirpyadmin', sipPassword='Peachb00th123', sipVisibleName='null', sipDomain='peachbooth.sip.twilio.com', sipOutboundProxy='null', sipPort=5060, sipContactParams='null', width=null, height=null, supportedResolutions='null', useProxy=null, useDTLS=null, mediaProviders=null, appMainClass='null', authToken='null', status='null', restClientConfig=null, clientVersion=null}Context{custom={}, nodeId='null', appKey='peachbooth', sessionId='null'}}
09:19:07,140 INFO WCS4Handler - RMI TCP Connection(1441)-127.0.0.1 onConnect client: com.flashphoner.server.D.A@7e6b8903
09:19:07,150 INFO SoftphoneFactory - RMI TCP Connection(1441)-127.0.0.1 newCustomSoftphone login=chirpyadmin password=Peachb00th123 domain=peachbooth.sip.twilio.comoutboundProxy=peachbooth.sip.twilio.com port=5060 visibleName=chirpyadmin
09:19:07,172 INFO SipUserAgent - RMI TCP Connection(1441)-127.0.0.1 Create TCP and UDP listening points on 30011 this: SIP UA: login: chirpyadmin assignedPort: 30011 listeningPort: 30011
09:19:07,173 INFO PagerModeClient - RMI TCP Connection(1441)-127.0.0.1 No chat listener detected
09:19:07,177 INFO SipUserAgent - RMI TCP Connection(1441)-127.0.0.1 Init instance. Count: 12 this: SIP UA: login: chirpyadmin assignedPort: 30011 listeningPort: 30011
09:19:07,178 INFO ManagerApiConnection - RMI TCP Connection(1441)-127.0.0.1 Config for method ConnectionStatusEvent not found, using defaults
What am I doing wrong?
Thanks,
Martin
I am sending the following request to my web call server:
{"callId":"Xq2tlLcX89tTjaji","callee":"peachbooth.sip.twilio.com","rtmpUrl":"rtmp://dev.peachbooth.com:1935/live","rtmpStream":"stream1","hasAudio":"false","hasVideo":"false","connection":{"sipLogin":"chirpyadmin","sipPassword":"Peachb00th123","sipAuthenticationName":"chirpyadmin","sipDomain":"peachbooth.sip.twilio.com","sipPort":"5060","sipRegisterRequired":"false","appKey":"peachbooth"}} I am getting the following response:
{"timestamp":1488896347212,"status":500,"error":"Internal Server Error","exception":"com.flashphoner.server.manager.controller.exception.InternalErrorException","message":null,"path":"/RESTCall/call"}
The server logs say:
..../server_logs/flashphoner.log:
09:19:07,139 INFO NodeApi - RMI TCP Connection(1441)-127.0.0.1 call: CallConnection{call=Call{callId='Xq2tlLcX89tTjaji', parentCallId='null', incoming=null, status='null', sipStatus=null, caller='null', callee='peachbooth.sip.twilio.com', hasVideo=false, sdp='null', visibleName='null', inviteParameters=null, mediaProvider='null', sipMessageRaw='null', isMsrp=false, target='null', holdForTransfer=false} connection=Connection{sipRegisterRequired=false, sipLogin='chirpyadmin', sipAuthenticationName='chirpyadmin', sipPassword='Peachb00th123', sipVisibleName='null', sipDomain='peachbooth.sip.twilio.com', sipOutboundProxy='null', sipPort=5060, sipContactParams='null', width=null, height=null, supportedResolutions='null', useProxy=null, useDTLS=null, mediaProviders=null, appMainClass='null', authToken='null', status='null', restClientConfig=null, clientVersion=null}Context{custom={}, nodeId='null', appKey='peachbooth', sessionId='null'}}
09:19:07,140 INFO WCS4Handler - RMI TCP Connection(1441)-127.0.0.1 onConnect client: com.flashphoner.server.D.A@7e6b8903
09:19:07,150 INFO SoftphoneFactory - RMI TCP Connection(1441)-127.0.0.1 newCustomSoftphone login=chirpyadmin password=Peachb00th123 domain=peachbooth.sip.twilio.comoutboundProxy=peachbooth.sip.twilio.com port=5060 visibleName=chirpyadmin
09:19:07,172 INFO SipUserAgent - RMI TCP Connection(1441)-127.0.0.1 Create TCP and UDP listening points on 30011 this: SIP UA: login: chirpyadmin assignedPort: 30011 listeningPort: 30011
09:19:07,173 INFO PagerModeClient - RMI TCP Connection(1441)-127.0.0.1 No chat listener detected
09:19:07,177 INFO SipUserAgent - RMI TCP Connection(1441)-127.0.0.1 Init instance. Count: 12 this: SIP UA: login: chirpyadmin assignedPort: 30011 listeningPort: 30011
09:19:07,178 INFO ManagerApiConnection - RMI TCP Connection(1441)-127.0.0.1 Config for method ConnectionStatusEvent not found, using defaults
What am I doing wrong?
Thanks,
Martin