aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_misdn.c
diff options
context:
space:
mode:
authorcrichter <crichter@f38db490-d61c-443f-a65b-d21fe96a405b>2007-06-22 15:32:54 +0000
committercrichter <crichter@f38db490-d61c-443f-a65b-d21fe96a405b>2007-06-22 15:32:54 +0000
commit51ef9ad083bf929cb406c464c4bdce07830d00ef (patch)
treee1af8460baf0c45d07465c517191259dd90a9693 /channels/chan_misdn.c
parent43a41443d7abe1e9b8058811715802807330d322 (diff)
Merged revisions 70311 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r70311 | crichter | 2007-06-20 16:47:59 +0200 (Mi, 20 Jun 2007) | 1 line on receiption of cause:44 we mark the channel as in use and inform the user about the situation, we need to test the RESTART stuff then. Also shuffled the empty_chan_in_stack function after the bchannel cleaning functions, to avoid race conditions. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@71121 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_misdn.c')
-rw-r--r--channels/chan_misdn.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/channels/chan_misdn.c b/channels/chan_misdn.c
index 98c982ba1..a74229977 100644
--- a/channels/chan_misdn.c
+++ b/channels/chan_misdn.c
@@ -3379,6 +3379,8 @@ static struct chan_list *find_chan_by_pid(struct chan_list *list, int pid)
static struct chan_list *find_holded(struct chan_list *list, struct misdn_bchannel *bc)
{
struct chan_list *help=list;
+
+ if (bc->pri) return NULL;
chan_misdn_log(6, bc->port, "$$$ find_holded: channel:%d oad:%s dad:%s\n",bc->channel, bc->oad,bc->dad);
for (;help; help=help->next) {