-
-
Save kmrtylmz/ce1ce9f552f089a4817c3fdb7d3c46aa to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ; === GLOBAL OPTIONS === | |
| [global] | |
| type=global | |
| keep_alive_interval=30 | |
| ; === GENERIC TEMPLATES === | |
| [generic-endpoint](!) | |
| type=endpoint | |
| disallow=all | |
| allow=g729,alaw | |
| tos_audio=ef | |
| cos_audio=5 | |
| rtp_keepalive=30 | |
| rtp_timeout=60 | |
| rtp_timeout_hold=300 | |
| [generic-auth](!) | |
| type=auth | |
| auth_type=userpass | |
| ; === TRANSPORT TEMPLATES === | |
| [generic-transport](!) | |
| type=transport | |
| external_media_address=1.1.1.1 | |
| external_signaling_address=1.1.1.1 | |
| tos=cs3 | |
| cos=3 | |
| ; === USER TEMPLATES === | |
| [generic-phone-endpoint](!,generic-endpoint) | |
| rtp_symmetric=yes | |
| force_rport=yes | |
| direct_media=no | |
| rewrite_contact=yes | |
| [generic-phone-auth](!,generic-auth) | |
| [generic-phone-aor](!) | |
| type=aor | |
| max_contacts=10 | |
| qualify_frequency=60 | |
| qualify_timeout=10 | |
| [trusted-phone-endpoint](!,generic-phone-endpoint) | |
| context=phones-trusted | |
| media_encryption=sdes | |
| ; === TRUNK TEMPLATES === | |
| [trunk-endpoint](!,generic-endpoint) | |
| transport=udp-transport | |
| [secure-trunk-endpoint](!,generic-endpoint) | |
| transport=tls-transport | |
| media_encryption=sdes | |
| media_encryption_optimistic=yes | |
| [trunk-aor](!) | |
| type=aor | |
| qualify_frequency=60 | |
| qualify_timeout=10 | |
| [trunk-auth](!,generic-auth) | |
| [trunk-reg](!) | |
| type=registration | |
| transport=udp-transport | |
| line=yes | |
| [secure-trunk-reg](!) | |
| type=registration | |
| transport=tls-transport | |
| line=yes | |
| [trunk-ident](!) | |
| type=identify | |
| ; === TRANSPORTS === | |
| [udp-transport](generic-transport) | |
| protocol=udp | |
| bind=1.1.1.1:1991 | |
| [tls-transport](generic-transport) | |
| protocol=tls | |
| bind=1.1.1.1:1992 | |
| cert_file=/etc/ssl/certs/public.crt | |
| priv_key_file=/etc/ssl/private/private.key | |
| ; === USERS === | |
| ; Just another account for CSipSimple | |
| [user1](trusted-phone-endpoint) | |
| auth=user1 | |
| aors=user1 | |
| callerid=user1 | |
| [user1](generic-phone-auth) | |
| username=user1 | |
| password=qwerty | |
| [user1](generic-phone-aor) | |
| ; === TRUNKS === | |
| ; SIPNET | |
| [sipnet](trunk-endpoint) | |
| context=from-sipnet | |
| outbound_auth=sipnet | |
| aors=sipnet | |
| from_user=12345 | |
| from_domain=sipnet.ru | |
| [sipnet](trunk-aor) | |
| contact=sip:sipnet.ru | |
| [sipnet](trunk-auth) | |
| username=12345 | |
| password=qwerty | |
| [sipnet](trunk-reg) | |
| outbound_auth=sipnet | |
| server_uri=sip:sipnet.ru | |
| client_uri=sip:12345@sipnet.ru | |
| endpoint=sipnet | |
| ;[sipnet](secure-trunk-endpoint) | |
| ;context=from-sipnet | |
| ;outbound_auth=sipnet | |
| ;aors=sipnet | |
| ;from_user=12345 | |
| ;from_domain=sipnet.ru | |
| ; | |
| ;[sipnet](trunk-aor) | |
| ;contact=sip:sipnet.ru:5061\;transport=tls\;lr | |
| ; | |
| ;[sipnet](trunk-auth) | |
| ;username=12345 | |
| ;password=qwerty | |
| ; | |
| ;[sipnet](secure-trunk-reg) | |
| ;outbound_auth=sipnet | |
| ;server_uri=sip:sipnet.ru:5061\;transport=tls\;lr | |
| ;client_uri=sip:12345@sipnet.ru:5061\;transport=tls\;lr | |
| ;endpoint=sipnet | |
| ; Zadarma | |
| [zadarma](trunk-endpoint) | |
| context=from-zadarma | |
| outbound_auth=zadarma | |
| aors=zadarma | |
| from_user=12345 | |
| from_domain=sip.zadarma.com | |
| [zadarma](trunk-aor) | |
| contact=sip:sip.zadarma.com | |
| [zadarma](trunk-auth) | |
| username=12345 | |
| password=qwerty | |
| [zadarma](trunk-reg) | |
| outbound_auth=zadarma | |
| server_uri=sip:sip.zadarma.com | |
| client_uri=sip:12345@sip.zadarma.com | |
| endpoint=zadarma | |
| ; VoIP.UA | |
| [voipua](trunk-endpoint) | |
| context=from-voipua | |
| outbound_auth=voipua | |
| aors=voipua | |
| from_user=12345 | |
| from_domain=sip.voip.ua | |
| [voipua](trunk-aor) | |
| contact=sip:sip.voip.ua | |
| [voipua](trunk-auth) | |
| username=12345 | |
| password=qwerty | |
| [voipua](trunk-reg) | |
| outbound_auth=voipua | |
| server_uri=sip:sip.voip.ua | |
| client_uri=sip:12345@sip.voip.ua | |
| endpoint=voipua | |
| ; UkrCall | |
| [ukrcall](trunk-endpoint) | |
| context=from-ukrcall | |
| outbound_auth=ukrcall | |
| aors=ukrcall | |
| from_user=12345 | |
| from_domain=ukrcall.daktela.com | |
| [ukrcall](trunk-aor) | |
| contact=sip:ukrcall.daktela.com | |
| [ukrcall](trunk-auth) | |
| username=12345 | |
| password=qwerty | |
| [ukrcall](trunk-reg) | |
| outbound_auth=ukrcall | |
| server_uri=sip:ukrcall.daktela.com | |
| client_uri=sip:12345@ukrcall.daktela.com | |
| endpoint=ukrcall | |
| ; SIP2SIP | |
| [sip2sip](trunk-endpoint) | |
| context=from-sip2sip | |
| outbound_auth=sip2sip | |
| aors=sip2sip | |
| from_user=12345 | |
| from_domain=sip2sip.info | |
| [sip2sip](trunk-aor) | |
| contact=sip:sip2sip.info | |
| [sip2sip](trunk-auth) | |
| username=12345 | |
| password=qwerty | |
| [sip2sip](trunk-reg) | |
| outbound_auth=sip2sip | |
| server_uri=sip:sip2sip.info | |
| client_uri=sip:12345@sip2sip.info | |
| endpoint=sip2sip | |
| ; OnSIP | |
| [onsip](trunk-endpoint) | |
| context=from-onsip | |
| outbound_auth=onsip | |
| aors=onsip | |
| from_user=12345 | |
| from_domain=getonsip.com | |
| outbound_proxy=sip:sip.onsip.com | |
| [onsip](trunk-aor) | |
| contact=sip:sip.onsip.com | |
| [onsip](trunk-auth) | |
| username=getonsip_12345 | |
| password=qwerty | |
| [onsip](trunk-reg) | |
| outbound_auth=onsip | |
| server_uri=sip:getonsip.com | |
| client_uri=sip:12345@getonsip.com | |
| endpoint=onsip | |
| ; OpenSIPS | |
| [opensips](trunk-endpoint) | |
| context=from-opensips | |
| outbound_auth=opensips | |
| aors=opensips | |
| from_user=12345 | |
| from_domain=opensips.org | |
| [opensips](trunk-aor) | |
| contact=sip:opensips.org | |
| [opensips](trunk-auth) | |
| username=12345 | |
| password=qwerty | |
| [opensips](trunk-reg) | |
| outbound_auth=opensips | |
| server_uri=sip:opensips.org | |
| client_uri=sip:12345@opensips.org | |
| endpoint=opensips | |
| [opensips](trunk-ident) | |
| match=opensips.org | |
| endpoint=opensips | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment