[Freeswitch-users] Dialplan translation to FS.

Henk Oegema pabx_freeswitch at telenet.be
Fri Aug 15 04:16:31 PDT 2008


On Thursday 14 August 2008 17:11:55 Brian West wrote:
>      <extension name="example">
>        <condition field="destination_number" expression="^9(.*)$">
>          <action application="bridge" data="sofia/profile/$1"/>
>        </condition>
>      </extension>
>
>
> But this requires me to know what SIP/2001/ is.

2001 is the extension number of the GSM gateway


> On Aug 14, 2008, at 10:07 AM, Henk Oegema wrote:
> > I still haven't been able to do this in FS:    :-(
> >
> > exten => _9X.,1,Dial(SIP/2001/${EXTEN:1})
> > exten => _9X.,n,Congestion()
> >

I've been trying different options of:

   <extension name="gsm_gateway">
        <condition field="destination_number" expression="^9(.*)$">
          <action application="bridge" data="sofia/internal/$1 at 2001"/>
        </condition>
    </extension>


but no success yet.


Rgds
Henk




More information about the FreeSWITCH-users mailing list