Trunk VicidialNow to Tribox

General and Support topics relating to ViciDialNow and GoAutoDial ISO installers

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

Trunk VicidialNow to Tribox

Postby wizzbangca » Tue Apr 28, 2009 2:23 pm

I need to know how to do this. To many times I run across posts where someone figured out how, and thats all they say. What about the rest of us who need to know? Does anyone know? Step by step would be nice.

Thanks.
wizzbangca
 
Posts: 50
Joined: Wed Apr 08, 2009 4:11 pm

Postby marcin » Tue Apr 28, 2009 3:26 pm

sip trunk (Authentication based)
setup a sip extension on trixbox server with user and password

in vicidial server (2.0.4) edit sip.conf and add line:
register => user:password@ipoftrixbox:5060

[siptrunk3]
disallow=all
allow=ulaw
allow=alaw
allow=gsm
canreinvite=no
host=ipoftrixbox
insecure=port,invite
secret=password
type=friend
username=user

in extensions.conf add:

; dial a long distance outbound number through a SIP provider
exten => _1NXXNXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _1NXXNXXXXXX,2,Dial(SIP/${EXTEN}@siptrunk3,55,o)
exten => _1NXXNXXXXXX,3,Hangup

for inbound add:
exten => 3125551212,1,Ringing
exten => 3125551212,2,Wait(1)
exten => 3125551212,3,Answer
exten => 3125551212,4,AGI(agi-VDAD_ALL_inbound.agi,CIDLOOKUPRC-----LB-----SALESLINE-----3125551212-----Closer-----park----------999-----1-----TESTCAMP)
exten => 3125551212,5,Hangup

where: user is the extension you setup on trixbox
password is a password for this extension
ulaw, alaw and gsm are codecs for audio compression
3125551212 is a did you assign to same extension in trixbox server for incoming calls
exten => _1NXXNXXXXXX ....is only an option to omit 9
installation is showing you :
exten => _91NXXNXXXXXX ....
ipoftrixbox is a IP address of your trixbox, usage of the hostname may slow down the system.

for iax trunk use common sense.
Last edited by marcin on Tue Apr 28, 2009 7:48 pm, edited 1 time in total.
marcin
 
Posts: 95
Joined: Wed Mar 18, 2009 8:00 am

Postby wizzbangca » Tue Apr 28, 2009 3:54 pm

Thank you for the reply. I made the changes. Now all I have to do is get the extensions on trixbox to work with vicidial.

Haven't I been a pain lately? Thanks all for the help.
wizzbangca
 
Posts: 50
Joined: Wed Apr 08, 2009 4:11 pm

Postby wizzbangca » Tue Apr 28, 2009 6:47 pm

Don't think your suggestion works. On Hudlite, ext 700 doesn't light up like it's supposed to when an extension has a phone connected. When the dialer tries to place a call, nothing happens. The asterisk logs don't show a call attempt.
wizzbangca
 
Posts: 50
Joined: Wed Apr 08, 2009 4:11 pm

Postby marcin » Tue Apr 28, 2009 7:24 pm

try ading a line to extensions.conf:
siptrunk3=sip/user:password@ipoftrixbox:5060
remember to restart asterisk after changes are made
marcin
 
Posts: 95
Joined: Wed Mar 18, 2009 8:00 am

Postby wizzbangca » Wed Apr 29, 2009 9:19 pm

marcin dialed in and got it all working. His method works, just don't use 2.0.5's web ui to do it. Every install of 2.0.5 in vicidialnow i have done, adding the trunk through carriers doesn't work.

Thanks to marcin for the help.
wizzbangca
 
Posts: 50
Joined: Wed Apr 08, 2009 4:11 pm


Return to ViciDialNow - GoAutoDial

Who is online

Users browsing this forum: No registered users and 129 guests