Thanks for the responses. Here is my problem in more detail... 1. From the fs_cli I execute the following to setup the first leg bgapi originate {park_after_bridge=true}sofia/internal/ 14081112222@somewhere.com;fs_path=sip:192.88.20.266 &park() 2. I then transfer this parked leg to a dialplan extension using uuid_transfer. <include> <extension name="route_call"> <condition field="destination_number" expression="^route_call$"> <action application="bridge" data="{park_after_bridge=true}sofia/internal/14083334444somewhere.com ;fs_path=sip:192.88.20.266"/> </condition> </extension> </include> 3. Now I have the two legs in bridged condition. So far so good. 4. Now I transfer the second leg using uuid_transfer to another extension. <include> <extension name="Hold_Call"> <condition field="destination_number" expression="^Hold_Call$"> <action application="playback" data="local_stream://moh" /> </condition> </extension> </include> 5. The problem I am facing now is that I see both the legs are unbridged, but I don hear any moh on the second leg. Here is what I am seeing in fs logs 2013-09-24 12:28:57.369021 [DEBUG] switch_ivr.c:1761 (sofia/internal/ 14083334444@somewhere.com) State Change CS_EXCHANGE_MEDIA -> CS_ROUTING 2013-09-24 12:28:57.369021 [DEBUG] switch_core_session.c:1275 Send signal sofia/internal/14083334444@somewhere.com [BREAK] 2013-09-24 12:28:57.369021 [DEBUG] switch_core_session.c:823 Send signal sofia/internal/14083334444@somewhere.com [BREAK] 2013-09-24 12:28:57.369021 [NOTICE] switch_ivr.c:1767 Transfer sofia/internal/14083334444@somewhere.com to XML[Hold_Call@public] 2013-09-24 12:28:57.389006 [DEBUG] switch_ivr_bridge.c:501 sofia/internal/ 14083334444@somewhere.com ending bridge by request from write function 2013-09-24 12:28:57.389006 [DEBUG] switch_ivr_bridge.c:588 BRIDGE THREAD DONE [sofia/internal/14081112222@somewhere.com] 2013-09-24 12:28:57.389006 [DEBUG] switch_ivr_bridge.c:613 Send signal sofia/internal/14083334444@somewhere.com [BREAK] 2013-09-24 12:28:57.389006 [DEBUG] switch_core_session.c:823 Send signal sofia/internal/14083334444@somewhere.com [BREAK] 2013-09-24 12:28:57.389006 [DEBUG] switch_core_session.c:823 Send signal sofia/internal/14081112222@somewhere.com [BREAK] 2013-09-24 12:28:57.389006 [DEBUG] switch_ivr.c:2803 (sofia/internal/ 14081112222@somewhere.com) State Change CS_EXECUTE -> CS_PARK 2013-09-24 12:28:57.389006 [DEBUG] switch_core_session.c:1275 Send signal sofia/internal/14081112222@somewhere.com [BREAK] 2013-09-24 12:28:57.389006 [DEBUG] switch_core_state_machine.c:477 (sofia/internal/14081112222@somewhere.com) State EXECUTE going to sleep 2013-09-24 12:28:57.389006 [DEBUG] switch_core_state_machine.c:415 (sofia/internal/14081112222@somewhere.com) Running State Change CS_PARK 2013-09-24 12:28:57.389006 [DEBUG] switch_core_state_machine.c:486 (sofia/internal/14081112222@somewhere.com) State PARK 2013-09-24 12:28:57.389006 [DEBUG] switch_core_state_machine.c:283 sofia/internal/14081112222@somewhere.com Standard PARK 2013-09-24 12:28:57.408000 [DEBUG] switch_ivr_bridge.c:588 BRIDGE THREAD DONE [sofia/internal/14083334444@somewhere.com] 2013-09-24 12:28:57.408000 [DEBUG] switch_ivr_bridge.c:613 Send signal sofia/internal/14081112222@somewhere.com [BREAK] 2013-09-24 12:28:57.408000 [DEBUG] switch_ivr.c:2803 (sofia/internal/ 14083334444@somewhere.com) State Change CS_ROUTING -> CS_PARK 2013-09-24 12:28:57.408000 [DEBUG] switch_core_session.c:1275 Send signal sofia/internal/14083334444@somewhere.com [BREAK] 2013-09-24 12:28:57.408000 [DEBUG] switch_core_state_machine.c:480 (sofia/internal/14083334444@somewhere.com) State EXCHANGE_MEDIA going to sleep 2013-09-24 12:28:57.408000 [DEBUG] switch_core_state_machine.c:415 (sofia/internal/14083334444@somewhere.com) Running State Change CS_PARK 2013-09-24 12:28:57.408000 [DEBUG] switch_core_state_machine.c:486 (sofia/internal/14083334444@somewhere.com) State PARK 2013-09-24 12:28:57.408000 [DEBUG] switch_core_state_machine.c:283 sofia/internal/14083334444@somewhere.com Standard PARK I am missing something obvious. Please help. Thanks JP On Tue, Sep 24, 2013 at 8:24 AM, Brian West <brian@freeswitch.org> wrote:
Or park it then tell it to play a file.
/b
On Sep 23, 2013, at 1:25 PM, Michael Collins <msc@freeswitch.org> wrote:
Park by itself does not play any media. You'll need to transfer the B leg to an extension that does the MOH playback. -MC
-- Brian West brian@freeswitch.org FreeSWITCH Solutions, LLC PO BOX PO BOX 2531 Brookfield, WI 53008-2531 Twitter: @FreeSWITCH_Wire , @briankwest http://www.freeswitchbook.com http://www.freeswitchcookbook.com
T: +1.918.420.9001 | F: +1.918.420.9002 | M: +1.918.424.WEST iNUM: +883 5100 1420 9001 ISN: 410*543 Skype:briankwest PGP Key: http://www.bkw.org/key.txt (AB93356707C76CED)
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org