2012-08-03

Howdy,

Both the general section and every single type are documented and contain examples here:
https://wiki.asterisk.org/wiki/display/ ... figuration

Based 100% on the examples from that wiki page, and actually used by me, here's an example general section:

Code:
[general]
globalpin=1234
userlist_auth=globalpin
config_auth=pin
mdns_address=10.1.2.3
mdns_port=5060
service_name=Go 4 Phones
service_discovery_enabled=yes
firmware_package_directory=/var/www/firmware
file_directory=/var/lib/asterisk/digium_phones
message_context=dpma_message_context

Based 100% on the examples from that wiki page, and actually used by me, here's an example network section, with some options commented out, that you probably don't want to turn on by default:

Code:
[default-network]
type=network
alias=Default Network
cidr=0.0.0.0/0
registration_address=10.1.2.3
registration_port=5060
file_url_prefix=http://10.1.2.3/firmware
ntp_server=0.digium.pool.ntp.org
;syslog_server=10.1.2.3
;syslog_port=514
;syslog_level=error
network_vlan_discovery_mode=LLDP
;network_vlan_qos=7
;network_vlan_id=3
;sip_dscp=24
;rtp_dscp=46

Based 100% on the examples from that wiki page, and actually used by me, here's an example ringtone section (I have a 16kHz mono channel wav file called ringding10.wav that's located at http://10.1.2.3/firmware/ringding10.wav):

Code:
[default-ringtone]
type=ringtone
alias=RingDing
filename=ringding10.wav

Based 100% on the examples from that wiki page, and actually used by me, here's an example alert section:

Code:
[default-alert]
type=alert
alert_info=ai-potato
ring_type=ring-answer
ringtone=GuitarStrum

Based 100% on the examples from that wiki page, and actually used by me, here's an example phone section, with some items commented out that aren't pertinent for my setup:

Code:
[malcolm]
type=phone
network=default-network
;mac=0123456789ab
pin=5678
line=301
;external_line=
application=malcolm-sales-queue
;config_file=
full_name=Malcolm
contact=malcolm.xml
blf_contact_group=Directory
timezone=America/Chicago
ntp_resync=86400
parking_exten=700
parking_transfer_type=blind
ringtone=default-ringtone
active_ringtone=default-ringtone
web_ui_enabled=yes
record_own_calls=yes
alert=default-alert
blf_unused_linekeys=no
send_to_vm=yes
d40_logo_file=d450.png
d50_logo_file=d450.png
d70_logo_file=d70.png
lock_preferences=no
login_password=789
accept_local_calls=any
display_mc_notification=yes
brightness=5
contrast=5
dim_backlight=no
backlight_timeout=0
backlight_dim_level=0
ringer_volume=5
speaker_volume=5
handset_volume=5
headset_volume=5
reset_call_volume=yes
headset_answer=no
name_format=first_last

Based 100% on the examples from that wiki page, and actually used by me, here's an example line, with some items commented out that aren't pertinent for my setup, because I'm using the messages app on the phone and I'm not using an outbound proxy or storing my SIP peers in realtime:

Code:
[301]
type=line
exten=301
digit_map=999|112|[0-8]xx.T2|[0-8]xxx.T2|9*.T3
line_label=Malcolm 301
;language=
mailbox=malcolm@default
;outboundproxy_address=10.24.18.69
;outboundproxy_port=5060
;voicemail_uri=
transport=udp
reregistration_timeout=300
registration_retry_interval=25
registration_max_retries=5
;secret=
;context=

Based 100% on the examples from that wiki page, and actually used by me, here's an example phone section, with some items commented out that aren't pertinent for my setup:

Code:
[malcolm-sales-queue]
type=application
application=queue
queue=sales-queue
membername=Malcolm
location=SIP/301
member=yes
permission=details
;login_exten=
;logout_exten=

Separately, I've got a SIP peer 301 in sip.conf:

Code:
[301]
disallow=all
allow=g722
callcounter=yes
nat=yes
directmedia=yes
type=friend
host=dynamic
context=testing
dtmfmode=rfc2833
mailbox=malcolm@default

And I've defined a queue in queues.conf (this doesn't have any of the other queue options set except to turn on setinterfacevar so I can get information in the phone's queues app about how long a member has been on-call):

Code:
[sales-queue]
setinterfacevar=yes

Again, if you have questions, the best and first option is Digium's Support department. They can be reached by telephone at +1 256 428 6000 or may be contacted online via - http://www.digium.com/en/users/support-create-a-case/

Statistics : Posted by malcolmd • on Fri Aug 03, 2012 8:02 am • Replies 1 • Views 25

Show more