Greetings, folks.
I'm having a problem with blind transfers. It seems that, despite not
having the T flag set, callers are able to use the blind transfer option.
Scenario is this:
- Asterisk 1.2.14
- Caller calls into our call center on one of our many phone numbers.
- Call gets placed into queue.
- Operator answers call.
- Caller is able to hit our blind xfer key sequence (#0) and dial any
number.
- Call is placed from our Asterisk box and connected to my operator
(*not* the caller).
I do NOT want this to happen. I *only* want our operators to be able to
transfer calls. I thought I had this set up properly (lowercase 't'
flag), but I apparently was incorrect. I cannot get the transfer to
stick with the caller (i.e. - the caller making free calls on my dime),
but I'm not ruling out that that too is possible.
I need some quick help here. Apparently someone has been making a lot
of long distance calls from our end and I need to immediately figure out
if it's an employee doing something they shouldn't be or a dialplan
issue with Asterisk.
Any help any of you can provide would be great. If you need more info,
please ask.
Thanks in advance,
Jay
---
Relevant dialplan snippets:
{Extensions.conf}
; Catch all extensions
exten => _X.,1,Set(account=${EXTEN})
exten => _X.,n,AGI(get_cid.php)
exten => _X.,n,Set(CALLERID(all)=${cid}<${account}>)
exten => _X.,n,Set(context=COM)
exten => _X.,n,Set(type=INC)
exten => _X.,n,Set(from=${account})
exten => _X.,n,Set(to=COM)
exten => _X.,n,AGI(create_filename.php)
exten => _X.,n,Set(MONITOR_FILENAME=${filename})
exten => _X.,n,Goto(queue-answer,s,1)
[queue-answer]
; 1) Call rings for 15 sec
; 2) Call gets placed into normal queue
exten => s,1,Queue(queue-ring|rt|||15)
exten => s,2,Playback(_test_rec0)
exten => s,n,Queue(queue-answer|t|||20)
exten => s,n,Goto(queue-answer,s,2)
------
{queues.conf}
[queue-ring]
timeout = 15
strategy = rrmemory
leavewhenempty = yes
member => SIP/comcenter1
member => SIP/comcenter2
member => SIP/comcenter3
monitor-format=gsm
monitor-join=yes
context = queue-ring
[queue-answer]
timeout = 30
strategy = rrmemory
leavewhenempty = yes
member => SIP/comcenter1
member => SIP/comcenter2
member => SIP/comcenter3
context=queue-answer
monitor-format=gsm
monitor-join=yes
On 6/18/07, Jay Moore <jaymoore at accu-com.com> wrote:> Greetings, folks. > > I'm having a problem with blind transfers. It seems that, despite not > having the T flag set, callers are able to use the blind transfer option. > > Scenario is this: > > - Asterisk 1.2.14 > - Caller calls into our call center on one of our many phone numbers. > - Call gets placed into queue. > - Operator answers call. > - Caller is able to hit our blind xfer key sequence (#0) and dial any > number. > - Call is placed from our Asterisk box and connected to my operator > (*not* the caller). > > I do NOT want this to happen. I *only* want our operators to be able to > transfer calls. I thought I had this set up properly (lowercase 't' > flag), but I apparently was incorrect. I cannot get the transfer to > stick with the caller (i.e. - the caller making free calls on my dime), > but I'm not ruling out that that too is possible. > > I need some quick help here. Apparently someone has been making a lot > of long distance calls from our end and I need to immediately figure out > if it's an employee doing something they shouldn't be or a dialplan > issue with Asterisk. > > Any help any of you can provide would be great. If you need more info, > please ask.Don't know is this a bug in * or dialplan, but a quick solution (if you don't want to transfer to long-distance numbers) - use __TRANSFER_CONTEXT and destination checking in that. That way nobody is able to transfer to external numbers. Or at least do some masking - i.e. transfer to #555123456*6124# where 555123456 is number, and 6124 - password required for transfer to external number. Regards, Atis
I dont know how to solve your transfer problem, but i have an idea which you
can use to overcome this abnormality.
You should restrict the callers with context which includes only your local
office extensions.
I assume all your incoming calls fall in [default] context. what you should
do is:
[default]
include=> localext
exten=> _X.,1,Noop("Incoming call received")
[localext]
*****This context should include all your office extensions******
This way, caller can only transfer himself within your office extensions.
I hope you get my point
On 6/18/07, Jay Moore <jaymoore at accu-com.com>
wrote:>
> Greetings, folks.
>
> I'm having a problem with blind transfers. It seems that, despite not
> having the T flag set, callers are able to use the blind transfer option.
>
> Scenario is this:
>
> - Asterisk 1.2.14
> - Caller calls into our call center on one of our many phone numbers.
> - Call gets placed into queue.
> - Operator answers call.
> - Caller is able to hit our blind xfer key sequence (#0) and dial any
> number.
> - Call is placed from our Asterisk box and connected to my operator
> (*not* the caller).
>
> I do NOT want this to happen. I *only* want our operators to be able to
> transfer calls. I thought I had this set up properly (lowercase
't'
> flag), but I apparently was incorrect. I cannot get the transfer to
> stick with the caller (i.e. - the caller making free calls on my dime),
> but I'm not ruling out that that too is possible.
>
> I need some quick help here. Apparently someone has been making a lot
> of long distance calls from our end and I need to immediately figure out
> if it's an employee doing something they shouldn't be or a dialplan
> issue with Asterisk.
>
> Any help any of you can provide would be great. If you need more info,
> please ask.
>
> Thanks in advance,
> Jay
>
> ---
>
> Relevant dialplan snippets:
>
> {Extensions.conf}
> ; Catch all extensions
> exten => _X.,1,Set(account=${EXTEN})
> exten => _X.,n,AGI(get_cid.php)
> exten => _X.,n,Set(CALLERID(all)=${cid}<${account}>)
> exten => _X.,n,Set(context=COM)
> exten => _X.,n,Set(type=INC)
> exten => _X.,n,Set(from=${account})
> exten => _X.,n,Set(to=COM)
> exten => _X.,n,AGI(create_filename.php)
> exten => _X.,n,Set(MONITOR_FILENAME=${filename})
> exten => _X.,n,Goto(queue-answer,s,1)
>
> [queue-answer]
> ; 1) Call rings for 15 sec
> ; 2) Call gets placed into normal queue
> exten => s,1,Queue(queue-ring|rt|||15)
> exten => s,2,Playback(_test_rec0)
> exten => s,n,Queue(queue-answer|t|||20)
> exten => s,n,Goto(queue-answer,s,2)
>
> ------
>
> {queues.conf}
> [queue-ring]
> timeout = 15
> strategy = rrmemory
> leavewhenempty = yes
>
> member => SIP/comcenter1
> member => SIP/comcenter2
> member => SIP/comcenter3
>
> monitor-format=gsm
> monitor-join=yes
>
> context = queue-ring
>
> [queue-answer]
> timeout = 30
> strategy = rrmemory
> leavewhenempty = yes
> member => SIP/comcenter1
> member => SIP/comcenter2
> member => SIP/comcenter3
>
> context=queue-answer
>
> monitor-format=gsm
> monitor-join=yes
>
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
--
Rizwan Hisham
Software Engineer
AXVOICE Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20070618/bc2bdb1d/attachment.htm