aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-04-11 14:53:05 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-04-11 14:53:05 +0000
commit66b206a711a04166b0aac663d5429eabeffd26bb (patch)
treec817462d2050e05a8e8da9da5164e8ec04fac4a2
parent729670730abb9dba9458ee217e125965d8f90844 (diff)
update CREDTS file
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@827 f38db490-d61c-443f-a65b-d21fe96a405b
-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);