[asterisk-users] dial extension number

Ronald Wiplinger ronald at elmit.com
Thu Jan 24 16:38:11 CST 2008


Ronald Wiplinger wrote:
> Can anybody give me a hint, please.
>
> I have a Welltech FXO device and from PSTN coming calls will be
> transfered to the extension number 1001.
> I want that the caller can reach the extension number 7777 by dialing
> said number.
>
> My 1st try was:
>
> exten => 1001,1,NoOp(${CALLERID(num)})
> exten => 1001,2,Wait(1)
> exten => 1001,3,Set(CALLERID(num)=${CALLERID(num)})
> ;
> include => local            ; all extensions inhouse  (including 7777)
>
>
> Above any dialed number will be ignored.
>
>
> Replaceing the second line (Wait) with:
> exten => 8862100,2,Background(if-u-know-ext-dial)
> the extension will be dialed.
>
>
> I do not want to have an announcement to ask for the dialing the
> extension number. What can I use instead?
>
>   

I tried now WaitExten(10), but that is not recognizing dialing as well.


> Thanks!
>
> bye
>
> Ronald
>
>   




More information about the asterisk-users mailing list