Skip to main content
Known Participant
December 6, 2010
Answered

Can make outgoing call to phone, but no incoming audio

  • December 6, 2010
  • 1 reply
  • 1538 views

Using the sample "fmg flashphone" app, I can successfully make an outgoing call from the browser to my iPhone, using the sipGateway profile.  However, it appears to only be working one way:  The phone rings, but when I answer it, I can only hear the audio from the browser to the phone...no audio is sent from the phone to the browser.  Also, hanging up from the phone first will not disconnect the call in the browser, though hanging up in the browser will end the call on the phone.

I'm guessing it's just a config issue, but the documentation is...err, not quite ready

This topic has been closed for replies.
Correct answer Piyush-G

Hi Rich,

Please check whether configuring external IP address as globalAddress for sipGateway profile, helps. It is possible that BYE (sent on disconnect from iPhone) and audio stream is not reaching FMG machine using internal IP address only.

Regards,

Piyush

1 reply

December 7, 2010

Could you please check that the supported Audio codecs mentioned in your SIP gateway profile in sip.xml of FMG match with the ones supported by the SIP gateway you are using.

Also, Are there any errors related to the issue in the logs of FMG?

Known Participant
December 7, 2010

g711uLaw is our primary codec, and I do have G711u (and speex and H264) listed under the supported codecs for the sipGateway profile.

Here are 2 log dumps, one from FMG startup, and the other from placing the Flash-to-iPhone call:

FMG startup:

#Start-Date: 2010-12-07 10:03:46

#Software: Flash Media Gateway 2,0,0,72 release

#Fields: DATE LEVEL TYPE THREAD COMMENT

2010-12-07::10:03:46.669 INFO CORE 1680 Reading server configurations

2010-12-07::10:03:46.669 ERROR CORE 1680 License Key is not valid; activating Developer Edition limits.

2010-12-07::10:03:46.670 DEBUG CORE 1680 Log Level Initialzed at 1

2010-12-07::10:03:46.672 DEBUG CORE 1680 Loading Plugins.

2010-12-07::10:03:46.824 DEBUG CORE 1680 FMG Started.

2010-12-07::10:03:46.833 INFO FMS detected IPv6 protocol stack!

2010-12-07::10:03:46.833 INFO FMS config <NetworkingIPv6 enable=false>

2010-12-07::10:03:46.833 INFO FMS running in IPv4 protocol stack mode!

2010-12-07::10:03:46.833 INFO Host: ip-0AA1174D IPv4: 10.161.23.77

2010-12-07::10:03:46.838 DEBUG SIP 3372 Loading quality level config for device=Tandberg990MXP from C:\Program Files\Adobe\Flash Media Gateway\conf\videoqualitylevels.xml

2010-12-07::10:03:46.838 DEBUG SIP 3372 Loading quality level config for device=TandbergEdge95MXP from C:\Program Files\Adobe\Flash Media Gateway\conf\videoqualitylevels.xml

2010-12-07::10:03:46.838 DEBUG SIP 3372 Loading quality level config for device=GenericVtcDevice from C:\Program Files\Adobe\Flash Media Gateway\conf\videoqualitylevels.xml

2010-12-07::10:03:46.839 DEBUG SIP 3372 registration field not set for profile sipPhone ..setting default to -->Reg to Gib<--

2010-12-07::10:03:46.839 DEBUG SIP 3372 Local Interface : 10.161.23.77 will be used for dest ip : 96.251.93.210

2010-12-07::10:03:46.839 DEBUG SIP 3372 Setting Global Address for profile 777 to 184.72.XX.XXX

2010-12-07::10:03:46.839 DEBUG SIP 3372 sip Domain address not set...

2010-12-07::10:03:46.840 DEBUG SIP 3372 registration field not set for profile sipPhone2 ..setting default to -->Reg to Gib<--

2010-12-07::10:03:46.840 DEBUG SIP 3372 Local Interface : 127.0.0.1 will be used for dest ip : *

2010-12-07::10:03:46.840 DEBUG SIP 3372 Setting Global Address for profile 888 to 184.72.XX.XXX

2010-12-07::10:03:46.840 DEBUG SIP 3372 sip Domain address not set...

2010-12-07::10:03:46.840 DEBUG SIP 3372 Local Interface : 10.161.23.77 will be used for dest ip : 216.52.221.140

