Project

General

Profile

Feature #9249

[siproxd] Add config for siptrunk plugin

Added by Grischa Zengel almost 2 years ago. Updated 8 months ago.

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

100%

Estimated time:

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

History

#1 Updated by Viktor Gurov 8 months 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

#2 Updated by Jim Pingle 8 months ago

  • Status changed from New to Pull Request Review

#3 Updated by Renato Botelho 8 months 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!

Also available in: Atom PDF