[asterisk-bugs] [Asterisk 0012509]: [patch] MFC/R2 support for chan_zap
noreply at bugs.digium.com
noreply at bugs.digium.com
Thu Jun 5 09:37:59 CDT 2008
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=12509
======================================================================
Reported By: moy
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 12509
Category: Channels/chan_zap/NewFeature
Reproducibility: always
Severity: feature
Priority: normal
Status: new
Asterisk Version: SVN
SVN Branch (only for SVN checkouts, not tarball releases): trunk
SVN Revision (number only!): 114097
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 04-24-2008 01:31 CDT
Last Modified: 06-05-2008 09:37 CDT
======================================================================
Summary: [patch] MFC/R2 support for chan_zap
Description:
Here we go. This is my first try to give R2 support to chan_zap. I'm sure I
am missing locks and/or features here and there but I have tested it
internally with success with a considerable amount of concurrent channels
(64). That's the best I can do with the hardware I currently have (more
coming!).
======================================================================
----------------------------------------------------------------------
titogarrido - 06-05-08 09:37
----------------------------------------------------------------------
Hi, I'm from Brazil.
I'm using the lastest snapshots and when I make an outbound call I'm
having an erro:
-- Zap/63-1 answered SIP/1000-0829de60
[Jun 5 07:12:07] NOTICE[20143]: chan_zap.c:1466 zt_r2_write_log: Chan 63
- Far end disconnected. Reason: Normal Clearing
[Jun 5 07:12:07] NOTICE[20143]: chan_zap.c:1430
zt_r2_on_call_disconnected: MFC/R2 call disconnected on chan 63
[Jun 5 07:12:07] NOTICE[20143]: chan_zap.c:1489 zt_r2_on_line_blocked:
Far end blocked on chan 64
[Jun 5 07:12:07] NOTICE[20143]: chan_zap.c:1489 zt_r2_on_line_blocked:
Far end blocked on chan 65
[Jun 5 07:12:07] NOTICE[20143]: chan_zap.c:1489 zt_r2_on_line_blocked:
Far end blocked on chan 66
[Jun 5 07:12:07] NOTICE[20143]: chan_zap.c:1489 zt_r2_on_line_blocked:
Far end blocked on chan 67
-- Hungup 'Zap/63-1'
== Spawn extension (zap, 35257073, 1) exited non-zero on
'SIP/1000-0829de60'
[Jun 5 07:12:07] ERROR[20143]: chan_zap.c:1472 zt_r2_write_log: Chan 63 -
Protocol error. Reason = Invalid CAS, R2 State = Clear Forward Transmitted,
MF state = MF Engine Off, MF Group = Forward Group II
[Jun 5 07:12:07] ERROR[20143]: chan_zap.c:1304 zt_r2_on_protocol_error:
MFC/R2 protocol error on chan 63: Invalid CAS
[Jun 5 07:12:07] NOTICE[20143]: chan_zap.c:1494 zt_r2_on_line_idle: Far
end unblocked on chan 64
[Jun 5 07:12:07] NOTICE[20143]: chan_zap.c:1494 zt_r2_on_line_idle: Far
end unblocked on chan 65
[Jun 5 07:12:07] NOTICE[20143]: chan_zap.c:1494 zt_r2_on_line_idle: Far
end unblocked on chan 66
[Jun 5 07:12:07] NOTICE[20143]: chan_zap.c:1494 zt_r2_on_line_idle: Far
end unblocked on chan 67
[Jun 5 07:12:07] NOTICE[20143]: chan_zap.c:1494 zt_r2_on_line_idle: Far
end unblocked on chan 63
[Jun 5 07:14:56] NOTICE[20143]: chan_zap.c:1489 zt_r2_on_line_blocked:
Far end blocked on chan 68
[Jun 5 07:14:56] NOTICE[20143]: chan_zap.c:1489 zt_r2_on_line_blocked:
Far end blocked on chan 69
[Jun 5 07:14:56] NOTICE[20143]: chan_zap.c:1489 zt_r2_on_line_blocked:
Far end blocked on chan 70
[Jun 5 07:14:56] NOTICE[20143]: chan_zap.c:1489 zt_r2_on_line_blocked:
Far end blocked on chan 71
[Jun 5 07:14:56] NOTICE[20143]: chan_zap.c:1489 zt_r2_on_line_blocked:
Far end blocked on chan 72
[Jun 5 07:14:56] NOTICE[20143]: chan_zap.c:1489 zt_r2_on_line_blocked:
Far end blocked on chan 73
[Jun 5 07:14:56] NOTICE[20143]: chan_zap.c:1489 zt_r2_on_line_blocked:
Far end blocked on chan 74
[Jun 5 07:14:56] NOTICE[20143]: chan_zap.c:1489 zt_r2_on_line_blocked:
Far end blocked on chan 75
[Jun 5 07:14:56] NOTICE[20143]: chan_zap.c:1489 zt_r2_on_line_blocked:
Far end blocked on chan 76
[Jun 5 07:14:56] NOTICE[20143]: chan_zap.c:1489 zt_r2_on_line_blocked:
Far end blocked on chan 77
[Jun 5 07:14:56] NOTICE[20143]: chan_zap.c:1494 zt_r2_on_line_idle: Far
end unblocked on chan 68
[Jun 5 07:14:56] NOTICE[20143]: chan_zap.c:1494 zt_r2_on_line_idle: Far
end unblocked on chan 69
[Jun 5 07:14:56] NOTICE[20143]: chan_zap.c:1494 zt_r2_on_line_idle: Far
end unblocked on chan 70
[Jun 5 07:14:56] NOTICE[20143]: chan_zap.c:1494 zt_r2_on_line_idle: Far
end unblocked on chan 71
[Jun 5 07:14:56] NOTICE[20143]: chan_zap.c:1494 zt_r2_on_line_idle: Far
end unblocked on chan 72
[Jun 5 07:14:56] NOTICE[20143]: chan_zap.c:1494 zt_r2_on_line_idle: Far
end unblocked on chan 73
[Jun 5 07:14:56] NOTICE[20143]: chan_zap.c:1494 zt_r2_on_line_idle: Far
end unblocked on chan 74
[Jun 5 07:14:56] NOTICE[20143]: chan_zap.c:1494 zt_r2_on_line_idle: Far
end unblocked on chan 75
[Jun 5 07:14:56] NOTICE[20143]: chan_zap.c:1494 zt_r2_on_line_idle: Far
end unblocked on chan 76
[Jun 5 07:14:56] NOTICE[20143]: chan_zap.c:1494 zt_r2_on_line_idle: Far
end unb
Meu zapata está configurado da seguinte forma:
[trunkgroups]
[channels]
usecallerid=yes
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
signalling=mfcr2
mfcr2_variant=br
mfcr2_get_ani_first=no
mfcr2_max_ani=20
mfcr2_max_dnis=4
mfcr2_category=national_subscriber
mfcr2_logdir=span1
mfcr2_logging=all
context=embratel
group=2
channel => 63-77
channel => 79-93
callgroup=2
pickupgroup=2
Zaptel.conf:
loadzone=br
defaultzone=br
span=1,1,0,cas,hdb3
cas=1-15:1101
dchan=16
cas=17-31:1101
span=2,1,0,cas,hdb3
cas=32-46:1101
dchan=47
cas=48-62:1101
span=3,1,0,cas,hdb3
cas=63-77:1101
dchan=78
cas=79-93:1101
span=4,1,0,cas,hdb3
cas=94-108:1101
dchan=109
cas=110-124:1101
It's a bug?
Thanks for the great work!
Issue History
Date Modified Username Field Change
======================================================================
06-05-08 09:37 titogarrido Note Added: 0087843
======================================================================
More information about the asterisk-bugs
mailing list