[siproxd] Add config for siptrunk plugin
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:email@example.com plugin_siptrunk_numbers_regex = ^0123456.*$
Please add these plugin to Package -> siproxd -> Settings
#1 Updated by Viktor Gurov 5 months ago
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:firstname.lastname@example.org plugin_siptrunk_numbers_regex = ^555123(10[0-9]|11)$