2010-12-07::10:03:46.840 DEBUG SIP 3372 sip Domain address not set...

2010-12-07::10:03:46.840 DEBUG SIP 3372 registration field not set for profile sipVideoPhone ..setting default to -->Reg to Gib<--

2010-12-07::10:03:46.840 DEBUG SIP 3372 sip Domain address not set...

2010-12-07::10:03:46.908 INFO Reinitializing server.

2010-12-07::10:03:46.912 INFO Server starting...

2010-12-07::10:03:46.928 DEBUG SIP 3372 Starting to ping profile : sipGateway

2010-12-07::10:03:46.928 DEBUG SIP 3372 Starting to ping profile : sipPhone

2010-12-07::10:03:46.928 DEBUG SIP 3372 Starting to ping profile : sipPhone2

2010-12-07::10:03:46.928 DEBUG SIP 3372 Starting to ping profile : sipVideoPhone

2010-12-07::10:03:46.928 DEBUG SIP 3372 Setting call outbound details : Addr : sip.xxx.com, port : 5060

2010-12-07::10:03:46.929 DEBUG SIP 3372 Local Interface : 10.161.23.77 will be used for dest ip : 10.161.23.77

2010-12-07::10:03:46.929 DEBUG SIP 3372 Registering state for profile : sipGateway

2010-12-07::10:03:46.930 WARNING CONTROL 3692 No remote HTTP host or pass specified in fmsmg.xml, exiting discoverHttp

2010-12-07::10:03:46.936 DEBUG RTMP 2156 Received onStatus <NetConnection.Connect.Success> code <status> classType <Connection succeeded.> description <(null)> details

2010-12-07::10:03:46.936 DEBUG RTMP 1892 Received onStatus <NetConnection.Connect.Success> code <status> classType <Connection succeeded.> description <(null)> details

2010-12-07::10:03:46.936 DEBUG RTMP 3216 Received onStatus <NetConnection.Connect.Success> code <status> classType <Connection succeeded.> description <(null)> details

2010-12-07::10:03:46.937 INFO RTMP 1448 Success: Registry Connection to rtmp://184.72.XX.XXX/registry/sip

2010-12-07::10:03:46.937 INFO RTMP 1448 Success: Registry Connection to rtmp://184.72.XX.XXX/registry/telephony

2010-12-07::10:03:46.937 INFO RTMP 1448 Success: Registry Connection to rtmp://184.72.XX.XXX/registry/telephony_control

2010-12-07::10:03:46.948 ERROR SIP 3372 Registration failed for profile - sipGateway!!!

2010-12-07::10:03:48.217 DEBUG SIP 4260 Remote SIP address not initialize yet for Profile sipPhone2

2010-12-07::10:03:48.217 DEBUG SIP 4260 Remote SIP address not initialize yet for Profile sipVideoPhone

2010-12-07::10:03:48.217 INFO Server started (C:\Program Files\Adobe\Flash Media Gateway\conf\http.xml).

Here is a dump for the Flash-to-iPhone call.  I realized when I read the first line below that the account info for the sipGateway is the same number as the iPhone I'm trying to call, I'm guessing that might be screwing things up:

2010-12-07::10:22:07.958 DEBUG SIP 3084 Setting the Local interface to 10.161.23.77 for making the call From : From: "1000" <sip:310XXXXXXX@sip.xxx.com:5060>, To : To:<sip:310XXXXXXX@sip.xxx.com:5060>

2010-12-07::10:21:26.568 DEBUG RTMP 5704 Received onStatus <NetConnection.Connect.Success> code <status> classType <Connection succeeded.> description <(null)> details

2010-12-07::10:21:50.284 DEBUG SIP 4260 Remote SIP address not initialize yet for Profile sipPhone2

2010-12-07::10:21:50.284 DEBUG SIP 4260 Remote SIP address not initialize yet for Profile sipVideoPhone

2010-12-07::10:22:07.947 DEBUG CALLLEG 1448 [LEG ID:1] - Allocated new Call Leg(rtmp)

2010-12-07::10:22:07.947 INFO RTMPLEG 1448 [LEG ID:1] - setting silence level to 6 for Leg

2010-12-07::10:22:07.947 INFO RTMPLEG 1448 [LEG ID:1] - setting silence Timeout to 500 for Leg

