Remote Agents vs Local Agents

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Remote Agents vs Local Agents

Postby ckwall » Tue Dec 12, 2006 2:47 pm

How can I make the remote agents work like local agents.

When I log a phone in that is connected to my vicidial server using the /agc/vicidial.php i calls my phone, then calls the numbers in the hopper.

When I log in using /vicidial/vdremote.php it seems to work exactly opposite. It calls the number in the hopper, then when the called party answers, they hear ringing until my remote agent answers the phone.

Is there a way to change the way remote agents work so that they log in, answer the phone, then the dialer calls the numbers in the hopper?
ckwall
 
Posts: 105
Joined: Tue Nov 21, 2006 1:03 pm

Postby enjay » Tue Dec 12, 2006 2:56 pm

dont use remote agents then.. just have your remote agents use a softphone and connect via the internet to your server and use it like a standard local agent..

beware of network latency..

-Art
enjay
 
Posts: 806
Joined: Mon Jun 19, 2006 12:40 pm
Location: Utah

Postby ckwall » Tue Dec 12, 2006 3:05 pm

The soft phone is not an option for these particular users. Is there a way to make standard agents using remote phones? For example using IAX2/registered_user/exten as the extension, which would dial the other server where that user is iax registered? I tried this, it calls the phone on the other server to try to log it on... but something doesnt quite hook up, cuz it doesnt actually log that phone in.
ckwall
 
Posts: 105
Joined: Tue Nov 21, 2006 1:03 pm

Postby enjay » Tue Dec 12, 2006 3:11 pm

Yes that could work just fine.. will wait for you to get back to us on the details of whats not "hooking up correctly"
enjay
 
Posts: 806
Joined: Mon Jun 19, 2006 12:40 pm
Location: Utah

Postby ckwall » Tue Dec 12, 2006 3:24 pm

Help me to identify that. When i log in using the correct (i think its correct) extension to include the iax registration info plus extension, it rings my phone, but before i pick it up, the cli displays that the conf room has answered and i am the only person in the conference. but i have not answered yet.

i pick up the phone and a few seconds later i get the no on is in your session error.

If i use an extension that is actually on my vicidial server, everything works 100% correctly.

Here is my IAX info from my vicidial server... (all works correctly from asterisk point of view)
[REC_SERVER_External_Dialer]
type=friend
host=10.0.1.189
username=REC_SERVER_External_Dialer
secret=XXXXXX
context=Inbound

Here is the extension I tried with the astguiclient phone entry:
REC_SERVER_External_Dialer/1718
Dial plan number: 1718
server ip:10.0.1.180 (the ipp address of my vicidial server)
ckwall
 
Posts: 105
Joined: Tue Nov 21, 2006 1:03 pm

Postby ckwall » Tue Dec 12, 2006 3:26 pm

in the agc/vicidial.php when i log in, it shows my extension as IAX2/REC_SERVER_External_Dialer/1718 which would be correct for the asterisk Dial command.

it calls me, just doesnt log me in.
ckwall
 
Posts: 105
Joined: Tue Nov 21, 2006 1:03 pm

Postby mflorell » Tue Dec 12, 2006 3:36 pm

could you explain in a little more detail what "it doesn't log me in" means?
mflorell
Site Admin
 
Posts: 18384
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby ckwall » Tue Dec 12, 2006 3:38 pm

after clicking on the button on the agc/vicidial.php page to log in and i answer the phone, a few seconds later, i get a no one is in your session error, which i was lead to believe that mean I was not actually logged in. That is the basis for my though of not being logged in.
ckwall
 
Posts: 105
Joined: Tue Nov 21, 2006 1:03 pm

Postby enjay » Tue Dec 12, 2006 4:01 pm

do you not have the other server defined as a server for vicidial? vicidial needs to know where that phone is..
enjay
 
Posts: 806
Joined: Mon Jun 19, 2006 12:40 pm
Location: Utah

Postby ckwall » Tue Dec 12, 2006 4:10 pm

i must misunderstand what server entries are intended for. I thought it specified where the conference rooms are. I will add one and set it up with the correct server and give it another try.
ckwall
 
Posts: 105
Joined: Tue Nov 21, 2006 1:03 pm

Postby enjay » Tue Dec 12, 2006 4:18 pm

Its also where the phone is defined under phone sections you define which server the phone resides on..
enjay
 
Posts: 806
Joined: Mon Jun 19, 2006 12:40 pm
Location: Utah

Postby ckwall » Tue Dec 12, 2006 4:28 pm

so when doing this, it tells me:
Sorry, there are no available sessions
Do I have to add conf rooms to the server that the phone resides on? It cannot use the ones on my vicidial server?

vicidial server=10.0.1.180
server my phone is on=10.0.1.189

