One stage calling using Linksys SPA 3102

Getting started with the SIP Sorcery
Post Reply
hotm
Posts: 14
Joined: Fri Oct 26, 2007 1:25 pm

One stage calling using Linksys SPA 3102

Post by hotm » Fri May 14, 2010 4:48 am

Hi !
I have the folowing scenario:
Location 1 - one SIP ATA Getek registered with Sipsorcery account (SS1) registered at VOIP prov account 1 (VSP1) (no PSTN line at this location)
Location 2 - one Linksys SPA 3102 registered as follows
- LINE1 (FXS port) reg.with SS2 account (VSP2)
- PSTN (FXO -PSTN port) reg.with SS3 account (VSP3)
At location2 I have land line local telefony provider connected at FXO-PSTN port.
With this device (SPA3102) it is possible to transfer incoming Voip call arrived on provider registered in SS3 account to PSTN line, and dialing further with it.
It has two ways of doing that:
A. One stage calling
B. Two stage calling
All I want to do is to make One Stage Calling from Location1 thru PSTN using SPA3102 in Location2.
For doing this I have to send from SS1 Dial Plan a Request-URI INVITE to the PSTN Line and should have the form <Dialed-Number>@<SPA-Address>.
How can I do this in Ruby language ?!

Post Reply