2010-12-07::10:22:07.950 DEBUG CALLLEG 3084 [LEG ID:1] - Going For State 0

2010-12-07::10:22:07.950 DEBUG CALLLEG 3084 [LEG ID:1] - State ALLOC

2010-12-07::10:22:07.952 DEBUG CALLLEG 3084 [LEG ID:1] - State Change ALLOC -> START

2010-12-07::10:22:07.952 DEBUG CALLLEG 3084 [LEG ID:1] - Going For State 1

2010-12-07::10:22:07.952 DEBUG RTMPLEG 3084 [LEG ID:1] - Inside start handler, creating stream

2010-12-07::10:22:07.952 DEBUG CALLLEG 3084 [LEG ID:1] - Call Leg START

2010-12-07::10:22:07.952 DEBUG CALLLEG 3084 [LEG ID:1] - State Change START -> RING

2010-12-07::10:22:07.952 DEBUG CALLLEG 3084 [LEG ID:1] - Going For State 2

2010-12-07::10:22:07.952 DEBUG CALLLEG 3084 [LEG ID:1] - Call Leg RINGing

2010-12-07::10:22:07.952 DEBUG CALLLEG 3084 [LEG ID:1] - State Change RING -> SENDRECV

2010-12-07::10:22:07.953 DEBUG CALLLEG 3084 [LEG ID:1] - Going For State 3

2010-12-07::10:22:07.953 DEBUG CALLLEG 3084 [LEG ID:1] - Call Leg SENDRECV

2010-12-07::10:22:07.953 DEBUG CORE 3084 [LEG ID:1] - Processing <Context:rtmp>

2010-12-07::10:22:07.953 DEBUG CORE 3084 [LEG ID:1] - Testing condition <var:destNum, varData:310XXXXXXX> to <value:^8888$>

2010-12-07::10:22:07.953 DEBUG CORE 3084 num matches: -1

2010-12-07::10:22:07.953 DEBUG CORE 3084 [LEG ID:1] - Processing <Context:rtmp>

2010-12-07::10:22:07.953 DEBUG CORE 3084 [LEG ID:1] - Testing condition <var:destNum, varData:310XXXXXXX> to <value:^9999$>

2010-12-07::10:22:07.953 DEBUG CORE 3084 num matches: -1

2010-12-07::10:22:07.953 DEBUG CORE 3084 [LEG ID:1] - Processing <Context:rtmp>

2010-12-07::10:22:07.953 DEBUG CORE 3084 [LEG ID:1] - Testing condition <var:destNum, varData:310XXXXXXX> to <value:^777$>

2010-12-07::10:22:07.953 DEBUG CORE 3084 num matches: -1

2010-12-07::10:22:07.953 DEBUG CORE 3084 [LEG ID:1] - Processing <Context:rtmp>

2010-12-07::10:22:07.953 DEBUG CORE 3084 [LEG ID:1] - Testing condition <var:destNum, varData:310XXXXXXX> to <value:^888$>

2010-12-07::10:22:07.953 DEBUG CORE 3084 num matches: -1

2010-12-07::10:22:07.953 DEBUG CORE 3084 [LEG ID:1] - Processing <Context:rtmp>

2010-12-07::10:22:07.953 DEBUG CORE 3084 [LEG ID:1] - Testing condition <var:destNum, varData:310XXXXXXX> to <value:^999$>

2010-12-07::10:22:07.953 DEBUG CORE 3084 num matches: -1

2010-12-07::10:22:07.954 DEBUG CORE 3084 [LEG ID:1] - Processing <Context:rtmp>

2010-12-07::10:22:07.954 DEBUG CORE 3084 [LEG ID:1] - Testing condition <var:destNum, varData:310XXXXXXX> to <value:^1...$>

2010-12-07::10:22:07.954 DEBUG CORE 3084 num matches: -1

2010-12-07::10:22:07.954 DEBUG CORE 3084 [LEG ID:1] - Processing <Context:rtmp>

2010-12-07::10:22:07.954 DEBUG CORE 3084 [LEG ID:1] - Testing condition <var:destNum, varData:310XXXXXXX> to <value:^.*$>

2010-12-07::10:22:07.954 DEBUG CORE 3084 num matches: 1

