mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-05 18:44:54 +00:00
update
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@740 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
parent
8502f240e6
commit
281177c924
@ -224,10 +224,10 @@ static ZIO_CHANNEL_REQUEST_FUNCTION(ss7_boost_channel_request)
|
|||||||
|
|
||||||
ss7bc_call_init(&event, caller_data->cid_num.digits, ani, r);
|
ss7bc_call_init(&event, caller_data->cid_num.digits, ani, r);
|
||||||
|
|
||||||
if (gr) {
|
if (gr && *(gr+1)) {
|
||||||
switch(*gr) {
|
|
||||||
event.trunk_group = atoi(gr+1);
|
event.trunk_group = atoi(gr+1);
|
||||||
|
|
||||||
|
switch(*gr) {
|
||||||
case 'g':
|
case 'g':
|
||||||
event.hunt_group = SIGBOOST_HUNTGRP_SEQ_ASC;
|
event.hunt_group = SIGBOOST_HUNTGRP_SEQ_ASC;
|
||||||
break;
|
break;
|
||||||
@ -241,9 +241,7 @@ static ZIO_CHANNEL_REQUEST_FUNCTION(ss7_boost_channel_request)
|
|||||||
event.hunt_group = SIGBOOST_HUNTGRP_RR_DESC;
|
event.hunt_group = SIGBOOST_HUNTGRP_RR_DESC;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
zap_log(ZAP_LOG_WARNING,
|
zap_log(ZAP_LOG_WARNING, "Failed to determine huntgroup (%s)\n", gr);
|
||||||
"Failed to determine huntgroup (%s)\n",
|
|
||||||
gr);
|
|
||||||
event.hunt_group = SIGBOOST_HUNTGRP_SEQ_ASC;
|
event.hunt_group = SIGBOOST_HUNTGRP_SEQ_ASC;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user