Page 1 of 1

Comunicating ViciDial with FortiNet PBX

PostPosted: Thu Jan 04, 2024 2:52 pm
by macaruchi
Good day
I have a FortiNet central receiving calls and a trunk connected to Vicidial through which all the traffic comes to my callcenter, everything enters through the FortiNet and from there to Vicidial through a trunk which I made as a carrier for that link, so far so good. Now I need to be able to dial from Vicidial to the extensions that are in the FortiNet, that is, to be able to communicate with other areas of the company that are not part of the callcenter. In the carrier that I made for this communication I do not have a dialplan and I would like to know how to set this dialplan so that there is communication with FortiNet.
Thank you

Re: Comunicating ViciDial with FortiNet PBX

PostPosted: Thu Feb 22, 2024 12:35 pm
by dreedy
there is 2 section to this.

Account entry: which is the connecting item to the server or trunk you want to connect to.

Diaplan entry : which logs and makes a stepping of how the call will route the information.

example

account entry
[carrier]
Disallow=All
Allow=ulaw
Allow=g729
Type=peer
Host=XXX.XXX.XXX.XXX (Fortinet IP)
port=5060
fromdomain=XXX.XXX.XXX.XXX
dtmf=mode:rfc2833
qualify=yes
nat=force_rport,comedia

Diaplan Entry Example:
exten => _61NXXNXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _61NXXNXXXXXX,n,Dial(${carrier}/${EXTEN:1},,o)
exten => _61NXXNXXXXXX,n,Hangup()