2010-12-07::10:22:07.954 DEBUG CALLLEG 3084 [LEG ID:1] - State Change SENDRECV -> EXEC

2010-12-07::10:22:07.954 DEBUG CALLLEG 3084 [LEG ID:1] - Going For State 4

2010-12-07::10:22:07.954 DEBUG CALLLEG 3084 [LEG ID:1] - Call Leg EXECUTE

2010-12-07::10:22:07.954 DEBUG CORE 3084 [LEG ID:1] - Processing <Context:rtmp>

2010-12-07::10:22:07.954 DEBUG CORE 3084 [LEG ID:1] - Testing condition <var:destNum, varData:310XXXXXXX> to <value:^8888$>

2010-12-07::10:22:07.954 DEBUG CORE 3084 num matches: -1

2010-12-07::10:22:07.954 DEBUG CORE 3084 [LEG ID:1] - Processing <Context:rtmp>

2010-12-07::10:22:07.954 DEBUG CORE 3084 [LEG ID:1] - Testing condition <var:destNum, varData:310XXXXXXX> to <value:^9999$>

2010-12-07::10:22:07.954 DEBUG CORE 3084 num matches: -1

2010-12-07::10:22:07.954 DEBUG CORE 3084 [LEG ID:1] - Processing <Context:rtmp>

2010-12-07::10:22:07.954 DEBUG CORE 3084 [LEG ID:1] - Testing condition <var:destNum, varData:310XXXXXXX> to <value:^777$>

2010-12-07::10:22:07.954 DEBUG CORE 3084 num matches: -1

2010-12-07::10:22:07.954 DEBUG CORE 3084 [LEG ID:1] - Processing <Context:rtmp>

2010-12-07::10:22:07.954 DEBUG CORE 3084 [LEG ID:1] - Testing condition <var:destNum, varData:310XXXXXXX> to <value:^888$>

2010-12-07::10:22:07.954 DEBUG CORE 3084 num matches: -1

2010-12-07::10:22:07.954 DEBUG CORE 3084 [LEG ID:1] - Processing <Context:rtmp>

2010-12-07::10:22:07.954 DEBUG CORE 3084 [LEG ID:1] - Testing condition <var:destNum, varData:310XXXXXXX> to <value:^999$>

2010-12-07::10:22:07.954 DEBUG CORE 3084 num matches: -1

2010-12-07::10:22:07.954 DEBUG CORE 3084 [LEG ID:1] - Processing <Context:rtmp>

2010-12-07::10:22:07.954 DEBUG CORE 3084 [LEG ID:1] - Testing condition <var:destNum, varData:310XXXXXXX> to <value:^1...$>

2010-12-07::10:22:07.954 DEBUG CORE 3084 num matches: -1

2010-12-07::10:22:07.954 DEBUG CORE 3084 [LEG ID:1] - Processing <Context:rtmp>

2010-12-07::10:22:07.954 DEBUG CORE 3084 [LEG ID:1] - Testing condition <var:destNum, varData:310XXXXXXX> to <value:^.*$>

2010-12-07::10:22:07.954 DEBUG CORE 3084 num matches: 1

2010-12-07::10:22:07.955 DEBUG CALLLEG 3084 [LEG ID:1] - Execute bridge(sip|${destNum}@sipGateway)

2010-12-07::10:22:07.955 DEBUG CALLLEG 3084 [LEG ID:1] - Expanded String bridge(sip|310XXXXXXX@sipGateway) (ID:1)

2010-12-07::10:22:07.955 INFO CALLLEG 3084 [LEG ID:1] - Ringing

2010-12-07::10:22:07.955 DEBUG CALLLEG 3084 [LEG ID:2] - Allocated new Call Leg(sip)

2010-12-07::10:22:07.955 DEBUG SIP 3084 Finding the profile in Server Registration Database for profile : sipGateway

2010-12-07::10:22:07.955 DEBUG SIP 3084 Finding the profile in Server Registration Database for profile : sipGateway

2010-12-07::10:22:07.955 DEBUG SIP 3084 Setting connection address to 10.161.23.77

2010-12-07::10:22:07.956 DEBUG SIP 3084 -- Some fields from offer SDP message: --

2010-12-07::10:22:07.956 DEBUG SIP 3084 version field     : 0

