Set STATE_RING on PBX start.

This commit is contained in:
MelwareDE 2005-09-10 13:36:55 +00:00
parent 874567ff21
commit ccdaab9147
1 changed files with 1 additions and 0 deletions

View File

@ -1788,6 +1788,7 @@ static void start_pbx_on_match(struct ast_capi_pvt *i, unsigned int PLCI, _cword
switch(search_did(i->owner)) {
case 0: /* match */
ast_setstate(i->owner, AST_STATE_RING);
if (ast_pbx_start(i->owner)) {
ast_log(LOG_ERROR, "%s: Unable to start pbx on channel!\n",
i->name);