[Asterisk-Users] Re: Asterisk-Users Digest, Vol 11, Issue 100
Jason
boy at neogemini.com
Wed Jun 15 12:41:17 MST 2005
Jon, thanks for your help, but I'd rather not do it using agents and
queues, ideally what would happen is it would simply play the message
and wait for the person to press a button, if nothing is pressed, it
just keeps going down the list. Any other suggestions?
asterisk-users-request at lists.digium.com wrote:
>Date: Wed, 15 Jun 2005 00:53:14 -0500
>From: Jon Gabrielson <jon at directfreight.com>
>Subject: Re: [Asterisk-Users] Newbie question about pressing a key to
> be connected to the caller
>To: Asterisk Users Mailing List - Non-Commercial Discussion
> <asterisk-users at lists.digium.com>
>Message-ID: <200506150053.14408.jon at directfreight.com>
>Content-Type: text/plain; charset="iso-8859-1"
>
>Check out ackcall=yes in agents.conf
>
>It allows them to press # to accept, or press * to not accept.
>then you can do something like:
>
>exten => 101,1,Dial(Agent/101,20,A(presspoundtoanswer))
>
>or if you want to get more fancy, check out queues.conf
>where you can set ring orders and answer penalties.
>
>
>Hope this helps,
>
>
>Jon.
>
>
>On Tuesday 14 June 2005 09:18 pm, Jason wrote:
>
>
>>I have a newbie question about the dialplan. I have a main menu that
>>picks up on a certain DID number, and gives a list of options. When an
>>option is selected, for instance 1 for sales, it rings a number of users
>>in succession until one picks up and is connected to the caller,
>>otherwise it goes to voicemail. This is all working well. However, I
>>would like to have the system play a message to the user when they pick
>>up, saying "There is a call for sales, press 1 to accept the call or 2
>>to ignore". If the user pressed 1 they would then be connected to the
>>person calling in, if 2 it would just go to the next person in the
>>group. Any help would be appreciated, my current context is below for
>>reference:
>>
>>[ext-sales]
>>exten => 1,1,Answer() ;
>>exten => 1,2,SetCIDName(Sales) ;
>>exten => 1,3,GotoIfTime(${REGTIME}|${REGDAYS}|*|*?ext-cs-vm,1,1)
>>exten => 1,4,Playback(custom/PleaseWait)
>>exten => 1,5,Macro(dial,${RINGTIMER},tm,717-6197585949#)
>>exten => 1,6,Macro(dial,${RINGTIMER},tm,707-6199208398#)
>>exten => 1,7,Macro(dial,${RINGTIMER},tm,8323686410#)
>>exten => 1,8,Macro(dial,${RINGTIMER},tm,717-6197585949#)
>>exten => 1,9,Macro(dial,${RINGTIMER},tm,707-6199208398#)
>>exten => 1,10,Macro(dial,${RINGTIMER},tm,8323686410#)
>>exten => 1,11,Goto(ext-sales-vm,1,1)
>>
>>_______________________________________________
>>Asterisk-Users mailing list
>>Asterisk-Users at lists.digium.com
>>http://lists.digium.com/mailman/listinfo/asterisk-users
>>To UNSUBSCRIBE or update options visit:
>> http://lists.digium.com/mailma
>>
More information about the asterisk-users
mailing list