Page 1 of 1

8600051 , 8600052

PostPosted: Tue Nov 16, 2010 12:25 pm
by gmcust3
My Client wants to Barge in and Listen to Call.

Now, I want him to barge only those agents where I allow him.

Now, if he is smart , If I give him 8600051 , he may try 8600052 and get in.

Also, he may use my system to make calls.

How can :

1) Generate Random Session ID instead of 8600051 or some series ?

2) Stop manual Call Possibility from Soft Phone.

PostPosted: Wed Nov 17, 2010 4:14 pm
by williamconley
1) do not GIVE him 8600051 :) give him 38157183829 and put an asterisk extension in the system that takes 38157183829 and dials 8600051.

2) place the soft phone in question in a context OTHER than "default". if he's not in default, he won't be able to access your default dialplan (everything for carriers and phones in vicidial is in "default"). this will require the above entry in the other context as well, or he won't be able to dial it. So he would not be able to dial 8600051 or 913215551212 or any other standard dial pattern, ONLY extensions and patterns explicitly listed in his "special" context.

3) remember that although this is a vicidial server, it is also an ASTERISK server and the asterisk dialplan language will perform virtually any task that you can come up with. if you learn it. :)

PostPosted: Wed Nov 17, 2010 9:23 pm
by gmcust3
:-)

You again Confused me.. What is this number all about ? 38157183829 ?

I need to customise the dial plan Where if someone Dials 38157183829 , it will ask for the session ID and then one needs to enter 8600051 or so ? But if he is smart , he may enter 8600052 or so also .. ??

PostPosted: Wed Nov 17, 2010 10:14 pm
by williamconley
Nope. You will create a customized dial plan and/or script that will check for the agent that this client of yours is allowed to "listen to", get that agent's meetme room, and then dial the number for that meetme room. Without in any way giving the "client" that number or the ability to dial that number directly.

Pure Asterisk (or Asterisk with Scripting, but outside Vicidial completely). An Asterisk Professional can write a dial plan that will do this or you can research on the asterisk guru sites how to do it. :)

And that number was just a random number demonstrating that ANY number could be set to have the desired response. In fact, you could have him dial "1" and he'd get "His First Agent" (Scripting is a form of programming, you CAN do anything with it ...)

PostPosted: Thu Nov 18, 2010 12:41 pm
by covarrubiasgg
William a quick question about this. How can you workaround with the fact that the session id (conference room) is not always the same to the agents?

i tried to do this before, but i was not able to find a workaround for that, now i am using ChanSpy() to listen direct on the SIP extension and not on the MeetMe Room but it would be nice to do it with the ¨Vici Style¨ :P

gmcust3 take a look at the [monitor] context in extension.conf, this will not solve your problem but it is going to help you understand how to do what you need.

PostPosted: Thu Nov 18, 2010 1:16 pm
by williamconley
this information is stored in live tables in mysql. quick lookup and then dial the appropriate conference.

PostPosted: Thu Nov 18, 2010 1:53 pm
by covarrubiasgg
I will try it, it is more complex then just a plain dialplan entry but it sounds not too hard n_n.