Make mess more informative if non-dynamic sip user registers (bug 1186)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2377 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
parent
3edb8bfc21
commit
6f0d8022d1
1 changed files with 1 additions and 1 deletions
|
@ -3790,7 +3790,7 @@ static int register_verify(struct sip_pvt *p, struct sockaddr_in *sin, struct si
|
|||
#endif
|
||||
if (peer) {
|
||||
if (!peer->dynamic) {
|
||||
ast_log(LOG_NOTICE, "Peer '%s' isn't dynamic\n", peer->name);
|
||||
ast_log(LOG_NOTICE, "Peer '%s' is trying to register, but not configured as host=dynamic\n", peer->name);
|
||||
} else {
|
||||
p->nat = peer->nat;
|
||||
transmit_response(p, "100 Trying", req);
|
||||
|
|
Loading…
Reference in a new issue