Hello, I am trying to configure SIP IP BASED AUTHENTICATION, But failed to make Inbound and Outbound. Here is my real configuration:
[my-siptrunk-auth]
type=auth
auth_type=userpass
username=222333444
[my-siptrunk-aor]
type=aor
contact=sip:192.x.x.x.x:5060
[my-siptrunk]
type=endpoint
context=from-pstn
disallow=all
allow=g722
allow=ulaw
allow=g729
outbound_auth=my-siptrunk-auth
aors=my-siptrunk-aor
[my-siptrunk-registration]
type=registration
transport=transport-udp
outbound_auth=my-siptrunk-auth
server_uri=sip:192.x.x.x.x:5060:5060
client_uri=sip:222333444@192.x.x.x.x:5060:5060
contact_user= 222333444
outbound_auth=my-siptrunk-auth
retry_interval=60
[my-siptrunk-identify]
type=identify
match=192.x.x.x.x
endpoint=my-siptrunk
Any missing Please?