FreePBX and Linksys SPA3102

Hello,
The scenario is, a person dials from the building’s parking gate pancode to the building’s analog PBX and then it connects
via the SPA3102 to my PBX.
At the moment the adapter is registered as an extension and it dials to a ring group.
I would like to have my SPA3102 FXO/FXS adapter configured as a SIP trunk in FreePBX,
so I could set an inbound route from the SPA3102 to a ring group (in order to preserve the currently working situation),
and dial out through the SPA3102 PSTN line to the pancode and open the parking gate on demand.

How can this be done?

Thanks for any help!

In case this will help anyone,
I’ve been able to solve the problem a while ago configuring SPA3102 as a friend:
username=must-match-trunk-name
type=friend
secret=password
qualify=yes
port=5061
nat=no
insecure=very
incominglimit=1
host=SPA3102 ip address
dtmfmode=rfc2833
disallow=all
context=from-trunk
canreinvite=no
allow=ulaw

SPA3102 configuration (PSTN line):
Note the line voltage settings.
I had to tweak with it so I won’t get “line is busy” when dialing out.


<img src="/uploads/default/original/2X/4/4496cb435ee61b37ea25d8c57157f8016b769f53.jpg" width="666"height=“500”>

Hi,

Did you use these SIP Settings in the outgoing or incoming section or both?

Thanks

Peter