Hi,
We have just purchased a Patton 4638 BRI gateway and i'm not sure how to setup the SIP trunk.
If anyone has one of these and has some settings that work could you please let me know what thery are.
Many Thanks
Pigsfoot.
Hi,
We have just purchased a Patton 4638 BRI gateway and i'm not sure how to setup the SIP trunk.
If anyone has one of these and has some settings that work could you please let me know what thery are.
Many Thanks
Pigsfoot.
When approaching a device I have never configured before it is best to give ti a try.
Put an IP address and a SIP username and secret, type=peer and then try and register it as a trunk.
If you use the Asterisk CLI and type SIP show peers you will see if it is registered.
If it is registered then try and make calls, watch the debug output. If you see why they are failing then you can make tweaks to the device and/or trunk config to fix the problems.
In summary:
With this approach you should be up and running with a little bit of fiddling. It is also a great way to learn the system and how it works.
Scott
Scott
aka "Skyking"

Hi,
I have been working on this for a while now and I am still having problems getting my Trixbox to register against the Patton Smartnode 4638.
When I run a Sip show Peers from Asterisk I get
trixbox1*CLI> sip show peers
Name/username Host Dyn Nat ACL Port Status
patton/patton 172.16.254.251 5060 OK (25 ms)
250/250 172.16.254.114 D N 5060 OK (13 ms)
200/200 172.16.254.124 D N 5060 OK (11 ms)
3 sip peers [Monitored: 3 online, 0 offline Unmonitored: 0 online, 0 offline]
So i am presuming that Trixbox thinks it is registered
BUT my patton box reports..
01:47:21 SIP_RE> [GW MyLANSIP_GW] Stack Event: ISipRegistrationMgr EvFailure: 403 Forbidden
01:47:21 SIP_RE> [GW MyLANSIP_GW] Registration State-Machine: Event 'Stk-Error'
01:47:21 SIP_RE> [GW MyLANSIP_GW] Registration State-Machine: State 'Idle/Waiting'
01:47:21 SIP_RE> [GW MyLANSIP_GW] Registration State-Machine: Action 'Reset'
01:47:21 SIP_RE> [GW MyLANSIP_GW] Registration State-Machine: Action 'Start-Timer'
I have tried to put togther a VERY simply config for the SIP trunk within Trixbox as follows
host=172.16.254.251
username=patton
secret=patton
qualify=yes
type=friend
If anyone has any ideas it would be much appreciated... Thanks
The config of the Patton is as follows
#----------------------------------------------------------------#
# #
# SN4638/5BIS/UI #
# R5.2 2008-09-19 H323 SIP BRI #
# 1970-01-01T00:28:50 #
# SN/00A0BA0384B1 #
# Generated configuration file #
# #
#----------------------------------------------------------------#
cli version 3.20
dns-relay
webserver port 80 language en
sntp-client
sntp-client server primary 129.132.2.21 port 123 version 4
system
ic voice 0
low-bitrate-codec g729
system
clock-source 1 bri 0 0
clock-source 2 bri 0 1
clock-source 3 bri 0 2
clock-source 4 bri 0 3
clock-source 5 bri 0 4
profile napt NAPT_WAN
profile ppp default
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 call-progress-tone UK_ReleaseTone
play 1 1500 400 0
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
profile pstn default
profile sip default
profile dhcp-server DHCPS_LAN
network 192.168.1.0 255.255.255.0
include 1 192.168.1.10 192.168.1.99
lease 2 hours
default-router 1 192.168.1.1
domain-name-server 1 192.168.1.1
profile aaa default
method 1 local
method 2 none
context ip router
interface WAN
ipaddress dhcp
use profile napt NAPT_WAN
tcp adjust-mss rx mtu
tcp adjust-mss tx mtu
interface LAN
ipaddress 172.16.254.251 255.255.255.0
tcp adjust-mss rx mtu
tcp adjust-mss tx mtu
context cs switch
routing-table called-e164 TBL_INCOMING
route default dest-interface IF_SIP_TrixBox PREFIX_CID0
mapping-table calling-e164 to calling-e164 PREFIX_CID0
map (.%) to 0\1
interface isdn IF_ISDN_BRI00
route call dest-table TBL_INCOMING
interface isdn IF_ISDN_BRI01
route call dest-table TBL_INCOMING
interface isdn IF_ISDN_BRI02
route call dest-table TBL_INCOMING
interface isdn IF_ISDN_BRI03
route call dest-table TBL_INCOMING
interface isdn IF_ISDN_BRI04
route call dest-table TBL_INCOMING
interface sip IF_SIP_TrixBox
bind context sip-gateway MyLANSIP_GW
route call dest-service BRI_HUNT
remote 172.16.254.6 5060
service hunt-group BRI_HUNT
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_ISDN_BRI00
route call 2 dest-interface IF_ISDN_BRI01
route call 3 dest-interface IF_ISDN_BRI02
route call 4 dest-interface IF_ISDN_BRI03
route call 5 dest-interface IF_ISDN_BRI04
context cs switch
no shutdown
authentication-service TRIX_AUTH
realm 1 172.16.254.6
username patton password Otx2vJCEWP+8Bb6tqoGkwA== encrypted
location-service TRIX_PBX
domain 1 172.16.254.6 5060
identity patton
authentication outbound
authenticate 1 authentication-service TRIX_AUTH username patton
registration outbound
registrar 172.16.254.6 5060
lifetime 3600
register auto
retry-timeout on-system-error 10
retry-timeout on-client-error 10
retry-timeout on-server-error 10
context sip-gateway MyLANSIP_GW
interface SIP_LAN
bind interface LAN context router port 5060
context sip-gateway MyLANSIP_GW
bind location-service TRIX_PBX
no shutdown
port ethernet 0 0
medium auto
encapsulation ip
bind interface WAN router
no shutdown
port ethernet 0 1
medium auto
encapsulation ip
bind interface LAN router
no shutdown
port bri 0 0
clock slave
encapsulation q921
q921
permanent-layer2
protocol pp
uni-side auto
encapsulation q931
q931
protocol dss1
uni-side net
bchan-number-order ascending
encapsulation cc-isdn
bind interface IF_ISDN_BRI00 switch
port bri 0 0
no shutdown
port bri 0 1
clock slave
encapsulation q921
q921
protocol pp
uni-side auto
encapsulation q931
q931
protocol dss1
uni-side net
bchan-number-order ascending
encapsulation cc-isdn
bind interface IF_ISDN_BRI01 switch
port bri 0 1
no shutdown
port bri 0 2
clock slave
encapsulation q921
q921
protocol pp
uni-side auto
encapsulation q931
q931
protocol dss1
uni-side net
bchan-number-order ascending
encapsulation cc-isdn
bind interface IF_ISDN_BRI02 switch
port bri 0 2
no shutdown
port bri 0 3
clock slave
encapsulation q921
q921
protocol pp
uni-side auto
encapsulation q931
q931
protocol dss1
uni-side net
bchan-number-order ascending
encapsulation cc-isdn
bind interface IF_ISDN_BRI03 switch
port bri 0 3
no shutdown
port bri 0 4
clock slave
encapsulation q921
q921
protocol pp
uni-side auto
encapsulation q931
q931
protocol dss1
uni-side net
bchan-number-order ascending
encapsulation cc-isdn
bind interface IF_ISDN_BRI04 switch
port bri 0 4
no shutdown
That's your problem. The patton doesn't work as a "registrar", where your Asterisk connects to it, as you do. It's the opposite.
Have a look at http://astbill.com/wiki/index.php/Asterisk_and_Patton_How_to for the Patton conf, and on http://www.asterisk-france.net/community/showthread.php?t=6488 for the full explanation and * configuration (but this link is in french).
Copyright © 2011 Fonality
Fonality and trixbox are trademarks of Fonality. Trademark Policy. Privacy Policy.
Asterisk is a trademark of Digium, Inc. Fonality and trixbox are not affiliated with, nor endorsed by Digium, Inc.
Member Since:
2008-01-31