aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xCREDITS6
-rwxr-xr-xchannels/chan_sip.c3
2 files changed, 6 insertions, 3 deletions
diff --git a/CREDITS b/CREDITS
index 2466d9339..8473ec89e 100755
--- a/CREDITS
+++ b/CREDITS
@@ -32,12 +32,14 @@ Jean-Denis Girard - Various contributions from the South Pacific Islands
jd-girard@esoft.pf http://www.esoft.pf
Jac Kersing - Various fixes
Steven Critchfield - Seek and Trunc functions for playback and recording
- critch@basesys.com
+ critch@basesys.com
Jefferson Noxon - app_lookupcidname, app_db, and various other contributions
Klaus-Peter Junghanns - in-band DTMF on SIP and MGCP
Ross Finlayson - Dynamic RTP payload support
Mahmut Fettahlioglu - Audio recording, music-on-hold changes, alaw file
- format, and various fixes. Can be contacted at mahmut@oa.com.au
+ format, and various fixes. Can be contacted at mahmut@oa.com.au
+James Dennis - Cisco SIP compatibility patches to work with SIP service
+ providers. Can be contacted at asterisk@jdennis.net
=== OTHER CONTRIBUTIONS ===
John Todd - Monkey sounds and associated teletorture prompt
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 98cdb2b80..e30683db7 100755
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -4236,9 +4236,10 @@ static int handle_request(struct sip_pvt *p, struct sip_request *req, struct soc
}
} else if (ast_pickup_call(c)) {
ast_log(LOG_WARNING, "Nothing to pick up\n");
+ transmit_response_reliable(p, "503 Unavailable", req);
+ p->alreadygone = 1;
ast_pthread_mutex_unlock(&c->lock);
ast_hangup(c);
- transmit_response_reliable(p, "503 Unavailable", req);
} else {
ast_pthread_mutex_unlock(&c->lock);
ast_hangup(c);