<div dir="ltr">Fixed the issue by removing the "park_after_bridge=true" in the step 2. Now I can hear moh :)<div><br></div><div>Thanks to all for taking the time to read and respond.</div><div><br></div><div>-JP</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Sep 24, 2013 at 12:41 PM, JP <span dir="ltr"><<a href="mailto:jaykris@gmail.com" target="_blank">jaykris@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Thanks for the responses. Here is my problem in more detail...<div><br><div><div>1. From the fs_cli I execute the following to setup the first leg</div><div><span style="white-space:pre-wrap">        </span>bgapi originate {park_after_bridge=true}sofia/internal/<a href="mailto:14081112222@somewhere.com" target="_blank">14081112222@somewhere.com</a>;fs_path=sip:192.88.20.266 &park()</div>
<div><br></div><div>2. I then transfer this parked leg to a dialplan extension using uuid_transfer.</div><div><include></div><div> <extension name="route_call"></div><div> <condition field="destination_number" expression="^route_call$"></div>
<div> <action application="bridge" data="{park_after_bridge=true}sofia/internal/<a href="http://14083334444somewhere.com" target="_blank">14083334444somewhere.com</a>;fs_path=sip:192.88.20.266"/></div>
<div> </condition></div><div> </extension></div><div></include></div><div><br></div><div>3. Now I have the two legs in bridged condition. So far so good.</div><div><br></div><div>4. Now I transfer the second leg using uuid_transfer to another extension.</div>
<div><include></div><div> <extension name="Hold_Call"></div><div> <condition field="destination_number" expression="^Hold_Call$"></div><div class="im"><div> <action application="playback" data="local_stream://moh" /></div>
</div><div> </condition></div><div> </extension></div><div></include></div><div><br></div><div>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</div>
<div><br></div><div>2013-09-24 12:28:57.369021 [DEBUG] switch_ivr.c:1761 (sofia/internal/<a href="mailto:14083334444@somewhere.com" target="_blank">14083334444@somewhere.com</a>) State Change CS_EXCHANGE_MEDIA -> CS_ROUTING</div>
<div>
2013-09-24 12:28:57.369021 [DEBUG] switch_core_session.c:1275 Send signal sofia/internal/<a href="mailto:14083334444@somewhere.com" target="_blank">14083334444@somewhere.com</a> [BREAK]</div><div>2013-09-24 12:28:57.369021 [DEBUG] switch_core_session.c:823 Send signal sofia/internal/<a href="mailto:14083334444@somewhere.com" target="_blank">14083334444@somewhere.com</a> [BREAK]</div>
<div>2013-09-24 12:28:57.369021 [NOTICE] switch_ivr.c:1767 Transfer sofia/internal/<a href="mailto:14083334444@somewhere.com" target="_blank">14083334444@somewhere.com</a> to XML[Hold_Call@public]</div><div>2013-09-24 12:28:57.389006 [DEBUG] switch_ivr_bridge.c:501 sofia/internal/<a href="mailto:14083334444@somewhere.com" target="_blank">14083334444@somewhere.com</a> ending bridge by request from write function</div>
<div>2013-09-24 12:28:57.389006 [DEBUG] switch_ivr_bridge.c:588 BRIDGE THREAD DONE [sofia/internal/<a href="mailto:14081112222@somewhere.com" target="_blank">14081112222@somewhere.com</a>]</div><div>2013-09-24 12:28:57.389006 [DEBUG] switch_ivr_bridge.c:613 Send signal sofia/internal/<a href="mailto:14083334444@somewhere.com" target="_blank">14083334444@somewhere.com</a> [BREAK]</div>
<div>2013-09-24 12:28:57.389006 [DEBUG] switch_core_session.c:823 Send signal sofia/internal/<a href="mailto:14083334444@somewhere.com" target="_blank">14083334444@somewhere.com</a> [BREAK]</div><div>2013-09-24 12:28:57.389006 [DEBUG] switch_core_session.c:823 Send signal sofia/internal/<a href="mailto:14081112222@somewhere.com" target="_blank">14081112222@somewhere.com</a> [BREAK]</div>
<div>2013-09-24 12:28:57.389006 [DEBUG] switch_ivr.c:2803 (sofia/internal/<a href="mailto:14081112222@somewhere.com" target="_blank">14081112222@somewhere.com</a>) State Change CS_EXECUTE -> CS_PARK</div><div>2013-09-24 12:28:57.389006 [DEBUG] switch_core_session.c:1275 Send signal sofia/internal/<a href="mailto:14081112222@somewhere.com" target="_blank">14081112222@somewhere.com</a> [BREAK]</div>
<div>2013-09-24 12:28:57.389006 [DEBUG] switch_core_state_machine.c:477 (sofia/internal/<a href="mailto:14081112222@somewhere.com" target="_blank">14081112222@somewhere.com</a>) State EXECUTE going to sleep</div><div>2013-09-24 12:28:57.389006 [DEBUG] switch_core_state_machine.c:415 (sofia/internal/<a href="mailto:14081112222@somewhere.com" target="_blank">14081112222@somewhere.com</a>) Running State Change CS_PARK</div>
<div>2013-09-24 12:28:57.389006 [DEBUG] switch_core_state_machine.c:486 (sofia/internal/<a href="mailto:14081112222@somewhere.com" target="_blank">14081112222@somewhere.com</a>) State PARK</div><div>2013-09-24 12:28:57.389006 [DEBUG] switch_core_state_machine.c:283 sofia/internal/<a href="mailto:14081112222@somewhere.com" target="_blank">14081112222@somewhere.com</a> Standard PARK</div>
<div>2013-09-24 12:28:57.408000 [DEBUG] switch_ivr_bridge.c:588 BRIDGE THREAD DONE [sofia/internal/<a href="mailto:14083334444@somewhere.com" target="_blank">14083334444@somewhere.com</a>]</div><div>2013-09-24 12:28:57.408000 [DEBUG] switch_ivr_bridge.c:613 Send signal sofia/internal/<a href="mailto:14081112222@somewhere.com" target="_blank">14081112222@somewhere.com</a> [BREAK]</div>
<div>2013-09-24 12:28:57.408000 [DEBUG] switch_ivr.c:2803 (sofia/internal/<a href="mailto:14083334444@somewhere.com" target="_blank">14083334444@somewhere.com</a>) State Change CS_ROUTING -> CS_PARK</div><div>2013-09-24 12:28:57.408000 [DEBUG] switch_core_session.c:1275 Send signal sofia/internal/<a href="mailto:14083334444@somewhere.com" target="_blank">14083334444@somewhere.com</a> [BREAK]</div>
<div>2013-09-24 12:28:57.408000 [DEBUG] switch_core_state_machine.c:480 (sofia/internal/<a href="mailto:14083334444@somewhere.com" target="_blank">14083334444@somewhere.com</a>) State EXCHANGE_MEDIA going to sleep</div><div>
2013-09-24 12:28:57.408000 [DEBUG] switch_core_state_machine.c:415 (sofia/internal/<a href="mailto:14083334444@somewhere.com" target="_blank">14083334444@somewhere.com</a>) Running State Change CS_PARK</div>
<div>2013-09-24 12:28:57.408000 [DEBUG] switch_core_state_machine.c:486 (sofia/internal/<a href="mailto:14083334444@somewhere.com" target="_blank">14083334444@somewhere.com</a>) State PARK</div><div>2013-09-24 12:28:57.408000 [DEBUG] switch_core_state_machine.c:283 sofia/internal/<a href="mailto:14083334444@somewhere.com" target="_blank">14083334444@somewhere.com</a> Standard PARK</div>
</div></div><div><br></div><div>I am missing something obvious. Please help.</div><div><br></div><div>Thanks</div><span class="HOEnZb"><font color="#888888"><div>JP</div></font></span></div><div class="gmail_extra"><br><br>
<div class="gmail_quote"><div><div class="h5">On Tue, Sep 24, 2013 at 8:24 AM, Brian West <span dir="ltr"><<a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">Or park it then tell it to play a file.<br>
<br>
/b<br>
<div><br>
On Sep 23, 2013, at 1:25 PM, Michael Collins <<a href="mailto:msc@freeswitch.org" target="_blank">msc@freeswitch.org</a>> wrote:<br>
<br>
> Park by itself does not play any media. You'll need to transfer the B leg to an extension that does the MOH playback.<br>
> -MC<br>
><br>
<br>
<br>
<br>
</div>--<br>
Brian West<br>
<a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a><br>
FreeSWITCH Solutions, LLC<br>
PO BOX PO BOX 2531<br>
Brookfield, WI 53008-2531<br>
Twitter: @FreeSWITCH_Wire , @briankwest<br>
<a href="http://www.freeswitchbook.com" target="_blank">http://www.freeswitchbook.com</a><br>
<a href="http://www.freeswitchcookbook.com" target="_blank">http://www.freeswitchcookbook.com</a><br>
<br>
T: <a href="tel:%2B1.918.420.9001" value="+19184209001" target="_blank">+1.918.420.9001</a> | F: <a href="tel:%2B1.918.420.9002" value="+19184209002" target="_blank">+1.918.420.9002</a> | M: +1.918.424.WEST<br>
iNUM: <a href="tel:%2B883%205100%201420%209001" value="+883510014209001" target="_blank">+883 5100 1420 9001</a><br>
ISN: 410*543<br>
Skype:briankwest<br>
PGP Key: <a href="http://www.bkw.org/key.txt" target="_blank">http://www.bkw.org/key.txt</a> (AB93356707C76CED)<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br></div></div><div class="im">_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></div></blockquote></div><br></div>
</blockquote></div><br></div>