2010-12-07::10:22:07.956 DEBUG SIP 3084 session           : Flash Media Gateway 2,0,0,72

2010-12-07::10:22:07.956 DEBUG SIP 3084 origin  field:

2010-12-07::10:22:07.956 DEBUG SIP 3084 username         : MG

2010-12-07::10:22:07.956 DEBUG SIP 3084 session id       : 2630303

2010-12-07::10:22:07.956 DEBUG SIP 3084 version          : 2630303

2010-12-07::10:22:07.956 DEBUG SIP 3084 address          : 10.161.23.77

2010-12-07::10:22:07.956 DEBUG SIP 3084 connection field:

2010-12-07::10:22:07.956 DEBUG SIP 3084 nettype enum     : 1

2010-12-07::10:22:07.956 DEBUG SIP 3084 addr type enum   : 1

2010-12-07::10:22:07.956 DEBUG SIP 3084 address          : 10.161.23.77

2010-12-07::10:22:07.956 DEBUG SIP 3084 Session Time 0:

2010-12-07::10:22:07.956 DEBUG SIP 3084 start            : 0

2010-12-07::10:22:07.956 DEBUG SIP 3084 end              : 0

2010-12-07::10:22:07.956 DEBUG SIP 3084 Media Descr 0:

2010-12-07::10:22:07.956 DEBUG SIP 3084 media type enum  : 1

2010-12-07::10:22:07.956 DEBUG SIP 3084 port             : 6000

2010-12-07::10:22:07.956 DEBUG SIP 3084 protocol enum    : 1

2010-12-07::10:22:07.956 DEBUG SIP 3084 format 0         : 0

2010-12-07::10:22:07.956 DEBUG SIP 3084 format 1         : 111

2010-12-07::10:22:07.956 DEBUG SIP 3084 format 2         : 101

2010-12-07::10:22:07.956 DEBUG SIP 3084 Media Descr 1:

2010-12-07::10:22:07.956 DEBUG SIP 3084 media type enum  : 3

2010-12-07::10:22:07.956 DEBUG SIP 3084 port             : 6000

2010-12-07::10:22:07.956 DEBUG SIP 3084 protocol enum    : 1

2010-12-07::10:22:07.956 DEBUG SIP 3084 format 0         : 99

2010-12-07::10:22:07.957 DEBUG SIP 3084 Port Allocated for Media transfer : 10002

2010-12-07::10:22:07.957 DEBUG SIP 3084 [LEG ID:2] - setSdpPorts: port=10002

2010-12-07::10:22:07.957 DEBUG SIP 3084 [LEG ID:2] - setSdpPorts: Video Port changed to 10002

2010-12-07::10:22:07.957 DEBUG SIP 3084 Setting Video Profile

2010-12-07::10:22:07.957 DEBUG SIP 3084 Port Allocated for Media transfer : 10004

2010-12-07::10:22:07.957 DEBUG SIP 3084 [LEG ID:2] - setSdpPorts: port=10004

2010-12-07::10:22:07.957 DEBUG SIP 3084 [LEG ID:2] - setSdpPorts: Audio Port changed to 10004

2010-12-07::10:22:07.958 DEBUG SIP 3084 Setting call outbound details : Addr : sip.xxx.com, port : 5060

2010-12-07::10:22:07.958 DEBUG SIP 3084 Setting the Local interface to 10.161.23.77 for making the call From : From: "1000" <sip:310XXXXXXX@sip.xxx.com:5060>, To : To:<sip:310XXXXXXX@sip.xxx.com:5060>

2010-12-07::10:22:07.958 DEBUG SIPLEG 3084 [LEG ID:2] - **callLegStateChangedEvHandler** State=RVSIP_CALL_LEG_STATE_INVITING Reason=RVSIP_CALL_LEG_REASON_LOCAL_INVITING Dir=RVSIP_CALL_LEG_DIRECTION_OUTGOING

2010-12-07::10:22:07.959 DEBUG SIPLEG 3084 [LEG ID:2] - Call made successfully

2010-12-07::10:22:07.959 INFO RTMP 5704 Received onStatus <Success> code <status> classType <StreamCreated> description <> details

2010-12-07::10:22:07.969 INFO RTMP 5704 Received onStatus <NetStream.Publish.Start> code <status> classType <fmg/telephony/1 is now published.> description <(null)> details

