[Asterisk-Users] request @default

Kai Fürstenberg asterisk at fuerstenberg.ws
Thu Jul 6 01:36:03 MST 2006


Hi,

Olivier Saulnier wrote:
> Hello,
> 
> I creat two context in extensions.conf:
> [creat-in]
> exten => 400,Dial(IAX2/400,20,tr)
> exten => 400,2,Voicemail(u400)
> exten => 400,10,Hangup
> 
> exten => 401,Dial(IAX2/401,20,tr)
> exten => 401,2,Voicemail(u401)
> exten => 401,10,Hangup
> 
> [steganux-in]
> exten => 300,Dial(IAX2/300,20,tr)
> exten => 300,2,Voicemail(u300)
> exten => 300,10,Hangup
> 
> exten => 301,Dial(IAX2/301,20,tr)
> exten => 301,2,Voicemail(u301)
> exten => 301,10,Hangup
> 
> exten => 0470022762,1,Dial(IAX2/300,20,tr)
> exten => 0470022762,1,Dial(IAX2/301,20,tr)
> exten => 0470022762,2,Voicemail(u300)
> exten => 0470022762,10,Hangup
> 
> 
> But when i want to call 400 from 300, it doesn't work, and log file return:
> chan_iax2.c: Rejected connect attempt from 192.168.0.60, request 
> '400 at default' does not exist
> 
> Do you have any idea?

Check in which context 300 is working. It seems to be in the [default] 
context. If you haven't included [creat-in] into the default context, 
then dialling 400 will not work.

Kai



More information about the asterisk-users mailing list