[asterisk-users] Asterisk peer definition registration

2014-08-16 Thread Steve Ng
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

Re: [asterisk-users] Asterisk peer definition registration

2014-08-16 Thread Scott Griepentrog
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.1...@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
-- 
_
-- 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

Re: [asterisk-users] Asterisk peer definition registration

2014-08-16 Thread Paul Belanger
On Sat, Aug 16, 2014 at 11:21 AM, Steve Ng steveng.1...@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.belan...@polybeacon.com | IRC: pabelanger (Freenode)
Github: https://github.com/pabelanger | Twitter: https://twitter.com/pabelanger

-- 
_
-- 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


Re: [asterisk-users] Asterisk peer definition registration

2014-08-16 Thread Steve Ng
Is there a way that I could set the configuration for reloading after ITSP
brute force timer expiration?


On Sun, Aug 17, 2014 at 3:51 AM, Paul Belanger paul.belan...@polybeacon.com
 wrote:

 On Sat, Aug 16, 2014 at 11:21 AM, Steve Ng steveng.1...@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.belan...@polybeacon.com | IRC: pabelanger (Freenode)
 Github: https://github.com/pabelanger | Twitter:
 https://twitter.com/pabelanger

 --
 _
 -- 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