2010-12-07::10:22:07.971 DEBUG CALLLEG 240 [LEG ID:2] - Going For State 0

2010-12-07::10:22:07.971 DEBUG CALLLEG 240 [LEG ID:2] - State ALLOC

2010-12-07::10:22:07.971 DEBUG CALLLEG 240 [LEG ID:2] - State Change ALLOC -> START

2010-12-07::10:22:07.971 DEBUG CALLLEG 240 [LEG ID:2] - Going For State 1

2010-12-07::10:22:07.971 DEBUG CALLLEG 240 [LEG ID:2] - Call Leg START

2010-12-07::10:22:08.037 DEBUG SIP 3372 Received Call msg type : 100

2010-12-07::10:22:08.037 DEBUG SIPLEG 3372 [LEG ID:2] - **callLegStateChangedEvHandler** State=RVSIP_CALL_LEG_STATE_PROCEEDING Reason=RVSIP_CALL_LEG_REASON_REMOTE_PROVISIONAL_RESP Dir=RVSIP_CALL_LEG_DIRECTION_OUTGOING

2010-12-07::10:22:08.037 DEBUG SIP 3372 Received Call msg type : 180

2010-12-07::10:22:08.037 DEBUG SIPLEG 3372 [LEG ID:2] - 180 Received

2010-12-07::10:22:08.037 DEBUG CALLLEG 240 [LEG ID:2] - State Change START -> RING

2010-12-07::10:22:08.037 DEBUG CALLLEG 240 [LEG ID:2] - Going For State 2

2010-12-07::10:22:08.037 DEBUG CALLLEG 240 [LEG ID:2] - Call Leg RINGing

2010-12-07::10:22:08.039 DEBUG CALLLEG 3084 [LEG ID:1] -  Variable Value Set (bridgeUUID=4d801bc2-62a8-42b0-9c15-0c8533c177ae)

2010-12-07::10:22:08.039 DEBUG CALLLEG 3084 [LEG ID:2] -  Variable Value Set (bridgeUUID=22d9c948-c323-4af6-ad0f-c311869c1dce)

2010-12-07::10:22:08.039 DEBUG CALLLEG 240 [LEG ID:2] - State Change RING -> HOLD

2010-12-07::10:22:08.039 DEBUG CALLLEG 240 [LEG ID:2] - Going For State 5

2010-12-07::10:22:08.039 DEBUG SIPLEG 240 [LEG ID:2] - holdHandler called...

2010-12-07::10:22:08.039 DEBUG CALLLEG 240 [LEG ID:2] - Call Leg HOLD

2010-12-07::10:22:08.080 DEBUG SIP 3372 Received Call msg type : 183

2010-12-07::10:22:08.085 INFO RTMP 5704 Received onStatus <Success> code <status> classType <StreamCreated> description <> details

2010-12-07::10:22:08.088 INFO RTMP 5704 Received onStatus <NetStream.Play.Reset> code <status> classType <Playing and resetting 1000.> description <(null)> details

2010-12-07::10:22:08.088 INFO RTMP 5704 Received onStatus <NetStream.Play.Start> code <status> classType <Started playing 1000.> description <(null)> details

2010-12-07::10:22:08.579 DEBUG SIP 3372 Received Call msg type : 200

2010-12-07::10:22:08.579 DEBUG SIP 3372 Unable to determine transaction type for profile : sipGateway; assuming UAS

2010-12-07::10:22:08.579 DEBUG SIPLEG 3372 [LEG ID:2] - **callLegStateChangedEvHandler** State=RVSIP_CALL_LEG_STATE_CONNECTED Reason=RVSIP_CALL_LEG_REASON_REMOTE_ACCEPTED Dir=RVSIP_CALL_LEG_DIRECTION_OUTGOING

2010-12-07::10:22:08.580 DEBUG SIP 3372 [LEG ID:2] - RTP Buffer size set to : 8192

2010-12-07::10:22:08.580 DEBUG SIP 3372 [LEG ID:2] - RTP session created successfully - localAddr - 10.161.23.77, localPort - 10004  remoteAddr - 216.52.221.140, remotePort - 16952

2010-12-07::10:22:08.580 INFO CALLLEG 3372 [LEG ID:2] - Leg has been answered

