SIP trunking with IP validation

dcitelecom

Guru
Joined
Sep 14, 2010
Messages
96
Reaction score
0
A friend of mine wants to send traffic through our system so we need to create a sip trunk that accepts his calls. Unfortunately he can not send username or password so we would have to authenticate his calls by the originating IP address. Is this possible at the trunk level? If yes how would it be done?


I tried already several scenarios in the trunk PEER but nothing seems to be working. The INCOMING section appears to be ignored in this case.
e.g.
type=peer
host=xx.xx.xx.xx
insecure=yes
fromdomain=yy.yy.yy.yy
disallow=all
allow=g729
transport=tcp
Basically I would need
deny=0.0.0.0/0.0.0.0
permit=yy.yy.yy.yy/0.0.0.0
but that does not seem to work either. Can this be done? Any help is appreciated.
 
Thanks but it does not work. I am using Asterisk 1.8 with FreePBX 2.9.

My inbound route points to trunk A with
host = 9.9.9.9 in the incoming settings (not originating IP)
and the call still goes through.

as far as I can tell the inbound routes are ignores and the incoming DIDs are only matched against the peer host
 

Members online

Forum statistics

Threads
26,686
Messages
174,406
Members
20,257
Latest member
Dempan
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Back
Top