Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [system]
- type = system
- timer_t1 = 200
- timer_t2 = 1500
- [global]
- ttype = global
- disable_multi_domain = yes
- ;debug = yes
- taskprocessor_overload_trigger = global
- unidentified_request_count=5
- unidentified_request_period=5
- unidentified_request_prune_interval=30
- endpoint_identifier_order=username,ip,anonymous
- canreinvite=no
- insecure=port,invite
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
- [transport-udp-nat]
- type=transport
- protocol=udp
- bind=0.0.0.0
- local_net=10.20.7.0/24
- ;;;;;;;;kamailio;;;;;;;;;;;
- [kamailio]
- type=endpoint
- transport=transport-udp-nat
- context=from_kamailio
- disallow=all
- allow=alaw
- allow=g722
- allow=ulaw
- aors=kamailio
- direct_media=no
- rtp_symmetric=no
- force_rport=no
- rewrite_contact=no
- [kamailio]
- type =identify
- endpoint=kamailio
- match=10.20.7.122 ;(удален частный IP-адрес kamailio)
- [kamailio]
- type=aor
- contact=sip:10.20.7.122:5060 ;(удален частный IP-адрес kamailio)
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
- [endpoint-template](!)
- type = endpoint
- transport = transport-udp-nat
- context = from-internal
- dtmf_mode = rfc4733
- disallow = all
- allow = ulaw
- allow = alaw
- [auth-template-userpass](!)
- type = auth
- auth_type = userpass;
- [aor-template-single-reg](!)
- type = aor
- max_contacts = 1
- ;;;;;;;;;;;users;;;;;;;;;;;;;;;;;;;;;
- [108](endpoint-template)
- auth = auth108
- aors = 108
- callerid = man 108;
- [auth108](auth-template-userpass)
- username = 108
- password = 1JKHKJjj23
- [108](aor-template-single-reg)
- ;;;;;;;;;;;;;;;;109;;;;;;;;;;;;;;;;;;;;;
- [109](endpoint-template)
- auth = auth109
- aors = 109
- callerid = man 109;
- [auth109](auth-template-userpass)
- username = 109
- password = 123dsvHGuill
- [109](aor-template-single-reg)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement