wanpipe-pri-parameters
Below is a list of configuration options for the Sangoma PRI Stack.
When using the Sangoma PRI Stack as a Linux Daemon, your configuration parameters will be located in /etc/wanpipe/smg_pri.conf
When using the Sangoma PRI Stack as a FreeTDM module with FreeSWITCH, your configuration parameters will be located in /usr/local/freeswitch/conf/autoload_configs/freetdm.conf.xml
- switchtype
- signalling
- disable_display_ie
- disable_check_number_format
- caller_name_in_facility
- wait_for_facility_timeout
- calling_party_npi
- called_party_npi
- calling_party_ton
- called_party_ton
- rdnis_ton
- rdnis_npi
switchtype
descr: Specifices the switch variant that you want to use.
possible options:
- national - National ISDN 2
- dms100 - Nortel DMS 100
- 5ess - Lucent 5ESS
- euroisdn - Euro ISDN, ETSI
signalling
descr: Specify switch emulation
possible options:
- pri_cpe - Customer Premise Emulation (when connected against a Telco)
- pri_net - Network Emulation (when connected against another PBX)
disable_display_ie
descr: Disables sending the Display Information Element to improve compatibility with some switches.
possible options:
- yes
- no
disable_check_number_format
descr: On outgoing calls, the PRI stack will check the called number, and reject the call it includes invalid characters. This option disables this feature.
possible options:
- yes
- no
caller_name_in_facility
descr: Some switchtypes (usually NI-2) send the Caller-ID Name in a Q931 FACILITY message, after the initial SETUP message is sent. When this option is enabled, the PRI Stack will wait for wait_for_facility_timeout milliseconds for the Caller-ID Name to be delivered. If the timeout is reached and the FACILITY message is not received, the PRI Stack will proceed with the call without the Caller-ID Name.
possible options:
- yes
- no
wait_for_facility_timeout
descr : When caller_name_in_facility is enabled, this is the timeout to wait for the FACILITY message.
possible options:
- any value in milliseconds
calling_party_npi, calling_party_ton
called_party_npi, called_party_ton
rdnis_ton, rdnis_npi
descr: This will override the Numbering Plan Identification (NPI) or Type of Number (TON) specified by the application on outgoing calls.
Note: If you are using Freeswitch, and the NPI/TON is not specified properly, it is recommended to specify this value in the Freeswitch dialplan, so you can specify different values per call. (see FreeTDM appendix)
possible values:
You will need the numeric ISDN values:
| TON | NPI | |||
| Option | Value | Option | Value | |
| Unknown | 0 | Unknown | 0 | |
| International | 1 | ISDN/E.164 | 1 | |
| National | 2 | Data/X.121 | 3 | |
| Network Specific | 3 | Telex/F.69 | 4 | |
| Subscriber | 4 | National | 8 | |
| Abbreviated | 6 | Private | 9 | |
| Reserved | 7 | Reserved | 15 | |