On Wed, Mar 5, 2008 at 10:12 AM, Daniel Suleyman <[EMAIL PROTECTED]> wrote:

>  but when I use next construction(As I understand it is used to allow
>  to process any extension dialed by user)
>
>  exten => s,1,Answer;
>  exten => s,2,Playback(hello-world,skip);
>  exten => s,3,Hangup;

AFAIK, "s" extension is used in analogue PSTN incoming calls, as the
call itself doesn't contain the extension (public telephone number) it
tries to reach.

If want to catch "any" extension dialed by the user you should use
something like this:

  exten => _.,1,Answer;
  exten => _.,2,Playback(hello-world,skip);
  exten => _.,3,Hangup;

In any case, I cannot understand why you would like to use it.
You should define your extensions and use the invalid extension (i) to
catch calls sent to any number not detailed in the dialplan.

-- 
Andres Jimenez

GPG : http://www.andresin.com/gpg/[EMAIL PROTECTED]

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