projects
/
lcr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed trace bug
[lcr.git]
/
chan_lcr.c
diff --git
a/chan_lcr.c
b/chan_lcr.c
index
2790cf4
..
7eabe0e
100644
(file)
--- a/
chan_lcr.c
+++ b/
chan_lcr.c
@@
-690,6
+690,7
@@
static void lcr_start_pbx(struct chan_call *call, struct ast_channel *ast, int c
/* change state */
call->state = CHAN_LCR_STATE_IN_PROCEEDING;
/* change state */
call->state = CHAN_LCR_STATE_IN_PROCEEDING;
+ ast_setstate(ast, AST_STATE_OFFHOOK);
goto start;
}
goto start;
}
@@
-704,6
+705,7
@@
static void lcr_start_pbx(struct chan_call *call, struct ast_channel *ast, int c
/* change state */
call->state = CHAN_LCR_STATE_IN_DIALING;
/* change state */
call->state = CHAN_LCR_STATE_IN_DIALING;
+ ast_setstate(ast, AST_STATE_OFFHOOK);
/* if match, start pbx */
if (ast_exists_extension(ast, ast->context, ast->exten, 1, call->oad)) {
/* if match, start pbx */
if (ast_exists_extension(ast, ast->context, ast->exten, 1, call->oad)) {