of corse its zero based that makes a ton of sense
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@742 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
parent
e4ed6a4fa3
commit
1b622b585a
|
@ -271,6 +271,9 @@ static ZIO_CHANNEL_REQUEST_FUNCTION(ss7_boost_channel_request)
|
||||||
|
|
||||||
if (gr && *(gr+1)) {
|
if (gr && *(gr+1)) {
|
||||||
event.trunk_group = atoi(gr+1);
|
event.trunk_group = atoi(gr+1);
|
||||||
|
if (event.trunk_group > 0) {
|
||||||
|
event.trunk_group--;
|
||||||
|
}
|
||||||
|
|
||||||
switch(*gr) {
|
switch(*gr) {
|
||||||
case 'g':
|
case 'g':
|
||||||
|
|
Loading…
Reference in New Issue