<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
/* List Definitions */
@list l0
        {mso-list-id:973170309;
        mso-list-template-ids:-2121738532;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=blue>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Nope. If you write your own PD,
asterisk just inserts it’s own call back into line 1 and moves all of
your code down<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Example<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Dialplan show park-dial<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Before park<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>[ Context 'park-dial' created by
'pbx_config' ]<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> 's'
=> 1.
Background(vm-goodbye)
[pbx_config]<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>
2.
HangUp()
[pbx_config]<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>After park<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>[ Context 'park-dial' created by
'pbx_config' ]<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> 's'
=> 1.
Dial(SIP/XXX,XX)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>
2.
Background(vm-goodbye)
[pbx_config]<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>
3.
HangUp()
[pbx_config]<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] <b><span style='font-weight:
bold'>On Behalf Of </span></b>David fire<br>
<b><span style='font-weight:bold'>Sent:</span></b> Monday, December 15, 2008
10:17 AM<br>
<b><span style='font-weight:bold'>To:</span></b> <st1:PersonName w:st="on">Asterisk
Users Mailing List - Non-Commercial Discussion</st1:PersonName><br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [asterisk-users]
Follow up on parking</span></font><o:p></o:p></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>if you write you own </span></font><font
size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:navy'>[park-dial] context maybe </span></font>asterisk dont over
write it...<br>
David<o:p></o:p></p>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>2008/12/15 Danny Nicholas <<a href="mailto:danny@debsinc.com">danny@debsinc.com</a>><o:p></o:p></span></font></p>
<div link=blue vlink=purple>
<div>
<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'>This appears to be the case. If someone else know how,
please feel free to share.</span></font><o:p></o:p></p>
<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'> </span></font><o:p></o:p></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center>
</span></font></div>
<p><b><font size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma;
font-weight:bold'>From:</span></font></b><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'> <a
href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a>
[mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a>]
<b><span style='font-weight:bold'>On Behalf Of </span></b>Mike<br>
<b><span style='font-weight:bold'>Sent:</span></b> Monday, December 15, 2008
7:05 AM<o:p></o:p></span></font></p>
<div>
<div>
<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma'><br>
<b><span style='font-weight:bold'>To:</span></b> '<st1:PersonName w:st="on">Asterisk
Users Mailing List - Non-Commercial Discussion</st1:PersonName>'<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [asterisk-users]
Follow up on parking<o:p></o:p></span></font></p>
</div>
</div>
</div>
<div>
<div>
<p><font size=2 face=Calibri><span style='font-size:11.0pt;font-family:Calibri'> </span></font><o:p></o:p></p>
<p><font size=2 color="#1f497d" face=Calibri><span style='font-size:11.0pt;
font-family:Calibri;color:#1F497D'>Just so I'm clear: there is no way to do
what I want short of playing with the underlying code, correct?</span></font><o:p></o:p></p>
<p><font size=2 color="#1f497d" face=Calibri><span style='font-size:11.0pt;
font-family:Calibri;color:#1F497D'> </span></font><o:p></o:p></p>
<p><font size=2 color="#1f497d" face=Calibri><span style='font-size:11.0pt;
font-family:Calibri;color:#1F497D'>Mike</span></font><o:p></o:p></p>
<p><font size=2 color="#1f497d" face=Calibri><span style='font-size:11.0pt;
font-family:Calibri;color:#1F497D'> </span></font><o:p></o:p></p>
<div>
<div style='border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0in 0in 0in;
border-color:-moz-use-text-color -moz-use-text-color'>
<p><b><font size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma;
font-weight:bold'>From:</span></font></b><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'> <a
href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a>
[mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a>]
<b><span style='font-weight:bold'>On Behalf Of </span></b>Danny Nicholas<br>
<b><span style='font-weight:bold'>Sent:</span></b> Friday, December 12, 2008
15:31<br>
<b><span style='font-weight:bold'>To:</span></b> '<st1:PersonName w:st="on">Asterisk
Users Mailing List - Non-Commercial Discussion</st1:PersonName>'<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [asterisk-users]
Follow up on parking</span></font><o:p></o:p></p>
</div>
</div>
<p><font size=2 face=Calibri><span style='font-size:11.0pt;font-family:Calibri'> </span></font><o:p></o:p></p>
<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'>After some research, it seems that asterisk builds a dynamic
context called [park-dial] and puts a callback for the parker into line 1, so
this would have to be a patch/workaround.</span></font><o:p></o:p></p>
<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'> </span></font><o:p></o:p></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center>
</span></font></div>
<p><b><font size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma;
font-weight:bold'>From:</span></font></b><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'> <a
href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a>
[mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a>]
<b><span style='font-weight:bold'>On Behalf Of </span></b>Mike<br>
<b><span style='font-weight:bold'>Sent:</span></b> Friday, December 12, 2008
12:40 PM<br>
<b><span style='font-weight:bold'>To:</span></b> '<st1:PersonName w:st="on">Asterisk
Users Mailing List - Non-Commercial Discussion</st1:PersonName>'<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [asterisk-users]
Follow up on parking</span></font><o:p></o:p></p>
</div>
<p><font size=2 face=Calibri><span style='font-size:11.0pt;font-family:Calibri'> </span></font><o:p></o:p></p>
<p><font size=2 color="#1f497d" face=Calibri><span style='font-size:11.0pt;
font-family:Calibri;color:#1F497D'>Danny,</span></font><o:p></o:p></p>
<p><font size=2 color="#1f497d" face=Calibri><span style='font-size:11.0pt;
font-family:Calibri;color:#1F497D'> </span></font><o:p></o:p></p>
<p><font size=2 color="#1f497d" face=Calibri><span style='font-size:11.0pt;
font-family:Calibri;color:#1F497D'>I've been starring at features.conf since
yesterday AM, and I do realize there is an example that looks close to what I
want, but the same thing typed in my own dialplan doesn't work.</span></font><o:p></o:p></p>
<p><font size=2 color="#1f497d" face=Calibri><span style='font-size:11.0pt;
font-family:Calibri;color:#1F497D'> </span></font><o:p></o:p></p>
<p><font size=2 color="#1f497d" face=Calibri><span style='font-size:11.0pt;
font-family:Calibri;color:#1F497D'>All I want, for the sake of discussion, is
to Hangup() when the call gets out of parking after the 45 second timeout.</span></font><o:p></o:p></p>
<p><font size=2 color="#1f497d" face=Calibri><span style='font-size:11.0pt;
font-family:Calibri;color:#1F497D'> </span></font><o:p></o:p></p>
<p><font size=2 color="#1f497d" face=Calibri><span style='font-size:11.0pt;
font-family:Calibri;color:#1F497D'>As for show application park, this is not
helping.</span></font><o:p></o:p></p>
<p><font size=2 color="#1f497d" face=Calibri><span style='font-size:11.0pt;
font-family:Calibri;color:#1F497D'> </span></font><o:p></o:p></p>
<p><font size=2 color="#1f497d" face=Calibri><span style='font-size:11.0pt;
font-family:Calibri;color:#1F497D'>Regards,</span></font><o:p></o:p></p>
<p><font size=2 color="#1f497d" face=Calibri><span style='font-size:11.0pt;
font-family:Calibri;color:#1F497D'> </span></font><o:p></o:p></p>
<p><font size=2 color="#1f497d" face=Calibri><span style='font-size:11.0pt;
font-family:Calibri;color:#1F497D'>Mike</span></font><o:p></o:p></p>
<p><font size=2 color="#1f497d" face=Calibri><span style='font-size:11.0pt;
font-family:Calibri;color:#1F497D'> </span></font><o:p></o:p></p>
<div>
<div style='border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0in 0in 0in;
border-color:-moz-use-text-color -moz-use-text-color'>
<p><b><font size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma;
font-weight:bold'>From:</span></font></b><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'> <a
href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a>
[mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a>]
<b><span style='font-weight:bold'>On Behalf Of </span></b>Danny Nicholas<br>
<b><span style='font-weight:bold'>Sent:</span></b> Friday, December 12, 2008
9:26<br>
<b><span style='font-weight:bold'>To:</span></b> '<st1:PersonName w:st="on">Asterisk
Users Mailing List - Non-Commercial Discussion</st1:PersonName>'<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [asterisk-users]
Follow up on parking</span></font><o:p></o:p></p>
</div>
</div>
<p><font size=2 face=Calibri><span style='font-size:11.0pt;font-family:Calibri'> </span></font><o:p></o:p></p>
<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'>You should try these steps</span></font><o:p></o:p></p>
<ol start=1 type=1>
<li class=MsoNormal style='color:navy;mso-margin-top-alt:auto;mso-margin-bottom-alt:
auto;mso-list:l0 level1 lfo1'><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial'>core show application park from
the CLI interface</span></font><o:p></o:p></li>
<li class=MsoNormal style='color:navy;mso-margin-top-alt:auto;mso-margin-bottom-alt:
auto;mso-list:l0 level1 lfo1'><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial'>look at features.conf</span></font><o:p></o:p></li>
<li class=MsoNormal style='color:navy;mso-margin-top-alt:auto;mso-margin-bottom-alt:
auto;mso-list:l0 level1 lfo1'><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial'>one of these should offer the
hint you seek</span></font><o:p></o:p></li>
</ol>
<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'> </span></font><o:p></o:p></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center>
</span></font></div>
<p><b><font size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma;
font-weight:bold'>From:</span></font></b><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'> <a
href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a>
[mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a>]
<b><span style='font-weight:bold'>On Behalf Of </span></b>Mike<br>
<b><span style='font-weight:bold'>Sent:</span></b> Thursday, December 11, 2008
10:46 PM<br>
<b><span style='font-weight:bold'>To:</span></b> '<st1:PersonName w:st="on">Asterisk
Users Mailing List - Non-Commercial Discussion</st1:PersonName>'<br>
<b><span style='font-weight:bold'>Subject:</span></b> [asterisk-users] Follow
up on parking</span></font><o:p></o:p></p>
</div>
<p><font size=2 face=Calibri><span style='font-size:11.0pt;font-family:Calibri'> </span></font><o:p></o:p></p>
<p><font size=2 face=Calibri><span style='font-size:11.0pt;font-family:Calibri'>I`m
having (a lot of) trouble changing the call parking timeout behavior.</span></font><o:p></o:p></p>
<p><font size=2 face=Calibri><span style='font-size:11.0pt;font-family:Calibri'> </span></font><o:p></o:p></p>
<p><font size=2 face=Calibri><span style='font-size:11.0pt;font-family:Calibri'>This
is my SIP context…</span></font><o:p></o:p></p>
<p><font size=2 face=Calibri><span style='font-size:11.0pt;font-family:Calibri'> </span></font><o:p></o:p></p>
<p><font size=2 face=Calibri><span style='font-size:11.0pt;font-family:Calibri'>[internal-local-only-hamel]</span></font><o:p></o:p></p>
<p><font size=2 face=Calibri><span style='font-size:11.0pt;font-family:Calibri'>exten
=> s,1,Hangup</span></font><o:p></o:p></p>
<p><font size=2 face=Calibri><span style='font-size:11.0pt;font-family:Calibri'>include
=> parkedcalls</span></font><o:p></o:p></p>
<p><font size=2 face=Calibri><span style='font-size:11.0pt;font-family:Calibri'> </span></font><o:p></o:p></p>
<p><font size=2 face=Calibri><span style='font-size:11.0pt;font-family:Calibri'>What
I am trying to accomppish is a quick test where I park a call, wait 45 seconds,
and it hangs up.</span></font><o:p></o:p></p>
<p><font size=2 face=Calibri><span style='font-size:11.0pt;font-family:Calibri'> </span></font><o:p></o:p></p>
<p><font size=2 face=Calibri><span style='font-size:11.0pt;font-family:Calibri'>Here
is my execution in the CLI:</span></font><o:p></o:p></p>
<p><font size=2 face=Calibri><span style='font-size:11.0pt;font-family:Calibri'> </span></font><o:p></o:p></p>
<p><font size=2 face=Calibri><span style='font-size:11.0pt;font-family:Calibri'>==
Parked SIP/0004f2134384-1-0943e8a0 on 101@parkedcalls. Will timeout back to
extension [internal-local-only-hamel] s, 1 in 15 seconds</span></font><o:p></o:p></p>
<p><font size=2 face=Calibri><span style='font-size:11.0pt;font-family:Calibri'> </span></font><o:p></o:p></p>
<p><font size=2 face=Calibri><span style='font-size:11.0pt;font-family:Calibri'> </span></font><o:p></o:p></p>
<p><font size=2 face=Calibri><span style='font-size:11.0pt;font-family:Calibri'>Seems
like this will work…until it doesn't. The s,1 extension is never executed,
instead park-dial() is called.</span></font><o:p></o:p></p>
<p><font size=2 face=Calibri><span style='font-size:11.0pt;font-family:Calibri'> </span></font><o:p></o:p></p>
<p><font size=2 face=Calibri><span style='font-size:11.0pt;font-family:Calibri'>What
am I missing?</span></font><o:p></o:p></p>
<p><font size=2 face=Calibri><span style='font-size:11.0pt;font-family:Calibri'> </span></font><o:p></o:p></p>
<p><font size=2 face=Calibri><span style='font-size:11.0pt;font-family:Calibri'>Regards,</span></font><o:p></o:p></p>
<p><b><font size=2 color=black face=Arial><span lang=FR style='font-size:10.0pt;
font-family:Arial;color:black;font-weight:bold'> </span></font></b><o:p></o:p></p>
<p><b><font size=2 color=black face=Arial><span lang=FR style='font-size:10.0pt;
font-family:Arial;color:black;font-weight:bold'>Mike</span></font></b><o:p></o:p></p>
</div>
</div>
</div>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br>
_______________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com"
target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users"
target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><o:p></o:p></span></font></p>
</div>
<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'><br>
<br clear=all>
<br>
-- <br>
(\__/) <br>
(='.'=)This is Bunny. Copy and paste bunny into your <br>
(")_(")signature to help him gain world domination. <o:p></o:p></span></font></p>
</div>
</body>
</html>