Audiocodes IP phone config files

From FreeSWITCH Wiki

Revision as of 05:05, 25 July 2011 by Yehavi (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Audiocodes IP phone configuration guides

The configuration file is a simple list of lines in the format key=value. It is recommened to save the configuration file from a phone and then work on it. It is also suggested to split it into three files: A common one for all phones with the default config, one specific for the site and one specific for each phone.

Upon boot the phone looks for two files: mac-address.cfg (configuration) and mac-address.sd (speed dial/BLF). Each of these can include other files.

In the examples bellow we'll show only the non-standard configuration parameters:

mac-address.cfg:

include common_320.cfg
provisioning/speed_dial_uri=mac-address.sd   (For speed dials and BLF).
voip/line/0/enabled=1    (one line on 310, 4 lines (0-3) on 320).
voip/line/0/id=8000
voip/line/0/description=Me
voip/line/0/auth_name=8000
voip/line/0/auth_password=PasswordChangeMe
voip/line/0/do_not_disturb/activated=0
voip/line/1/enabled=1
...
personal_settings/language=ENGLISH
personal_settings/lcd_contrast=8

mac-address.sd: The format is: index,number,BLF-enabled

1,86800,1  (first key, BLF is on)
2,86800,0  (Second key - only speed dial, no BLF).
12,*55,0   (last key, only speed dial).

common_320.cfg (included from each specific file):

system/type=320HD   (must tell which phone it is)
include common_320_site.cfg  (include the site specific config)
system/watchdog/enabled=1
system/syslog/log_watchdog_events=0
... (the rest is as saved from the phone configuration).

common_320_site.cfg (included from common_320.cfg):

system/user_name=admin
system/password=Encrypted password (set on the phone and save the config).
system/syslog/server_address=10.0.0.1
system/ntp/enabled=1
system/ntp/primary_server_address=10.0.0.1
system/ntp/secondary_server_address=10.0.0.1
system/ntp/gmt_offset=+02:00
system/ntp/sync_time/days=0
system/ntp/sync_time/hours=12
system/ntp/daylight_saving/activate=ENABLE
system/ntp/daylight_saving/start_date/month=4
system/ntp/daylight_saving/start_date/day=1
system/ntp/daylight_saving/start_date/hour=2
system/ntp/daylight_saving/start_date/minute=0
system/ntp/daylight_saving/end_date/month=10
system/ntp/daylight_saving/end_date/day=2
system/ntp/daylight_saving/end_date/hour=2
system/ntp/daylight_saving/end_date/minute=0
system/ntp/daylight_saving/offset=60
provisioning/certificate/ca_uri=cafile.pem  (the same as in freeswitch/conf/ssl/cafile.pem)
voip/signalling/sip/transport_protocol=UDP  (or TLS)
voip/signalling/sip/port=5060
voip/signalling/sip/proxy_address=10.0.0.1
voip/signalling/sip/proxy_port=5060
voip/signalling/sip/auth_retries=4
voip/signalling/sip/proxy_timeout=3600
voip/signalling/sip/sip_registrar/enabled=1
voip/signalling/sip/sip_registrar/port=5060
voip/signalling/sip/sip_registrar/addr=10.0.0.1
voip/signalling/sip/sip_outbound_proxy/enabled=0
voip/signalling/sip/sip_outbound_proxy/port=5060
voip/signalling/sip/sip_outbound_proxy/addr=0.0.0.0
voip/signalling/sip/digit_map=8xxxx|2xxxx   (Your specific dialplan)
voip/signalling/sip/redundant_proxy/enabled=1
voip/signalling/sip/redundant_proxy/port=5060
voip/signalling/sip/redundant_proxy/address=10.0.0.2
voip/signalling/sip/redundant_proxy/keepalive_period=60
voip/signalling/sip/redundant_proxy/symmetric_mode=0
voip/signalling/sip/display_name_in_registration_msg/enabled=0
voip/media/out_of_band_dtmf=RFC2833
voip/media/dtmf_payload=101
voip/media/rtp_mute_on_hold=1
voip/services/application_server_type=FreeSWITCH  (or ASTERISK ...)
voip/services/msg_waiting_ind/enabled=1
voip/services/msg_waiting_ind/subscribe=1
voip/services/msg_waiting_ind/subscribe_port=5060
voip/services/msg_waiting_ind/subscribe_address=10.0.0.1
voip/services/msg_waiting_ind/expiraition_timeout=3600
voip/services/msg_waiting_ind/voice_mail_number=80666
voip/services/busy_lamp_field/enabled=1
voip/services/busy_lamp_field/subscription_period=3600
voip/services/busy_lamp_field/application_server/use_registrar=1
voip/services/busy_lamp_field/application_server/addr=10.0.0.1
voip/services/busy_lamp_field/uri=
voip/services/msg_waiting/stutter_tone_duration=2500
voip/auto_answer/enabled=1  (Needed for Intercom to work).

TLS setup

In order to set TLS you have to create two files with extension .cer which have the following:

cafile.cer - identical to /usr/local/freeswitch/conf/ssl/cafile.pem
key.cer - contains conf/ssl/agent.pem with the parts reversed: first the key and then the certificate.

Then, at the config file add the following two lines:

provisioning/certificate/ca_uri=cafile.cer
provisioning/certificate/private_key_uri=key.cer


See also

Personal tools

Community
Support FreeSWITCH