Michael wrote:
Change it to the following:
exten => _10,1,Dial(SIP/10,10)
exten =>_10,n,Background(vm-nobodyavail)
exten => _11,1,Dial(SIP/11,5)
exten =>_11,n,Background(vm-nobodyavail)
The only time I am aware of that you can leave out the prefix underscore is
for "exten => s" and "exten => i"
Thanks for your quick reply.
Now it works. thanks
best regards
manfred
> From: mich...@networkstuff.co.nz> To: asterisk-users@lists.digium.com> Date:
> Fri, 26 Dec 2008 23:35:34 +1300> Subject: Re: [asterisk-users] Problem: no
> such extension 'xx' in context
I was typing so quick I made some slips-
(anyway you should get the idea...)
Change it to the following:
exten =>_2,1,Playback(digits/2) ;
exten =>_2,n,Goto(default,10,1)
exten=>_3,1,Playback(pbx-invalid)
exten=>_3,n,Goto(default,4,1)
exten=>_4,1,Playback(vm-goodbye)
exten=>_4,n,Hangup()
> [int
> sip.conf :
>
> [general]
> port=5060
> bindaddr=0.0.0.0
put "context=default" here
>
> [10]
> type=friend
> secret=1234
> host=dynamic
> context=internal
>
> [11]
> type=friend
> secret=1234
> host=dynamic
> context=internal
>
> extensions.conf
>
> [default]
> exten =>2,1,Playback(digits/2) ;
>
Hi Guys,
I am not so familiar with asterisk and hope to get help here. I am having now
some stupid errors. My goal for the first, is to create a simple pbx with
different context.
As long as I use only the contex 'default' everything seems to work perfect.
Now I tried to add another context