Author Topic: SIP drink provide / Small carrier for a NGO  (Read 29 times)

airjump

  • Newbie
  • *
  • Posts: 2
    • View Profile
SIP drink provide / Small carrier for a NGO
« on: September 09, 2019, 09:14:30 AM »
Hi Yate Community.
 
We want to build up 4 locations (PBX) in a refugee camp.
Please looks you the graphic/ Picture https://pasteboard.co/IwtnWqpw.png

I search a sample configuration for the providing of a SIP trunk.

Thnaks.

Bye Markus

cc08

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: SIP drink provide / Small carrier for a NGO
« Reply #1 on: September 16, 2019, 06:49:21 AM »
Hi!

If in a week you could not find the answer, then try this option.

First of all, set fixed addresses for each of the 4 asterisk.

Next, regexroute.conf:

Code: [Select]
[once]
$ip_site1=192.168.110.10
$ip_site2=192.168.120.10
$ip_site3=192.168.130.10
$ip_site4=192.168.140.10


[default]
${rtp_forward}possible=;rtp_forward=yes

^4=sip/sip:\0@$(ip_site1)
^5=sip/sip:\0@$(ip_site2)
^6=sip/sip:\0@$(ip_site3)
^7=sip/sip:\0@$(ip_site4)