Hi, What do I have to do to get local\number to work in a context? It works from my [from-internal]... however from subcontexts it does not work: Jan 6 15:55:32 VERBOSE[20237] logger.c: -- AGI Script Executing Application: (Dial) Options: (Local/570323xxxx) Jan 6 15:55:32 NOTICE[20237] chan_local.c: No such extension/context 570323xxxx@default creating local channel Jan 6 15:55:32 NOTICE[20237] app_dial.c: Unable to create channel of type 'Local' (cause 0 - Unknown) Jan 6 15:55:32 VERBOSE[20237] logger.c: == Everyone is busy/congested at this time (1:0/0/1) Jan 6 15:55:32 DEBUG[20237] app_dial.c: Exiting with DIALSTATUS=CHANUNAVAIL. I'm dialing this as: Local/570323xxxx
Local/extension@context Try putting the context on. I do this all the time in callfiles. Darren Wiebe darren@aleph-com.net Matt wrote:>Hi, >What do I have to do to get local\number to work in a context? > >It works from my [from-internal]... however from subcontexts it does not work: > >Jan 6 15:55:32 VERBOSE[20237] logger.c: -- AGI Script Executing >Application: (Dial) Options: (Local/570323xxxx) >Jan 6 15:55:32 NOTICE[20237] chan_local.c: No such extension/context >570323xxxx@default creating local channel >Jan 6 15:55:32 NOTICE[20237] app_dial.c: Unable to create channel of >type 'Local' (cause 0 - Unknown) >Jan 6 15:55:32 VERBOSE[20237] logger.c: == Everyone is >busy/congested at this time (1:0/0/1) >Jan 6 15:55:32 DEBUG[20237] app_dial.c: Exiting with DIALSTATUS=CHANUNAVAIL. > >I'm dialing this as: Local/570323xxxx >_______________________________________________ >--Bandwidth and Colocation provided by Easynews.com -- > >Asterisk-Users mailing list >To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > >-- Darren Wiebe darren@aleph-com.net Aleph Communications ASTPP - Open Source Voip Billing & Calling Cards www.aleph-com.net/astpp
Either include the context containing the definition: [second-context] include => other-context or specify the context in the dial command: Dial(local/23094@other-context) Matt wrote:>Hi, >What do I have to do to get local\number to work in a context? > >It works from my [from-internal]... however from subcontexts it does not work: > >Jan 6 15:55:32 VERBOSE[20237] logger.c: -- AGI Script Executing >Application: (Dial) Options: (Local/570323xxxx) >Jan 6 15:55:32 NOTICE[20237] chan_local.c: No such extension/context >570323xxxx@default creating local channel >Jan 6 15:55:32 NOTICE[20237] app_dial.c: Unable to create channel of >type 'Local' (cause 0 - Unknown) >Jan 6 15:55:32 VERBOSE[20237] logger.c: == Everyone is >busy/congested at this time (1:0/0/1) >Jan 6 15:55:32 DEBUG[20237] app_dial.c: Exiting with DIALSTATUS=CHANUNAVAIL. > >I'm dialing this as: Local/570323xxxx >_______________________________________________ >--Bandwidth and Colocation provided by Easynews.com -- > >Asterisk-Users mailing list >To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > >