Answers inline...<br><br><div class="gmail_quote">On Thu, Nov 29, 2012 at 2:15 AM, Nitin Tomer <span dir="ltr">&lt;<a href="mailto:ntomer@newgen.co.in" target="_blank">ntomer@newgen.co.in</a>&gt;</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:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Hi,<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;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.<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Extension on which end-users will call –<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>

<p class="MsoNormal"><span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">&lt;extension
name=&quot;ivr_nitin&quot;&gt;<br>
      &lt;condition
field=&quot;destination_number&quot; expression=&quot;^5002$&quot;&gt;<br>
        &lt;action
application=&quot;answer&quot;/&gt;<br>
        &lt;action
application=&quot;sleep&quot; data=&quot;500&quot;/&gt;<br>
        &lt;action application=&quot;ivr&quot;
data=&quot;nitin_ivr&quot;/&gt;<br>
      &lt;/condition&gt;<br>
&lt;/extension&gt;<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;"><u></u> <u></u></span></p>

<p class="MsoNormal"><span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">The IVR
configuration XML is –<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;"><u></u> <u></u></span></p>

<p class="MsoNormal"><span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">&lt;include&gt;<br>
        &lt;menu name=&quot;nitin_ivr&quot;<br>
               
greet-long=&quot;say:Welcome to Newgen General Insurance Company. Press 1 for
Changing Address, 2 for Changing Nominee or 3 for Close Policy.&quot;<br>
               
greet-short=&quot;say:Welcome to Newgen. Press 1 for Changing Address, 2 for
Changing Nominee or 3 for Close Policy.&quot;<br>
               
invalid-sound=&quot;ivr/ivr-that_was_an_invalid_entry.wav&quot;<br>
               
exit-sound=&quot;voicemail/vm-goodbye.wav&quot;<br>
               
confirm-macro=&quot;&quot;<br>
               
confirm-key=&quot;&quot;<br>
               
tts-engine=&quot;flite&quot;<br>
               
tts-voice=&quot;slt&quot;<br>
               
confirm-attempts=&quot;3&quot;<br>
               
timeout=&quot;3000&quot;<br>
               
inter-digit-timeout=&quot;2000&quot;<br>
               
max-failures=&quot;3&quot;<br>
               
max-timeouts=&quot;3&quot;<br>
               
digit-len=&quot;4&quot;&gt;<br>
 <br>
               
&lt;entry action=&quot;menu-exec-app&quot; digits=&quot;1&quot;
param=&quot;transfer 450 XML default&quot;/&gt;    &lt;!--
Change Address --&gt;<br>
               
&lt;entry action=&quot;menu-exec-app&quot; digits=&quot;2&quot;
param=&quot;transfer 451 XML default&quot;/&gt;    &lt;!--
Change Nominee --&gt;<br>
               
&lt;entry action=&quot;menu-exec-app&quot; digits=&quot;3&quot;
param=&quot;transfer 452 XML default&quot;/&gt;    &lt;!-- Close
Policy --&gt;<br>
<br>
        &lt;/menu&gt;<br>
&lt;/include&gt;<br>
<br>
</span><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Once user presses “1”, call is forwarded to 450, for
this extension dialplan entry is –<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>

<p class="MsoNormal"><span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">&lt;extension&gt;<br>
          &lt;condition
field=&quot;destination_number&quot; expression=&quot;^(450)$&quot;&gt;<br>
          &lt;action
application=&quot;play_and_get_digits&quot; data=&quot;10 16 3 3000 #
say:&#39;Press your account number, followed by hash key&#39; say:&#39;Wrong Input&#39; res
\d+&quot; /&gt;<br>
          &lt;action
application=&quot;phrase&quot; data=&quot;spell,${res}&quot;/&gt;<br>
          &lt;action
application=&quot;db&quot; data=&quot;insert/testapp/newcall1/${res}&quot;
/&gt;    <br>
             
&lt;action application=&quot;set&quot; data=&quot;caller_id_name=Change Address
Request&quot; /&gt;<br>
             
&lt;action application=&quot;set&quot; data=&quot;call_timeout=60&quot; /&gt;<br>
             
&lt;action application=&quot;set&quot; data=&quot;originate_timeout=60&quot;
/&gt;<br>
             
&lt;action application=&quot;valet_park&quot; data=&quot;my_lot auto in 8501
8599&quot; /&gt;           <u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">         
&lt;/condition&gt;<br>
&lt;/extension&gt;</span><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Here, the call is parked at any available extension between 8501
to 8599.<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Then I’ve set up an extension to pick up calls –<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>

<p class="MsoNormal"><span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">&lt;extension
name=&quot;park-out&quot;&gt;<br>
   &lt;condition field=&quot;destination_number&quot;
expression=&quot;^(85\d\d)$&quot;&gt;<br>
     &lt;action application=&quot;answer&quot;/&gt;<br>
     &lt;action application=&quot;valet_park&quot;
data=&quot;my_lot $1&quot;/&gt;<br>
   &lt;/condition&gt;<br>
 &lt;/extension&gt;</span><u></u><u></u></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">I have a few questions –<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>

<p><u></u><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><span>1.<span style="font:7.0pt &quot;Times New Roman&quot;">      
</span></span></span><u></u><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Valet_park parks the call on any available extension between
8501 to 8599 (</span><span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">&lt;action
application=&quot;valet_park&quot; data=&quot;my_lot auto in 8501 8599&quot;
/&gt;). Is there any way to let me know on which extension the call have been
parked?</span></p></div></div></div></blockquote><div>Using &#39;auto in&#39; 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:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u><u></u></span></p>


<p><u></u><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><span>2.<span style="font:7.0pt &quot;Times New Roman&quot;">      
</span></span></span><u></u><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;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:&quot;Arial&quot;,&quot;sans-serif&quot;">&lt;action
application=&quot;db&quot; data=&quot;insert/testapp/newcall1/${res}&quot;
/&gt;)?</span><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u><u></u></span></p></div></div></div></blockquote><div>Do you mean the caller id number? That&#39;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></p>

<p><u></u><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><span>3.<span style="font:7.0pt &quot;Times New Roman&quot;">      
</span></span></span><u></u><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;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&#39;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:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Please help me out.<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Regards<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Nitin<u></u><u></u></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 href="mailto:consulting@freeswitch.org">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">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></blockquote></div><br><br clear="all"><br>-- <br>Michael S Collins<br>Twitter: @mercutioviz<br><a href="http://www.FreeSWITCH.org" target="_blank">http://www.FreeSWITCH.org</a><br><a href="http://www.ClueCon.com" target="_blank">http://www.ClueCon.com</a><br>
<a href="http://www.OSTAG.org" target="_blank">http://www.OSTAG.org</a><br><br><br>