summaryrefslogtreecommitdiff
path: root/channels/chan_zap.c
diff options
context:
space:
mode:
Diffstat (limited to 'channels/chan_zap.c')
-rw-r--r--channels/chan_zap.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c
index 255ab663c..2f8e767f8 100644
--- a/channels/chan_zap.c
+++ b/channels/chan_zap.c
@@ -5188,11 +5188,7 @@ static struct ast_channel *zt_new(struct zt_pvt *i, int state, int startpbx, int
zt_confmute(i, 0);
ast_setstate(tmp, state);
/* Configure the new channel jb */
- if (ast_jb_configure(tmp, &global_jbconf)) {
- ast_hangup(tmp);
- i->owner = NULL;
- return NULL;
- }
+ ast_jb_configure(tmp, &global_jbconf);
if (startpbx) {
if (ast_pbx_start(tmp)) {
ast_log(LOG_WARNING, "Unable to start PBX on %s\n", tmp->name);