[Asterisk-Users] request @default

Olivier Saulnier steganux at steganux.com
Thu Jul 6 04:22:49 MST 2006


Hi,

I've forgot thos part, but default context contains:
[default]
include => demo
include => free-out
include => bri-out
include => steganux-in
include => creat-in
include => steganux-out
include => creat-out
include => commun ; contexte pour usage interne

I trie to creat a new context, nammed commun which contains creat-in and 
steganux-in, but not better.

Best regards,
Olivier S

Kai Fürstenberg a écrit :

> 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
> _______________________________________________
> --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
>
>
>


-- 
Olivier Saulnier
STEGANUX
1er étage DIAMECANS
BEL AIR
03410 St-Victor
T: 04.70.02.27.62
F: 04.70.09.97.41
http://www.steganux.com




More information about the asterisk-users mailing list