I am running into an issue while trying to perform a blind transfer with my Adhearsion application. Here is the scenario:
(1) Caller A dials Caller B ----> dialplan routes to <action application="rayo"> where I have a controller bridge the two extensions.
(2) From Caller A's phone, a blind transfer for Caller B to Caller C is initiated (A hangs up, outbound call originated to C).
(3) The dialplan routes the initiated call to <action application="rayo">. However, freeswitch fails to connect to Adhearsion via mod_rayo and therefore nothing is executing in the controllers. You can see in this step that the mod_rayo never "has control of call" as is normally logged by FS.
I have successfully been able to make attended transfers work using the same application that fails in the above scenario. My attended transfer is: Caller A has an active call with Caller B and Caller C at the same time... and when Caller A hangs up B/C are connected. Again, the transfer is initiated from Caller A's SIP phone and the SIP refer is handled just fine.
Any thoughts on why I can't get mod_rayo to take control of the call in step 3???
I attached full logs if interested... but the portion of interest in the FS logs I pasted below.
2017-07-13 16:47:01.575482 [INFO] mod_dialplan_xml.c:637 Processing test-freeswitchPBX <1015>->1002 in context default
Dialplan: sofia/external/
10...@192.168.20.32 parsing [john-test->john-test-extension] continue=false
2017-07-13 16:47:01.575482 [DEBUG] switch_core_state_machine.c:286 (sofia/external/
10...@192.168.20.32) State Change CS_ROUTING -> CS_EXECUTE
2017-07-13 16:47:01.575482 [DEBUG] switch_core_state_machine.c:643 (sofia/external/
10...@192.168.20.32) State ROUTING going to sleep
2017-07-13 16:47:01.575482 [DEBUG] switch_core_state_machine.c:584 (sofia/external/
10...@192.168.20.32) Running State Change CS_EXECUTE (Cur 1 Tot 17)
2017-07-13 16:47:01.575482 [DEBUG] switch_core_state_machine.c:650 (sofia/external/
10...@192.168.20.32) State EXECUTE
2017-07-13 16:47:01.575482 [DEBUG] mod_sofia.c:198 sofia/external/
10...@192.168.20.32 SOFIA EXECUTE
2017-07-13 16:47:01.575482 [DEBUG] switch_core_state_machine.c:328 sofia/external/
10...@192.168.20.32 Standard EXECUTE
2017-07-13 16:47:01.575482 [DEBUG] mod_rayo.c:3696 got event CHANNEL_EXECUTE
2017-07-13 16:47:01.575482 [DEBUG] mod_rayo.c:4098 Offering call for Rayo 3PCC
2017-07-13 16:47:01.575482 [DEBUG] mod_rayo.c:3696 got event CHANNEL_PARK
2017-07-13 16:47:09.435451 [INFO] mod_dialplan_xml.c:637 Processing Outbound Call <1002>->1011 in context default
2017-07-13 16:47:09.435451 [DEBUG] switch_core_state_machine.c:286 (sofia/external/
10...@192.168.20.112:5060) State Change CS_ROUTING -> CS_EXECUTE
2017-07-13 16:47:09.435451 [DEBUG] switch_core_state_machine.c:643 (sofia/external/
10...@192.168.20.112:5060) State ROUTING going to sleep
2017-07-13 16:47:09.435451 [DEBUG] switch_core_state_machine.c:584 (sofia/external/
10...@192.168.20.112:5060) Running State Change CS_EXECUTE (Cur 2 Tot 18)
2017-07-13 16:47:09.435451 [DEBUG] mod_rayo.c:3696 got event CHANNEL_EXECUTE
2017-07-13 16:47:09.435451 [DEBUG] switch_ivr.c:195 Codec Activated L16@8000hz 1 channels 20ms
2017-07-13 16:47:09.435451 [DEBUG] mod_rayo.c:3626 Application sleep execute
2017-07-13 16:47:14.435479 [DEBUG] mod_rayo.c:3696 got event CHANNEL_EXECUTE_COMPLETE
2017-07-13 16:47:14.435479 [DEBUG] mod_rayo.c:3641 Application sleep execute complete: _none_
2017-07-13 16:47:14.435479 [DEBUG] mod_rayo.c:3696 got event CHANNEL_EXECUTE
2017-07-13 16:47:14.435479 [DEBUG] mod_rayo.c:3626 Application rayo execute
2017-07-13 16:47:14.435479 [DEBUG] mod_rayo.c:3696 got event CHANNEL_PARK
2017-07-13 16:47:14.435479 [DEBUG] switch_ivr.c:980 Codec Activated L16@8000hz 1 channels 20ms