mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-16 23:08:32 +00:00
- Use systemname for realm in sip, if we have no configuration for realm
- Optionally send systemname in manager (cool when you have a manager proxy) - Use systemname in CLI prompt git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26884 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1644,6 +1644,9 @@ static char *cli_prompt(EditLine *el)
|
||||
}
|
||||
break;
|
||||
#endif
|
||||
case 's': /* Asterisk system name (from asterisk.conf) */
|
||||
strncat(p, ast_config_AST_SYSTEM_NAME, sizeof(prompt) - strlen(prompt) - 1);
|
||||
break;
|
||||
case 't': /* time */
|
||||
memset(&tm, 0, sizeof(tm));
|
||||
time(&ts);
|
||||
|
||||
Reference in New Issue
Block a user