Project

General

Profile

Actions

Feature #9249

closed

[siproxd] Add config for siptrunk plugin

Added by Grischa Zengel over 5 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Category:
siproxd
Target version:
-
Start date:
01/03/2019
Due date:
% Done:

100%

Estimated time:
Plus Target Version:

Description

I use a sip trunk and it didn't work out of the box.

After adding these four lines to /usr/local/etc/siproxd.conf it did work:

load_plugin=plugin_siptrunk.la
plugin_siptrunk_name = My ITSP
plugin_siptrunk_account = sip:0123456789@sip.myitsp.nneett
plugin_siptrunk_numbers_regex = ^0123456.*$

Please add these plugin to Package -> siproxd -> Settings

Actions #1

Updated by Viktor Gurov about 4 years ago

from siproxd.conf.example:

Plugin_siptrunk

Plugin to handle SIP Trunks where using one single SIP account a
whole number block is routed. This means asn incoming INVITE does carry
the target number (in SIP URI or To: header field) but does not really
carry any clear indications to which account it belongs to.
Thus, we need some help - a mapping of the number blocks used in a SIP
trunk and the corresponding SIP account (as used during REGISTER)

..._name: any name, pure documentation
..._account: SIP account in the form of 'sip:user@host',
identical as used for registration.
..._numbers_regex: REGEX that matches the whole number block associated
with this account

NOTE: plugin_siptrunk is mutually exclusive with plugin_defaulttarget!
if the defaulttartet 'plugin is also active, then all incoming calls
on SIP trunks will be redirected to the default target.

plugin_siptrunk_name = Example Trunk, 555-123100 ... 555-123112
plugin_siptrunk_account = sip:user@sip.example.org
plugin_siptrunk_numbers_regex = ^555123(10[0-9]|11[012])$

https://github.com/pfsense/FreeBSD-ports/pull/780

Actions #2

Updated by Jim Pingle about 4 years ago

  • Status changed from New to Pull Request Review
Actions #3

Updated by Renato Botelho about 4 years ago

  • Status changed from Pull Request Review to Feedback
  • Assignee set to Renato Botelho
  • % Done changed from 0 to 100

PR has been merged. Thanks!

Actions #4

Updated by Alhusein Zawi over 3 years ago

The configuration has been added to /usr/local/etc/siproxd.conf after Enabling SIP Trunk Plugin

load_plugin=plugin_siptrunk.la
plugin_siptrunk_name = SIP Trunk
plugin_siptrunk_account =
plugin_siptrunk_numbers_regex = 123456

siproxd 1.1.4

21.02.a.20210120.2350

Actions #5

Updated by Viktor Gurov over 3 years ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF