Hi, I am using Asterisk currently as a SIP proxy to a SIP provider. Inside my real-time, I would set the SIP credential based on what the user has provided. For example [name] type=peer defaultuser=USER_PROVIDED secret=USER_PROVIDED host=USER_PROVIDED When I reset Asterisk, Asterisk will attempt to register with the sip provider. And if there are sufficiently amount of records with invalid credentials, I'll get blocked by the SIP provider as they might think that I'm brute forcing. Just a question to check if there's any chance I could ask Asterisk not to register when I reset. Or is there any other possible solution for this? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20140816/6ce4c7e3/attachment.html>
Scott Griepentrog
2014-Aug-16 17:14 UTC
[asterisk-users] Asterisk peer definition registration
Registering on a configuration reload (or startup) is written into the code of chan_sip. There isn't a way to defeat that using configuration. Since you presumably are not attempting to register with invalid credentials, the fact that you sometimes have a higher frequency of successful registrations should not be a trigger for being blocked. I would work with them to identify precisely why they are blocking you and if you are not doing anything wrong suggest they review their policy. On Sat, Aug 16, 2014 at 10:21 AM, Steve Ng <steveng.1988 at gmail.com> wrote:> Hi, > > I am using Asterisk currently as a SIP proxy to a SIP provider. Inside my > real-time, I would set the SIP credential based on what the user has > provided. > > For example > > [name] > type=peer > defaultuser=USER_PROVIDED > secret=USER_PROVIDED > host=USER_PROVIDED > > When I reset Asterisk, Asterisk will attempt to register with the sip > provider. And if there are sufficiently amount of records with invalid > credentials, I'll get blocked by the SIP provider as they might think that > I'm brute forcing. > > Just a question to check if there's any chance I could ask Asterisk not to > register when I reset. Or is there any other possible solution for this? > > -- > _____________________________________________________________________ > -- 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 >-- [image: Digium logo] Scott Griepentrog Digium, Inc ? Software Developer 445 Jan Davis Drive NW ? Huntsville, AL 35806 ? US direct/fax: +1 256 428 6239 ? mobile: +1 317 507 4029 Check us out at: http://digium.com ? http://asterisk.org -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20140816/90e39d31/attachment.html>
Paul Belanger
2014-Aug-16 19:51 UTC
[asterisk-users] Asterisk peer definition registration
On Sat, Aug 16, 2014 at 11:21 AM, Steve Ng <steveng.1988 at gmail.com> wrote:> Hi, > > I am using Asterisk currently as a SIP proxy to a SIP provider. Inside my > real-time, I would set the SIP credential based on what the user has > provided. > > For example > > [name] > type=peer > defaultuser=USER_PROVIDED > secret=USER_PROVIDED > host=USER_PROVIDED > > When I reset Asterisk, Asterisk will attempt to register with the sip > provider. And if there are sufficiently amount of records with invalid > credentials, I'll get blocked by the SIP provider as they might think that > I'm brute forcing. > > Just a question to check if there's any chance I could ask Asterisk not to > register when I reset. Or is there any other possible solution for this? >No, only reload after your ITSP brute force timer has expired. -- Paul Belanger | PolyBeacon, Inc. Jabber: paul.belanger at polybeacon.com | IRC: pabelanger (Freenode) Github: https://github.com/pabelanger | Twitter: https://twitter.com/pabelanger