[Freeswitch-users] Re : how to dial out through a local sip endpoint - mv372 mobile > gateway adapter (rentmycoder rentmycoder)

Steven Brown steve at justfone.com
Thu Mar 18 05:39:10 PDT 2010


You can do it with the Portech  registered on FS as a regular endpoint
then  bridge to it
as below or similar

<extension name="gsm">
     <condition field="destination_number" expression="^9(.*)$">
       <action application="set" data="hangup_after_bridge=true"/>
       <action application="bridge" data="sofia/internal/1005^$1@${domain}">

where the Portech registers as 1005 and I prefix the number I wish to
dial with 9

or alternatively just bridge directly to it without having to register

<action application="bridge" data="sofia/default/$1 at"/>

Where is the Portech

In both cases you need to configure the Portech Lan to Mobile Table as below

Item  URL                 Call Num
0     #

where is my FS box


> Message: 5
> Date: Thu, 18 Mar 2010 13:21:09 +0100
> From: rentmycoder rentmycoder <rentmycoder at gmail.com>
> Subject: [Freeswitch-users] how to dial out through a local sip
>        endpoint -      mv372 mobile gateway adapter
> To: freeswitch-users at lists.freeswitch.org
> Message-ID:
>        <50e456911003180521je008a2dme94fcc6901a04b99 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
> Hi guys,
> Freeswitch rocks!
> I've registered an Portech mv-372 mobile adapter to FS as an internal
> user as userid/extension=5000.
> How to dial out through this endpint?
> In asterisk I've used Dial(sip/1234567 at 5000) where 1234567 is the
> phone no to call...
> In FS: bridge(sophia/internal/1234567 at 5000)
> mod_dptools: normal_temporery_failure
> any ideas how to do the bridge?
> or should I setup the adapter as a gateway profile?
> Just to make sure the adapter is ok i've tested it using asterisk and
> it worked and was set up like this:
> http://www.voip-info.org/wiki/view/Setup+MV-370+GSM+Gateway+with+Asterisk
> ------------------------------
> Message: 6
> Date: Thu, 18 Mar 2010 08:22:10 -0400
> From: "Todd" <phunk0000 at hotmail.com>
> Subject: [Freeswitch-users] FS Best practices
> To: "FreeSWITCH-users at lists. freeswitch. org "
>        <FreeSWITCH-users at lists.freeswitch.org>
> Message-ID: <BLU110-DS11B84F16B12464595A3B07A72B0 at phx.gbl>
> Content-Type: text/plain; charset="us-ascii"
> Hey List, still kinda new to this whole deal, looking for some advice.  We
> are building a website that needs to interact with FS.  Not looking for
> specific instructions just opinions about the best practices for doing
> things like click to dial from a web page, calling CDR records to web
> applications to display customers stats and general web integration.  Does
> this all need to be done using scripting languages like Lua or Perl, or can
> you directly integrate FS with a website in some other manner. Again, just
> getting into all this, but having a blast learning FS, config and power
> rock!  Anyhow, some places or things I should start looking into would be
> greatly appreciated.  Thanks List!
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100318/8a1e3de8/attachment.html
> ------------------------------
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
> End of FreeSWITCH-users Digest, Vol 45, Issue 225
> *************************************************

Steven Brown

email   steve at justfone.com
office   08707706968
mobile 07768755409
fax      07884636663

Justfone - Company Reg. No.  : 3926817

Registered Office : 1-3 Sandgate, Berwick upon Tweed, Northumberland, TD15 1EW

The contents of this e-mail may be privileged and are confidential. It
may not be disclosed to or used by anyone other than the addressee(s),
nor copied in any way. If received in error, please advise sender,
then delete it from your system. Internet email communications are not
secure and therefore Justfone do not accept legal responsibility for
the contents of this message. Any views or opinions presented are
solely those of the author and do not necessarily represent those of
Justfone unless otherwise specifically stated.

More information about the FreeSWITCH-users mailing list