Patton 4114

Status
Not open for further replies.

chico

Joined
Mar 8, 2017
Messages
12
Reaction score
0
hi, I setup the Patton on my 3cx and upload the file to the patton.
I can make or receive any call.

#########################################################
#
# For Patton 2 to 8 FXO
# Supported firmware versions R6.x
#
# Author: Tommaso Missoni
# Contact: [email protected]
#
#########################################################

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 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 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.183 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



interface sip IF_SIP
bind context sip-gateway GW_SIP
early-disconnect
route call dest-table RT_SIP_TO_FXO
remote 192.168.1.224 5060
trust remote
address-translation outgoing-call request-uri user-part fix 10000 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 etsi
ring-number on-caller-id
mute-dialing
disconnect-signal loop-break
disconnect-signal busy-tone
dial-after dialtone

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


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

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

context cs switch
no shutdown

authentication-service AS_ALL_LINES
realm 1 3CXPhoneSystem
username 10000 password ch3qyjd

location-service LS_10000
domain 1 192.168.1.224

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

identity 10000
authentication outbound
authenticate 1 authentication-service AS_ALL_LINES

registration outbound
registrar 192.168.1.224 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_10000
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 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

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

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



context cs
no IF_FXO_1
no IF_FXO_2
no IF_FXO_3




port fxo 0 1
shutdown
port fxo 0 2
shutdown
port fxo 0 3
shutdown



Patton Log:

2017-03-08T14:55:16 : LOGINFO : Link up on interface ethernet 0 0 0
2017-03-08T14:55:17 : LOGINFO : Link up on interface IF_IP_LAN
2017-03-08T14:55:23 : LOGWARNING : Config: Line 19: SN4114/JO/EUI(ic-voice)[0]#sntp-client
2017-03-08T14:55:23 : LOGWARNING : Config: % ^ Keyword mismatch
2017-03-08T14:55:23 : LOGWARNING : Config: Line 21: SN4114/JO/EUI(ic-voice)[0]#sntp-client server primary pool.ntp.org
2017-03-08T14:55:23 : LOGWARNING : Config: % ^ Keyword mismatch
2017-03-08T14:55:23 : LOGWARNING : Config: Line 226: SN4114/JO/EUI(prt-eth)[0/0]#port ethernet 0 1
2017-03-08T14:55:23 : LOGWARNING : Config: % Ethernet port does not exist
2017-03-08T14:55:23 : LOGWARNING : Config: Line 259: 192.168.1.183(ctx-cs)[switch]#no IF_FXO_1
2017-03-08T14:55:23 : LOGWARNING : Config: % ^ Keyword mismatch
2017-03-08T14:55:23 : LOGWARNING : Config: Line 260: 192.168.1.183(ctx-cs)[switch]#no IF_FXO_2
2017-03-08T14:55:23 : LOGWARNING : Config: % ^ Keyword mismatch
2017-03-08T14:55:23 : LOGWARNING : Config: Line 261: 192.168.1.183(ctx-cs)[switch]#no IF_FXO_3
2017-03-08T14:55:23 : LOGWARNING : Config: % ^ Keyword mismatch
2017-03-08T13:55:23 : LOGINFO : Timezone: set local clock offset to +00:00
% local time changed from 2017-03-08T14:55:23 to 2017-03-08T13:55:23
2017-03-08T13:55:25 : LOGINFO : Warm start.


Can someone help me???
 
Are you using the config file generated by 3cx ???
 
Yes, I upload the generate file by 3cx and reload the Patton.
 
Is the gateway registered to your 3cx ?
 
Yes is registered
 
and you've got just 1 line plugged in to port 0/0 ?
Do you see anything in the 3cx activity log when a call comes in on that line ?
Did you setup outbound rules to use the gateway ?
Have you turned on debugging in the patton (debug ccfxo, debug fxo, debug call-control, debug call-router, debug context sip-gateway transport, debug context sip-gateway error) and if so what do you see ??

.... seriously, show your work! ;) The more you explain the easier it'll be to fix.
 
What firmware version is the patton running?
 
Yes I have a working line on the 0/0 port.
3cx log when I tried make a outbone call
03/08/2017 3:06:25 PM - Call to T:Line:10000>>xxxxxxxx@[Dev:sip:[email protected]:5060] from L:5.1[Extn:100] failed, cause: Cause: 503
Service Unavailable/INVITE from 192.168.1.183:5060
Yes I make I outbone rule to make this call
About the debugging mode on Patton, really, I don't understand anything.

Firmware version:R6.7 2015-01-06 H323 SIP FXS FXO
 
what about the activity log for inbound calls ?
Are you sure you have an active line plugged in the correct port ?? Have you confirmed with an analog phone ? Is there a stuttered dial-tone perhaps on the line to indicate messages in a telco mailbox ?
 
This is the outbone call
03/08/2017 3:06:25 PM - Call to T:Line:10000>>xxxxxxxx@[Dev:sip:[email protected]:5060] from L:5.1[Extn:100] failed, cause: Cause: 503
Service Unavailable/INVITE from 192.168.1.183:5060

If I connect a phone, I have tone, only for make a outside call I need press first the number 9.
When I tried to make a inbound call, anything is going inside to the server
 
If i make a call to the number, and go to call-router- active call on patton, I don't see anything.
Is like the patton, don't receive nothing
 
O.k, I upgrade the firmware of the Patton, but I have another issue.
When I go to install a new Gateway, and install the FXS, I don't have the option on 3cx.
How I can install the template, and from where I can download or copy or something like this?
 
Hi chico,

new Gateway, and install the FXS, I don't have the option on 3cx.
For FXO you need to go under SIP Trunk and then click on Add gateway. Then you need choose the Patton Analog FXO option and add the number ports. When you finish your configuration you can generate your device config and then upload it to your device.
 
No, I need the FXS.
But the problem is I don't have the option to installer on my 3cx.
I tried to setup like FX0, but obviously don' work.
The link you give is what I want, but I don't have the option.
My 3cx is update to the last one
 
Hi chico,

Did you try to add FXS/DECT from management console? (management console => FXS/DECT )
Did you mean this options? Did you full the Mac Address field?
upload_2017-3-10_14-17-52.png
Please clarify what you mean "I do not have the option".
Could you please send us a screenshot
 
Yes, this is what i have
 

Attachments

  • screenshot.png
    screenshot.png
    150.6 KB · Views: 11
Hi ,

upload_2017-3-10_14-42-35.png

To add FXS you need to go to management console and the click on the FXS/DECT a popup window appear, please see the following screenshot.

upload_2017-3-10_14-45-52.png

and then you can configure your device

upload_2017-3-10_14-47-36.png

I hope the above is useful to you.
Please let us know If you need any further information.
 
Last edited by a moderator:
Status
Not open for further replies.

Latest Posts

Members Online Now

Forum statistics

Threads
111,861
Messages
589,441
Members
164,701
Latest member
yarusemiKK