Hi Livsan,
below our Patton SN4114 with caller id config, maybe you can compare with your config.
please change our IP local with your IP.
#----------------------------------------------------------------#
# #
# SN4114/JO/EUI #
# R5.2 2009-01-14 H323 SIP FXS FXO #
# 1970-02-19T11:24:00 #
# SN/00A0BA076337 #
# Generated configuration file #
# #
#----------------------------------------------------------------#
cli version 3.20
webserver port 80 language en
system
ic voice 0
low-bitrate-codec g729
profile ppp default
profile call-progress-tone defaultDialtone
play 1 1000 425 0
profile call-progress-tone defaultBusytone
play 1 480 425 -7
pause 2 480
profile call-progress-tone defaultReleasetone
play 1 240 425 -7
pause 2 240
profile call-progress-tone defaultCongestiontone
play 1 240 425 -7
pause 2 240
profile tone-set default
profile voip default
codec 1 g711alaw64k rx-length 20 tx-length 20
codec 2 g711ulaw64k rx-length 20 tx-length 20
codec 3 g729 rx-length 20 tx-length 20
fax transmission 1 relay t38-udp
profile pstn default
profile sip default
profile aaa default
method 1 local
method 2 none
context ip router
interface IF_IP_LAN
ipaddress 10.10.252.16 255.255.255.0
tcp adjust-mss rx mtu
tcp adjust-mss tx mtu
context ip router
route 0.0.0.0 0.0.0.0 10.10.252.1 0
context cs switch
no digit-collection timeout
interface sip IF_SIP_0
bind context sip-gateway GW_SIP_0
route call dest-interface IF_FXO_0
remote 10.10.252.10 5060
early-connect
early-disconnect
address-translation outgoing-call request-uri user-part fix 11116 host-part to-header target-param none
interface sip IF_SIP_1
bind context sip-gateway GW_SIP_1
route call dest-interface IF_FXO_1
remote 10.10.252.10 5060
early-connect
early-disconnect
address-translation outgoing-call request-uri user-part fix 11117 host-part to-header target-param none
interface sip IF_SIP_2
bind context sip-gateway GW_SIP_2
route call dest-interface IF_FXO_2
remote 10.10.252.10 5060
early-connect
early-disconnect
address-translation outgoing-call request-uri user-part fix 11118 host-part to-header target-param none
interface sip IF_SIP_3
bind context sip-gateway GW_SIP_3
route call dest-interface IF_FXO_3
remote 10.10.252.10 5060
early-connect
early-disconnect
address-translation outgoing-call request-uri user-part fix 11119 host-part to-header target-param none
interface fxo IF_FXO_0
route call dest-interface IF_SIP_0
loop-break-duration min 60 max 1000
disconnect-signal loop-break
disconnect-signal busy-tone
ring-number on-caller-id
dial-after timeout 2
mute-dialing
interface fxo IF_FXO_1
route call dest-interface IF_SIP_1
loop-break-duration min 60 max 1000
disconnect-signal loop-break
disconnect-signal busy-tone
ring-number on-caller-id
dial-after timeout 2
mute-dialing
interface fxo IF_FXO_2
route call dest-interface IF_SIP_2
loop-break-duration min 60 max 1000
disconnect-signal loop-break
disconnect-signal busy-tone
ring-number on-caller-id
dial-after timeout 2
mute-dialing
interface fxo IF_FXO_3
route call dest-interface IF_SIP_3
loop-break-duration min 60 max 1000
disconnect-signal loop-break
disconnect-signal busy-tone
ring-number on-caller-id
dial-after timeout 2
mute-dialing
context cs switch
no shutdown
authentication-service AS_ALL_LINES
realm 1 3CXPhoneSystem
username 11116 password F9ETIRHZXZTEeXFBGYm2GQ== encrypted
username 11117 password Sly98GxrInWmGC0R0HdH6Q== encrypted
location-service LS_11116
domain 1 10.10.252.10
identity-group default
authentication outbound
authenticate 1 authentication-service AS_ALL_LINES username 11116
identity 11116
authentication outbound
authenticate 1 authentication-service AS_ALL_LINES
registration outbound
registrar 10.10.252.10 5060
lifetime 300
register auto
location-service LS_11117
domain 1 10.10.252.10
identity-group default
authentication outbound
authenticate 1 authentication-service AS_ALL_LINES username 11117
identity 11117
authentication outbound
authenticate 1 authentication-service AS_ALL_LINES
registration outbound
registrar 10.10.252.10 5060
lifetime 300
register auto
context sip-gateway GW_SIP_0
interface LAN
bind interface IF_IP_LAN context router port 5060
context sip-gateway GW_SIP_0
bind location-service LS_11116
no shutdown
context sip-gateway GW_SIP_1
interface LAN
bind interface IF_IP_LAN context router port 5062
context sip-gateway GW_SIP_1
bind location-service LS_11117
no shutdown
context sip-gateway GW_SIP_2
interface LAN
bind interface IF_IP_LAN context router port 5064
context sip-gateway GW_SIP_2
shutdown
context sip-gateway GW_SIP_3
interface LAN
bind interface IF_IP_LAN context router port 5066
context sip-gateway GW_SIP_3
shutdown
port ethernet 0 0
medium 10 half
encapsulation ip
bind interface IF_IP_LAN router
no shutdown
port fxo 0 0
caller-id format bell
encapsulation cc-fxo
bind interface IF_FXO_0 switch
no shutdown
port fxo 0 1
caller-id format bell
encapsulation cc-fxo
bind interface IF_FXO_1 switch
no shutdown
port fxo 0 2
encapsulation cc-fxo
bind interface IF_FXO_2 switch
no shutdown
port fxo 0 3
encapsulation cc-fxo
bind interface IF_FXO_3 switch
no shutdown
regards,
Rohmad