[asterisk-commits] rmudgett: branch 1.8 r379226 - /branches/1.8/channels/chan_misdn.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Jan 16 11:40:42 CST 2013
Author: rmudgett
Date: Wed Jan 16 11:40:37 2013
New Revision: 379226
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=379226
Log:
chan_misdn: Fix compile error.
(issue ASTERISK-15456)
Modified:
branches/1.8/channels/chan_misdn.c
Modified: branches/1.8/channels/chan_misdn.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/channels/chan_misdn.c?view=diff&rev=379226&r1=379225&r2=379226
==============================================================================
--- branches/1.8/channels/chan_misdn.c (original)
+++ branches/1.8/channels/chan_misdn.c Wed Jan 16 11:40:37 2013
@@ -10033,7 +10033,7 @@
ast_log(LOG_WARNING,
"Extension '%s@%s' can never match. Jumping to 'i' extension. port:%d\n",
bc->dialed.number, ch->context, bc->port);
- pbx_builtin_setvar_helper(ch->ast, "INVALID_EXTEN", bc->dad);
+ pbx_builtin_setvar_helper(ch->ast, "INVALID_EXTEN", bc->dialed.number);
strcpy(ch->ast->exten, "i");
ch->state = MISDN_DIALING;
start_pbx(ch, bc, ch->ast);
@@ -10282,7 +10282,7 @@
ast_log(LOG_WARNING,
"Extension '%s@%s' can never match. Jumping to 'i' extension. port:%d\n",
bc->dialed.number, ch->context, bc->port);
- pbx_builtin_setvar_helper(ch->ast, "INVALID_EXTEN", bc->dad);
+ pbx_builtin_setvar_helper(ch->ast, "INVALID_EXTEN", bc->dialed.number);
strcpy(ch->ast->exten, "i");
misdn_lib_send_event(bc, EVENT_SETUP_ACKNOWLEDGE);
ch->state = MISDN_DIALING;
More information about the asterisk-commits
mailing list