Hello, All! How to specify the context in call file section Channel? Is it possible? I want to dial external number (12345) and connect it to context "notify", which consist of playback() command: Channel: SIP/12345 Callerid: auto <12345> MaxRetries: 3 RetryTime: 40 WaitTime: 50 Context: notify Extension: 1 Priority: 1 extensions.ael follows: context notify { 1 => { start: Answer(); Wait(1); Playback(ulii_01); HangUp(); }; I want to dial number 12345 with taking into account the dial plan, written in "context". when i'm trying to set: Channel: SIP/12345@context asterisk say's: chan_sip.c:2737 create_addr: No such host: context attempt to set: Channel: SIP/context/12345 has the same result asterisk version is 1.4.2 --
I found the decision in using Channel: Local/12345@context/n Denis V. Gudtsov ?????:> Hello, All! > > How to specify the context in call file section Channel? Is it possible? > > I want to dial external number (12345) and connect it to context > "notify", which consist of playback() command: > > Channel: SIP/12345 > Callerid: auto <12345> > MaxRetries: 3 > RetryTime: 40 > > WaitTime: 50 > Context: notify > Extension: 1 > Priority: 1 > > extensions.ael follows: > > context notify { > > 1 => { > > start: > > Answer(); > > Wait(1); > > Playback(ulii_01); > HangUp(); > > }; > > > I want to dial number 12345 with taking into account the dial plan, > written in "context". > > when i'm trying to set: > Channel: SIP/12345@context > > asterisk say's: > chan_sip.c:2737 create_addr: No such host: context > > attempt to set: > Channel: SIP/context/12345 > > has the same result > > asterisk version is 1.4.2 >