On Wed, 2010-09-29 at 17:56 +0800, Songtao Yu wrote:
> Hi All,
> 
> When I tried to write my dial plan as below for my FXO port, which
> connects one PSTN line:
> 
> [from-pstn]
> exten =>s,1,Answer()
> exten =>s,n,Wait(1)
> exten =>_X.,1,Dial(DAHDI/1)
> exten =>_X.,n,Hangup
> 
> I got the following message:
> Connected to Asterisk 1.6.2.13 currently running on fax (pid = 8154)
> Verbosity was 0 and is now 4
>     -- Starting simple switch on 'DAHDI/1-1'
>     -- Executing [...@from-pstn:1] Answer("DAHDI/1-1", "") in new stack
>     -- Executing [...@from-pstn:2] Wait("DAHDI/1-1", "1") in new stack
>     -- Auto fallthrough, channel 'DAHDI/1-1' status is 'UNKNOWN'
>     -- Hungup 'DAHDI/1-1'
> 
> But if I changed the "_X." to "S" extension, I can get the whole thing
> to work well:
> [from-pstn]
> exten =>s,1,Answer()
> exten =>s,n,Wait(1)
> exten =>s,n,Dial(DAHDI/3)
> exten =>s,n,Hangup
> 
> Would you please let me which casuses this issue?
> 
        _X. does not match s and that is why your dialplan cannot continue.  X
only matches digits 0 to 9.


-- 
Telecomunicaciones Abiertas de México S.A. de C.V.
Carlos Chávez Prats
Director de Tecnología
+52-55-91169161 ext 2001

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

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

Reply via email to