Issue with Patton SN4114/JO VOIP gateway

Good Morning Colleagues
I hope you are doing well . I have successfully configure Trunk between FreePBX and Patton FXO SN4114/JO VOIP gateway . Calls working as expected. The topology as follow:

Customer/Caller ==> Telco ==> Patton SN4114/JO ==> FreePBX ==> Queue ==> Agents

I have only one issue with Patton

When a call received from a customer/caller and if the customer/caller disconnect/hang-up the call from his end before an agent has the chance to pick-up the call , The call continue to ring until an agent pick-up the call and once done , The agent hear the disconnect tone and the agent has to close the line from his side.

I tested another gateway from another vendor and this issue doesn’t exist .

May I know how can I solve this issue in Patton SN4114/JO VOIP gateway ?

Best Regards

The end of the call is not detected. That can happen. You probably need to look at the configuration of the Patton device. I actually use some of these gateways myself, but never had the problem you described.

Good Afternoon ig
Thx for your replay . May i know which part of the configuration should i look into ?

Here is my configuration:
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
webserver port 80 language en

system

ic voice 0
low-bitrate-codec g729

sntp-client

sntp-client server primary pool.ntp.org

profile ppp default

profile call-progress-tone defaultDialtone
flush-play-list
play 1 0 400 -13

profile call-progress-tone defaultAlertingtone
flush-play-list
play 1 400 400 -13
pause 2 200
play 3 400 400 -13
pause 4 2000
profile call-progress-tone defaultBusytone
flush-play-list
play 1 500 400 -13
pause 2 500

profile call-progress-tone defaultReleasetone
flush-play-list
play 1 250 400 -13
pause 2 250

profile call-progress-tone defaultCongestiontone
flush-play-list
play 1 250 400 -13
pause 2 250

profile call-progress-tone defaultHoldtone
flush-play-list
play 1 30 400 -13
pause 2 60
play 3 30 400 -13
pause 4 4880

profile tone-set default

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

profile pstn default
echo-canceler-hybrid-loss 0
echo-canceler-nlp silence

profile sip default

profile aaa default
method 1 local
method 2 none

context ip router

interface IF_IP_WAN
ipaddress dhcp
tcp adjust-mss rx mtu
tcp adjust-mss tx mtu

interface IF_IP_LAN
ipaddress 192.168.1.55 255.255.255.0
tcp adjust-mss rx mtu
tcp adjust-mss tx mtu

context cs switch

routing-table called-e164 RT_SIP_TO_FXO
route .% dest-service HG_TO_FXO

routing-table called-e164 RT_FXO_00_TO_SIP
route default dest-interface IF_SIP MT_CALL_ID_00

routing-table called-e164 RT_FXO_01_TO_SIP
route default dest-interface IF_SIP MT_CALL_ID_01

routing-table called-e164 RT_FXO_02_TO_SIP
route default dest-interface IF_SIP MT_CALL_ID_02

routing-table called-e164 RT_FXO_03_TO_SIP
route default dest-interface IF_SIP MT_CALL_ID_03

mapping-table called-e164 to called-e164 MT_CALL_ID_00
map .% to 000000

mapping-table called-e164 to called-e164 MT_CALL_ID_01
map .% to 000001

mapping-table called-e164 to called-e164 MT_CALL_ID_02
map .% to 000002

mapping-table called-e164 to called-e164 MT_CALL_ID_03
map .% to 000003

service hunt-group HG_TO_FXO

drop-cause destination-out-of-order
drop-cause user-busy
drop-cause normal-unspecified
drop-cause no-circuit-channel-available
drop-cause network-out-of-order
drop-cause temporary-failure
drop-cause switching-equipment-congestion
drop-cause access-info-discarded
drop-cause circuit-channel-not-available
drop-cause resources-unavailable	

	
	route call 1 dest-interface IF_FXO_0
	route call 2 dest-interface IF_FXO_1
	route call 3 dest-interface IF_FXO_2
	route call 4 dest-interface IF_FXO_3

