[asterisk-users] Using queue priorities to add agents

2017-05-11 Thread Steve Davies
Hi, I have a scenario that I am failing to implement using the Queue app, but which I had thought would be commonplace... 1) (this bit works fine) I want a queue caller to have access to the basic set of agents initially, with an overflow to additional agents if they are busy - This is done using

Re: [asterisk-users] How to detect fake CallerID? (8xx?)

2017-05-11 Thread J Montoya or A J Stiles
On Wednesday 10 May 2017, Steve Edwards wrote: > On Wed, 10 May 2017, J Montoya or A J Stiles wrote: > > Presumably your staff carry mobile phones. What about an app that gets > > the ID of the cell tower to which it is connected, and passes it and the > > SIM number in a HTTP request to a server

Re: [asterisk-users] How to detect fake CallerID? (8xx?)

2017-05-11 Thread Adam Goldberg
Seems like this is the best idea (challenge-response), a callback. No matter the callerid, you don't know where the caller is. But if you place a call BACK to the callerid, it's going to go to the destination. Then you either need the phone to be answered, or the phone to be answered and and

Re: [asterisk-users] How to detect fake CallerID? (8xx?)

2017-05-11 Thread Don Kelly
As a client, I don't want service company personnel answering my phone. As a service company, I don't want my clients thinking that I do not trust my employees who are at the client facility. --Don -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users

Re: [asterisk-users] How to detect fake CallerID? (8xx?)

2017-05-11 Thread Sebastian Nielsen
Personally, if I was a client, I would rather have the personell answer the phone than make a outgoing call, if I would choose. If you think of billing and costs. So if a client allows outgoing, I don't think they have any problems with answering a call immediately following either. But I assume t

Re: [asterisk-users] Using queue priorities to add agents

2017-05-11 Thread Alexander Lopez
If after 60 seconds you mean ’60 seconds of caller hold time’ then set up another queue as overflow, Set the first queue to timeout after 60 secs. Then send to the overflow queue with all agents/members as same priority. “You can either follow your fears or be led by your passions, its up to y

Re: [asterisk-users] Using queue priorities to add agents

2017-05-11 Thread John Kiniston
I have a real ugly queue that has this in it's rules [mrule] penaltychange => 20,2,2 penaltychange => 40,3,3 penaltychange => 80,4,4 penaltychange => 120,5,5 penaltychange => 150,6,6 penaltychange => 180,1,1 penaltychange => 200,2,2 penaltychange => 220,3,3 penaltychange => 240,4,4 penaltychange =

Re: [asterisk-users] Using queue priorities to add agents

2017-05-11 Thread Steve Davies
Thanks for the suggestion - That is what is currently in place, but it allows queue-jumping as Asterisk does not know that one queue should be serviced (drained) before the other. That can be improved upon by doing a Waiting count on the 2nd queue etc etc, but there is always a q-jumping scenario u

Re: [asterisk-users] Using queue priorities to add agents

2017-05-11 Thread Steve Davies
Hi, Thanks for this suggestion - I believe it does not quite fit the requirement as follows: - When you move up to priority 2, you will stop ringing 'Receptionist' as they are out of scope penalty 1 < 2. - Changing the penalty from penaltychange => 20,2,2 to penaltychange => 20,1,2 in order to i

Re: [asterisk-users] How to detect fake CallerID? (8xx?)

2017-05-11 Thread Don Kelly
I've assumed that the client is not present when the cleaners arrive. --Don -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Sebastian Nielsen Sent: Thursday, May 11, 2017 10:19 AM To: 'Asterisk Users Mailing

[asterisk-users] JACK_HOOK Auto fallthrough

2017-05-11 Thread andre castro
Hi, I am having problems adding a JACK_HOOK function to a Asterisk dialplan. I have jackd (1.9.10) running. And tested. in extensions.conf I have the following plan: exten = 99,1,Answer() same = n, Set(JACK_HOOK(manipulate,s(default),i(system:playback_1))=on) When I set a peer to call it (from

[asterisk-users] AMI Originate not working

2017-05-11 Thread Thomas
Hello, I want to call an phone and if phone picked up I want to ring another phone. Or I want to connect to an running channel and then call another phone or move to an ConfBridge Iam using PHP $channel = 'IAX2/556-1696'; or $channel = 'SIP/0019736363636@outbound.patton'; $exten = ''; $cont

Re: [asterisk-users] AMI Originate not working

2017-05-11 Thread Faheem Muhammad
Thomas, this code block should work for your Originate case. This code block will dial a local channel where actual leg 1 number is dialed. On Answer of leg1, the leg2 is called. - require_once('phpagi-2.20/phpagi-asmanager.php'); $asm = new