Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] Asterisk peer definition registration


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
steveng.1988 at gmail.com
Guest





PostPosted: Sat Aug 16, 2014 10:21 am    Post subject: [asterisk-users] Asterisk peer definition registration Reply with quote

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? 
Back to top
sgriepentrog at digium...
Guest





PostPosted: Sat Aug 16, 2014 12:14 pm    Post subject: [asterisk-users] Asterisk peer definition registration Reply with quote

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@gmail.com (steveng.1988@gmail.com)> wrote:
Quote:
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




--
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
Back to top
paul.belanger at polyb...
Guest





PostPosted: Sat Aug 16, 2014 2:52 pm    Post subject: [asterisk-users] Asterisk peer definition registration Reply with quote

On Sat, Aug 16, 2014 at 11:21 AM, Steve Ng <steveng.1988@gmail.com> wrote:
Quote:
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@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
Back to top
steveng.1988 at gmail.com
Guest





PostPosted: Sat Aug 16, 2014 9:15 pm    Post subject: [asterisk-users] Asterisk peer definition registration Reply with quote

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.belanger@polybeacon.com (paul.belanger@polybeacon.com)> wrote:
Quote:
On Sat, Aug 16, 2014 at 11:21 AM, Steve Ng <steveng.1988@gmail.com (steveng.1988@gmail.com)> wrote:
Quote:
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@polybeacon.com (paul.belanger@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


Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services