chan_connect, fixed calculation of the controller group
This commit is contained in:
parent
733395c63d
commit
ac9d6b319b
|
@ -1384,7 +1384,7 @@ int pbx_capi_chat_connect(struct ast_channel *c, char *param) {
|
|||
char* v;
|
||||
rooms[i] = strsep(¶m, COMMANDSEPARATOR);
|
||||
v = pbx_capi_strsep_controller_list (¶m);
|
||||
controllers[i] = ast_get_group(v);
|
||||
controllers[i] = (unsigned long long)(ast_get_group(v) >> 1);
|
||||
}
|
||||
|
||||
capi_ifc = pbx_capi_create_conference_bridge(rooms[0], controllers[0], rooms[1], controllers[1]);
|
||||
|
|
Loading…
Reference in New Issue