<div class="gmail_extra">Thats not gonna work TOOTAi, </div><div class="gmail_extra">that's just ACL thing you wrote. The peer IP is only going to be matched against the host= field.</div><div class="gmail_extra">correct me if I'm wrong on this.</div>
<div class="gmail_extra"><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Apr 24, 2012 at 3:14 PM, Administrator TOOTAI <span dir="ltr"><<a href="mailto:admin@tootai.net" target="_blank">admin@tootai.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Le 24/04/2012 09:56, SamyGo a écrit :<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I wonder if anyone from asterisk development can tell about putting a subet in *host=<a href="http://192.168.2.0/26" target="_blank">192.168.2.0/26</a> <<a href="http://192.168.2.0/26" target="_blank">http://192.168.2.0/26</a>> *field.<div class="im">
<br>
I fear you may need to declare peers for those ~20 IPs in worst case.<br>
</div></blockquote>
[MyTelco]<br>
...<br>
deny=<a href="http://0.0.0.0/0.0.0.0" target="_blank">0.0.0.0/0.0.0.0</a><br>
permit=<a href="http://1.2.3.4/255.255.240" target="_blank">1.2.3.4/255.255.240</a><br>
permit=<a href="http://4.5.6.7/255.255.255" target="_blank">4.5.6.7/255.255.255</a><br>
permit= ...<br>
<br>
<a href="http://www.voip-info.org/wiki/view/Asterisk+sip+permit-deny-mask" target="_blank">http://www.voip-info.org/wiki/<u></u>view/Asterisk+sip+permit-deny-<u></u>mask</a><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
<br>
On Tue, Apr 24, 2012 at 12:38 PM, Olivier CALVANO <<a href="mailto:o.calvano@gmail.com" target="_blank">o.calvano@gmail.com</a> <mailto:<a href="mailto:o.calvano@gmail.com" target="_blank">o.calvano@gmail.com</a>>> wrote:<br>
<br>
Hi Sammy,<br>
<br>
Yes my telco have a lot of IP, i receive a call from ~20 ip ..<br>
I can't put a subnet ?<br>
<br>
best regards<br>
<br>
Le 23 avril 2012 07:57, SamyGo <<a href="mailto:govoiper@gmail.com" target="_blank">govoiper@gmail.com</a><br></div>
<mailto:<a href="mailto:govoiper@gmail.com" target="_blank">govoiper@gmail.com</a>>> a écrit :<div><div class="h5"><br>
> Hi,<br>
><br>
>> No matching peer for '+331MYCLID' from '84.xx.xx.72:5060'<br>
><br>
><br>
> This line is telling you everything. The peer you've declared<br>
isn't being<br>
> matched for the incoming call and hence it tries to look in<br>
"default"<br>
> context (I assume allowguest=yes in your sip.conf)<br>
><br>
> Make sure that your peer is matched, since you've qualify=yes<br>
defined<br>
> execute the command "sip show peer Trunk-Telco" in asterisl CLI<br>
and see the<br>
> status of the peer.<br>
><br>
> What I'm guessing is that the telco has multiple IPs to send you<br>
calls and<br>
> the incoming call isn't coming from the IP you've declared in<br>
your sip<br>
> telco-trunk section. I don't think we can set a subnet in<br>
> host=87.XX.XX.XX/28 parameter.!!<br>
><br>
> Regards,<br>
> Sammy.<br>
><br>
<br>
--<br>
______________________________<u></u>______________________________<u></u>_________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" 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" 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" target="_blank">http://lists.digium.com/<u></u>mailman/listinfo/asterisk-<u></u>users</a><br>
<br>
<br>
<br>
<br>
--<br>
______________________________<u></u>______________________________<u></u>_________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" 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" 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" target="_blank">http://lists.digium.com/<u></u>mailman/listinfo/asterisk-<u></u>users</a><br>
</div></div></blockquote><div class="HOEnZb"><div class="h5">
<br>
--<br>
______________________________<u></u>______________________________<u></u>_________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" 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" 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" target="_blank">http://lists.digium.com/<u></u>mailman/listinfo/asterisk-<u></u>users</a><br>
</div></div></blockquote></div><br></div>