Hey Bill,
I don't know what to put in my signature anymore since i run multiple different ViCidial servers....
Maybe i'll start making templates for each one haha.
Also our problem was very specific, i don't think many people use the feature we were looking for. I talked about it sometime before. It involves saving bandwith by using IAX2 trunking. Also i managed to get it to work. Here is what i did:
-I could not do a fresh install on the server that had asterisk 1.4 running, it was too risky and would take too much time do do safely
-The other server was not being used operationally yet so i decided to reinstall that one with ViCibox 3.1.15 found here:
http://download.vicidial.com/iso/vicibo ... r/archive/-Once that was done i made an IAX2 peer carrier on the server that had all the agents and campaigns on it like this:
- Code: Select all
[TRUNKNAMESERVERB]
type=peer
username=TRUNKNAMESERVERA
secret=password546
auth=plaintext
host=IP OF THE HOST
requirecalltoken=no
context=default
peercontext=default
qualify=yes
trunk=yes
disallow=all
allow=g729
and dialplan entry:
- Code: Select all
exten => _8XXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _8XXX,2,Dial(${IAXTRUNKNAMESERVERB}/${EXTEN:1},,To)
exten => _8XXX,3,Hangup
And on the vicidial server in the local callcenter i made this carrier:
- Code: Select all
[TRUNKNAMESERVERA]
type=friend
username=TRUNKNAMESERVERB
secret=password546
auth=plaintext
host=IP OF THE HOST
requirecalltoken=no
context=default
peercontext=default
qualify=yes
trunk=yes
disallow=all
allow=g729
And then on the remote server with the campaigns and users i made phone extensions like these:
- Code: Select all
Phone Extension: 8111
Dial Plan Number: 8111
Voicemail Box: 0
Outbound CallerID: 0000000000
Agent Screen Login: remote11
Login Password: remote11
Client Protocol: EXTERNAL
And on the local server i made extensions like these:
- Code: Select all
Phone Extension: 111
Dial Plan Number: 111
Voicemail Box: 0
Outbound CallerID: 0000000000
Client Protocol: SIP
Now how this is works is if the agent in the callcenter in our end of the world logs in with phone code 'remote11' on the server that's running at the other end of the world it sets up an IAX2 trunk call with g729 codec to the server in our local callcenter where the hardphone is connected on extension 111.
This first agent uses approx 30 kbps up/down
The next agent uses only 8 kbps up/down
The third agent uses only 8 kbps up/down
etc!
You can imagine this saves a lot of bandwith. I also tested with ulaw codec but then the bandwith saving does not work. You can calulate how much bandwith you can save with this calculator:
http://www.asteriskguru.com/tools/bandw ... ulator.phpOur callcenter plans to run 50 agents max. Now normally with ulaw codec and using individual channels this would be:
50 x 64 kbps > 3400 kbps up/down
(in fact on our firewall i saw ulaw even consumed more bandwith)
With g729 and individual channels it would be:
50x30 kbps > 1181 kbps up/down
But with trunked g729 calls the total bandwith consumption is:
1x30 kbps + 49x8kbps = 414 kbps up/down
And since our ADSL line has max 1000 kbps upload bandwith over here in this third world country this is a requirement for us.
I had to make sure both servers were running the same asterisk version otherwise i could setup a call but get one way audio and the call would drop after about 30 seconds.
Anyone who uses this guide post here and let me know if it works. Improvements are welcome.
