Skip to main content
Known Participant
March 1, 2011
Question

Unable to stream incoming calls into FMS

  • March 1, 2011
  • 1 reply
  • 1728 views

Hi,

We are developing a web conferencing tool similar to WEBEX. We need a facility where participants can join the meeting via phone.  To enable this ,we are trying the option of SIP connectivity and PSTN using Flash media gateway. Our web conferencing tool is using Flash media server. When we dial the number from our external phone, we are able to recieve the call.  But we  are unable to stream the call to the FMS.The log details are as follows

Thanks

Selvan

[LEG ID:5] - State Change SENDRECV -> EXEC
2011-03-01::13:08:18.328 DEBUG CALLLEG 6444 [LEG ID:5] - Going For State 4
2011-03-01::13:08:18.328 DEBUG SIPLEG 6444 [LEG ID:5] - executeHandler called...
2011-03-01::13:08:18.328 DEBUG CALLLEG 6444 [LEG ID:5] - Call Leg EXECUTE
2011-03-01::13:08:18.328 DEBUG CORE 6444 [LEG ID:5] - Processing <Context:rtmp>
2011-03-01::13:08:18.328 DEBUG CORE 6444 [LEG ID:5] - Testing condition <var:destNum, varData:9781111111> to <value:^8888$>
2011-03-01::13:08:18.343 DEBUG CORE 6444 num matches: -1
2011-03-01::13:08:18.343 DEBUG CORE 6444 [LEG ID:5] - Processing <Context:rtmp>
2011-03-01::13:08:18.343 DEBUG CORE 6444 [LEG ID:5] - Testing condition <var:destNum, varData:9781111111> to <value:^9999$>
2011-03-01::13:08:18.343 DEBUG CORE 6444 num matches: -1
2011-03-01::13:08:18.343 DEBUG CORE 6444 [LEG ID:5] - Processing <Context:rtmp>
2011-03-01::13:08:18.343 DEBUG CORE 6444 [LEG ID:5] - Testing condition <var:destNum, varData:9781111111> to <value:^777$>
2011-03-01::13:08:18.343 DEBUG CORE 6444 num matches: -1
2011-03-01::13:08:18.343 DEBUG CORE 6444 [LEG ID:5] - Processing <Context:rtmp>
2011-03-01::13:08:18.343 DEBUG CORE 6444 [LEG ID:5] - Testing condition <var:destNum, varData:9781111111> to <value:^888$>
2011-03-01::13:08:18.343 DEBUG CORE 6444 num matches: -1
2011-03-01::13:08:18.343 DEBUG CORE 6444 [LEG ID:5] - Processing <Context:rtmp>
2011-03-01::13:08:18.343 DEBUG CORE 6444 [LEG ID:5] - Testing condition <var:destNum, varData:9781111111> to <value:^999$>
2011-03-01::13:08:18.343 DEBUG CORE 6444 num matches: -1
2011-03-01::13:08:18.343 DEBUG CORE 6444 [LEG ID:5] - Processing <Context:rtmp>
2011-03-01::13:08:18.343 DEBUG CORE 6444 [LEG ID:5] - Testing condition <var:destNum, varData:9781111111> to <value:^.*$>
2011-03-01::13:08:18.343 DEBUG CORE 6444 num matches: 1
2011-03-01::13:08:18.343 DEBUG CALLLEG 6444 [LEG ID:5] - Execute bridge(
sip|${destNum}@sipGateway)
2011-03-01::13:08:18.343 DEBUG CALLLEG 6444 [LEG ID:5] - Expanded String bridge(
sip|9781111111@sipGateway) (ID:1)
2011-03-01::13:08:18.343 DEBUG SIPLEG 6444 [LEG ID:5] - Call in progress
2011-03-01::13:08:18.343 INFO CALLLEG 6444 [LEG ID:5] - Ringing
2011-03-01::13:08:18.343 DEBUG CALLLEG 6444 [LEG ID:6] - Allocated new Call Leg(sip)
2011-03-01::13:08:18.343 DEBUG SIP 6444 Finding the profile in Server Registration Database for profile : sipGateway
2011-03-01::13:08:18.343 DEBUG SIP 6444 Finding the profile in Server Registration Database for profile : sipGateway
2011-03-01::13:08:18.343 DEBUG SIP 6444  Setting connection address to 64.154.41.150
2011-03-01::13:08:18.343 DEBUG SIP 6444 No Video session added in SDP
2011-03-01::13:08:18.343 DEBUG SIP 6444 -- Some fields from offer SDP message: --
2011-03-01::13:08:18.343 DEBUG SIP 6444 version field     : 0
2011-03-01::13:08:18.343 DEBUG SIP 6444 session           : Flash Media Gateway 2,0,0,72
2011-03-01::13:08:18.343 DEBUG SIP 6444 origin  field:
2011-03-01::13:08:18.343 DEBUG SIP 6444  username         : MG
2011-03-01::13:08:18.343 DEBUG SIP 6444  session id       : 2630303
2011-03-01::13:08:18.343 DEBUG SIP 6444  version          : 2630303
2011-03-01::13:08:18.343 DEBUG SIP 6444  address          : 64.154.41.150
2011-03-01::13:08:18.343 DEBUG SIP 6444 connection field:
2011-03-01::13:08:18.343 DEBUG SIP 6444  nettype enum     : 1
2011-03-01::13:08:18.343 DEBUG SIP 6444  addr type enum   : 1
2011-03-01::13:08:18.343 DEBUG SIP 6444  address          : 64.154.41.150
2011-03-01::13:08:18.343 DEBUG SIP 6444 Session Time 0:
2011-03-01::13:08:18.343 DEBUG SIP 6444  start            : 0
2011-03-01::13:08:18.343 DEBUG SIP 6444  end              : 0
2011-03-01::13:08:18.343 DEBUG SIP 6444 Media Descr 0:
2011-03-01::13:08:18.343 DEBUG SIP 6444  media type enum  : 1
2011-03-01::13:08:18.343 DEBUG SIP 6444  port             : 6000
2011-03-01::13:08:18.343 DEBUG SIP 6444  protocol enum    : 1
2011-03-01::13:08:18.343 DEBUG SIP 6444  format 0         : 0
2011-03-01::13:08:18.343 DEBUG SIP 6444  format 1         : 101
2011-03-01::13:08:18.343 DEBUG SIP 6444 Port Allocated for Media transfer : 10006
2011-03-01::13:08:18.343 DEBUG SIP 6444 [LEG ID:6] - setSdpPorts: port=10006
2011-03-01::13:08:18.343 DEBUG SIP 6444 [LEG ID:6] - setSdpPorts: Audio Port changed to 10006
2011-03-01::13:08:18.343 DEBUG SIP 6444  Setting call outbound details : Addr : sipconnect.ipcomms.net, port : 5060
2011-03-01::13:08:18.343 DEBUG SIP 6444 Setting the Local interface to 192.168.1.102 for making the call From : From: "6787432724" <sip:9788603316@sipconnect.ipcomms.net>, To : To:<sip:9781111111@sipconnect.ipcomms.net>
2011-03-01::13:08:18.359 DEBUG SIPLEG 6444 [LEG ID:6] - **callLegStateChangedEvHandler** State=RVSIP_CALL_LEG_STATE_INVITING Reason=RVSIP_CALL_LEG_REASON_LOCAL_INVITING Dir=RVSIP_CALL_LEG_DIRECTION_OUTGOING
2011-03-01::13:08:18.359 DEBUG SIPLEG 6444 [LEG ID:6] - Call made successfully
2011-03-01::13:08:18.359 DEBUG CALLLEG 2904 [LEG ID:6] - Going For State 0
2011-03-01::13:08:18.359 DEBUG CALLLEG 2904 [LEG ID:6] - State ALLOC
2011-03-01::13:08:18.359 DEBUG CALLLEG 2904 [LEG ID:6] - State Change ALLOC -> START
2011-03-01::13:08:18.359 DEBUG CALLLEG 2904 [LEG ID:6] - Going For State 1
2011-03-01::13:08:18.359 DEBUG CALLLEG 2904 [LEG ID:6] - Call Leg START
2011-03-01::13:08:18.625 DEBUG SIP 1776 Received Call msg type : 401
2011-03-01::13:08:18.625 DEBUG SIPLEG 1776 [LEG ID:6] - **callLegStateChangedEvHandler** State=RVSIP_CALL_LEG_STATE_UNAUTHENTICATED Reason=RVSIP_CALL_LEG_REASON_AUTH_NEEDED Dir=RVSIP_CALL_LEG_DIRECTION_OUTGOING
2011-03-01::13:08:18.625 DEBUG SIP 1776 Call Session Unauthenticated - Sending Authentication Information
2011-03-01::13:08:18.625 DEBUG SIPLEG 1776 [LEG ID:6] - **callLegStateChangedEvHandler** State=RVSIP_CALL_LEG_STATE_INVITING Reason=RVSIP_CALL_LEG_REASON_LOCAL_INVITING Dir=RVSIP_CALL_LEG_DIRECTION_OUTGOING
2011-03-01::13:08:18.906 DEBUG SIP 1776 Received Call msg type : 100
2011-03-01::13:08:18.906 DEBUG SIPLEG 1776 [LEG ID:6] - **callLegStateChangedEvHandler** State=RVSIP_CALL_LEG_STATE_PROCEEDING Reason=RVSIP_CALL_LEG_REASON_REMOTE_PROVISIONAL_RESP Dir=RVSIP_CALL_LEG_DIRECTION_OUTGOING
2011-03-01::13:08:19.281 DEBUG SIP 1776 Received Call msg type : -1
2011-03-01::13:08:19.281 DEBUG SIPLEG 1776 [LEG ID:5] - **callLegStateChangedEvHandler** State=RVSIP_CALL_LEG_STATE_CANCELLED Reason=RVSIP_CALL_LEG_REASON_REMOTE_CANCELED Dir=RVSIP_CALL_LEG_DIRECTION_INCOMING
2011-03-01::13:08:19.281 DEBUG SIPLEG 1776 [LEG ID:5] - **callLegStateChangedEvHandler** State=RVSIP_CALL_LEG_STATE_DISCONNECTED Reason=RVSIP_CALL_LEG_REASON_REMOTE_CANCELED Dir=RVSIP_CALL_LEG_DIRECTION_INCOMING
2011-03-01::13:08:19.281 DEBUG SIP 1776 [LEG ID:5] - Callleg disconnect cause was undefined, now set to 500 for reason RVSIP_CALL_LEG_REASON_REMOTE_CANCELED
2011-03-01::13:08:19.281 DEBUG CALLLEG 1776 [LEG ID:5] - State Change EXEC -> HANGUP
2011-03-01::13:08:19.281 DEBUG CALLLEG 6444 [LEG ID:6] - State Change START -> HANGUP
2011-03-01::13:08:19.281 DEBUG CALLLEG 6444 [LEG ID:5] -  Variable Value Set (bridgeUUID=dfba227e-792b-4835-9c7f-91db8893453c)
2011-03-01::13:08:19.281 DEBUG CALLLEG 2904 [LEG ID:6] - Going For State 7
2011-03-01::13:08:19.281 DEBUG SIPLEG 2904 [LEG ID:6] - hangupHandler called...sipGateway
2011-03-01::13:08:19.281 DEBUG SIP 2904 closed audio socket
2011-03-01::13:08:19.281 DEBUG SIP 2904 closed video socket
2011-03-01::13:08:19.281 DEBUG SIP 2904 Removing Call Leg Entry for UUID dfba227e-792b-4835-9c7f-91db8893453c
2011-03-01::13:08:19.281 DEBUG CALLLEG 6444 [LEG ID:6] -  Variable Value Set (bridgeUUID=621f98ff-62b0-4204-9a38-6f49a9362dc0)
2011-03-01::13:08:19.281 DEBUG SIP 2904 call reject failed, will try disconnecting it
2011-03-01::13:08:19.281 DEBUG CALLLEG 6444 [LEG ID:5] - Hangup Call (cause 200), from FMSMGAppNodesHelper.cpp:1251
2011-03-01::13:08:19.296 DEBUG SIPLEG 2904 [LEG ID:6] - **callLegStateChangedEvHandler** State=RVSIP_CALL_LEG_STATE_CANCELLING Reason=RVSIP_CALL_LEG_REASON_LOCAL_CANCELLING Dir=RVSIP_CALL_LEG_DIRECTION_OUTGOING
2011-03-01::13:08:19.296 DEBUG SIP 2904 Disconnected the call successfully
2011-03-01::13:08:19.296 DEBUG SIP 2904 Disconnected call name : sipGateway
2011-03-01::13:08:19.296 DEBUG CALLLEG 2904 [LEG ID:6] - Call Leg HANGUP, cause: OK
2011-03-01::13:08:19.296 INFO CALLLEG 2904 [LEG ID:6] - CallLeg Ended
2011-03-01::13:08:19.296 DEBUG CALLLEG 2904 [LEG ID:6] - Cleaning up Leg [HANGUP]
2011-03-01::13:08:19.562 DEBUG SIP 1776 Received Call msg type : -1
2011-03-01::13:08:19.562 DEBUG SIPLEG 1776 [LEG ID:0] - **callLegStateChangedEvHandler** State=RVSIP_CALL_LEG_STATE_TERMINATED Reason=RVSIP_CALL_LEG_REASON_CALL_TERMINATED Dir=RVSIP_CALL_LEG_DIRECTION_INCOMING
2011-03-01::13:08:19.562 DEBUG SIP 1776 [LEG ID:0] - Callleg disconnect cause was undefined, now set to 500 for reason RVSIP_CALL_LEG_REASON_CALL_TERMINATED
2011-03-01::13:08:19.578 DEBUG SIP 1776 Received Call msg type : 487
2011-03-01::13:08:19.578 DEBUG SIPLEG 1776 [LEG ID:6] - **callLegStateChangedEvHandler** State=RVSIP_CALL_LEG_STATE_DISCONNECTED Reason=RVSIP_CALL_LEG_REASON_LOCAL_CANCELLING Dir=RVSIP_CALL_LEG_DIRECTION_OUTGOING
2011-03-01::13:08:19.578 DEBUG SIP 1776 Callleg disconnect cause is 487
2011-03-01::13:08:19.578 DEBUG SIPLEG 1776 [LEG ID:0] - **callLegStateChangedEvHandler** State=RVSIP_CALL_LEG_STATE_TERMINATED Reason=RVSIP_CALL_LEG_REASON_CALL_TERMINATED Dir=RVSIP_CALL_LEG_DIRECTION_OUTGOING
2011-03-01::13:08:19.578 DEBUG SIP 1776 [LEG ID:0] - Callleg disconnect cause was undefined, now set to 500 for reason RVSIP_CALL_LEG_REASON_CALL_TERMINATED
2011-03-01::13:08:20.281 DEBUG CALLLEG 6444 [LEG ID:5] - App  bridge(
sip|9781111111@sipGateway) Returns 0 (next ID:1)
2011-03-01::13:08:20.281 DEBUG CALLLEG 6444 [LEG ID:5] - Going For State 7
2011-03-01::13:08:20.281 DEBUG SIPLEG 6444 [LEG ID:5] - hangupHandler called...sipGateway
2011-03-01::13:08:20.281 DEBUG SIP 6444 closed audio socket
2011-03-01::13:08:20.281 DEBUG SIP 6444 closed video socket
2011-03-01::13:08:20.281 DEBUG SIP 6444 Removing Call Leg Entry for UUID 621f98ff-62b0-4204-9a38-6f49a9362dc0
2011-03-01::13:08:20.281 DEBUG SIP 6444 call reject failed, will try disconnecting it
2011-03-01::13:08:20.296 DEBUG SIPLEG 2904 [LEG ID:6] - deleting sip leg
2011-03-01::13:08:20.296 DEBUG SIP 6444 Disconnected call name : sipGateway
2011-03-01::13:08:20.296 DEBUG SIP 2904 closed audio socket
2011-03-01::13:08:20.296 DEBUG CALLLEG 6444 [LEG ID:5] - Call Leg HANGUP, cause: Internal_server_error
2011-03-01::13:08:20.296 DEBUG SIP 2904 closed video socket
2011-03-01::13:08:20.296 INFO CALLLEG 6444 [LEG ID:5] - CallLeg Ended
2011-03-01::13:08:20.296 DEBUG CALLLEG 6444 [LEG ID:5] - Cleaning up Leg [HANGUP]
2011-03-01::13:08:20.296 DEBUG SIPLEG 6444 [LEG ID:5] - deleting sip leg
2011-03-01::13:08:20.296 DEBUG SIP 6444 closed audio socket
2011-03-01::13:08:20.296 DEBUG SIP 6444 closed video socket

This topic has been closed for replies.

1 reply

Participating Frequently
March 1, 2011

Hi Selvan,

  These logs indicate that end-to-end call is not established as FMG gets CANCEL on incoming call-leg (i.e. the one corresponding to 9788603316@sipconnect.ipcomms.net)

Thanks

Piyush

Known Participant
March 1, 2011

Hi Piyush,

how to make end to end connection ?

i am using sample telephony application

Thanks

Selvan

Participating Frequently
March 1, 2011

Hi Selvan,

  Is the call being initiated from an RMTP-telephony app and the destination being SIP/PSTN number? Please confirm what is the source and destination of the call. Also it will help in finding solution if you could capture wireshark trace on FMG machine of the call.

Thanks

Piyush