<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">you can use the valet_announce_slot
channel variable to disable annoucement of the parking slot. see
<a class="moz-txt-link-freetext" href="http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_valet_park#Channel_Variables">http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_valet_park#Channel_Variables</a><br>
<br>
On 11/29/2012 9:59 PM, Michael Collins wrote:<br>
</div>
<blockquote
cite="mid:CAKzWOxXhmRELfDsDv3tn==H8Ji_wFzjJJEB7CuuOU3ASKADQYg@mail.gmail.com"
type="cite">As far as I know you can't suppress the announcement
of the location to the caller.<br>
<br>
For the event socket you have a lot of homework to do. I
recommend:<br>
<a moz-do-not-send="true"
href="https://www.packtpub.com/freeswitch-1-0-6-build-robust-high-performance-telephony-systems/book">FS
Book</a>, chapter 9<br>
<a moz-do-not-send="true" href="http://link.packtpub.com/nuIOlX">FS
Cookbook</a>, chapter 4<br>
Wiki event socket (see link on left)<br>
<br>
For a really quick dive into what events look like:<br>
launch fs_cli and type:<br>
/log 0<br>
/events plain all<br>
<br>
You'll see EVERY event that the system throws. Try this to narrow
it down just to valet events:<br>
<br>
/filter Event-Class valet_parking::info<br>
<br>
I typed most of this off the top of my head, so <a
moz-do-not-send="true"
href="http://wiki.freeswitch.org/wiki/Reporting_Bugs#Standard_Disclaimer">standard
disclaimer</a> applies. Hope this helps you get started!<br>
-MC<br>
<br>
<br>
<div class="gmail_quote">On Thu, Nov 29, 2012 at 6:09 PM, Nitin
Tomer <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:ntomer@newgen.co.in" target="_blank">ntomer@newgen.co.in</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div><font face="arial">Dear Michael,<br>
<br>
Thanks for your help.<br>
<br>
About thsis - "</font><font face="arial">Using 'auto in'
the system will announce the parking location. If you
are sending a call in from an IVR then the caller will
hear their park location. The only way to know where the
call went would be to watch the event socket for
relevant valet events. "<br>
<br>
Yes, right now the extension where call is parked, is
announced to the caller. I don't want that to happen. I
don't want it announced to caller, rather I want it
retruned to me, so that I can store it in database. So
that my agents can pick the call after seeing the
extension where it is parked.<br>
<br>
Please tell me more details about how to watch the event
socket for valet events.<br>
<br>
Regards<br>
<br>
Nitin<br>
</font><font face="arial"><br>
On Friday, 30-11-2012 on 6:38 Michael Collins wrote:<br>
<blockquote style="border:0;border-left:2px solid
#22437f;padding:0px;margin:0px;padding-left:5px;margin-left:5px">
Answers inline...<br>
<br>
<div class="gmail_quote">On Thu, Nov 29, 2012 at 2:15
AM, Nitin Tomer <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:ntomer@newgen.co.in"
target="_blank">ntomer@newgen.co.in</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div link="blue" vlink="purple" lang="EN-US">
<div>
<div>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hi,</span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">I
am using valet_park. I’ve configure a
IVR menu of an
extension, based on user’s input call is
forwarded to other extensions.</span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Extension
on which end-users will call –</span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<p class="MsoNormal"><span
style="font-family:"Arial","sans-serif""><extension
name="ivr_nitin"><br>
<condition
field="destination_number"
expression="^5002$"><br>
<action
application="answer"/><br>
<action
application="sleep" data="500"/><br>
<action application="ivr"
data="nitin_ivr"/><br>
</condition><br>
</extension></span></p>
<p class="MsoNormal"><span
style="font-family:"Arial","sans-serif""> </span></p>
<p class="MsoNormal"><span
style="font-family:"Arial","sans-serif"">The
IVR
configuration XML is –</span></p>
<p class="MsoNormal"><span
style="font-family:"Arial","sans-serif""> </span></p>
<p class="MsoNormal"><span
style="font-family:"Arial","sans-serif""><include><br>
<menu name="nitin_ivr"<br>
greet-long="say:Welcome to Newgen
General Insurance Company. Press 1 for
Changing Address, 2 for Changing Nominee
or 3 for Close Policy."<br>
greet-short="say:Welcome to Newgen.
Press 1 for Changing Address, 2 for
Changing Nominee or 3 for Close Policy."<br>
invalid-sound="ivr/ivr-that_was_an_invalid_entry.wav"<br>
exit-sound="voicemail/vm-goodbye.wav"<br>
confirm-macro=""<br>
confirm-key=""<br>
tts-engine="flite"<br>
tts-voice="slt"<br>
confirm-attempts="3"<br>
timeout="3000"<br>
inter-digit-timeout="2000"<br>
max-failures="3"<br>
max-timeouts="3"<br>
digit-len="4"><br>
<br>
<entry action="menu-exec-app"
digits="1"
param="transfer 450 XML default"/>
<!--
Change Address --><br>
<entry action="menu-exec-app"
digits="2"
param="transfer 451 XML default"/>
<!--
Change Nominee --><br>
<entry action="menu-exec-app"
digits="3"
param="transfer 452 XML default"/>
<!-- Close
Policy --><br>
<br>
</menu><br>
</include><br>
<br>
</span><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Once
user presses “1”, call is forwarded to
450, for
this extension dialplan entry is –</span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<p class="MsoNormal"><span
style="font-family:"Arial","sans-serif""><extension><br>
<condition
field="destination_number"
expression="^(450)$"><br>
<action
application="play_and_get_digits"
data="10 16 3 3000 #
say:'Press your account number, followed
by hash key' say:'Wrong Input' res
\d+" /><br>
<action
application="phrase"
data="spell,${res}"/><br>
<action
application="db"
data="insert/testapp/newcall1/${res}"
/> <br>
<action application="set"
data="caller_id_name=Change Address
Request" /><br>
<action application="set"
data="call_timeout=60" /><br>
<action application="set"
data="originate_timeout=60"
/><br>
<action application="valet_park"
data="my_lot auto in 8501
8599" /> </span></p>
<p class="MsoNormal"><span
style="font-family:"Arial","sans-serif"">
</condition><br>
</extension></span><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Here,
the call is parked at any available
extension between 8501
to 8599.</span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Then
I’ve set up an extension to pick up
calls –</span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<p class="MsoNormal"><span
style="font-family:"Arial","sans-serif""><extension
name="park-out"><br>
<condition
field="destination_number"
expression="^(85\d\d)$"><br>
<action
application="answer"/><br>
<action application="valet_park"
data="my_lot $1"/><br>
</condition><br>
</extension></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">I
have a few questions –</span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<p><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><span>1.<span
style="font:7.0pt "Times New
Roman"">
</span></span></span><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Valet_park
parks the call on any available
extension between
8501 to 8599 (</span><span
style="font-family:"Arial","sans-serif""><action
application="valet_park"
data="my_lot auto in 8501 8599"
/>). Is there any way to let me know
on which extension the call have been
parked?</span></p>
</div>
</div>
</div>
</blockquote>
<div>Using 'auto in' the system will announce the
parking location. If you are sending a call in
from an IVR then the caller will hear their park
location. The only way to know where the call went
would be to watch the event socket for relevant
valet events. <br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div link="blue" vlink="purple" lang="EN-US">
<div>
<div>
<p><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"></span></p>
<p><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><span>2.<span
style="font:7.0pt "Times New
Roman"">
</span></span></span><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">How
can I get the number from which call was
made in extension
450. The idea is to use the caller
number as key and entered value as value
while making entry in database (</span><span
style="font-family:"Arial","sans-serif""><action
application="db"
data="insert/testapp/newcall1/${res}"
/>)?</span><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"></span></p>
</div>
</div>
</div>
</blockquote>
<div>Do you mean the caller id number? That's
literally in channel variable ${caller_id_number}
<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div link="blue" vlink="purple" lang="EN-US">
<div>
<div>
<p><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><span>3.<span
style="font:7.0pt "Times New
Roman"">
</span></span></span><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">If
two users call on extension 5002 (where
IVR menu is played),
what will happen? Will the second user
have to wait for first to finish or
whether both will be connected parallel?</span></p>
</div>
</div>
</div>
</blockquote>
<div>Both can be in the IVR at the same time and
they won't affect each other at all.<br>
<br>
-MC <br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div link="blue" vlink="purple" lang="EN-US">
<div>
<div>
<p><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Please
help me out.</span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Regards</span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Nitin</span></p>
</div>
</div>
<br>
<div>
<h6>Disclaimer :- This e-mail and any
attachment may contain confidential,
proprietary or legally privileged
information. If you are not the original
intended recipient and have erroneously
received this message, you are prohibited
from using, copying, altering or disclosing
the content of this message. Please delete
it immediately and notify the sender. Newgen
Software Technologies Ltd (NSTL) accepts no
responsibilities for loss or damage arising
from the use of the information transmitted
by this email including damages from virus
and further acknowledges that no binding
nature of the message shall be implied or
assumed unless the sender does so expressly
with due authority of NSTL.
</h6>
</div>
<br>
</div>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a moz-do-not-send="true"
href="mailto:consulting@freeswitch.org"
target="_blank">consulting@freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://www.freeswitchsolutions.com"
target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel
Communication Server<br>
<a moz-do-not-send="true"
href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a moz-do-not-send="true"
href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://wiki.freeswitch.org"
target="_blank">http://wiki.freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:FreeSWITCH-users@lists.freeswitch.org"
target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a moz-do-not-send="true"
href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
Michael S Collins<br>
Twitter: @mercutioviz<br>
<a moz-do-not-send="true"
href="http://www.FreeSWITCH.org" target="_blank">http://www.FreeSWITCH.org</a><br>
<a moz-do-not-send="true"
href="http://www.ClueCon.com" target="_blank">http://www.ClueCon.com</a><br>
<a moz-do-not-send="true" href="http://www.OSTAG.org"
target="_blank">http://www.OSTAG.org</a><br>
<br>
<br>
</blockquote>
</font></div>
<br>
<div>
<h6>Disclaimer :- This e-mail and any attachment may
contain confidential, proprietary or legally privileged
information. If you are not the original intended
recipient and have erroneously received this message,
you are prohibited from using, copying, altering or
disclosing the content of this message. Please delete it
immediately and notify the sender. Newgen Software
Technologies Ltd (NSTL) accepts no responsibilities for
loss or damage arising from the use of the information
transmitted by this email including damages from virus
and further acknowledges that no binding nature of the
message shall be implied or assumed unless the sender
does so expressly with due authority of NSTL.
</h6>
</div>
<br>
</div>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a moz-do-not-send="true"
href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a moz-do-not-send="true" href="http://www.cudatel.com"
target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a moz-do-not-send="true" href="http://www.freeswitch.org"
target="_blank">http://www.freeswitch.org</a><br>
<a moz-do-not-send="true" href="http://wiki.freeswitch.org"
target="_blank">http://wiki.freeswitch.org</a><br>
<a moz-do-not-send="true" href="http://www.cluecon.com"
target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a moz-do-not-send="true" href="http://www.freeswitch.org"
target="_blank">http://www.freeswitch.org</a><br>
<br>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
Michael S Collins<br>
Twitter: @mercutioviz<br>
<a moz-do-not-send="true" href="http://www.FreeSWITCH.org"
target="_blank">http://www.FreeSWITCH.org</a><br>
<a moz-do-not-send="true" href="http://www.ClueCon.com"
target="_blank">http://www.ClueCon.com</a><br>
<a moz-do-not-send="true" href="http://www.OSTAG.org"
target="_blank">http://www.OSTAG.org</a><br>
<br>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a class="moz-txt-link-freetext" href="http://www.cudatel.com">http://www.cudatel.com</a>
Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>
FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
</blockquote>
<br>
</body>
</html>