[asterisk-users] No extension found ?

Administrator TOOTAI admin at tootai.net
Tue Apr 24 05:14:36 CDT 2012


Le 24/04/2012 09:56, SamyGo a écrit :
> I wonder if anyone from asterisk development can tell about putting a 
> subet in *host=192.168.2.0/26 <http://192.168.2.0/26> *field.
> I fear you may need to declare peers for those ~20 IPs in worst case.
[MyTelco]
...
deny=0.0.0.0/0.0.0.0
permit=1.2.3.4/255.255.240
permit=4.5.6.7/255.255.255
permit= ...

http://www.voip-info.org/wiki/view/Asterisk+sip+permit-deny-mask

>
> On Tue, Apr 24, 2012 at 12:38 PM, Olivier CALVANO <o.calvano at gmail.com 
> <mailto:o.calvano at gmail.com>> wrote:
>
>     Hi Sammy,
>
>     Yes my telco have a lot of IP, i receive a call from ~20 ip ..
>     I can't put a subnet ?
>
>     best regards
>
>     Le 23 avril 2012 07:57, SamyGo <govoiper at gmail.com
>     <mailto:govoiper at gmail.com>> a écrit :
>     > Hi,
>     >
>     >> No matching peer for '+331MYCLID' from '84.xx.xx.72:5060'
>     >
>     >
>     > This line is telling you everything. The peer you've declared
>     isn't being
>     > matched for the incoming call and hence it tries to look in
>     "default"
>     > context (I assume allowguest=yes in your sip.conf)
>     >
>     > Make sure that your peer is matched, since you've qualify=yes
>     defined
>     > execute the command "sip show peer Trunk-Telco" in asterisl CLI
>     and see the
>     > status of the peer.
>     >
>     > What I'm guessing is that the telco has multiple IPs to send you
>     calls and
>     > the incoming call isn't coming from the IP you've declared in
>     your sip
>     > telco-trunk section. I don't think we can set a subnet in
>     > host=87.XX.XX.XX/28 parameter.!!
>     >
>     > Regards,
>     > Sammy.
>     >
>
>     --
>     _____________________________________________________________________
>     -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>     New to Asterisk? Join us for a live introductory webinar every Thurs:
>     http://www.asterisk.org/hello
>
>     asterisk-users mailing list
>     To UNSUBSCRIBE or update options visit:
>     http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>                 http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>     http://lists.digium.com/mailman/listinfo/asterisk-users



More information about the asterisk-users mailing list