Quoting Philipp Kempgen <[EMAIL PROTECTED]>:

> Turbo Fredriksson wrote:
>
>> I can't seem to get the [s]tart to work in my extensions...
>> 
>> ----- s n i p -----
>> [default]
>> exten => s,n,Goto(s-${DIALSTATUS},1)
>
> The first priority in an extension must be 1 not n.

Actually, I did. I just had it commented out because I didn't understand
it's use:

exten => s,1,Answer()
exten => s,n,Goto(s-${DIALSTATUS},1)

>> exten => s-BUSY,1,Voicemail(${EXTEN}, b)
>
> Don't put any spaces in the app data.

Darn, forgot that part. I've removed other spaces (in the Dial()'s I
have).

>> exten => 2403,1,Dial(sip/${EXTEN},20,t)
>
> Replace sip by SIP.

Saw that it's case sencetive while I tried other things, so already
fixed.

> exten => _X.,1,Dial(SIP/${EXTEN},20)
> exten => _X.,n,Goto(s-${DIALSTATUS},1)

Well, I don't want the first part because I want it to return 'invalid
extension, try again' (Playback(pbx-invalid)) for extensions not
configured... In other words, I want every single (local) extension
to be defined.

And I guess the second line is 'dependent' on this, the first one
line... ?

> See http://www.the-asterisk-book.com/unstable/voicemail-beispiele.html

Nice one, but can't do it that way...



But it doesn't work even with these changes... Still get:

    -- Executing [EMAIL PROTECTED]:1] Dial("SIP/2401-081cea88", 
"SIP/2403|20|t") in new stack
[...]
  == Everyone is busy/congested at this time (1:1/0/0)
    -- Executing [EMAIL PROTECTED]:2] Hangup("SIP/2401-081cea88", "") in new 
stack
  == Spawn extension (default, 2403, 2) exited non-zero on 'SIP/2401-081cea88'


I.e., it still doesn't do the Goto()...
-- 
Legion of Doom bomb 767 Peking genetic Ft. Meade terrorist congress
Uzi DES spy Iran domestic disruption 747 Kennedy
[See http://www.echelonwatch.org/ for more about this]
http://www.theregister.co.uk/2001/09/06/eu_releases_echelon_spying_report/
http://www.aclu.org/safefree/nsaspying/23989res20060131.html#echelon

_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to