Iscriviti   Guestbook   Immagini   Forum   Download   Mappa   1498 utenti on line 
Italiano
MENU
CONFIGURAZIONI
RISORSE
INFO
Login

DOWNLOAD
Device
Suggerimenti

 
Forum

Collegamento Asterisk-Patton SmartNode 4114
Indietro indietro   Registrati registrati  
Autore Thread
 newbreaker12
Utente
 
Località: roma
Nazione: Italy
 
Collegamento Asterisk-Patton SmartNode 4114

Salve a tutti!
Innanzi tutto vi porgo i miei saluti. Navigando su google ho trovato questo sito, e mi sono registrato perche lho trovato veramente interessante, e spero che sia utile per le mie questioni.

Vi spiego la mia situazione, sono un sistemista di reti, e ho iniziato a lavorare solo da 1 mese e mezzo, dato che sono giovane pretendevo che al lavoro ci fosse qualcuno mi assistesse, ma purtroppo la persona che dovrebbe seguirmi sta facendo un progetto importante e non ha tempo per me...
Il mio lavoro consiste nel creare un collegamento tra Asterisk e il Patton SmartNode 4114,
asterisk come sapete permette di gestire le chiamate, mentre il patton mi permette di collegare le linee PSTN o telefoni voip.
Il problema è che non riesco a fare il collegamento tra asterisk e il patton. qnd avvio asterisk noto che non cè proprio il collegamento.
Vi mostro le mie configurazioni.

PATTON:

#----------------------------------------------------------------#
# #
# SN4114/JO/EUI #
# R3.20 2006-02-02 H323 SIP FXS FXO #
# 1970-01-01T20:48:58 #
# Generated configuration file #
# #
#----------------------------------------------------------------#

cli version 3.20
terminal console use authentication local-only
terminal telnet use authentication remote-radius
administrator meier password iK99eQOZNt+FQAwNTJO38Q== encrypted
administrator administrator password A/0WjgD0UNk= encrypted

#create dhcp profile
profile dhcp-server PF-DHCP1
network 192.168.0.201 255.255.255.0
include 192.168.0.202 192.168.1.209
lease 3 days
default-router 192.168.0.214

#apply DHCP profile in the ip context
context ip
dhcp-server use PF-DHCP1

dns-client server 62.2.32.5
dns-client server 62.2.100.45
dns-client cache 100
webserver port 80 language en
sntp-client
sntp-client server primary 172.16.1.10 port 123 version 4
sntp-client server secondary 128.138.140.44 port 123 version 4
sntp-client poll-interval 30
system hostname 192.168.0.201
system contact "Augen-Telematica. Phone FastWeb 0645495644"

radius-client radius_deepblue
radius-server deepblue 1812
shared-secret authentication UX/XbU/mAr9ipuIeAcAK1Q== encrypted

radius-client radius_extern
radius-server 219.144.12.1 1812
shared-secret authentication VoXulsg+CQMIqh0xRm/ln6H6WmaugRgN encrypted

system

ic voice 0
low-bitrate-codec g729

profile ppp default

profile call-progress-tone IT_Dialtone
play 1 200 425 -12
pause 2 200
play 3 600 425 -12
pause 4 1000

profile call-progress-tone IT_Alertingtone
play 1 1000 425 -12
pause 2 4000

profile call-progress-tone IT_Busytone
play 1 500 425 -12
pause 2 500

profile tone-set default

profile tone-set IT
map call-progress-tone dial-tone IT_Dialtone
map call-progress-tone ringback-tone IT_Alertingtone
map call-progress-tone busy-tone IT_Busytone
map call-progress-tone release-tone IT_Busytone
map call-progress-tone congestion-tone IT_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 aaa default
method 1 local

context cs switch
routing-table called-e164 TAB_OUT
route 200 dest-interface IF_SIP

interface isdn IF_BRI_00
route call dest-service QoS_LOG.OUT.bri

interface sip IF_SIP
bind context sip-gateway sip
route call dest-service QoS_LOG.OUT.ethernet

service aaa QoS_LOG.OUT
accounting use profile aaa LOCAL_AAA
port bri
route call dest-table TAB_OUT
port ethernet
route call dest-interface IF_BRI_00

context ip router

interface eth0
ipaddress 192.168.0.201 255.255.255.0
mtu 1000
point-to-point
icmp router-discovery
icmp redirect accept
tcp adjust-mss rx mtu
tcp adjust-mss tx mtu