2010-12-07::10:22:08.580 DEBUG SIPLEG 3372 [LEG ID:2] - Remote Accepted

2010-12-07::10:22:08.580 INFO CALLLEG 3084 [LEG ID:1] - Leg has been answered

2010-12-07::10:22:08.580 DEBUG CALLLEG 240 [LEG ID:2] - State Change HOLD -> SENDRECV

2010-12-07::10:22:08.580 DEBUG CALLLEG 240 [LEG ID:2] - Going For State 3

2010-12-07::10:22:08.580 DEBUG SIPLEG 240 [LEG ID:2] - sendrecvHandler called...

2010-12-07::10:22:08.689 INFO RTMP 5704 Received onStatus <NetStream.Play.PublishNotify> code <status> classType <1000 is now published.> description <(null)> details

2010-12-07::10:22:25.762 DEBUG CALLLEG 3084 [LEG ID:2] - Write Buffer at 320 bytes to adjust 512->320

2010-12-07::10:22:48.327 DEBUG CALLLEG 1448 [LEG ID:1] - State Change EXEC -> HANGUP

2010-12-07::10:22:48.331 DEBUG CALLLEG 3084 [LEG ID:2] - Hangup Call (cause 200), from FMSMGAppNodesHelper.cpp:1153

2010-12-07::10:22:48.331 INFO CALLLEG 3084 [LEG ID:2] - Hangup [SENDRECV] [OK]

2010-12-07::10:22:48.331 DEBUG CALLLEG 3084 [LEG ID:1] - Bridging Completed for

2010-12-07::10:22:48.331 DEBUG CALLLEG 3084 [LEG ID:1] - Hangup Call (cause 200), from FMSMGAppNodesHelper.cpp:1251

2010-12-07::10:22:48.331 DEBUG CALLLEG 3084 [LEG ID:1] - App  bridge(sip|310XXXXXXX@sipGateway) Returns 0 (next ID:1)

2010-12-07::10:22:48.331 DEBUG CALLLEG 3084 [LEG ID:1] - Going For State 7

2010-12-07::10:22:48.331 DEBUG CALLLEG 3084 [LEG ID:1] - Call Leg HANGUP, cause: Ambiguous

2010-12-07::10:22:48.331 INFO CALLLEG 3084 [LEG ID:1] - CallLeg Ended

2010-12-07::10:22:48.331 DEBUG CALLLEG 3084 [LEG ID:1] - Cleaning up Leg [HANGUP]

2010-12-07::10:22:48.331 DEBUG CALLLEG 240 [LEG ID:1] - Hangup Call (cause 200), from FMSMGAppNodesHelper.cpp:1153

2010-12-07::10:22:48.331 DEBUG CALLLEG 240 [LEG ID:2] - Bridging Completed for

2010-12-07::10:22:48.331 DEBUG CALLLEG 240 [LEG ID:2] - Hangup Call (cause 200), from FMSMGAppNodesHelper.cpp:960

2010-12-07::10:22:48.331 DEBUG CALLLEG 240 [LEG ID:2] - Going For State 7

2010-12-07::10:22:48.331 DEBUG SIPLEG 240 [LEG ID:2] - hangupHandler called...sipGateway

2010-12-07::10:22:48.331 DEBUG SIP 240 Closing audio RTP session

2010-12-07::10:22:48.332 DEBUG SIP 240 closed audio socket

2010-12-07::10:22:48.332 DEBUG SIP 240 closed video socket

2010-12-07::10:22:48.332 DEBUG SIP 240 Removing Call Leg Entry for UUID 4d801bc2-62a8-42b0-9c15-0c8533c177ae

2010-12-07::10:22:48.333 DEBUG SIP 240 call reject failed, will try disconnecting it

2010-12-07::10:22:48.333 INFO RTMP 5704 Received onStatus <NetStream.Unpublish.Success> code <status> classType <fmg/telephony/1 is now unpublished.> description <(null)> details

2010-12-07::10:22:48.334 INFO RTMP 5704 Received onStatus <NetStream.Play.Stop> code <status> classType <Stopped playing 1000.> description <(null)> details

