From 2a0211f4169ab040d73601c182bc1ef5be6b276b Mon Sep 17 00:00:00 2001 From: Brian West Date: Fri, 15 May 2009 18:26:22 +0000 Subject: [PATCH] OPENZAP-66, thanks Moc git-svn-id: http://svn.openzap.org/svn/openzap/trunk@732 a93c3328-9c30-0410-af19-c9cd2b2d52af --- libs/openzap/src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/libs/openzap/src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c b/libs/openzap/src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c index e29f7f3ad4..7e72f214ea 100644 --- a/libs/openzap/src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c +++ b/libs/openzap/src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c @@ -200,12 +200,13 @@ static unsigned wp_open_range(zap_span_t *span, unsigned spanno, unsigned start, zap_copy_string(chan->chan_number, number, sizeof(chan->chan_number)); } configured++; + + zap_log(ZAP_LOG_INFO, "configuring device s%dc%d as OpenZAP device %d:%d fd:%d DTMF: %s\n", + spanno, x, chan->span_id, chan->chan_id, sockfd, dtmf); + } else { zap_log(ZAP_LOG_ERROR, "failure configuring device s%dc%d\n", spanno, x); } - - zap_log(ZAP_LOG_INFO, "configuring device s%dc%d as OpenZAP device %d:%d fd:%d DTMF: %s\n", - spanno, x, chan->span_id, chan->chan_id, sockfd, dtmf); } return configured;