PSTN FXO Gateways

Discussion in '3CX Phone System - General' started by Nebula, Apr 16, 2008.

Thread Status:
Not open for further replies.
  1. Nebula

    Nebula New Member

    Joined:
    Apr 6, 2008
    Messages:
    116
    Likes Received:
    0
    There is a lot of discussion in topics regarding the configuration of the PSTN side of analog gateways. Various poeple have voiced the opinion that they expect 3CX to support the PSTN side of these devices wherever they happen to be located in the world and regardless of the local provider. I feel it is very unfair to expect this as there are so many differences globaly. To this end I thought it may be helpful to start a new thread where users with working FXO gateways could post their configs and state the gateway used and the region/provider they are using. After all the one of the purposes of forums such as this is to help each other although contributions from the manufacturers are always valuable and useful.

    I will start this off with a working config for a Patton 4112 in the UK with BT as the PSTN provider.

    The config was auto generated by the 3cx and then the 7 sections that start with "profile call-progress-tone UK_??????tone" were added. The section that begins"profile tone-set UK" was added then the newly created UK tone set was applied to the virtual FXO interfaces IF_FXO_0 and 1 by adding the line "use profile tone-set UK" to both of these. I am not saying this config is perfect but it works! Hope this is useful to someone.

    Patton 4112, UK, BT

    webserver port 80 language en

    system

    ic voice 0
    low-bitrate-codec g729

    profile ppp default

    profile call-progress-tone defaultDialtone
    flush-play-list
    play 1 1000 350 -13 440 -13

    profile call-progress-tone defaultAlertingtone
    flush-play-list
    play 1 400 400 -19 450 -19
    pause 2 200
    play 3 400 400 -19 450 -19
    pause 4 2000

    profile call-progress-tone defaultBusytone
    flush-play-list
    play 1 375 400 -24
    pause 2 375

    profile call-progress-tone defaultReleasetone
    flush-play-list
    play 1 400 400 -24
    pause 2 350
    play 3 225 400 -24
    pause 4 525

    profile call-progress-tone defaultCongestiontone
    flush-play-list
    play 1 400 400 -24
    pause 2 350
    play 3 225 400 -24
    pause 4 525

    profile call-progress-tone UK_Dialtone
    play 1 5000 350 -13 440 -13

    profile call-progress-tone UK_Alertingtone
    play 1 400 400 0 450 0
    pause 2 200
    play 3 400 400 0 450 0
    pause 4 2000

    profile call-progress-tone UK_Busytone
    play 1 375 400 0
    pause 2 375

    profile call-progress-tone UK_CongestionTone
    play 1 400 400 -6
    pause 2 350
    play 3 225 400 0
    pause 4 525

    profile call-progress-tone UK_SpecialInfoTone
    play 1 330 950 0
    pause 2 30
    play 3 330 1400 0
    pause 4 30
    play 5 330 1800 0
    pause 6 30

    profile call-progress-tone UK_WaitingTone
    play 1 100 400 0
    pause 2 5000

    profile call-progress-tone UK_SpecialDialTone
    play 1 750 350 0 440 -3
    pause 2 750
    play 3 750 350 0 440 -3

    profile tone-set default

    profile tone-set UK
    map call-progress-tone dial-tone UK_Dialtone
    map call-progress-tone ringback-tone UK_Alertingtone
    map call-progress-tone busy-tone UK_Busytone
    map call-progress-tone special-information-tone UK_SpecialInfoTone
    map call-progress-tone waiting-tone UK_WaitingTone
    map call-progress-tone release-tone UK_ReleaseTone
    map call-progress-tone congestion-tone UK_CongestionTone
    map call-progress-tone special-dial-tone UK_SpecialDialTone

    profile voip default
    codec 1 g711alaw64k rx-length 20 tx-length 20
    codec 2 g711ulaw64k rx-length 20 tx-length 20
    fax transmission 1 relay t38-udp

    profile pstn default
    echo-canceler-hybrid-loss 9

    profile sip default
    no autonomous-transitioning

    profile aaa default
    method 1 local
    method 2 none

    context ip router

    interface IF_IP_LAN
    ipaddress 10.xxx.x.xxx 255.255.255.0
    tcp adjust-mss rx mtu
    tcp adjust-mss tx mtu

    context cs switch
    no digit-collection timeout

    interface sip IF_SIP_0
    bind gateway GW_SIP_0
    service default
    route call dest-interface IF_FXO_0
    address-translation outgoing-call request-uri user-part fix 10003 host
    to-header target-param none
    address-translation incoming-call called-e164 request-uri

    interface sip IF_SIP_1
    bind gateway GW_SIP_1
    service default
    route call dest-interface IF_FXO_1
    address-translation outgoing-call request-uri user-part fix 10004 host
    to-header target-param none
    address-translation incoming-call called-e164 request-uri

    interface fxo IF_FXO_0
    route call dest-interface IF_SIP_0
    loop-break-duration min 200 max 1000
    disconnect-signal loop-break
    disconnect-signal busy-tone
    dial-after timeout 1
    use profile tone-set UK

    interface fxo IF_FXO_1
    route call dest-interface IF_SIP_1
    loop-break-duration min 200 max 1000
    disconnect-signal loop-break
    disconnect-signal busy-tone
    dial-after timeout 1
    use profile tone-set UK

    context cs switch
    no shutdown

    gateway sip GW_SIP_0
    bind interface IF_IP_LAN router

    service default
    domain 10.xxx.xxx.xxx
    defaultserver manual 10.xxx.xxx.xxx loose-router
    registration-lifetime 300
    registration manual 10.xxx.xxx.xxx
    user 10003 authenticate password ySyWxUvSc/c= encrypted default regist

    gateway sip GW_SIP_0
    no shutdown

    gateway sip GW_SIP_1
    call-signaling-port 5062
    bind interface IF_IP_LAN router

    service default
    domain 10.xxx.xxx.xxx
    defaultserver manual 10.xxx.xxx.xxx loose-router
    registration-lifetime 300
    registration manual 10.xxx.xxx.xxx
    user 10004 authenticate password 9CS6/5Fhrd0= encrypted default regist

    gateway sip GW_SIP_1
    no shutdown

    port ethernet 0 0
    medium auto
    encapsulation ip
    bind interface IF_IP_LAN router
    no shutdown

    port fxo 0 0
    use profile fxo gb
    encapsulation cc-fxo
    bind interface IF_FXO_0 switch
    no shutdown

    port fxo 0 1
    use profile fxo gb
    encapsulation cc-fxo
    bind interface IF_FXO_1 switch
    no shutdown
     
  2. RobLloyd

    RobLloyd Member

    Joined:
    Oct 13, 2006
    Messages:
    481
    Likes Received:
    0
    I have and use the following PSTN FXO devices here in the USA:

    Patton SN-4114 - config generated from 3CX. So far this one has been the best.

    AudioCodes - Following instructions from 3CX except had to change "hotline" to the default setting. They need to update their instructions for the new firmware. Client had some issues with echos which I wasn't able to fix easily so I put in the Patton.

    Grandstream - GXW-4400 - Good cheap unit. Configured from the 3CX guide.

    I need a 1 FXO unit for my house. Any recommendations?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Halea

    Halea New Member

    Joined:
    Jan 5, 2008
    Messages:
    151
    Likes Received:
    0
    Rob,

    I am using a Linksys SPA-3102 with my home installation. I am pretty happy. Sometimes I have echo problems, which I have been able to manage by playing on the gain levels. The best bang for the buck if you ask me.
    Halea
     
  4. Nick Galea

    Nick Galea Site Admin

    Joined:
    Jun 6, 2006
    Messages:
    1,926
    Likes Received:
    241
    Thanks for the support guys! :) Glad you see our point too.

    Another good resource for local tone sets is in this FAQ

    http://www.3cx.com/support/call-progress-tones.html

    For patton we get the tones for most countries and insert them in our templates....
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Thread Status:
Not open for further replies.