Here are my settings for the phone:
extension: 1718
dialplan_number: 1718
voicemail_id: 1718
phone_ip:
computer_ip:
server_ip: 10.0.1.189
login: 1718
pass: 1718
status: ACTIVE
active: Y
phone_type: Linksys SPA942
fullname:
company:
picture:
messages: NULL
old_messages: NULL
protocol: SIP
local_gmt: -7.00
ASTmgrUSERNAME: cron
ASTmgrSECRET: 1234
login_user:
login_pass:
login_campaign:
park_on_extension: 8301
conf_on_extension: 8302
VICIDIAL_park_on_extension: 8301
VICIDIAL_park_on_filename: park
monitor_prefix: 8612
recording_exten: 8309
voicemail_exten: 8501
voicemail_dump_exten: 85026666666666
ext_context: default
dtmf_send_extension: local/8500998@default
call_out_number_group: Zap/g2/
client_browser: /usr/bin/mozilla
install_directory: /usr/local/perl_TK
local_web_callerID_URL: http://astguiclient.sf.net/test_callerid_output.php
VICIDIAL_web_URL: http://astguiclient.sf.net/test_VICIDIAL_output.php
AGI_call_logging_enabled: 1
user_switching_enabled: 1
conferencing_enabled: 1
admin_hangup_enabled: 0
admin_hijack_enabled: 0
admin_monitor_enabled: 1
call_parking_enabled: 1
updater_check_enabled: 1
AFLogging_enabled: 1
QUEUE_ACTION_enabled: 1
CallerID_popup_enabled: 1
voicemail_button_enabled: 1
enable_fast_refresh: 0
fast_refresh_rate: 1000
enable_persistant_mysql: 0
auto_dial_next_number: 1
VDstop_rec_after_each_call: 1
DBX_server:
DBX_database: asterisk
DBX_user: cron
DBX_pass: 1234
DBX_port: 3306
DBY_server:
DBY_database: asterisk
DBY_user: cron
DBY_pass: 1234
DBY_port: 3306
outbound_cid: 1718
ckwall
 
Posts: 105
Joined: Tue Nov 21, 2006 1:03 pm

Postby enjay » Tue Dec 12, 2006 4:31 pm

Is there a reason why the phone cannot connect to your server? Whether its a hardphone, softphone, ATA whatever it is it could connect remotely to your server if you open up UDP/4569 then you just defined the users extension username/password etc they configure their device (whatever it is) accordingly and thats it..

-Art
enjay
 
Posts: 806
Joined: Mon Jun 19, 2006 12:40 pm
Location: Utah

Postby ckwall » Tue Dec 12, 2006 4:35 pm

i have 5 call center servers. about more than 50 agents each. My intent was to have on dialer for all 5 servers. so my phone are connected to the respective asterisk server.

Are you suggesting that I should have the phones connect to the dialer instead?
ckwall
 
Posts: 105
Joined: Tue Nov 21, 2006 1:03 pm

Postby enjay » Tue Dec 12, 2006 4:46 pm

All of your Asterisk servers (regardless of them having physical lines on them) need to have VICIDIAL installed on them. Your Asterisk dialplan can point them accordingly to the server which has the ZAP/SIP/IAX2 trunks.

Please explain your configuration as it stands today. Based on what you say I see it like this.

5 Asterisk Server
1 VICIDIAL Server

(NOTE: The above configuration will not work)

Where is the Database/Web Server in this configuration?
enjay
 
Posts: 806
Joined: Mon Jun 19, 2006 12:40 pm
Location: Utah

Postby ckwall » Tue Dec 12, 2006 4:49 pm

5 Asterisk Server
1 VICIDIAL Server

Where is the Database/Web Server in this configuration?


5 asteirsk servers
1 vicidial server includeing vicidial web
1 database/web server (databases for 5 asterisk servers and 1 vicidial server)
ckwall
 
Posts: 105
Joined: Tue Nov 21, 2006 1:03 pm

Postby mflorell » Tue Dec 12, 2006 5:16 pm

You should have each Asterisk server with the VICIDIAL software on it. You don't gain that much by separating VICIDIAL from the Asterisk server. You would have more capacity if you used every Asterisk or VICIDIAL server as a Asterisk/VICIDIAL server.
mflorell
Site Admin
 
Posts: 18384
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby enjay » Tue Dec 12, 2006 5:17 pm

right that should be

5 Asterisk/VICIDIAL Servers
1 DB/Web

-Art
enjay
 
Posts: 806
Joined: Mon Jun 19, 2006 12:40 pm
Location: Utah

Postby ckwall » Tue Dec 12, 2006 10:07 pm

Thank you for the reply. I will make the changes. I appreciate the input.
ckwall
 
Posts: 105
Joined: Tue Nov 21, 2006 1:03 pm


Return to Support

Who is online

Users browsing this forum: Bing [Bot] and 126 guests