diff options
author | Olle Johansson <oej@edvina.net> | 2006-05-19 07:52:08 +0000 |
---|---|---|
committer | Olle Johansson <oej@edvina.net> | 2006-05-19 07:52:08 +0000 |
commit | cd03597f0c874dc3668a9aeb87d8c8b0d5fe49a6 (patch) | |
tree | 0bff3d79c5455fbc964cbbaf2616a32e4fac41b8 /channels/chan_sip.c | |
parent | 53df01c9cc129968af7f97caf0906e7fcc1e2736 (diff) |
Formatting cleanup
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28483 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/chan_sip.c')
-rw-r--r-- | channels/chan_sip.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 9d03955dc..61cc31ca3 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -1954,12 +1954,13 @@ static void register_peer_exten(struct sip_peer *peer, int onoff) if((context = strchr(ext, '@'))) { context++; if (!ast_context_find(context)) { - ast_log(LOG_WARNING, "Context %s must exist in regcontext!\n", context); + ast_log(LOG_WARNING, "Context %s must exist in regcontext= in sip.conf!\n", context); continue; } ext = strsep(&ext, "@"); if (onoff) - ast_add_extension(context, 1, ext, 1, NULL, NULL, "Noop", ast_strdup(peer->name), free, "SIP"); + ast_add_extension(context, 1, ext, 1, NULL, NULL, "Noop", + ast_strdup(peer->name), free, "SIP"); else ast_context_remove_extension(context, ext, 1, NULL); } else { |