<div dir="ltr">I see, really thank you ... I have just migrated my config. By the way ... is pjsip realtime supporting realtime registrations?<div><br></div><div>Leandro</div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-09-08 21:23 GMT+02:00 Joshua Colp <span dir="ltr"><<a href="mailto:jcolp@digium.com" target="_blank">jcolp@digium.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 15-09-08 04:21 PM, Leandro Dardini wrote:<br>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
I have some problem finding a smart way to add inbound trunks ip<br>
authentication. I don't want to set allowguests=yes<br>
<br>
Some of my providers just list some IP and I add them like:<br>
<br>
[provider](!)<br>
context=fromoutside<br>
type=friend<br>
insecure=port,invite<br>
disallow=all<br>
allow=g729<br>
allow=ulaw<br>
allow=alaw<br>
canreinvite=no<br>
<br>
[magrathea1](provider)<br>
host=<a href="tel:87.238.72.129" value="+18723872129" target="_blank">87.238.72.129</a><br>
[magrathea2](provider)<br>
host=<a href="tel:87.238.72.130" value="+18723872130" target="_blank">87.238.72.130</a><br>
[magrathea3](provider)<br>
host=<a href="tel:87.238.72.131" value="+18723872131" target="_blank">87.238.72.131</a><br>
[magrathea4](provider)<br>
host=<a href="tel:87.238.72.132" value="+18723872132" target="_blank">87.238.72.132</a><br>
<br>
But some providers are not giving single IP, but networks, like<br>
</span><a href="http://37.157.52.128/25" rel="noreferrer" target="_blank">37.157.52.128/25</a> <<a href="http://37.157.52.128/25" rel="noreferrer" target="_blank">http://37.157.52.128/25</a>> and other also /24<br>
</blockquote>
<br>
chan_sip requires you to use individual entries like this. The res_pjsip functionality in 13 and above allows multiple IPs and ranges in a single identify section.<span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
Joshua Colp<br>
Digium, Inc. | Senior Software Developer<br>
445 Jan Davis Drive NW - Huntsville, AL 35806 - US<br>
Check us out at: <a href="http://www.digium.com" rel="noreferrer" target="_blank">www.digium.com</a> & <a href="http://www.asterisk.org" rel="noreferrer" target="_blank">www.asterisk.org</a><br>
<br>
-- <br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
              <a href="http://www.asterisk.org/hello" rel="noreferrer" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
  <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" rel="noreferrer" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</font></span></blockquote></div><br></div>