- Joined
- Dec 11, 2024
- Messages
- 1
- Reaction score
- 0
Hi
I am using a SN4114 and have been working for days to get incoming calls to work (otugoing are fine), but without success. There is only one POTS line connected on FXO_03; incoming calls should forward to Gateway_SIP with DID 4040.
If I look at the status at FXO Interface Interface_FXO_03 I can see "IDLE" until there is an incoming call. Then the message changes to "RINGING BUT REJECTED". Can you please help me on this, my configuration is this:
#----------------------------------------------------------------#
# #
# SN4114/JO/EUI #
# R6.11 2019-07-02 H323 SIP FXS FXO #
# 2025-02-10T15:27:26 #
# SN/00A0BA0F9849 #
# Generated configuration file #
# #
#----------------------------------------------------------------#
cli version 3.20
no terminal telnet
no terminal ssh
clock local default-offset -05:00
webserver port 80 language en
sntp-client
sntp-client server primary 192.168.1.101 port 123 version 4
syslog-client
remote 192.168.1.101 514
facility sip severity debug
facility isdn severity debug
configure
system hostname PattonGW
system
ic voice 0
low-bitrate-codec g729
profile ppp default
profile call-progress-tone US_Dialtone
profile call-progress-tone US_Alertingtone
play 1 2000 440 -19 480 -19
pause 2 4000
profile call-progress-tone US_Busytone
play 1 500 480 -24 620 -24
pause 2 500
profile tone-set default
profile tone-set US
map call-progress-tone dial-tone US_Dialtone
map call-progress-tone ringback-tone US_Alertingtone
map call-progress-tone busy-tone US_Busytone
map call-progress-tone release-tone US_Busytone
map call-progress-tone congestion-tone US_Busytone
profile voip default
codec 1 g711alaw64k rx-length 20 tx-length 20
codec 2 g711ulaw64k rx-length 20 tx-length 20
profile pstn default
profile sip default
no autonomous-transitioning
profile aaa default
method 1 local
method 2 none
context ip router
interface eth0
ipaddress 192.168.1.221 255.255.255.0
tcp adjust-mss rx mtu
tcp adjust-mss tx mtu
context cs switch
digit-collection timeout 2
interface sip Interface_SIP
bind context sip-gateway Gateway_SIP
route call dest-interface Interface_FXO_03
address-translation outgoing-call to-header user-part call host-part local
address-translation incoming-call calling-redir fix 4003 unknown
interface fxo Interface_FXO_00
route call dest-interface Interface_SIP
disconnect-signal loop-break
use profile tone-set US
interface fxo Interface_FXO_01
route call dest-interface Interface_SIP
disconnect-signal loop-break
use profile tone-set US
interface fxo Interface_FXO_02
route call dest-interface Interface_SIP
disconnect-signal loop-break
use profile tone-set US
interface fxo Interface_FXO_03
route call dest-interface Interface_SIP
disconnect-signal loop-break
dial-after timeout 1
use profile tone-set US
context cs switch
no shutdown
context sip-gateway Gateway_SIP
interface Interface_SIP
bind interface eth0 context router port 5060
context sip-gateway Gateway_SIP
no answer-untrusted-hosts
no shutdown
port ethernet 0 0
medium auto
encapsulation ip
bind interface eth0 router
no shutdown
port fxo 0 0
use profile fxo us
encapsulation cc-fxo
bind interface Interface_FXO_00 switch
no shutdown
port fxo 0 1
use profile fxo us
encapsulation cc-fxo
bind interface Interface_FXO_01 switch
no shutdown
port fxo 0 2
use profile fxo us
encapsulation cc-fxo
bind interface Interface_FXO_02 switch
no shutdown
port fxo 0 3
encapsulation cc-fxo
bind interface Interface_FXO_03 switch
no shutdown
I am using a SN4114 and have been working for days to get incoming calls to work (otugoing are fine), but without success. There is only one POTS line connected on FXO_03; incoming calls should forward to Gateway_SIP with DID 4040.
If I look at the status at FXO Interface Interface_FXO_03 I can see "IDLE" until there is an incoming call. Then the message changes to "RINGING BUT REJECTED". Can you please help me on this, my configuration is this:
#----------------------------------------------------------------#
# #
# SN4114/JO/EUI #
# R6.11 2019-07-02 H323 SIP FXS FXO #
# 2025-02-10T15:27:26 #
# SN/00A0BA0F9849 #
# Generated configuration file #
# #
#----------------------------------------------------------------#
cli version 3.20
no terminal telnet
no terminal ssh
clock local default-offset -05:00
webserver port 80 language en
sntp-client
sntp-client server primary 192.168.1.101 port 123 version 4
syslog-client
remote 192.168.1.101 514
facility sip severity debug
facility isdn severity debug
configure
system hostname PattonGW
system
ic voice 0
low-bitrate-codec g729
profile ppp default
profile call-progress-tone US_Dialtone
profile call-progress-tone US_Alertingtone
play 1 2000 440 -19 480 -19
pause 2 4000
profile call-progress-tone US_Busytone
play 1 500 480 -24 620 -24
pause 2 500
profile tone-set default
profile tone-set US
map call-progress-tone dial-tone US_Dialtone
map call-progress-tone ringback-tone US_Alertingtone
map call-progress-tone busy-tone US_Busytone
map call-progress-tone release-tone US_Busytone
map call-progress-tone congestion-tone US_Busytone
profile voip default
codec 1 g711alaw64k rx-length 20 tx-length 20
codec 2 g711ulaw64k rx-length 20 tx-length 20
profile pstn default
profile sip default
no autonomous-transitioning
profile aaa default
method 1 local
method 2 none
context ip router
interface eth0
ipaddress 192.168.1.221 255.255.255.0
tcp adjust-mss rx mtu
tcp adjust-mss tx mtu
context cs switch
digit-collection timeout 2
interface sip Interface_SIP
bind context sip-gateway Gateway_SIP
route call dest-interface Interface_FXO_03
address-translation outgoing-call to-header user-part call host-part local
address-translation incoming-call calling-redir fix 4003 unknown
interface fxo Interface_FXO_00
route call dest-interface Interface_SIP
disconnect-signal loop-break
use profile tone-set US
interface fxo Interface_FXO_01
route call dest-interface Interface_SIP
disconnect-signal loop-break
use profile tone-set US
interface fxo Interface_FXO_02
route call dest-interface Interface_SIP
disconnect-signal loop-break
use profile tone-set US
interface fxo Interface_FXO_03
route call dest-interface Interface_SIP
disconnect-signal loop-break
dial-after timeout 1
use profile tone-set US
context cs switch
no shutdown
context sip-gateway Gateway_SIP
interface Interface_SIP
bind interface eth0 context router port 5060
context sip-gateway Gateway_SIP
no answer-untrusted-hosts
no shutdown
port ethernet 0 0
medium auto
encapsulation ip
bind interface eth0 router
no shutdown
port fxo 0 0
use profile fxo us
encapsulation cc-fxo
bind interface Interface_FXO_00 switch
no shutdown
port fxo 0 1
use profile fxo us
encapsulation cc-fxo
bind interface Interface_FXO_01 switch
no shutdown
port fxo 0 2
use profile fxo us
encapsulation cc-fxo
bind interface Interface_FXO_02 switch
no shutdown
port fxo 0 3
encapsulation cc-fxo
bind interface Interface_FXO_03 switch
no shutdown