Page 1 of 1

"allowguest=no" Inbound Dialing from multiple IPs

PostPosted: Wed Jun 13, 2018 12:22 pm
by vkad
We use plivo and they have everchanging IPs for inbound routes. They have around 50 ips they send calls from and they keep changing.


How can we allow this to work?

Thanks

Re: "allowguest=no" Inbound Dialing from multiple IPs

PostPosted: Fri Jun 14, 2019 12:21 pm
by williamconley
Please remember to post the Vicidial version WITH BUILD.

Firewall concern: Do these 50 IPs all belong to the same subnet? If so, just open the entire subnet.

Definitely change allowguest to Yes if your server is whitelisted and you have no non-standard routes that would allow an inbound call to become an outbound call.

You can also have multiple "host=" values in one sip context, if you want to try that route, although different versions of asterisk have treated that differently in the past so test thoroughly.

Re: "allowguest=no" Inbound Dialing from multiple IPs

PostPosted: Sat Jun 22, 2019 9:50 pm
by ambiorixg12
make a template

[twilio_trunks](!)
type=peer
disallow=all
allow=ulaw
allow=alaw
insecure=port,invite
directmedia=no
context=trunkinbound
qualify=yes
dtmfmode=rfc2833
trustrpid=yes
sendrpid=yes
nat=force_rport,comedia
port=5060


[tw0](twilio_trunks)
host=54.172.60.0


[tw1](twilio_trunks)
host=54.172.60.1

[tw2](twilio_trunks)
host=54.172.60.2

[tw3](twilio_trunks)
host=54.172.60.3