Page 1 of 1

Block Manual Calls From Softphone

PostPosted: Tue Sep 08, 2015 10:39 pm
by justasking
Hello there. I would like to ask for your help on how to block manual calls from softphone. I would like to force the agents to use the vicidial interface in dialing. Our company might experience further problems if the agents continue dialing thru softphone. We use Eyebeam version 1.1 as our softphone and our Vicidial version is VERSION: 2.6-395a BUILD: 130221-1736 and our Asterisk version is 1.4.44-vici build 13.

I already tried this solution which I found on this forum as well but I cannot post a link because of this error "Your post looks too spamy for a new user, please remove off-site URLs."

Looking for answers. Thanks!

Re: Block Manual Calls From Softphone

PostPosted: Tue Sep 08, 2015 10:45 pm
by williamconley
Modify the phone in "Admin->Phones" and change the Phone Context and Exten Context to "Jail" (or some other non-existent context). if you want to get funny, you can even create that context and configure it to only dial the manager's phone. Thus warning your manager when an agent is trying to violate the rules.

Re: Block Manual Calls From Softphone

PostPosted: Wed Sep 09, 2015 1:49 am
by justasking
williamconley wrote:Modify the phone in "Admin->Phones" and change the Phone Context and Exten Context to "Jail" (or some other non-existent context). if you want to get funny, you can even create that context and configure it to only dial the manager's phone. Thus warning your manager when an agent is trying to violate the rules.


I tried this but I can still dial using softphone. I also restart the softphone to make sure.

Re: Block Manual Calls From Softphone

PostPosted: Wed Sep 09, 2015 9:02 am
by williamconley
it takes a full minute to take effect. and you have to verify that you changed the phone you are testing. plus make sure that you have done this for all accounts to which this phone is registered (ie: if the phone is registered to Vicidial and FreePBX, you have to perform the same function in FreePBX).

Re: Block Manual Calls From Softphone

PostPosted: Wed Sep 09, 2015 9:54 am
by omarrodriguezt
You can also create a template
Admin->Templates
Create a new template, named like AgentsNoManualCalls
then in the template contents put
context=unauthorized-to-do-manual-call

finally, go to each phone. Admin->Phones, and for each agent phone set the template field to AgentsNoManualCalls

Re: Block Manual Calls From Softphone

PostPosted: Wed Sep 09, 2015 3:11 pm
by justasking
omarrodriguezt wrote:You can also create a template
Admin->Templates
Create a new template, named like AgentsNoManualCalls
then in the template contents put
context=unauthorized-to-do-manual-call

finally, go to each phone. Admin->Phones, and for each agent phone set the template field to AgentsNoManualCalls


I tried your post but my softphone says "Login failed: Forbidden (Bad auth)" after I create and changed the template id to AgentsNoManualCalls

Re: Block Manual Calls From Softphone

PostPosted: Wed Sep 09, 2015 3:32 pm
by omarrodriguezt
Login failed: Forbidden (Bad auth), has nothing to do with the context, based on my experience.It should be bad credentials. Anyway undo the changes and confirm it

Re: Block Manual Calls From Softphone

PostPosted: Wed Sep 09, 2015 3:47 pm
by justasking
omarrodriguezt wrote:Login failed: Forbidden (Bad auth), has nothing to do with the context, based on my experience.It should be bad credentials. Anyway undo the changes and confirm it


I undo the changes and then my softphone works fine. I tried changing the template ID again and same problem occurs.

Re: Block Manual Calls From Softphone

PostPosted: Wed Sep 09, 2015 3:58 pm
by omarrodriguezt
If you already tried what William tells you, and what I tell you and you have not success, there should be something missing in your end. We had do the same for several clients with not issue.
But since this is a community forum, maybe someone else can point you to right direction.

AS @william said: Happy Hunting

Re: Block Manual Calls From Softphone

PostPosted: Wed Sep 09, 2015 4:07 pm
by justasking
omarrodriguezt wrote:If you already tried what William tells you, and what I tell you and you have not success, there should be something missing in your end. We had do the same for several clients with not issue.
But since this is a community forum, maybe someone else can point you to right direction.

AS @william said: Happy Hunting


Yes I hope someone will help me regarding this matter.

Thanks guys!

Re: Block Manual Calls From Softphone

PostPosted: Wed Sep 09, 2015 10:03 pm
by williamconley
Changing the template can cause registration failure if the template is not set up correctly.

Re: Block Manual Calls From Softphone

PostPosted: Wed Sep 09, 2015 10:36 pm
by justasking
williamconley wrote:Changing the template can cause registration failure if the template is not set up correctly.


Thanks for the idea. I'll try to figure it out

Re: Block Manual Calls From Softphone

PostPosted: Wed Sep 09, 2015 11:00 pm
by williamconley
There should be some other templates there from which you can glean necessary information .... in theory.

Re: Block Manual Calls From Softphone

PostPosted: Tue Sep 22, 2015 1:05 pm
by bobchaos
After I changed something with a template or phone entry, I like to go check what the result looks like in /etc/asterisk/sip-vicidial.conf , helps a lot with debugging your front end config to see what it did on the back end. Resist the urge to fix it directly in the back end, Vicidial will just overwrite it.