<HTML><HEAD></HEAD>
<BODY dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-FAMILY: 'Tahoma'; COLOR: #000000; FONT-SIZE: 10pt">
<DIV>Hey guys,</DIV>
<DIV> </DIV>
<DIV>maybe I am wrong but I am bit confused about music-on-hold (MOH) and
valet_park-application, executed from the dialplan.</DIV>
<DIV> </DIV>
<DIV>The problem in short: valet_park starts music-on-hold on remote-party AFTER
parking-slot-annoucement not BEFORE.</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>The problem in detail:</DIV>
<DIV> </DIV>
<DIV>I am using the valet_park-application to park (park in) an established call
in order to pickup (park out) the call later from another phone. I do this by
calling #4 during call (bind_digit_action) and all works fine.</DIV>
<DIV> </DIV>
<DIV>FreeSWITCH announces me the parking-slot. While FreeSWITCH is doing this,
the remote-party gets immediately the “hold_music”. In my case, this is a simple
wav-file and no endless-loop-music, because the wav-file annouces “Your
connection is hold” and this text has always start from the beginning of the
file (see below).</DIV>
<DIV> </DIV>
<DIV>When the parking-slot-application has finished the
parking-slot-annoucement, it starts again the MOH on the remote-party-leg. So my
MOH starts twice and that’s the problem.</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>As i figured out, the “first” playback has nothing to do with valet_park
itself, it is just the MOH when the remote-party-leg is “on-hold”. The “second”
playback is originated by valet_park.</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Any solutions?</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Alex</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>-------------------------------</DIV>
<DIV> </DIV>
<DIV>Here are my exzerpts from the dialplan:</DIV>
<DIV> </DIV>
<DIV>hold_music=$${sounds_dir}/de/de/marilda/generic/hold.wav</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV><action application="bind_digit_action"
data="feature-digits,#4,exec:execute_extension,park-in XML
features,both,self"/></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV><extension name="park-in"></DIV>
<DIV> <condition field="${destination_number}"
expression="^park-in$"></DIV>
<DIV> <action
application="answer"/></DIV>
<DIV> <action
application="valet_park" data="parking-slots auto in 800 899"/></DIV>
<DIV> </condition></DIV>
<DIV></extension></DIV></DIV></DIV></BODY></HTML>