diff options
author | Tilghman Lesher <tilghman@meg.abyt.es> | 2008-05-02 02:33:04 +0000 |
---|---|---|
committer | Tilghman Lesher <tilghman@meg.abyt.es> | 2008-05-02 02:33:04 +0000 |
commit | b11854445b07bfd38fd497ecdb1df94bf1ab7355 (patch) | |
tree | ee050a5776fcef01d006a9c4e447f3240686014f /channels | |
parent | 9e82fd7ec4c6b2ba250ba2c204fbb4fbd415f31c (diff) |
Add attributes to various API calls, to help track down bugs (and remove a deprecated function)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115157 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels')
-rw-r--r-- | channels/chan_sip.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 68fb035b9..50ac09bfb 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -4607,7 +4607,7 @@ static void __sip_destroy(struct sip_pvt *p, int lockowner, int lockdialoglist) /* Destroy Session-Timers if allocated */ if (p->stimer) { if (p->stimer->st_active == TRUE && p->stimer->st_schedid > -1) - ast_sched_del(sched, p->stimer->st_schedid); + AST_SCHED_DEL(sched, p->stimer->st_schedid); ast_free(p->stimer); p->stimer = NULL; } @@ -15978,7 +15978,7 @@ static int handle_response_register(struct sip_pvt *p, int resp, char *rest, str case 423: /* Interval too brief */ r->expiry = atoi(get_header(req, "Min-Expires")); ast_log(LOG_WARNING, "Got 423 Interval too brief for service %s@%s, minimum is %d seconds\n", p->registry->username, p->registry->hostname, r->expiry); - ast_sched_del(sched, r->timeout); + AST_SCHED_DEL(sched, r->timeout); r->timeout = -1; if (r->call) { r->call = dialog_unref(r->call, "unsetting registry->call pointer-- case 423"); |