[Home]

Summary:ASTERISK-01691: chan_local ignores context
Reporter:scaredycat (scaredycat)Labels:
Date Opened:2004-05-26 04:23:30Date Closed:2011-06-07 14:10:16
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:chan_local is ignoring the @context element:

eg

in a call file:

Channel: Local/12345678@demo
Context: callback
Extension: callmeback
Priority: 1

will not work unless i do

[default]
include => demo

all the docs suggest you can specify the context...

Comments:By: Brian West (bkw918) 2004-05-26 10:17:37

-- Attempting call on Local/10@default for 999@default:1 (Retry 1)
   -- Executing NoOp("Local/10@default-a1fa,2", "") in new stack
   -- Executing Macro("Local/10@default-a1fa,2", "stdexten|10|SIP/10") in new stack
   -- Executing Dial("Local/10@default-a1fa,2", "SIP/10|60") in new stack
   -- Called 10
   -- SIP/10-44b0 is ringing
   -- SIP/10-44b0 answered Local/10@default-a1fa,2
   -- Executing SetGroup("Local/10@default-a1fa,1", "moh") in new stack
   -- Executing CheckGroup("Local/10@default-a1fa,1", "1") in new stack
   -- Executing NoOp("Local/10@default-a1fa,1", "moh") in new stack
   -- Executing Answer("Local/10@default-a1fa,1", "") in new stack
   -- Executing MusicOnHold("Local/10@default-a1fa,1", "default") in new stack
   -- Started music on hold, class 'default', on Local/10@default-a1fa,1

By: Brian West (bkw918) 2004-05-26 10:18:52

-- Attempting call on Local/4238080@outbound for 10@default:1 (Retry 1)
   -- Executing Macro("Local/4238080@outbound-8891,2", "dialout|9184290404|IAX2/brian@nufone.net/19184238080") in new stack
   -- Executing Monitor("Local/4238080@outbound-8891,2", "wav|20040526-091338") in new stack
   -- Executing SetCallerID("Local/4238080@outbound-8891,2", ""Brian K. West" <9184290404>") in new stack
   -- Executing Dial("Local/4238080@outbound-8891,2", "IAX2/brian@nufone.net/19184238080") in new stack
   -- Called brian@nufone.net/19184238080
   -- Call accepted by 66.225.202.72 (format G726)
   -- Format for call is G726
   -- IAX2[NuFone]/2 stopped sounds
   -- IAX2[NuFone]/2 is ringing
   -- IAX2[NuFone]/2 stopped sounds
   -- IAX2[NuFone]/2 answered Local/4238080@outbound-8891,2
   -- Executing NoOp("Local/4238080@outbound-8891,1", "") in new stack
   -- Executing Macro("Local/4238080@outbound-8891,1", "stdexten|10|SIP/10") in new stack
   -- Executing Dial("Local/4238080@outbound-8891,1", "SIP/10|60") in new stack
   -- Called 10
 == Spawn extension (macro-dialout, s, 3) exited non-zero on 'Local/4238080@outbound-8891,2' in macro 'dialout'
 == Spawn extension (outbound, 4238080, 1) exited non-zero on 'Local/4238080@outbound-8891,2'
   -- SIP/10-78e7 is ringing
   -- SIP/10-78e7 answered IAX2[NuFone]/2

By: Brian West (bkw918) 2004-05-26 10:24:28

-- Attempting call on Local/10@default for 4238080@outbound:1 (Retry 1)
   -- Executing NoOp("Local/10@default-ad0c,2", "") in new stack
   -- Executing Macro("Local/10@default-ad0c,2", "stdexten|10|SIP/10") in new stack
   -- Executing Dial("Local/10@default-ad0c,2", "SIP/10|60") in new stack
   -- Called 10
   -- SIP/10-d7fa is ringing
   -- SIP/10-d7fa answered Local/10@default-ad0c,2
   -- Executing Macro("Local/10@default-ad0c,1", "dialout|9184290404|IAX2/brian@nufone.net/19184238080") in new stack
   -- Executing Monitor("Local/10@default-ad0c,1", "wav|20040526-091754") in new stack
   -- Executing SetCallerID("Local/10@default-ad0c,1", ""Brian K. West" <9184290404>") in new stack
   -- Executing Dial("Local/10@default-ad0c,1", "IAX2/brian@nufone.net/19184238080") in new stack
   -- Called brian@nufone.net/19184238080
   -- Call accepted by 66.225.202.72 (format G726)
   -- Format for call is G726
   -- IAX2[NuFone]/7 stopped sounds
 == Spawn extension (macro-stdexten, s, 1) exited non-zero on 'Local/10@default-ad0c,2' in macro 'stdexten'
 == Spawn extension (default, 10, 2) exited non-zero on 'Local/10@default-ad0c,2'
   -- IAX2[NuFone]/7 is ringing
   -- IAX2[NuFone]/7 stopped sounds
   -- IAX2[NuFone]/7 answered SIP/10-d7fa
   -- Hungup 'IAX2[NuFone]/7'
 == Spawn extension (macro-dialout, s, 3) exited non-zero on 'SIP/10-d7fa' in macro 'dialout'
 == Spawn extension (outbound, 4238080, 1) exited non-zero on 'SIP/10-d7fa'

By: scaredycat (scaredycat) 2004-05-26 10:27:59

user error

By: Brian West (bkw918) 2004-05-26 10:28:29

PEBKAC