[Freeswitch-users] RE Help with Portech <-> Freeswitch (Max Bridgewater)

Steven Brown steve at justfone.com
Mon Jan 11 01:10:21 PST 2010


Hi,

Two ways I've done it (not to say these are the 'correct' ways but
they do work for me after a lot of trial and error) are either to get
the Portech to register on FS as a regular endpoint then  bridge to it
as below

<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

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

Where 192.168.1.3 is my Portech

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

Item  URL                 Call Num
0 	192.168.1.2 	#

where 192.168.1.2 is my FS box

This should get things going for one GSM channel, to get multiple
channels running you will have to tweak it differently depending on
the age of the Portech as I've discovered different firmware versions
seem to behave very differently in this respect.

Hope this helps

Steve




> Message: 1
> Date: Sat, 9 Jan 2010 12:00:54 -0500
> From: Max Bridgewater <max.bridgewater at gmail.com>
> Subject: [Freeswitch-users] Help with Portech <-> Freeswitch
> To: freeswitch-users at lists.freeswitch.org
> Message-ID:
>        <c55d46951001090900p36df42e3ga91e61812d5b8d03 at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi Guys,
>
> It appears quite a few people in the list are using Portech. Can you please
> help me connect Freeswitch to  it for termination puposes?
>
> Here is what I've done so far but without success.
>
> In Freeswitch I created a profile and stored it in under
> /usr/local/freeswitch/conf/sip_profiles/external/. Here is the content:
>
> <include>
>  <gateway name="portech">
>    <param name="username" value="noauthentication" />
>    <param name="password" value="noauthentication" />
>    <param name="proxy" value="74.24.22.59" />
>    <param name="realm" value="74.24.22.59" />
>    <param name="register" value="false" />
>  </gateway>
> </include>
>
> Then, in the /usr/local/freeswitch/confi/dialplan/default.xml, I added the
> following extension:
>
>   <extension name="portech">
>      <condition field="destination_number" expression="^2801$">
>        <action application="bridge"
> data="sofia/gateway/portech/5147237479"/>
>      </condition>
>    </extension>
>
> In Portech MV374, what I did is simply adding one entry in the Mobile/Lan to
> mobile table  that consists of  URL: 74.24.22.59 and call Num: #.
>
> Now, when I connect to Freeswitch with Xlite and try to dial extension 2801
> it simply says User Busy. i don't even see that attempts are being made to
> connect to the Portech gateway.
>
> Any idea?
> Thanks in advance.
>
> Max.




More information about the FreeSWITCH-users mailing list