laine.marko@porilainen.com
2005-Jul-22 03:43 UTC
[Asterisk-Users] Asterisk operator functions
Hey! My asterisk is working properly so far with all automatic functions. Now I want to direct incoming calls to operator, i mean some person who answers to the incoming calls and redirect them to the person caller wants. What I have so far searched from the voip-info.org and other sites, Ihave not found any example configuration how to do it. First i thought that I will implement this just using call parking,(operator just put them in hold) and person who call is meant, just picks it up.. But is this really the only way or is there some nicer way to handle that? Thank you in advance for your answers! ---------------------------------------------------------------- This mail sent through L-secure: http://www.l-secure.net/
laine.marko@porilainen.com wrote:>Hey! >My asterisk is working properly so far with all automatic functions. Now I want >to direct incoming calls to operator, i mean some person who answers to the > > >[incoming] exten s,1,Answer() ; Wait for 2 seconds to pick up caller-id exten s,2,Wait(2) ; Dial operator's sip phone for 30 seconds exten s,3,Dial(SIP/4216,30,rt) ; If operator not found, play please wait exten s,4,Playback(find-operator) ; drop person into operator-group queue exten s,5,Queue(operator-group|t|||100) ; Hang up if they exit the queue before someone answers exten s,6,Hangup()
On Fri, Jul 22, 2005 at 01:43:01PM +0300, laine.marko@porilainen.com wrote:> Hey! > My asterisk is working properly so far with all automatic functions. Now I want > to direct incoming calls to operator, i mean some person who answers to the > incoming calls and redirect them to the person caller wants.After a certain timeout, Asterisk will jump to extension 't' in the current context . So just like you can set up a "default" action using "s", you can set up a "timeout" action using "t". The operator can then transfer the calls. -- Tzafrir Cohen | tzafrir@jbr.cohens.org.il | VIM is http://tzafrir.org.il | | a Mutt's tzafrir@cohens.org.il | | best ICQ# 16849755 | | friend