minor fixes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7079 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
parent
6f45949ca1
commit
8605bf0104
2 changed files with 3 additions and 3 deletions
|
@ -1,5 +1,7 @@
|
|||
2005-11-11 Kevin P. Fleming <kpfleming@digium.com>
|
||||
|
||||
* channels/chan_sip.c (transmit_invite): remove useless debug message; don't try to add OSP tokens to OPTIONS pings
|
||||
|
||||
* apps/app_voicemail.c (close_mailbox): properly remove deleted messages at mailbox close time (issue #5663)
|
||||
|
||||
2005-11-11 Mark Spencer <markster@digium.com>
|
||||
|
|
|
@ -4845,11 +4845,9 @@ static int transmit_invite(struct sip_pvt *p, int sipmethod, int sdp, int init)
|
|||
add_header(&req, "Referred-By", p->referred_by);
|
||||
}
|
||||
#ifdef OSP_SUPPORT
|
||||
if (p->options && !ast_strlen_zero(p->options->osptoken)) {
|
||||
if ((req.method != SIP_OPTIONS) && p->options && !ast_strlen_zero(p->options->osptoken)) {
|
||||
ast_log(LOG_DEBUG,"Adding OSP Token: %s\n", p->options->osptoken);
|
||||
add_header(&req, "P-OSP-Auth-Token", p->options->osptoken);
|
||||
} else {
|
||||
ast_log(LOG_DEBUG,"NOT Adding OSP Token\n");
|
||||
}
|
||||
#endif
|
||||
if (p->options && !ast_strlen_zero(p->options->distinctive_ring))
|
||||
|
|
Loading…
Reference in a new issue