# partysip.conf file
###
### serverip is now AUTODETECTED on linux/*BSD/Win32. (it may work on any Unix)
###
### You can force the order of ip address by giving you
### own list.
###
# serverip = 192.168.1.10, 127.0.0.1
serverip = 192.168.0.4, 127.0.0.1
###
### servername must be edited.
###
### Please give the list of all FQDNs of your host separated by commas.
# servername = sip.wellx.com, wellx.com
# serverport_udp = 5060
servername = 192.168.0.4
# transport protocol: UDP/TCP/SCTP
# transport = udp
###
### Multicast Support option (**sip.mcast.net==224.0.1.75**)
###
# multicast = on
# if_mcast is a linux only option!
# if_mcast = eth0
# on linux, avoid this option and use the above one!
# if_ipmcast = 192.168.1.66
###
### Simple NAT configuration.
###
### To use this feature, you have to:
### * use a UA that can be configured to always use
### a static RTP port.
### * configure each UAs of the LAN to use a different
### RTP port.
### * *OPTIONNAL* configure each UAs of the LAN to use
### the static ip of the NAT in SDP packet. If you
### can't do this, enable the masquerade_sdp option.
### * define a static configuration on your NAT to forward
### incoming RTP streams to each UAs.
###
### You may find still some trouble while using it:
### behavior: you don't receive any answer:
### problem: you are calling a non compliant UA.
### solution: enable the masquerade_via option and
### set it to the ip/host of your NAT. It's a good
### idea to always set it as a lot of UAs doesn't
### follow the spec for sending the final response.
#remote_natip = sip.no-ip.org
# Show ip of NAT in Via in outgoing request. (useless
# with remote rf3261 compliant SIP application)
#masquerade_via = on
# If the LAN UA cannot be configuread to write the ip
# of the NAT in SDP packets, then you have to enable
# this option to modify SDP packet.
#masquerade_sdp = on
###
### *Experimental : NAT feature.
###
### This feature is more experimental but allow you
### to get a dynamic NAT configuration instead of
### a static one. The NAT must run on linux and must
### have a patched version of iptables running on
### the NAT.
### download it at osip.atosc.org/download/partysip/
# iptables_dynamic_natrule = on
# iptables_server = sip.no-ip.org
# iptables_port = 25990
# The following config is supported by linux only.
# if_ext = ppp0
# if_lan = eth0
# The following config is supported for all platforms. (and replace
# the above one for non linux systems).
# if_extip = 80.11.86.26
# if_extmask = 255.255.255.255
# if_lanip = 192.168.1.2
# if_lanmask = 255.255.255.0
#plugins = udp syntax filter auth rgstrar ls_localdb ls_sfull
plugins = udp syntax rgstrar ls_localdb
###
### rfc3327: Extension Header Field for Registering Non-Adjacent Contacts
### If your registrar is not managed here but outside of your LAN, then you
### should enable this option so incoming requests will traverse this proxy.
### *** EXPERIMENTAL feature -partysip-0.5.3- ***
# rfc3327 = on
###
### Interoperability issue:
###
# With Cisco ATA (version v2.15 ata18x)
# More generally, if you can't CANCEL calls, try to uncomment this:
#disable_check_for_to_tag_in_cancel = on
###
### This is now randomly created. Do not define it any more.
###
#
# magicstring = sip_no-ip_org_a45bc357
###
### dbm file for saving data about users in a file.
### **This enable recovery of locations after a crash**
###
# recovery_file = /usr/local/etc/partysip/users.dbm
# delay between flushes in the dbm file.
# recovery_delay = 10
# ask for authentication on/off
serverrealm = "home"
authentication = off
###
### END OF GLOBAL CONFIGURATION INFO
###
###
### sub configs for plugins.
###
####
#### Syntax plugin.
# allowed_schemes sip,sips
allowed_schemes sip
####
#### Filter plugin.
# mode statefull
# record-route on
#filter_scope internal
#filter_scope external
# Here is a sample for defining a private dialing plan:
# forward ^tel:07([0-9]+)|sip:0033%1@internationnal.operator1.org;user=phone
# forward ^tel:0[89]([0-9]+)|sip:713@192.168.1.83;user=phone
# forward ^tel:(1[01])([0-9]+)|sip:%1%2@g1.france.com
# forward ^tel:12([0-9]+)|sip:%1@g2.france.com
# forward ^tel:13([0-9]+)|sip:g3.us.com
# forward ^tel:([0-9]+)|sip:%s@default.world-operator.com
####
#### sfull plugin.
#record-route off
####
#### localdb plugin.
#mode redirect
mode statefull
#record-route off
record-route on
####
#### ldapdb plugin.
ldap_server 127.0.0.1:389
## do not use: ldap_port=389 see above
ldap_rootdn cn=admin,dc=uupost,dc=net
#ldap_rootdn cn=partysipdn,o=company.com,ou=people
ldap_rootpw=partysippw
ldap_cryptpw text
ldap_scope base
ldap_basedn uid=%uid%,ou=People,dc=uupost,dc=net
ldap_filter mail=*
#ldap_email_attr preferredrfc822originator
#ldap_firstname_attr givenname
#ldap_lastname_attr sn
####
#### userinfo plugin (used by rgstrar and auth plugin).
# static user list of known users
#
# for "user" type:
#
# user sip:jack@tosc.org jack secret
#user sip:jack@atosc.org lgin pwd
#user sip:cha@atosc.org lgin pwd
#user sip:joe@atosc.org lgin pwd
#user sip:jill@atosc.org lgin pwd