Linksys SPA3012 PSTN Calls

Discussion in '3CX Phone System - General' started by sandymil, Feb 10, 2007.

  1. sandymil

    Joined:
    Jan 28, 2007
    Messages:
    2
    Likes Received:
    0
    I have setup a PSTN Gateway using a Linksys SPA3012. I used the instructions for the Sipura 3000 on the 3CX site to configure the SPA 3012. It registers fine and I can send a PSTN call out through it from a softphone or the analogue phone on the SPA3012's Line 1.

    However, I cannot seem to be able to recieve PSTN calls from the SPA3012. All I get is "CallConf::Rejected: Call (C:B) is rejected: Caller is not allowed". I have tried some of the advise from other posts with no luck.

    Has anyone got this configuration working? If so what is the trick.

    I'm currently running Beta 5 on a new installation. I had the same issues on Beta 3 & 4.

    Many thanks.
     
  2. Anonymous

    Anonymous Guest

    Few things to check.
    VOIP provider that seems to be working as you can make out bound calls.
    PSTN provider, you need to configure one of those to receive PSTN incomming calls.

    Question: is your PSTN line/provider registred?

    ======Removed previous post as it was incorrect :)=====

    Ok here is what I got (I was incorrect in my previous answer).


    In PSTN Line --> SIP Settings

    SIP Transport: UDP
    SIP Port: 5060
    SIP 100REL Enable: yes
    EXT SIP Port: 5061
    Auth Resync-Reboot: yes
    SIP Proxy-Require:
    SIP Remote-Party-ID: yes
    SIP GUID: yes
    SIP Debug Option: None
    RTP Log Intvl: 0
    Restrict Source IP: no
    Referor Bye Delay: 4
    Refer Target Bye Delay: 0
    Referee Bye Delay: 0
    Refer-To Target Contact: no
    Sticky 183: no
    Auth INVITE: no

    PSTN line --> Proxy and Registration
    Proxy: IP address of your box where the 3cx software is running
    Outbound Proxy: same as proxy
    Use Outbound Proxy: yes
    Use OB Proxy In Dialog: yes
    Register: yes
    Make Call Without Reg: yes
    Register Expires: 1
    Ans Call Without Reg: yes
    Use DNS SRV: no
    DNS SRV Auto Prefix: no
    Proxy Fallback Intvl: 5
    Proxy Redundancy Method: Normal

    In PSTN Line --> Subscriber Information

    Display Name: SPA-3201
    User ID: 10001 Same as Authentication ID in Line(s) Configuration
    Password: Same as Authentication Password in Line(s) Configuration
    Use Auth ID: yes
    Auth ID: 10001 Same as Authentication ID in Line(s) Configuration
    Mini Certificate: blank
    SRTP Private Key: blank

    (note perhaps Auth ID could be used for entering an alpha name but I have not tried that).

    PSTN Line ---> Dial Plans

    Dial Plan 8: (S0:10001) THis should represent the LINE ID.

    PSTN Line --> VoIP-To-PSTN Gateway Setup
    VoIP-To-PSTN Gateway Enable: yes
    VoIP Caller Auth Method: none
    VoIP PIN Max Retry: 3
    One Stage Dialing: yes
    Line 1 VoIP Caller DP: 1
    VoIP Caller Default DP: 1
    Line 1 Fallback DP: none


    PSTN Line --> PSTN-To-VoIP Gateway Setup

    PSTN-To-VoIP Gateway Enable: yes
    PSTN Caller Auth Method: none
    PSTN Ring Thru Line 1: no
    PSTN PIN Max Retry: 3
    PSTN CID For VoIP CID: yes
    PSTN CID Number Prefix:
    PSTN Caller Default DP: 8
     
  3. vanDivX

    Joined:
    Feb 20, 2007
    Messages:
    36
    Likes Received:
    0
    hi there itFarmer, thx for sharing the PSTN line configuration, that will help me as I am in the process these days of configuring SPA3102

    I came across 3CX PBX just recently and I think it will simplify my life just hooking the SPA to it and let the PBX handle my phone setup arrangement rather than trying to set it up just with the SPA only which seems to be more complicated thing to do (plus I suppose with PBX one can do way more than just with SPA) I happen to run winXP as security cameras system anyway and it can handle this pbx like a cake on side

    too bad I didn't see your post last night, I was configuring PSTN line in SPA going by the guide on 3CX site and it has a glitch there, two fields where it tells you to input values are swapped and that had me scratching my hair for some time... its the Subscriber Information section, the 'Display Name' and 'User ID' values are input wrong way which may not be stumbling block for some of you apprently but I do this stuff first time...

    accordingly I was gonna ask if you could post here your Line1 settings too, it might be something for me to go by when things don't work, I suppose those two, the PSTN and Line1 are the two most important sections when it comes to make SPA and 3CX work together

    I suppose the whole idea is to have all calls incl those that come in from outside over PSTN line of SPA to go first to 3CX and only then they might be auto forwarded to the phone connected to Line1 of the SPA right?

    vanDivX
     
  4. Anonymous

    Anonymous Guest

    No worries, good to see it helped someone.

    The VoIP calls (Line1 stuff) does not go to a SPA for me atm. I use my Billion for that as so my DEC phones switch to VoIP or PSTN out as available. I will change that one day but currently that is my setup it also allows me to call from VoIP to my "home" PSTN which is on the same line.

    I had the Line1 working on the SPA but did not had the time to get the call quality up to scratch. I will post the settings when I get home.

    You mentioned security camera's (I am getting of topic here) I have a "request" for 3cX would it not be nice to have the security camera send a "message" this could be an Email to make the phone ring (different ring ton) so you know someone is at the door :). Currently I have this working with MediaCentre etc but would be nice to make the phone ring.

    Anyway Ill post the setting tonight (in 8-9hrs or so) unless someone beats me to it.
     
  5. vanDivX

    Joined:
    Feb 20, 2007
    Messages:
    36
    Likes Received:
    0
    I have one of those PCI cards that accept input from 16 videosources (8 with sound) and these cards (even the cheaper ones for 4 cameras) come with sofware that has the email messages sent out triggered by an event, like when that entrance door camera detects motion (change in its field of vision since it constantly evaluates the picture) it can send out allert also as cell phone txt or sms message, also the card has relay sensors and relay controls that could control the door or know its opened or something - really worst thing about it is doing the wiring LOL

    might be too much to ask from pbx maybe but ask anyway I say it can't hurt anything as they say

    some Line1 stuff would be handy, I sort of swim in the bigger picture of things and don't know what interface does what but once I make it work somehow it will become clear bit by bit and I will see my way around as the blind guy said LOL

    vanDivX
     
  6. Anonymous

    Anonymous Guest

    Line1 --->SIP Settings

    SIP Transport: UDP
    SIP Port: 5060 (Mainly standard every where I guess)
    SIP 100REL Enable: yes
    EXT SIP Port: (blank)
    Auth Resync-Reboot: yes
    SIP Proxy-Require: (blank)
    SIP Remote-Party-ID: yes
    SIP GUID: yes
    SIP Debug Option: none
    RTP Log Intvl: 0
    Restrict Source IP: no
    Referor Bye Delay: 0
    Refer Target Bye Delay:
    Referee Bye Delay: 4
    Refer-To Target Contact: no
    Sticky 183: no
    Auth INVITE: no

    Line1 -->Proxy and Registration
    Proxy: (your VoIP Provider)
    Outbound Proxy: (your VoIP Provider)
    Use Outbound Proxy: yes
    Use OB Proxy In Dialog: yes
    Register: yes
    Make Call Without Reg: no
    Register Expires: 240
    Ans Call Without Reg: no
    Use DNS SRV: no
    DNS SRV Auto Prefix: no
    Proxy Fallback Intvl: 3600
    Proxy Redundancy Method: Normal
    Voice Mail Server: (blank)
    Mailbox Subscribe Expires: (what ever number)


    Line1 --> Subscriber Information

    Display Name: (Any name will do)
    User ID: (login name given to you by your VoIP Provider)
    Password: (Password given to you by your VoIP Provider)
    Use Auth ID: no
    Auth ID:
    Mini Certificate:
    SRTP Private Key:

    Line1 --> Supplementary Service Subscription

    No for every option except the following 3 options:

    Three Way Call Serv: Yes
    Three Way Conf Serv: Yes
    CID Serv: Yes

    Line1 ---> Audio Configuration

    All Yes appart from:

    User Pref Codec Only: No
    Silence Supp Enable: No
    Fax Disable ECAN: No

    Preferred Codec: G729a (but that might be depending on your VoIP Provider)
    Silence Threshold: Medium
    Fax Passthru Codec: G711u
    DTMF Tx Method: Auto
    FAX Passthru method: NSW
    DTMF Tx Mode: Strict
    Hook Flash Tx Method: None
    Fax T38 Redunancy: 1

    Line1 --> Gateway Accounts
    I got nothing there.

    Line1 --> VoIP Fallback To PSTN
    Auto PSTN Fallback: Yes

    Rest (not mentioned stuff) is all out of the box and I have not changed it.
     

Share This Page