Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;===============TRANSPORT
- [simpletrans]
- type=transport
- protocol=udp
- bind=0.0.0.0
- ;======= TRUNKS - TRANSPORTS
- [mytrunk]
- type=registration
- outbound_auth=mytrunk
- server_uri=sip:9146271@gateway.localphone.com:5060
- client_uri=sip:9146271@gateway.localphone.com:5060
- ;localphone.com/9146271
- [mytrunk]
- type=auth
- auth_type=userpass
- password=58844da9
- username=9146271
- [mytrunk]
- type=aor
- contact=sip:9146271@gateway.localphone.com:5060
- [mytrunk]
- type=endpoint
- context=from-external
- disallow=all
- allow=ulaw
- outbound_auth=mytrunk
- aors=mytrunk
- dtmf_mode=auto
- [mytrunk]
- type=identify
- endpoint=mytrunk
- match=gateway.localphone.com
- ;================ Services
- [2000]
- type=endpoint
- transport=simpletrans
- context=servicepoints
- disallow=all
- allow=ulaw
- allow=alaw
- ;===============ENDPOINT TEMPLATES
- [endpoint-basic](!)
- type=endpoint
- transport=simpletrans
- context=internal
- disallow=all
- allow=alaw
- allow=ulaw
- [auth-userpass](!)
- type=auth
- auth_type=userpass
- [aor-single-reg](!)
- type=aor
- max_contacts=10
- ;===============EXTENSION 6001
- [6001](endpoint-basic)
- auth=auth6001
- aors=6001
- ;nat=yes
- ;host=dynamic
- [auth6001](auth-userpass)
- password=6001g7ve8s0as
- username=6001
- [6001](aor-single-reg)
- ;===============EXTENSION 6002
- [6002](endpoint-basic)
- auth=auth6002
- aors=6002
- [auth6002](auth-userpass)
- password=6002g7ve8s0as
- username=6002
- [6002](aor-single-reg)
- ;===============EXTENSION 6003
- [6003](endpoint-basic)
- auth=auth6003
- aors=6003
- [auth6003](auth-userpass)
- password=6003g7ve8s0as
- username=6003
- [6003](aor-single-reg)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement