The gateway is registered inbound and you want to send an outbound call over it?
 <action application="bridge" data="sofia/profile/2001^$1@something.com"/>


On Fri, Aug 15, 2008 at 6:16 AM, Henk Oegema <pabx_freeswitch@telenet.be> wrote:
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@2001"/>
       </condition>
   </extension>


but no success yet.


Rgds
Henk



--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_minessale@hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org
pstn:213-799-1400