On Fri, 2019-03-01 at 14:15 -0500, Joshua C. Colp wrote:
> 
> You either configure IP based matching using an identify section[1] 

That's what I did:

[itsp]
type=registration
transport=transport-udp
outbound_auth=itsp-auth
server_uri=sip:pop1.itsp.example.com
client_uri=sip:[email protected]

[itsp-auth]
type=auth
auth_type=userpass
password=XXX
username=XXX

[itsp-endpoint](!)
type=endpoint
transport=transport-udp
context=from-itsp
message_context=messages
disallow=all
allow=ulaw
from_user=XXX
outbound_auth=itsp-auth
auth=itsp-auth
send_pai=yes

[itsp-aor](!)
type=aor
qualify_frequency=15

[itsp-pop1](itsp-endpoint)
aors=itsp-pop1
[itsp-pop1](itsp-aor)
contact=sip:[email protected]:5060

[itsp-pop1]
type=identify
endpoint=itsp-pop1
;match=pop1.itsp.example.com
match=192.168.5.6

but SIP INVITE and SIP MESSAGE packets coming from 192.168.5.6 are
still being challenged with 401 and not even printing any
errors/warnings in the console about not being able to find an
endpoint.

> or you can try line functionality on the outbound registration which
> may or may not work[2] (requires the upstream to adhere to the RFC,
> which not all do).

I'll read up on that and try in the meanwhile.

Cheers,
b.

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
      https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to