[Freeswitch-users] Dial Plan Query

sharad sharad at coraltele.com
Wed Feb 9 10:56:48 MSK 2011


Hi

I just realized the mistake I was doing. issue solved. Sorry for taking your 
time.

Thanks

----- Original Message ----- 
From: "sharad" <sharad at coraltele.com>
To: "FreeSWITCH Users Help" <freeswitch-users at lists.freeswitch.org>
Sent: Wednesday, February 09, 2011 12:56 PM
Subject: [Freeswitch-users] Dial Plan Query


> Hi All
>
> I defined a simple dialplan shown below to speak out the current date & 
> time.
>
> Now on dialing 555 followed by any digit / digits, freeswitch starts 
> speaking the date & time.
>
> I want to define the duplicate access code of 555 say 444 means on dialing 
> 444 followed by digits also should perform the same action.
>
> Will be greatfull, if someone can help.
>
> Thanks & regards
> Sharad
> <!-- Check Current Date & Time from here -->
>
>    <extension name="speak_date_time">
>
>        <condition field="destination_number" expression="^555(.*)$">
>
>        <action application="answer"/>
>
>        <action application="sleep" data="500"/>
>
>        <action application="playback" data="ivr/today_date_is.wav"/>
>
>        <action application="sleep" data="100"/>
>
>        <action application="phrase" data="saydate"/>
>
>        <action application="sleep" data="500"/>
>
>        <action application="playback" data="ivr/and_time_is.wav"/>
>
>        <action application="sleep" data="200"/>
>
>        <action application="phrase" data="saytime"/>
>
>        </condition>
>
> </extension>
>
>
>
>
>
> 




More information about the FreeSWITCH-users mailing list