In FreePBX 2.9 i have several numbers added to the asterisk directory which that follow the format 1 plus the area code and then the number which works nice with caller id superfecta. However, if i choose to set a speed dial code for those same items i have issues trying to dial them as my outbound dialing rules are set to require a 9 plus the 1 and area code. I’m not certain it would good to add a rule there and allow 11 digit dialing without a 9 for this to work and am curious how i might solve this another/better way?
As it is a the moment, the lookup is a success in the logs, but then get an error as noted below…
-- Executing [*02@from-internal:2] Set("SIP/102-00000015", "SPEEDDIALLOCATION=2") in new stack
-- Executing [*02@from-internal:3] Macro("SIP/102-00000015", "speeddial-lookup,2,102") in new stack
-- Executing [s@macro-speeddial-lookup:1] GotoIf("SIP/102-00000015", "0]?lookupsys") in new stack
-- Executing [s@macro-speeddial-lookup:2] Set("SIP/102-00000015", "SPEEDDIALNUMBER=") in new stack
-- Executing [s@macro-speeddial-lookup:3] Set("SIP/102-00000015", "SPEEDDIALNUMBER=") in new stack
-- Executing [s@macro-speeddial-lookup:4] GotoIf("SIP/102-00000015", "1?lookupsys") in new stack
-- Goto (macro-speeddial-lookup,s,104)
-- Executing [s@macro-speeddial-lookup:104] Set("SIP/102-00000015", "SPEEDDIALNUMBER=16031234567") in new stack
-- Executing [s@macro-speeddial-lookup:105] GotoIf("SIP/102-00000015", "0?failed") in new stack
-- Executing [s@macro-speeddial-lookup:106] NoOp("SIP/102-00000015", "Found system speeddial 2: 16031234567") in new stack
-- Executing [s@macro-speeddial-lookup:107] Goto("SIP/102-00000015", "end") in new stack
-- Goto (macro-speeddial-lookup,s,206)
-- Executing [s@macro-speeddial-lookup:206] NoOp("SIP/102-00000015", "End of Speeddial-lookup") in new stack
-- Executing [*02@from-internal:4] GotoIf("SIP/102-00000015", "0?failed") in new stack
-- Executing [*02@from-internal:5] Goto("SIP/102-00000015", "from-internal,16031234567,1") in new stack
-- Goto (from-internal,16031234567,1)
[Jan 14 11:04:38] WARNING[16109]: pbx.c:4971 __ast_pbx_run: Channel ‘SIP/102-00000015’ sent into invalid extension ‘16031234567’ in context ‘from-internal’, but no invalid handler
thanks