Tilghman Lesher wrote:
> On Saturday 13 October 2007 18:08:49 Turbo Fredriksson wrote:
>> Quoting Philipp Kempgen <[EMAIL PROTECTED]>:
>>>> exten => s,1,Answer()
>>>> exten => s,n,Goto(s-${DIALSTATUS},1)
>>> This still doesn't make sense because you did not Dial()
>>> before jumping based on ${DIALSTATUS}.
>> Ok, make sense. But still no go:
>>
>> ----- s n i p -----
>> [default]
>> exten => s,1,Answer()
>> exten => s,2,Dial(SIP/${EXTEN},20,t)
>> exten => s,4,Goto(default,s-${DIALSTATUS},1)
>
> 1, 2, 4...
>
Also, the "s" extension is only executed under a few situations. If a
call comes in on an FXO port or you execute a macro or you have
immediate=yes for that channel.
"s" should not stand for "start". It should be called "stupid" as in
"the device is too stupid to tell Asterisk what the dialed extension is".
_______________________________________________
--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