context cs switch
no digit-collection timeout

routing-table called-e164 OUT
route default dest-interface sipif0 CALLED

routing-table called-e164 OUT1
route default dest-interface sipif1 CALLED1

mapping-table called-e164 to called-e164 CALLED
map default to 0645459644

interface sip sipif0
bind gateway sipgw0
service default
route call dest-service fxohuntgroup
early-disconnect
remote-party-id called-party
address-translation outgoing-call from-header user-part fix 10000 host-part local-ip
address-translation incoming-call called-e164 to-header

interface sip sipif1
bind gateway sipgw1
service default
route call dest-service fxohuntgroup
early-disconnect
address-translation outgoing-call from-header user-part fix 10001 host-part local-ip

interface sip sipif2
bind gateway sipgw2
service default
route call dest-service fxohuntgroup
early-disconnect
address-translation outgoing-call from-header user-part fix 10002 host-part local-ip

interface sip sipif3
bind gateway sipgw3
service default
route call dest-service fxohuntgroup
early-disconnect
address-translation outgoing-call from-header user-part fix 10003 host-part local-ip

interface fxo fxoif0
route call dest-table OUT
disconnect-signal loop-break
disconnect-signal busy-tone
ring-number on-caller-id
use profile tone-set IT

interface fxo fxoif1
route call dest-table OUT1
disconnect-signal loop-break
disconnect-signal busy-tone
ring-number on-caller-id
use profile tone-set IT

interface fxo fxoif2
route call dest-interface sipif2
disconnect-signal loop-break
disconnect-signal busy-tone
ring-number on-caller-id
use profile tone-set IT

interface fxo fxoif3
route call dest-interface sipif3
disconnect-signal loop-break
disconnect-signal busy-tone
ring-number on-caller-id
use profile tone-set IT

service hunt-group fxohuntgroup
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
drop-cause user-busy
route call 1 dest-interface fxoif0
route call 2 dest-interface fxoif1
route call 3 dest-interface fxoif2
route call 4 dest-interface fxoif3

context cs switch
no shutdown

gateway sip sipgw0
bind interface eth0 router

service default
domain 192.168.0.201
defaultserver manual 192.168.0.201 loose-router
registration manual 192.168.0.201
user 10000 authenticate password LbFCDNv4/Fk= encrypted default register

gateway sip sipgw0
no shutdown

gateway sip sipgw1
call-signaling-port 5062
bind interface eth0 router

service default
domain 192.168.0.201
defaultserver manual 192.168.0.201 loose-router
registration manual 192.168.0.201
user 10001 authenticate password dZ8edXkjFnM= encrypted default register

gateway sip sipgw1
no shutdown

gateway sip sipgw2
call-signaling-port 5064
bind interface eth0 router

service default
domain 192.168.0.201
defaultserver manual 192.168.0.201 loose-router
registration manual 192.168.0.201
user 10002 authenticate password iAaKwKfxX4Q= encrypted default register

gateway sip sipgw2
no shutdown

gateway sip sipgw3
call-signaling-port 5066
bind interface eth0 router

service default
domain 192.168.0.201
defaultserver manual 192.168.0.201 loose-router
registration manual 192.168.0.201
user 10003 authenticate password ySyWxUvSc/c= encrypted default register

gateway sip sipgw3
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 fxoif0 switch
no shutdown

port fxo 0 1
use profile fxo us
encapsulation cc-fxo
bind interface fxoif1 switch
no shutdown

port fxo 0 2
use profile fxo us
encapsulation cc-fxo
bind interface fxoif2 switch
no shutdown

port fxo 0 3
use profile fxo us
encapsulation cc-fxo
bind interface fxoif3 switch
no shutdown
----------------------------------------------------------------------------------------------------------------------
ASTERISK:
nel file sip.conf
; register => 24:123456:24 at 192.168.0.201:5060/8765
; register => 24:123456:24@192.168.0.201
[24]
username=24
type=friend
secret=24
callerid=24
host=192.168.0.201
nat=no
canreinvite=yes
insecure=very
qualify=yes
context=from-patton
allow=gsm
allow=ulaw

Grazie per la pazienza che avrete a leggere il mio post. Francesco

 12.03.2010
Registrati registrati  

Valid CSS!