Actions
Feature #9249
closed[siproxd] Add config for siptrunk plugin
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
Updated by Viktor Gurov about 5 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
Updated by Jim Pingle about 5 years ago
- Status changed from New to Pull Request Review
Updated by Renato Botelho about 5 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!
Updated by Alhusein Zawi over 4 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 = test@test.com
plugin_siptrunk_numbers_regex = 123456
siproxd 1.1.4
21.02.a.20210120.2350
Updated by Viktor Gurov over 4 years ago
- Status changed from Feedback to Resolved
Actions