interface sip IF_SIP
bind context sip-gateway GW_SIP
early-disconnect
route call dest-table RT_SIP_TO_FXO
remote 192.168.1.216 5060
trust remote
address-translation outgoing-call request-uri user-part fix 10002 host-part to-header target-param none
address-translation incoming-call called-e164 request-uri

interface fxo IF_FXO_0
route call dest-table RT_FXO_00_TO_SIP
loop-break-duration min 60 max 1000
caller-id format bell
ring-number on-caller-id
mute-dialing
disconnect-signal loop-break
disconnect-signal busy-tone
dial-after timeout 1

interface fxo IF_FXO_1
route call dest-table RT_FXO_01_TO_SIP
loop-break-duration min 60 max 1000
caller-id format bell
ring-number on-caller-id
mute-dialing
disconnect-signal loop-break
disconnect-signal busy-tone
dial-after timeout 1

interface fxo IF_FXO_2
route call dest-table RT_FXO_02_TO_SIP
loop-break-duration min 60 max 1000
caller-id format bell
ring-number on-caller-id
mute-dialing
disconnect-signal loop-break
disconnect-signal busy-tone
dial-after timeout 1

interface fxo IF_FXO_3
route call dest-table RT_FXO_03_TO_SIP
loop-break-duration min 60 max 1000
caller-id format bell
ring-number on-caller-id
mute-dialing
disconnect-signal loop-break
disconnect-signal busy-tone
dial-after timeout 1

context cs switch
no shutdown

authentication-service AS_ALL_LINES
username 10002 password 12345678

location-service LS_10002
domain 1 192.168.1.216

identity-group default
authentication outbound
authenticate 1 authentication-service AS_ALL_LINES username 10002

identity 10002
authentication outbound
authenticate 1 authentication-service AS_ALL_LINES

registration outbound
  registrar 192.168.1.216 5060
  lifetime 300
  register auto

  register auto

context sip-gateway GW_SIP

interface LAN
bind interface IF_IP_LAN context router port 5060

context sip-gateway GW_SIP
bind location-service LS_10002
no shutdown

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

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

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

port fxo 0 1
use profile fxo za
encapsulation cc-fxo
bind interface IF_FXO_1 switch
no shutdown

port fxo 0 2
use profile fxo za
encapsulation cc-fxo
bind interface IF_FXO_2 switch
no shutdown

port fxo 0 3
use profile fxo za
encapsulation cc-fxo
bind interface IF_FXO_3 switch
no shutdown

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

Best Regards

I just checked one of my SmartNode ATAs and didn’t find any specific settings. You probably want to look at SIP traces to find out where the problem is. I remember that I once hat a problem with using a DTMF sequence that was also used by the (Grandstream) ATA. So there might be not so obvious problems.

Hello ig
DO you think the issue could be with tone set ?

Since Patton didn’t detect the end of the call , Does this mean that the tone set configured at Patton not match with remote disconnect tone used in Egypt ? Do you think this could be the reason ?

Best Regards

I don’t like to speculate. If it’s a problem that can’t be solved immediately, I try to forget what else it could be a solution. Instead, I have my own extensive testing procedures that start with the hardware. I have already rejected customer orders where they said it was all too time-consuming.

Sometimes your own bias obscures the usually trivial cause. I still have a few points that could be quickly clarified beforehand, but I’d rather keep my mouth shut.

Good Afternoon Colleagues
I hope you are doing well . The issue has been solved by using the below tone profile compatible with Egyptian PSTN:

profile call-progress-tone defaultDialtone
flush-play-list
play 1 1000 425 -6

profile call-progress-tone defaultAlertingtone
flush-play-list
play 1 1000 425 -13
pause 2 4000

profile call-progress-tone defaultBusytone
flush-play-list
play 1 300 450 -7
pause 2 300

profile call-progress-tone defaultReleasetone
flush-play-list
play 1 300 450 -7
pause 2 300

profile call-progress-tone defaultCongestiontone
flush-play-list
play 1 300 425 -7
pause 2 400

Best Regards

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.