Discussion: Asterisk cmd ParkAndAnnounce


 
Comments Filter

Advanced features avail?

Duplicate, feel free to delete.

by psm, Wednesday 09 of January, 2008 (14:37:56 UTC)
Advanced features avail?

Hi all,

I'm literally just starting out in Asterisk, with a view to deploying it "for real". I'm not satisfied that Asterix can do as I request though. I've done *a lot* of reading around over the last few days, so please don't think I've not tried to RTFM first!

What I'd like is...

1. Somebody calls up, they get "parked"
2. I then get called and get the announcement
3. I can press #1 to answer, or #2 to send them to my voicemail

I simply can't figure out if this is possible... I can obviously Park&Announce a call, but then need to hangup in order to retrieve the call (generally sat on #701) - a nod in the right direction would be seriously appreciated.

Cheers, P.


by psm, Wednesday 09 of January, 2008 (14:31:53 UTC)
return_context

In the dial plan it seems OK to have it like -> context,exten, prio

But from an agi exec command it seems to only accept -> context|exten|prio

From the source also, the return_context seems "pipe" separated :

working = return_context;
context = strsep(&working, "|");
exten = strsep(&working, "|");
if(!exten) {
/* Only a priority in this one */
priority = context;


the return context is either :
context|exten|prio
exten|prio
prio

by , Tuesday 22 of June, 2004 (17:23:45 UTC)

Page Changes | Comments

 

Featured -

Search: