[asterisk-users] Follow up on parking

Danny Nicholas danny at debsinc.com
Mon Dec 15 11:56:39 CST 2008


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

 

Example

Dialplan show park-dial

Before park

 

[ Context 'park-dial' created by 'pbx_config' ]

  's' =>            1. Background(vm-goodbye)
[pbx_config]

                    2. HangUp()
[pbx_config]

After park

[ Context 'park-dial' created by 'pbx_config' ]

  's' =>            1.  Dial(SIP/XXX,XX)

                      2. Background(vm-goodbye)
[pbx_config]

                      3. HangUp()
[pbx_config]

 

  _____  

From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of David fire
Sent: Monday, December 15, 2008 10:17 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Follow up on parking

 

if you write you own [park-dial]  context maybe asterisk dont over write
it...
David

2008/12/15 Danny Nicholas <danny at debsinc.com>

This appears to be the case.  If someone else know how, please feel free to
share.

 

  _____  

From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Mike
Sent: Monday, December 15, 2008 7:05 AM


To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] Follow up on parking

 

Just so I'm clear: there is no way to do what I want short of playing with
the underlying code, correct?

 

Mike

 

From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Danny Nicholas
Sent: Friday, December 12, 2008 15:31
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] Follow up on parking

 

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.

 

  _____  

From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Mike
Sent: Friday, December 12, 2008 12:40 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] Follow up on parking

 

Danny,

 

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.

 

All I want, for the sake of discussion, is to Hangup() when the call gets
out of parking after the 45 second timeout.

 

As for show application park, this is not helping.

 

Regards,

 

Mike

 

From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Danny Nicholas
Sent: Friday, December 12, 2008 9:26
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] Follow up on parking

 

You should try these steps

1.	core show application park from the CLI interface
2.	look at features.conf
3.	one of these should offer the hint you seek

 

  _____  

From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Mike
Sent: Thursday, December 11, 2008 10:46 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: [asterisk-users] Follow up on parking

 

I`m having (a lot of) trouble changing the call parking timeout behavior.

 

This is my SIP context.

 

[internal-local-only-hamel]

exten => s,1,Hangup

include => parkedcalls

 

What I am trying to accomppish is a quick test where I park a call, wait 45
seconds, and it hangs up.

 

Here is my execution in the CLI:

 

== Parked SIP/0004f2134384-1-0943e8a0 on 101 at parkedcalls. Will timeout back
to extension [internal-local-only-hamel] s, 1 in 15 seconds

 

 

Seems like this will work.until it doesn't.  The s,1 extension is never
executed, instead park-dial() is called.

 

What am I missing?

 

Regards,

 

Mike


_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users




-- 
(\__/) 
(='.'=)This is Bunny. Copy and paste bunny into your 
(")_(")signature to help him gain world domination. 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20081215/5592a441/attachment.htm 


More information about the asterisk-users mailing list