Howto Freepbx container: Difference between revisions

From Vidalinux Wiki
Jump to navigation Jump to search
Line 42: Line 42:
'''pjsip Settings / General '''
'''pjsip Settings / General '''


  Username: 77777777
  username: 77777777
  Secret: yourpassword
  secret: yourpassword
  Sip Server: sip.callcentric.net
  sip server: sip.callcentric.net
  Context: from-pstn-toheader
  context: from-pstn-toheader
configure outbound routes on freepbx:
'''Outbound Routes / Route Settings'''
 
route name: callcentric-outgoing
override extension: no
trunk sequence for matched routes: callcentric


= references =
= references =
* https://sangomakb.atlassian.net/wiki/spaces/FP/pages/10682545/How+to+Install+FreePBX+17+on+Debian+12+with+Asterisk+20
* https://sangomakb.atlassian.net/wiki/spaces/FP/pages/10682545/How+to+Install+FreePBX+17+on+Debian+12+with+Asterisk+20

Revision as of 23:57, 8 December 2023

install docker

first we need to install docker and docker compose:

https://wiki.vidalinux.org/index.php/Howto_docker

deploy freepbx container

clone the following repo from github:

git clone https://github.com/vidalinux/docker.git

enter docker-freepbx directory:

cd docker/docker-freepbx

create certs directory and add your domain ssl certificate and key:

mkdir certs
cp server.crt server.key certs/

deploy freepbx container using docker-compose:

docker-compose up -d

callcentric account

go to callcentric and create and account:

https://callcentric.com

add outbound plan to your account:

https://www.callcentric.com/rate/plans

add inbound plan to your account:

https://www.callcentric.com/did

forward your inbound did to your extension:

https://my.callcentric.com/pref_callforward.php

accesss freepbx interface

if you doesn't have an internal dns edit /etc/hosts to add the domain:

192.168.75.2 freepbx.ovox.io

enter freepbx interface using your domain:

https://freepbx.ovox.io

configure freepbx

add pjsip trunk on your freepbx:

General

trunk name: callcentric
outbound callerid: 77777777
maximum channels: 5

Dial Number Manipulation Rules

( 1 ) | [ 787. ]
( 1 ) | [ 939. ]

pjsip Settings / General

username: 77777777
secret: yourpassword
sip server: sip.callcentric.net
context: from-pstn-toheader

configure outbound routes on freepbx:

Outbound Routes / Route Settings

route name: callcentric-outgoing
override extension: no
trunk sequence for matched routes: callcentric

references