Creating SIP Profiles

From berofix - professional SIP gateway
Jump to: navigation, search

Overview

This Howto describes how to create SIP profiles.

Steps

Create a SIP profile with this format:

[general]
Version=[Version number]
Type=[Category name]
Name=[Profile name]
user-settings=[settings-comma separated]
help="General help text"
help-[setting]="Tooltip for the setting, you can repeat this line for all the user settings you need" 
[fixed-settings] [setting]=[value] (repeat this line for all settings with a fixed value)
user-settings are the settings will be shown in the simple mode and the fixed-settings are the settings for the advanced mode.
These settings are valid:
name, user, secret, server_address, register, sip_transport, regrefresh, register_option, hard_reregister, config, matchtype, stunserver, externip, displayname, auth_user
The Profile or a package of profiles as .tar.gz can be uploaded and managed in the GUI.

Example:

[general]
Version=1
Type=VoIP PBX
Name=bestVoIPPBX
user-settings=name,user,secret,server_address
help="Allgemeiner Hilfetext"
help-user="Hilfetext für user!"
help-secret="Hilftext für secret"

[fixed-settings] register=1 sip_transport=udp regrefresh = 300 register_option = validate hard_reregister = 0 config = "dtmfremoval=tdm,dtmfmode=rfc2833,codecs=pcmu:pcma:g729,from_sip_src_setting=from_display" matchtype=fromuser stunserver= externip= displayname= auth_user=


Build a new Firmware