2010-12-07::10:22:48.344 DEBUG SIPLEG 240 [LEG ID:2] - **callLegStateChangedEvHandler** State=RVSIP_CALL_LEG_STATE_DISCONNECTING Reason=RVSIP_CALL_LEG_REASON_LOCAL_DISCONNECTING Dir=RVSIP_CALL_LEG_DIRECTION_OUTGOING

2010-12-07::10:22:48.344 DEBUG SIP 240 Disconnected the call successfully

2010-12-07::10:22:48.344 DEBUG SIP 240 Disconnected call name : sipGateway

2010-12-07::10:22:48.344 DEBUG CALLLEG 240 [LEG ID:2] - Call Leg HANGUP, cause: OK

2010-12-07::10:22:48.344 INFO CALLLEG 240 [LEG ID:2] - CallLeg Ended

2010-12-07::10:22:48.344 DEBUG CALLLEG 240 [LEG ID:2] - Cleaning up Leg [HANGUP]

2010-12-07::10:22:48.344 DEBUG SIPLEG 240 [LEG ID:2] - deleting sip leg

2010-12-07::10:22:48.344 DEBUG SIP 240 Closing audio RTP session

2010-12-07::10:22:48.344 DEBUG SIP 240 closed audio socket

2010-12-07::10:22:48.344 DEBUG SIP 240 closed video socket

2010-12-07::10:22:48.363 DEBUG SIP 3372 Received Call msg type : 200

2010-12-07::10:22:48.363 DEBUG SIPLEG 3372 [LEG ID:0] - **callLegStateChangedEvHandler** State=RVSIP_CALL_LEG_STATE_DISCONNECTED Reason=RVSIP_CALL_LEG_REASON_DISCONNECTED Dir=RVSIP_CALL_LEG_DIRECTION_OUTGOING

2010-12-07::10:22:48.363 DEBUG SIP 3372 Callleg disconnect cause is 200

2010-12-07::10:22:48.363 DEBUG SIPLEG 3372 [LEG ID:0] - **callLegStateChangedEvHandler** State=RVSIP_CALL_LEG_STATE_TERMINATED Reason=RVSIP_CALL_LEG_REASON_CALL_TERMINATED Dir=RVSIP_CALL_LEG_DIRECTION_OUTGOING

2010-12-07::10:22:48.363 DEBUG SIP 3372 [LEG ID:0] - Callleg disconnect cause was undefined, now set to 500 for reason RVSIP_CALL_LEG_REASON_CALL_TERMINATED

2010-12-07::10:22:49.331 DEBUG RTMP 3084 [min-size, count]: [0,0],[1,0], [2,0], [3,0], [4,0], [5,0], [6,0], [7,0], [8,0], [9,0], [>=10,0]

2010-12-07::10:22:49.331 DEBUG RTMP 3084 [max-size, count]: [0,0],[1,0], [2,0], [3,0], [4,0], [5,0], [6,0], [7,0], [8,0], [9,0], [>=10,0]

2010-12-07::10:22:49.331 DEBUG RTMP 3084 [variation, count]: [0,0],[1,0], [2,0], [3,0], [4,0], [5,0], [6,0], [7,0], [8,0], [9,0], [>=10,0]

2010-12-07::10:22:49.331 DEBUG RTMP 3084 [min-size, count]: [0,2],[1,0], [2,0], [3,0], [4,0], [5,0], [6,0], [7,0], [8,0], [9,0], [>=10,0]

2010-12-07::10:22:49.331 DEBUG RTMP 3084 [max-size, count]: [0,0],[1,1], [2,0], [3,0], [4,0], [5,0], [6,0], [7,0], [8,0], [9,0], [>=10,1]

2010-12-07::10:22:49.331 DEBUG RTMP 3084 [variation, count]: [0,0],[1,1], [2,0], [3,0], [4,0], [5,0], [6,0], [7,0], [8,0], [9,0], [>=10,1]

I am running this on an EC2 instance with FMG and FMS on the same machine. I believe I have the necessary ports open (5060, and 10000-11000 for UDP, and 1935 as well).  I see it is using the internal IP address in various places, do I need to configure anything with regards to that?

Piyush-GCorrect answer
Participating Frequently
December 8, 2010

Hi Rich,

Please check whether configuring external IP address as globalAddress for sipGateway profile, helps. It is possible that BYE (sent on disconnect from iPhone) and audio stream is not reaching FMG machine using internal IP address only.

Regards,

Piyush