You could also stagger the re-registration intervals. Using “prime number” of minutes as the intervals set, for example, 9, 11, 17, 23, etc. Will ensure a continuing spread of (very rarely colliding) re-registrations.
how do i set the re-registration interval? i’m sorry if i’m sound newbie-ish, but I have just been on this for a short while… took over someone’s work… so I’m pretty lost here…
I also have access to the asterisk CLI on the provider side, and i realised that whenever 1 DID make a call out, it will “flood” the provider asterisk with alot of warning and notice… i quote it below…
WARNING[3747]: chan_sip.c:11877 check_auth: username mismatch, have , digest has
NOTICE[3747]: chan_sip.c:19067 handle_request_invite: Failed to authenticate device “xxxxxxx2769” sip:[email protected]:1149;tag=as35c3e83b
WARNING[3747]: chan_sip.c:11877 check_auth: username mismatch, have , digest has
NOTICE[3747]: chan_sip.c:19067 handle_request_invite: Failed to authenticate device “xxxxxxx2769” sip:[email protected]:1149;tag=as39baff94
In this case, DID number xxxxxxx769 is making a call, this warning and error will show up 19 times(minus it’s own because it’s authenticated properly), checking through ALL the DID number that exist in the freepbx box.
the number exist on the freepbx DID trunk are:
xxxxxxx769
xxxxxxx768
xxxxxxx767
xxxxxxx766
xxxxxxx765
xxxxxxx764
xxxxxxx763 etc etc etc.
I am guessing this is because all the individual DID trunk registration are registered on port 5060… But i’m not exactly sure… and I don’t think this is good for the asterisk server.
Am I missing out something? or the previous setup was wrong? Can someone show me the right way please? Thanks alot!