ITC-2300 VoIP Lab Sample pjsip.conf File
Revision as of 23:32, 5 November 2019 by BenFranske (talk | contribs)
The following shows an example of the things you may need to change in your pjsip.conf file.
Example Minimal pjsip.conf File Changes
[simpletrans] type=transport protocol=udp bind=0.0.0.0 [2903] ; The value inside the [] will be the username on the device type=endpoint context=default disallow=all allow=ulaw transport=simpletrans auth=debra-auth ; This will be the name for the authentication section of the configuration found below aors=2903 ; This will be the name for the AoRs registration section of the configuration found below it must match the username in the [ ] above trust_id_outbound=yes callerid=Debra Donaldson <2903> ; This is the caller ID name and extension (in the < >) [2903] ; This is the AoRs registration entry. The value in the [ ] must match the endpoint aors line and username in the [ ] type=aor max_contacts=1 [debra-auth] ; This is the authentication entry. The value in the [ ] must match the endpoint auth line type=auth auth_type=userpass password=debrapass ; This is the authentication name used by the endpoint username=debra ; This is the authentication password used by the endpoint
Voicemail pjsip.conf File Changes
You can add the ability to enable the Message Waiting Indicator (MWI) lamp on SIP phones when there is a message in a mailbox. By default Asterisk will send SIP NOTIFY messages when a voicemail is left. Some phones need to subscribe to the MWI information. In that case you need to modify the AoRs section for the phone and add a mailboxes= section.
For Example:
[2903] type=aor max_contacts=1 mailboxes=2903@default