[Asterisk-Users] Parking a call in manager interface

Matt Riddell matt.riddell at sineapps.com
Fri Mar 18 13:33:40 MST 2005


Thorben Jensen wrote:
> Is it possible to park a call through the manager interface? If yes; how?

Heh.  Another person finds the manager bug.

You can do it using a redirect with extrachannel, but last time I 
checked it would announce the parking slot to the caller rather than the 
person who parks the call.

What I have done in SineAsterPanel (as yet unreleased) is to create a 
blank extension in extensions.conf that does

exten => 888,1,MusicOnHold()

and then you redirect the channel to that extension.  You have to 
maintain a reference to the call so that when someone chooses unpark, 
you redirect that channel back to the person who parked the call.  If 
you wanted company wide parking instead of putting someone on hold, you 
would need to create a database entry which stores the value for 
everyone to see.  Then anyone could choose from the list of parked calls 
to unpark.

Make sense?

If not, I have code for hold-style parking in C# (SharpDevelop) but have 
not yet implemented company-wide parking (I.E. where one person can park 
and the other can retrieve) because my program does not rely on an 
external database.

Corydon on IRC wrote me a parking app for the manager, but it crashed 
and I haven't spoken with him since.  Maybe if you can track him down 
he'd give you the code he's already done and you could continue from there.

-- 
Cheers,

Matt Riddell
_______________________________________________

http://www.sineapps.com/news.php (Daily Asterisk News - html)
http://www.sineapps.com/rssfeed.php (Daily Asterisk News - rss)




More information about the asterisk-users mailing list